2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for GStreamer RTSP Server Library 1.4.1.
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
248 if test "x$CONFIG_SHELL" != x; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 *v*x* | *x*v* ) as_opts=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer
279 $0: about your system, including any error possibly output
280 $0: before this message. Then install a modern shell, or
281 $0: manually run the script under such a shell if you do
288 SHELL=${CONFIG_SHELL-/bin/sh}
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE= GREP_OPTIONS=
292 unset CLICOLOR_FORCE GREP_OPTIONS
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
299 # Portably unset VAR.
302 { eval $1=; unset $1;}
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
326 # Create "$as_dir" as a directory, including parents if necessary.
331 -*) as_dir=./$as_dir;;
333 test -d "$as_dir" || eval $as_mkdir_p || {
337 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340 as_dirs="'$as_qdir' $as_dirs"
341 as_dir=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
364 test -d "$as_dir" && break
366 test -z "$as_dirs" || eval "mkdir $as_dirs"
367 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386 eval 'as_fn_append ()
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
410 as_val=`expr "$@" || test $? -eq 1`
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
422 as_status=$1; test $as_status -eq 0 && as_status=1
424 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
427 $as_echo "$as_me: error: $2" >&2
428 as_fn_exit $as_status
431 if expr a : '\(a\)' >/dev/null 2>&1 &&
432 test "X`expr 00001 : '.*\(...\)'`" = X001; then
438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
450 as_me=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452 X"$0" : 'X\(//\)$' \| \
453 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
455 sed '/^.*\/\([^/][^/]*\)\/*$/{
469 # Avoid depending upon Character Ranges.
470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits='0123456789'
474 as_cr_alnum=$as_cr_Letters$as_cr_digits
477 as_lineno_1=$LINENO as_lineno_1a=$LINENO
478 as_lineno_2=$LINENO as_lineno_2a=$LINENO
479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
497 chmod +x "$as_me.lineno" ||
498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 # already done that, so ensure we don't try to do so again and fall
502 # in an infinite loop. This has already happened in practice.
503 _as_can_reexec=no; export _as_can_reexec
504 # Don't try to exec as it changes $[0], causing all sort of problems
505 # (the dirname of $[0] is not the place where we might find the
506 # original and so on. Autoconf is especially sensitive to this).
508 # Exit status is that of the last command.
512 ECHO_C= ECHO_N= ECHO_T=
513 case `echo -n x` in #(((((
515 case `echo 'xy\c'` in
516 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
518 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
525 rm -f conf$$ conf$$.exe conf$$.file
526 if test -d conf$$.dir; then
527 rm -f conf$$.dir/conf$$.file
530 mkdir conf$$.dir 2>/dev/null
532 if (echo >conf$$.file) 2>/dev/null; then
533 if ln -s conf$$.file conf$$ 2>/dev/null; then
535 # ... but there are two gotchas:
536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 # In both cases, we have to default to `cp -pR'.
539 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
541 elif ln conf$$.file conf$$ 2>/dev/null; then
549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550 rmdir conf$$.dir 2>/dev/null
552 if mkdir -p . 2>/dev/null; then
553 as_mkdir_p='mkdir -p "$as_dir"'
555 test -d ./-p && rmdir ./-p
560 as_executable_p=as_fn_executable_p
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
568 SHELL=${CONFIG_SHELL-/bin/sh}
571 test -n "$DJDIR" || exec 7<&0 </dev/null
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582 ac_default_prefix=/usr/local
584 ac_config_libobj_dir=.
591 # Identity of this package.
592 PACKAGE_NAME='GStreamer RTSP Server Library'
593 PACKAGE_TARNAME='gst-rtsp-server'
594 PACKAGE_VERSION='1.4.1'
595 PACKAGE_STRING='GStreamer RTSP Server Library 1.4.1'
596 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer'
599 ac_unique_file="gst/rtsp-server/rtsp-server.c"
600 # Factoring default headers for most tests.
601 ac_includes_default="\
603 #ifdef HAVE_SYS_TYPES_H
604 # include <sys/types.h>
606 #ifdef HAVE_SYS_STAT_H
607 # include <sys/stat.h>
613 # ifdef HAVE_STDLIB_H
618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
623 #ifdef HAVE_STRINGS_H
624 # include <strings.h>
626 #ifdef HAVE_INTTYPES_H
627 # include <inttypes.h>
636 ac_subst_vars='am__EXEEXT_FALSE
671 GST_PLUGINS_BAD_CFLAGS
674 GST_PLUGINS_GOOD_LIBS
675 GST_PLUGINS_GOOD_CFLAGS
678 GST_PLUGINS_BASE_LIBS
679 GST_PLUGINS_BASE_CFLAGS
695 GTK_DOC_USE_LIBTOOL_FALSE
696 GTK_DOC_USE_LIBTOOL_TRUE
697 GTK_DOC_BUILD_PDF_FALSE
698 GTK_DOC_BUILD_PDF_TRUE
699 GTK_DOC_BUILD_HTML_FALSE
700 GTK_DOC_BUILD_HTML_TRUE
732 HAVE_INTROSPECTION_FALSE
733 HAVE_INTROSPECTION_TRUE
734 INTROSPECTION_MAKEFILE
737 INTROSPECTION_TYPELIBDIR
739 INTROSPECTION_GENERATE
740 INTROSPECTION_COMPILER
741 INTROSPECTION_SCANNER
745 am__fastdepCCAS_FALSE
754 GST_GCOV_ENABLED_FALSE
755 GST_GCOV_ENABLED_TRUE
813 MAINTAINER_MODE_FALSE
815 PACKAGE_VERSION_RELEASE
817 PACKAGE_VERSION_MICRO
818 PACKAGE_VERSION_MINOR
819 PACKAGE_VERSION_MAJOR
832 INSTALL_STRIP_PROGRAM
886 program_transform_name
899 enable_option_checking
901 enable_maintainer_mode
906 enable_dependency_tracking
914 enable_fatal_warnings
928 enable_gobject_cast_checks
931 with_default_audiosink
932 with_default_audiosrc
933 with_default_videosink
934 with_default_videosrc
935 with_default_visualizer
937 ac_precious_vars='build_alias
961 GST_PLUGINS_BASE_CFLAGS
962 GST_PLUGINS_BASE_LIBS
963 GST_PLUGINS_GOOD_CFLAGS
964 GST_PLUGINS_GOOD_LIBS
965 GST_PLUGINS_BAD_CFLAGS
973 # Initialize some variables set by options.
975 ac_init_version=false
976 ac_unrecognized_opts=
978 # The variables have the same names as the options, with
979 # dashes changed to underlines.
987 program_transform_name=s,x,x,
995 # Installation directory options.
996 # These are left unexpanded so users can "make install exec_prefix=/foo"
997 # and all the variables that are supposed to be based on exec_prefix
998 # by default will actually change.
999 # Use braces instead of parens because sh, perl, etc. also accept them.
1000 # (The list follows the same order as the GNU Coding Standards.)
1001 bindir='${exec_prefix}/bin'
1002 sbindir='${exec_prefix}/sbin'
1003 libexecdir='${exec_prefix}/libexec'
1004 datarootdir='${prefix}/share'
1005 datadir='${datarootdir}'
1006 sysconfdir='${prefix}/etc'
1007 sharedstatedir='${prefix}/com'
1008 localstatedir='${prefix}/var'
1009 includedir='${prefix}/include'
1010 oldincludedir='/usr/include'
1011 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1012 infodir='${datarootdir}/info'
1017 libdir='${exec_prefix}/lib'
1018 localedir='${datarootdir}/locale'
1019 mandir='${datarootdir}/man'
1025 # If the previous option needs an argument, assign it.
1026 if test -n "$ac_prev"; then
1027 eval $ac_prev=\$ac_option
1033 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1038 # Accept the important Cygnus configure options, so we can diagnose typos.
1040 case $ac_dashdash$ac_option in
1044 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1046 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1047 bindir=$ac_optarg ;;
1049 -build | --build | --buil | --bui | --bu)
1050 ac_prev=build_alias ;;
1051 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1052 build_alias=$ac_optarg ;;
1054 -cache-file | --cache-file | --cache-fil | --cache-fi \
1055 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1056 ac_prev=cache_file ;;
1057 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1058 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1059 cache_file=$ac_optarg ;;
1061 --config-cache | -C)
1062 cache_file=config.cache ;;
1064 -datadir | --datadir | --datadi | --datad)
1066 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1067 datadir=$ac_optarg ;;
1069 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1070 | --dataroo | --dataro | --datar)
1071 ac_prev=datarootdir ;;
1072 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1073 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1074 datarootdir=$ac_optarg ;;
1076 -disable-* | --disable-*)
1077 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1078 # Reject names that are not valid shell variable names.
1079 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1080 as_fn_error $? "invalid feature name: $ac_useropt"
1081 ac_useropt_orig=$ac_useropt
1082 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1083 case $ac_user_opts in
1085 "enable_$ac_useropt"
1087 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1088 ac_unrecognized_sep=', ';;
1090 eval enable_$ac_useropt=no ;;
1092 -docdir | --docdir | --docdi | --doc | --do)
1094 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1095 docdir=$ac_optarg ;;
1097 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1099 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1100 dvidir=$ac_optarg ;;
1102 -enable-* | --enable-*)
1103 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1104 # Reject names that are not valid shell variable names.
1105 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1106 as_fn_error $? "invalid feature name: $ac_useropt"
1107 ac_useropt_orig=$ac_useropt
1108 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1109 case $ac_user_opts in
1111 "enable_$ac_useropt"
1113 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1114 ac_unrecognized_sep=', ';;
1116 eval enable_$ac_useropt=\$ac_optarg ;;
1118 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1119 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1120 | --exec | --exe | --ex)
1121 ac_prev=exec_prefix ;;
1122 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1123 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1124 | --exec=* | --exe=* | --ex=*)
1125 exec_prefix=$ac_optarg ;;
1127 -gas | --gas | --ga | --g)
1128 # Obsolete; use --with-gas.
1131 -help | --help | --hel | --he | -h)
1132 ac_init_help=long ;;
1133 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1134 ac_init_help=recursive ;;
1135 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1136 ac_init_help=short ;;
1138 -host | --host | --hos | --ho)
1139 ac_prev=host_alias ;;
1140 -host=* | --host=* | --hos=* | --ho=*)
1141 host_alias=$ac_optarg ;;
1143 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1145 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1147 htmldir=$ac_optarg ;;
1149 -includedir | --includedir | --includedi | --included | --include \
1150 | --includ | --inclu | --incl | --inc)
1151 ac_prev=includedir ;;
1152 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1153 | --includ=* | --inclu=* | --incl=* | --inc=*)
1154 includedir=$ac_optarg ;;
1156 -infodir | --infodir | --infodi | --infod | --info | --inf)
1158 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1159 infodir=$ac_optarg ;;
1161 -libdir | --libdir | --libdi | --libd)
1163 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1164 libdir=$ac_optarg ;;
1166 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1167 | --libexe | --libex | --libe)
1168 ac_prev=libexecdir ;;
1169 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1170 | --libexe=* | --libex=* | --libe=*)
1171 libexecdir=$ac_optarg ;;
1173 -localedir | --localedir | --localedi | --localed | --locale)
1174 ac_prev=localedir ;;
1175 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1176 localedir=$ac_optarg ;;
1178 -localstatedir | --localstatedir | --localstatedi | --localstated \
1179 | --localstate | --localstat | --localsta | --localst | --locals)
1180 ac_prev=localstatedir ;;
1181 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1182 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1183 localstatedir=$ac_optarg ;;
1185 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1187 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1188 mandir=$ac_optarg ;;
1190 -nfp | --nfp | --nf)
1191 # Obsolete; use --without-fp.
1194 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1195 | --no-cr | --no-c | -n)
1198 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1199 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1202 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1203 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1204 | --oldin | --oldi | --old | --ol | --o)
1205 ac_prev=oldincludedir ;;
1206 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1207 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1208 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1209 oldincludedir=$ac_optarg ;;
1211 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1213 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1214 prefix=$ac_optarg ;;
1216 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1217 | --program-pre | --program-pr | --program-p)
1218 ac_prev=program_prefix ;;
1219 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1220 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1221 program_prefix=$ac_optarg ;;
1223 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1224 | --program-suf | --program-su | --program-s)
1225 ac_prev=program_suffix ;;
1226 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1227 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1228 program_suffix=$ac_optarg ;;
1230 -program-transform-name | --program-transform-name \
1231 | --program-transform-nam | --program-transform-na \
1232 | --program-transform-n | --program-transform- \
1233 | --program-transform | --program-transfor \
1234 | --program-transfo | --program-transf \
1235 | --program-trans | --program-tran \
1236 | --progr-tra | --program-tr | --program-t)
1237 ac_prev=program_transform_name ;;
1238 -program-transform-name=* | --program-transform-name=* \
1239 | --program-transform-nam=* | --program-transform-na=* \
1240 | --program-transform-n=* | --program-transform-=* \
1241 | --program-transform=* | --program-transfor=* \
1242 | --program-transfo=* | --program-transf=* \
1243 | --program-trans=* | --program-tran=* \
1244 | --progr-tra=* | --program-tr=* | --program-t=*)
1245 program_transform_name=$ac_optarg ;;
1247 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1249 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1250 pdfdir=$ac_optarg ;;
1252 -psdir | --psdir | --psdi | --psd | --ps)
1254 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1257 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1258 | -silent | --silent | --silen | --sile | --sil)
1261 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1263 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1265 sbindir=$ac_optarg ;;
1267 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1268 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1269 | --sharedst | --shareds | --shared | --share | --shar \
1271 ac_prev=sharedstatedir ;;
1272 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1273 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1274 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1276 sharedstatedir=$ac_optarg ;;
1278 -site | --site | --sit)
1280 -site=* | --site=* | --sit=*)
1283 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1285 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1286 srcdir=$ac_optarg ;;
1288 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1289 | --syscon | --sysco | --sysc | --sys | --sy)
1290 ac_prev=sysconfdir ;;
1291 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1292 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1293 sysconfdir=$ac_optarg ;;
1295 -target | --target | --targe | --targ | --tar | --ta | --t)
1296 ac_prev=target_alias ;;
1297 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1298 target_alias=$ac_optarg ;;
1300 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1303 -version | --version | --versio | --versi | --vers | -V)
1304 ac_init_version=: ;;
1307 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1308 # Reject names that are not valid shell variable names.
1309 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1310 as_fn_error $? "invalid package name: $ac_useropt"
1311 ac_useropt_orig=$ac_useropt
1312 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1313 case $ac_user_opts in
1317 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1318 ac_unrecognized_sep=', ';;
1320 eval with_$ac_useropt=\$ac_optarg ;;
1322 -without-* | --without-*)
1323 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1324 # Reject names that are not valid shell variable names.
1325 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1326 as_fn_error $? "invalid package name: $ac_useropt"
1327 ac_useropt_orig=$ac_useropt
1328 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1329 case $ac_user_opts in
1333 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1334 ac_unrecognized_sep=', ';;
1336 eval with_$ac_useropt=no ;;
1339 # Obsolete; use --with-x.
1342 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1343 | --x-incl | --x-inc | --x-in | --x-i)
1344 ac_prev=x_includes ;;
1345 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1346 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1347 x_includes=$ac_optarg ;;
1349 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1350 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1351 ac_prev=x_libraries ;;
1352 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1353 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1354 x_libraries=$ac_optarg ;;
1356 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1357 Try \`$0 --help' for more information"
1361 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1362 # Reject names that are not valid shell variable names.
1363 case $ac_envvar in #(
1364 '' | [0-9]* | *[!_$as_cr_alnum]* )
1365 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1367 eval $ac_envvar=\$ac_optarg
1368 export $ac_envvar ;;
1371 # FIXME: should be removed in autoconf 3.0.
1372 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1373 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1374 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1375 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1381 if test -n "$ac_prev"; then
1382 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1383 as_fn_error $? "missing argument to $ac_option"
1386 if test -n "$ac_unrecognized_opts"; then
1387 case $enable_option_checking in
1389 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1390 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1394 # Check all directory arguments for consistency.
1395 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1396 datadir sysconfdir sharedstatedir localstatedir includedir \
1397 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1398 libdir localedir mandir
1400 eval ac_val=\$$ac_var
1401 # Remove trailing slashes.
1404 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1405 eval $ac_var=\$ac_val;;
1407 # Be sure to have absolute directory names.
1409 [\\/$]* | ?:[\\/]* ) continue;;
1410 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1412 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1415 # There might be people who depend on the old broken behavior: `$host'
1416 # used to hold the argument of --host etc.
1417 # FIXME: To remove some day.
1420 target=$target_alias
1422 # FIXME: To remove some day.
1423 if test "x$host_alias" != x; then
1424 if test "x$build_alias" = x; then
1425 cross_compiling=maybe
1426 elif test "x$build_alias" != "x$host_alias"; then
1432 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1434 test "$silent" = yes && exec 6>/dev/null
1437 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1438 ac_ls_di=`ls -di .` &&
1439 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1440 as_fn_error $? "working directory cannot be determined"
1441 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1442 as_fn_error $? "pwd does not report name of working directory"
1445 # Find the source files, if location was not specified.
1446 if test -z "$srcdir"; then
1447 ac_srcdir_defaulted=yes
1448 # Try the directory containing this script, then the parent directory.
1449 ac_confdir=`$as_dirname -- "$as_myself" ||
1450 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1451 X"$as_myself" : 'X\(//\)[^/]' \| \
1452 X"$as_myself" : 'X\(//\)$' \| \
1453 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1454 $as_echo X"$as_myself" |
1455 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1473 if test ! -r "$srcdir/$ac_unique_file"; then
1477 ac_srcdir_defaulted=no
1479 if test ! -r "$srcdir/$ac_unique_file"; then
1480 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1481 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1483 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1485 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1487 # When building in place, set srcdir=.
1488 if test "$ac_abs_confdir" = "$ac_pwd"; then
1491 # Remove unnecessary trailing slashes from srcdir.
1492 # Double slashes in file names in object file debugging info
1493 # mess up M-x gdb in Emacs.
1495 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1497 for ac_var in $ac_precious_vars; do
1498 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1499 eval ac_env_${ac_var}_value=\$${ac_var}
1500 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1501 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1505 # Report the --help message.
1507 if test "$ac_init_help" = "long"; then
1508 # Omit some internal or obsolete options to make the list less imposing.
1509 # This message is too long to be a string in the A/UX 3.1 sh.
1511 \`configure' configures GStreamer RTSP Server Library 1.4.1 to adapt to many kinds of systems.
1513 Usage: $0 [OPTION]... [VAR=VALUE]...
1515 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1516 VAR=VALUE. See below for descriptions of some of the useful variables.
1518 Defaults for the options are specified in brackets.
1521 -h, --help display this help and exit
1522 --help=short display options specific to this package
1523 --help=recursive display the short help of all the included packages
1524 -V, --version display version information and exit
1525 -q, --quiet, --silent do not print \`checking ...' messages
1526 --cache-file=FILE cache test results in FILE [disabled]
1527 -C, --config-cache alias for \`--cache-file=config.cache'
1528 -n, --no-create do not create output files
1529 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1531 Installation directories:
1532 --prefix=PREFIX install architecture-independent files in PREFIX
1533 [$ac_default_prefix]
1534 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1537 By default, \`make install' will install all the files in
1538 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1539 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1540 for instance \`--prefix=\$HOME'.
1542 For better control, use the options below.
1544 Fine tuning of the installation directories:
1545 --bindir=DIR user executables [EPREFIX/bin]
1546 --sbindir=DIR system admin executables [EPREFIX/sbin]
1547 --libexecdir=DIR program executables [EPREFIX/libexec]
1548 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1549 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1550 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1551 --libdir=DIR object code libraries [EPREFIX/lib]
1552 --includedir=DIR C header files [PREFIX/include]
1553 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1554 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1555 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1556 --infodir=DIR info documentation [DATAROOTDIR/info]
1557 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1558 --mandir=DIR man documentation [DATAROOTDIR/man]
1559 --docdir=DIR documentation root [DATAROOTDIR/doc/gst-rtsp-server]
1560 --htmldir=DIR html documentation [DOCDIR]
1561 --dvidir=DIR dvi documentation [DOCDIR]
1562 --pdfdir=DIR pdf documentation [DOCDIR]
1563 --psdir=DIR ps documentation [DOCDIR]
1569 --program-prefix=PREFIX prepend PREFIX to installed program names
1570 --program-suffix=SUFFIX append SUFFIX to installed program names
1571 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1574 --build=BUILD configure for building on BUILD [guessed]
1575 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1576 --target=TARGET configure for building compilers for TARGET [HOST]
1580 if test -n "$ac_init_help"; then
1581 case $ac_init_help in
1582 short | recursive ) echo "Configuration of GStreamer RTSP Server Library 1.4.1:";;
1587 --disable-option-checking ignore unrecognized --enable/--with options
1588 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1589 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1590 --enable-silent-rules less verbose build output (undo: "make V=1")
1591 --disable-silent-rules verbose build output (undo: "make V=0")
1592 --disable-maintainer-mode
1593 disable make rules and dependencies not useful (and
1594 sometimes confusing) to the casual installer
1595 --enable-static[=PKGS] build static libraries [default=no]
1596 --enable-shared[=PKGS] build shared libraries [default=yes]
1597 --enable-fast-install[=PKGS]
1598 optimize for fast installation [default=yes]
1599 --enable-dependency-tracking
1600 do not reject slow dependency extractors
1601 --disable-dependency-tracking
1602 speeds up one-time build
1603 --disable-libtool-lock avoid locking (might break parallel builds)
1604 --disable-fatal-warnings
1605 Don't turn compiler warnings into fatal errors
1606 --disable-debug disable addition of -g debugging info
1607 --disable-valgrind disable run-time valgrind detection
1608 --enable-gcov compile with coverage profiling instrumentation (gcc
1610 --disable-tests disable building test apps
1611 --enable-introspection=[no/auto/yes]
1612 Enable introspection for this build
1613 --enable-docbook use docbook to build documentation [default=no]
1614 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1615 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1616 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1617 --enable-gobject-cast-checks=[no/auto/yes]
1618 Enable GObject cast checks
1619 --enable-glib-asserts=[no/auto/yes]
1620 Enable GLib assertion
1621 --disable-Bsymbolic avoid linking with -Bsymbolic
1624 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1625 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1626 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1628 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1629 --with-sysroot=DIR Search for dependent libraries within DIR
1630 (or the compiler's sysroot if not specified).
1631 --with-autoconf use a different autoconf for regeneration of
1633 --with-autoheader use a different autoheader for regeneration of
1635 --with-automake use a different automake for regeneration of
1637 --with-aclocal use a different aclocal for regeneration of
1639 --with-pkg-config-path colon-separated list of pkg-config(1) dirs
1640 --with-package-name specify package name to use in plugins
1641 --with-package-origin specify package origin URL to use in plugins
1642 --with-html-dir=PATH path to installed docs
1643 --with-default-audiosink
1644 specify default audio sink
1645 --with-default-audiosrc specify default audio source
1646 --with-default-videosink
1647 specify default video sink
1648 --with-default-videosrc specify default video source
1649 --with-default-visualizer
1650 specify default visualizer
1652 Some influential environment variables:
1653 CC C compiler command
1654 CFLAGS C compiler flags
1655 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1656 nonstandard directory <lib dir>
1657 LIBS libraries to pass to the linker, e.g. -l<library>
1658 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1659 you have headers in a nonstandard directory <include dir>
1661 PKG_CONFIG path to pkg-config utility
1663 C compiler flags for VALGRIND, overriding pkg-config
1665 linker flags for VALGRIND, overriding pkg-config
1666 CCAS assembler compiler command (defaults to CC)
1667 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1669 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1671 linker flags for GTKDOC_DEPS, overriding pkg-config
1672 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1673 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1674 GIO_CFLAGS C compiler flags for GIO, overriding pkg-config
1675 GIO_LIBS linker flags for GIO, overriding pkg-config
1676 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1677 GST_LIBS linker flags for GST, overriding pkg-config
1679 C compiler flags for GST_BASE, overriding pkg-config
1681 linker flags for GST_BASE, overriding pkg-config
1682 GST_PLUGINS_BASE_CFLAGS
1683 C compiler flags for GST_PLUGINS_BASE, overriding pkg-config
1684 GST_PLUGINS_BASE_LIBS
1685 linker flags for GST_PLUGINS_BASE, overriding pkg-config
1686 GST_PLUGINS_GOOD_CFLAGS
1687 C compiler flags for GST_PLUGINS_GOOD, overriding pkg-config
1688 GST_PLUGINS_GOOD_LIBS
1689 linker flags for GST_PLUGINS_GOOD, overriding pkg-config
1690 GST_PLUGINS_BAD_CFLAGS
1691 C compiler flags for GST_PLUGINS_BAD, overriding pkg-config
1692 GST_PLUGINS_BAD_LIBS
1693 linker flags for GST_PLUGINS_BAD, overriding pkg-config
1695 C compiler flags for GST_CHECK, overriding pkg-config
1697 linker flags for GST_CHECK, overriding pkg-config
1699 C compiler flags for LIBCGROUP, overriding pkg-config
1701 linker flags for LIBCGROUP, overriding pkg-config
1703 Use these variables to override the choices made by `configure' or to help
1704 it to find libraries and programs with nonstandard names/locations.
1706 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>.
1711 if test "$ac_init_help" = "recursive"; then
1712 # If there are subdirs, report their specific --help.
1713 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1714 test -d "$ac_dir" ||
1715 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1720 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1722 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1723 # A ".." for each directory in $ac_dir_suffix.
1724 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1725 case $ac_top_builddir_sub in
1726 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1727 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1730 ac_abs_top_builddir=$ac_pwd
1731 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1732 # for backward compatibility:
1733 ac_top_builddir=$ac_top_build_prefix
1736 .) # We are building in place.
1738 ac_top_srcdir=$ac_top_builddir_sub
1739 ac_abs_top_srcdir=$ac_pwd ;;
1740 [\\/]* | ?:[\\/]* ) # Absolute name.
1741 ac_srcdir=$srcdir$ac_dir_suffix;
1742 ac_top_srcdir=$srcdir
1743 ac_abs_top_srcdir=$srcdir ;;
1745 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1746 ac_top_srcdir=$ac_top_build_prefix$srcdir
1747 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1749 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1751 cd "$ac_dir" || { ac_status=$?; continue; }
1752 # Check for guested configure.
1753 if test -f "$ac_srcdir/configure.gnu"; then
1755 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1756 elif test -f "$ac_srcdir/configure"; then
1758 $SHELL "$ac_srcdir/configure" --help=recursive
1760 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1762 cd "$ac_pwd" || { ac_status=$?; break; }
1766 test -n "$ac_init_help" && exit $ac_status
1767 if $ac_init_version; then
1769 GStreamer RTSP Server Library configure 1.4.1
1770 generated by GNU Autoconf 2.69
1772 Copyright (C) 2012 Free Software Foundation, Inc.
1773 This configure script is free software; the Free Software Foundation
1774 gives unlimited permission to copy, distribute and modify it.
1779 ## ------------------------ ##
1780 ## Autoconf initialization. ##
1781 ## ------------------------ ##
1783 # ac_fn_c_try_compile LINENO
1784 # --------------------------
1785 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1786 ac_fn_c_try_compile ()
1788 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1789 rm -f conftest.$ac_objext
1790 if { { ac_try="$ac_compile"
1792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1793 *) ac_try_echo=$ac_try;;
1795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1796 $as_echo "$ac_try_echo"; } >&5
1797 (eval "$ac_compile") 2>conftest.err
1799 if test -s conftest.err; then
1800 grep -v '^ *+' conftest.err >conftest.er1
1801 cat conftest.er1 >&5
1802 mv -f conftest.er1 conftest.err
1804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1805 test $ac_status = 0; } && {
1806 test -z "$ac_c_werror_flag" ||
1807 test ! -s conftest.err
1808 } && test -s conftest.$ac_objext; then :
1811 $as_echo "$as_me: failed program was:" >&5
1812 sed 's/^/| /' conftest.$ac_ext >&5
1816 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1817 as_fn_set_status $ac_retval
1819 } # ac_fn_c_try_compile
1821 # ac_fn_c_try_link LINENO
1822 # -----------------------
1823 # Try to link conftest.$ac_ext, and return whether this succeeded.
1826 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1827 rm -f conftest.$ac_objext conftest$ac_exeext
1828 if { { ac_try="$ac_link"
1830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1831 *) ac_try_echo=$ac_try;;
1833 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1834 $as_echo "$ac_try_echo"; } >&5
1835 (eval "$ac_link") 2>conftest.err
1837 if test -s conftest.err; then
1838 grep -v '^ *+' conftest.err >conftest.er1
1839 cat conftest.er1 >&5
1840 mv -f conftest.er1 conftest.err
1842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1843 test $ac_status = 0; } && {
1844 test -z "$ac_c_werror_flag" ||
1845 test ! -s conftest.err
1846 } && test -s conftest$ac_exeext && {
1847 test "$cross_compiling" = yes ||
1848 test -x conftest$ac_exeext
1852 $as_echo "$as_me: failed program was:" >&5
1853 sed 's/^/| /' conftest.$ac_ext >&5
1857 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1858 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1859 # interfere with the next link command; also delete a directory that is
1860 # left behind by Apple's compiler. We do this before executing the actions.
1861 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1862 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1863 as_fn_set_status $ac_retval
1865 } # ac_fn_c_try_link
1867 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1868 # -------------------------------------------------------
1869 # Tests whether HEADER exists and can be compiled using the include files in
1870 # INCLUDES, setting the cache variable VAR accordingly.
1871 ac_fn_c_check_header_compile ()
1873 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1875 $as_echo_n "checking for $2... " >&6; }
1876 if eval \${$3+:} false; then :
1877 $as_echo_n "(cached) " >&6
1879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1880 /* end confdefs.h. */
1884 if ac_fn_c_try_compile "$LINENO"; then :
1889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1893 $as_echo "$ac_res" >&6; }
1894 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1896 } # ac_fn_c_check_header_compile
1898 # ac_fn_c_try_cpp LINENO
1899 # ----------------------
1900 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1903 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1904 if { { ac_try="$ac_cpp conftest.$ac_ext"
1906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1907 *) ac_try_echo=$ac_try;;
1909 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1910 $as_echo "$ac_try_echo"; } >&5
1911 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1913 if test -s conftest.err; then
1914 grep -v '^ *+' conftest.err >conftest.er1
1915 cat conftest.er1 >&5
1916 mv -f conftest.er1 conftest.err
1918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1919 test $ac_status = 0; } > conftest.i && {
1920 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1921 test ! -s conftest.err
1925 $as_echo "$as_me: failed program was:" >&5
1926 sed 's/^/| /' conftest.$ac_ext >&5
1930 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1931 as_fn_set_status $ac_retval
1935 # ac_fn_c_try_run LINENO
1936 # ----------------------
1937 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1938 # that executables *can* be run.
1941 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1942 if { { ac_try="$ac_link"
1944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1945 *) ac_try_echo=$ac_try;;
1947 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1948 $as_echo "$ac_try_echo"; } >&5
1949 (eval "$ac_link") 2>&5
1951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1952 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1953 { { case "(($ac_try" in
1954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1955 *) ac_try_echo=$ac_try;;
1957 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1958 $as_echo "$ac_try_echo"; } >&5
1959 (eval "$ac_try") 2>&5
1961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1962 test $ac_status = 0; }; }; then :
1965 $as_echo "$as_me: program exited with status $ac_status" >&5
1966 $as_echo "$as_me: failed program was:" >&5
1967 sed 's/^/| /' conftest.$ac_ext >&5
1969 ac_retval=$ac_status
1971 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1972 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1973 as_fn_set_status $ac_retval
1977 # ac_fn_c_check_func LINENO FUNC VAR
1978 # ----------------------------------
1979 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1980 ac_fn_c_check_func ()
1982 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1984 $as_echo_n "checking for $2... " >&6; }
1985 if eval \${$3+:} false; then :
1986 $as_echo_n "(cached) " >&6
1988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1989 /* end confdefs.h. */
1990 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1992 #define $2 innocuous_$2
1994 /* System header to define __stub macros and hopefully few prototypes,
1995 which can conflict with char $2 (); below.
1996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1997 <limits.h> exists even on freestanding compilers. */
2000 # include <limits.h>
2002 # include <assert.h>
2007 /* Override any GCC internal prototype to avoid an error.
2008 Use char because int might match the return type of a GCC
2009 builtin and then its argument prototype would still apply. */
2014 /* The GNU C library defines this for functions which it implements
2015 to always fail with ENOSYS. Some functions are actually named
2016 something starting with __ and the normal name is an alias. */
2017 #if defined __stub_$2 || defined __stub___$2
2029 if ac_fn_c_try_link "$LINENO"; then :
2034 rm -f core conftest.err conftest.$ac_objext \
2035 conftest$ac_exeext conftest.$ac_ext
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2039 $as_echo "$ac_res" >&6; }
2040 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2042 } # ac_fn_c_check_func
2043 cat >config.log <<_ACEOF
2044 This file contains any messages produced by compilers while
2045 running configure, to aid debugging if configure makes a mistake.
2047 It was created by GStreamer RTSP Server Library $as_me 1.4.1, which was
2048 generated by GNU Autoconf 2.69. Invocation command line was
2060 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2061 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2062 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2063 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2064 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2066 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2067 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2069 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2070 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2071 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2072 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2073 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2074 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2075 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2083 test -z "$as_dir" && as_dir=.
2084 $as_echo "PATH: $as_dir"
2100 # Keep a trace of the command line.
2101 # Strip out --no-create and --no-recursion so they do not pile up.
2102 # Strip out --silent because we don't want to record it for future runs.
2103 # Also quote any args containing shell meta-characters.
2104 # Make two passes to allow for proper duplicate-argument suppression.
2108 ac_must_keep_next=false
2114 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2115 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2116 | -silent | --silent | --silen | --sile | --sil)
2119 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2122 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2124 as_fn_append ac_configure_args1 " '$ac_arg'"
2125 if test $ac_must_keep_next = true; then
2126 ac_must_keep_next=false # Got value, back to normal.
2129 *=* | --config-cache | -C | -disable-* | --disable-* \
2130 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2131 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2132 | -with-* | --with-* | -without-* | --without-* | --x)
2133 case "$ac_configure_args0 " in
2134 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2137 -* ) ac_must_keep_next=true ;;
2140 as_fn_append ac_configure_args " '$ac_arg'"
2145 { ac_configure_args0=; unset ac_configure_args0;}
2146 { ac_configure_args1=; unset ac_configure_args1;}
2148 # When interrupted or exit'd, cleanup temporary files, and complete
2149 # config.log. We remove comments because anyway the quotes in there
2150 # would cause problems or look ugly.
2151 # WARNING: Use '\'' to represent an apostrophe within the trap.
2152 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2153 trap 'exit_status=$?
2154 # Save into config.log some information that might help in debugging.
2158 $as_echo "## ---------------- ##
2159 ## Cache variables. ##
2160 ## ---------------- ##"
2162 # The following way of writing the cache mishandles newlines in values,
2164 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2165 eval ac_val=\$$ac_var
2169 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2170 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2173 _ | IFS | as_nl) ;; #(
2174 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2175 *) { eval $ac_var=; unset $ac_var;} ;;
2180 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2181 *${as_nl}ac_space=\ *)
2183 "s/'\''/'\''\\\\'\'''\''/g;
2184 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2187 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2194 $as_echo "## ----------------- ##
2195 ## Output variables. ##
2196 ## ----------------- ##"
2198 for ac_var in $ac_subst_vars
2200 eval ac_val=\$$ac_var
2202 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2204 $as_echo "$ac_var='\''$ac_val'\''"
2208 if test -n "$ac_subst_files"; then
2209 $as_echo "## ------------------- ##
2210 ## File substitutions. ##
2211 ## ------------------- ##"
2213 for ac_var in $ac_subst_files
2215 eval ac_val=\$$ac_var
2217 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2219 $as_echo "$ac_var='\''$ac_val'\''"
2224 if test -s confdefs.h; then
2225 $as_echo "## ----------- ##
2232 test "$ac_signal" != 0 &&
2233 $as_echo "$as_me: caught signal $ac_signal"
2234 $as_echo "$as_me: exit $exit_status"
2236 rm -f core *.core core.conftest.* &&
2237 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2240 for ac_signal in 1 2 13 15; do
2241 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2245 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2246 rm -f -r conftest* confdefs.h
2248 $as_echo "/* confdefs.h */" > confdefs.h
2250 # Predefined preprocessor variables.
2252 cat >>confdefs.h <<_ACEOF
2253 #define PACKAGE_NAME "$PACKAGE_NAME"
2256 cat >>confdefs.h <<_ACEOF
2257 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2260 cat >>confdefs.h <<_ACEOF
2261 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2264 cat >>confdefs.h <<_ACEOF
2265 #define PACKAGE_STRING "$PACKAGE_STRING"
2268 cat >>confdefs.h <<_ACEOF
2269 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2272 cat >>confdefs.h <<_ACEOF
2273 #define PACKAGE_URL "$PACKAGE_URL"
2277 # Let the site file select an alternate cache file if it wants to.
2278 # Prefer an explicitly selected file to automatically selected ones.
2281 if test -n "$CONFIG_SITE"; then
2282 # We do not want a PATH search for config.site.
2283 case $CONFIG_SITE in #((
2284 -*) ac_site_file1=./$CONFIG_SITE;;
2285 */*) ac_site_file1=$CONFIG_SITE;;
2286 *) ac_site_file1=./$CONFIG_SITE;;
2288 elif test "x$prefix" != xNONE; then
2289 ac_site_file1=$prefix/share/config.site
2290 ac_site_file2=$prefix/etc/config.site
2292 ac_site_file1=$ac_default_prefix/share/config.site
2293 ac_site_file2=$ac_default_prefix/etc/config.site
2295 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2297 test "x$ac_site_file" = xNONE && continue
2298 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2299 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2300 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2301 sed 's/^/| /' "$ac_site_file" >&5
2303 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2304 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2305 as_fn_error $? "failed to load site script $ac_site_file
2306 See \`config.log' for more details" "$LINENO" 5; }
2310 if test -r "$cache_file"; then
2311 # Some versions of bash will fail to source /dev/null (special files
2312 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2313 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2315 $as_echo "$as_me: loading cache $cache_file" >&6;}
2317 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2318 *) . "./$cache_file";;
2322 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2323 $as_echo "$as_me: creating cache $cache_file" >&6;}
2327 # Check that the precious variables saved in the cache have kept the same
2329 ac_cache_corrupted=false
2330 for ac_var in $ac_precious_vars; do
2331 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2332 eval ac_new_set=\$ac_env_${ac_var}_set
2333 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2334 eval ac_new_val=\$ac_env_${ac_var}_value
2335 case $ac_old_set,$ac_new_set in
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2338 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2339 ac_cache_corrupted=: ;;
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2342 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2343 ac_cache_corrupted=: ;;
2346 if test "x$ac_old_val" != "x$ac_new_val"; then
2347 # differences in whitespace do not lead to failure.
2348 ac_old_val_w=`echo x $ac_old_val`
2349 ac_new_val_w=`echo x $ac_new_val`
2350 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2352 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2353 ac_cache_corrupted=:
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2356 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2357 eval $ac_var=\$ac_old_val
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2360 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2362 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2365 # Pass precious variables to config.status.
2366 if test "$ac_new_set" = set; then
2368 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2369 *) ac_arg=$ac_var=$ac_new_val ;;
2371 case " $ac_configure_args " in
2372 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2373 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2377 if $ac_cache_corrupted; then
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2379 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2381 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2382 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2384 ## -------------------- ##
2385 ## Main body of script. ##
2386 ## -------------------- ##
2389 ac_cpp='$CPP $CPPFLAGS'
2390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2396 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2397 if test -f "$ac_dir/install-sh"; then
2399 ac_install_sh="$ac_aux_dir/install-sh -c"
2401 elif test -f "$ac_dir/install.sh"; then
2403 ac_install_sh="$ac_aux_dir/install.sh -c"
2405 elif test -f "$ac_dir/shtool"; then
2407 ac_install_sh="$ac_aux_dir/shtool install -c"
2411 if test -z "$ac_aux_dir"; then
2412 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2415 # These three variables are undocumented and unsupported,
2416 # and are intended to be withdrawn in a future Autoconf release.
2417 # They can cause serious problems if a builder's source tree is in a directory
2418 # whose full name contains unusual characters.
2419 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2420 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2421 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2424 # Make sure we can run config.sub.
2425 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2426 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2429 $as_echo_n "checking build system type... " >&6; }
2430 if ${ac_cv_build+:} false; then :
2431 $as_echo_n "(cached) " >&6
2433 ac_build_alias=$build_alias
2434 test "x$ac_build_alias" = x &&
2435 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2436 test "x$ac_build_alias" = x &&
2437 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2438 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2439 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2443 $as_echo "$ac_cv_build" >&6; }
2444 case $ac_cv_build in
2446 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2449 ac_save_IFS=$IFS; IFS='-'
2455 # Remember, the first character of IFS is used to create $*,
2456 # except with old shells:
2459 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2463 $as_echo_n "checking host system type... " >&6; }
2464 if ${ac_cv_host+:} false; then :
2465 $as_echo_n "(cached) " >&6
2467 if test "x$host_alias" = x; then
2468 ac_cv_host=$ac_cv_build
2470 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2471 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2476 $as_echo "$ac_cv_host" >&6; }
2479 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2482 ac_save_IFS=$IFS; IFS='-'
2488 # Remember, the first character of IFS is used to create $*,
2489 # except with old shells:
2492 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2496 $as_echo_n "checking target system type... " >&6; }
2497 if ${ac_cv_target+:} false; then :
2498 $as_echo_n "(cached) " >&6
2500 if test "x$target_alias" = x; then
2501 ac_cv_target=$ac_cv_host
2503 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2504 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2509 $as_echo "$ac_cv_target" >&6; }
2510 case $ac_cv_target in
2512 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2514 target=$ac_cv_target
2515 ac_save_IFS=$IFS; IFS='-'
2521 # Remember, the first character of IFS is used to create $*,
2522 # except with old shells:
2525 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2528 # The aliases save the names the user supplied, while $host etc.
2529 # will get canonicalized.
2530 test -n "$target_alias" &&
2531 test "$program_prefix$program_suffix$program_transform_name" = \
2533 program_prefix=${target_alias}-
2538 am__api_version='1.14'
2540 # Find a good install program. We prefer a C program (faster),
2541 # so one script is as good as another. But avoid the broken or
2542 # incompatible versions:
2543 # SysV /etc/install, /usr/sbin/install
2544 # SunOS /usr/etc/install
2545 # IRIX /sbin/install
2547 # AmigaOS /C/install, which installs bootblocks on floppy discs
2548 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2549 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2550 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2551 # OS/2's system install, which has a completely different semantic
2552 # ./install, which can be erroneously created by make from ./install.sh.
2553 # Reject install programs that cannot install multiple files.
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2555 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2556 if test -z "$INSTALL"; then
2557 if ${ac_cv_path_install+:} false; then :
2558 $as_echo_n "(cached) " >&6
2560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2564 test -z "$as_dir" && as_dir=.
2565 # Account for people who put trailing slashes in PATH elements.
2566 case $as_dir/ in #((
2567 ./ | .// | /[cC]/* | \
2568 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2569 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2572 # OSF1 and SCO ODT 3.0 have their own names for install.
2573 # Don't use installbsd from OSF since it installs stuff as root
2575 for ac_prog in ginstall scoinst install; do
2576 for ac_exec_ext in '' $ac_executable_extensions; do
2577 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2578 if test $ac_prog = install &&
2579 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2580 # AIX install. It has an incompatible calling convention.
2582 elif test $ac_prog = install &&
2583 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2584 # program-specific install script used by HP pwplus--don't use.
2587 rm -rf conftest.one conftest.two conftest.dir
2588 echo one > conftest.one
2589 echo two > conftest.two
2591 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2592 test -s conftest.one && test -s conftest.two &&
2593 test -s conftest.dir/conftest.one &&
2594 test -s conftest.dir/conftest.two
2596 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2609 rm -rf conftest.one conftest.two conftest.dir
2612 if test "${ac_cv_path_install+set}" = set; then
2613 INSTALL=$ac_cv_path_install
2615 # As a last resort, use the slow shell script. Don't cache a
2616 # value for INSTALL within a source directory, because that will
2617 # break other packages using the cache if that directory is
2618 # removed, or if the value is a relative name.
2619 INSTALL=$ac_install_sh
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2623 $as_echo "$INSTALL" >&6; }
2625 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2626 # It thinks the first close brace ends the variable substitution.
2627 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2629 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2631 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2634 $as_echo_n "checking whether build environment is sane... " >&6; }
2635 # Reject unsafe characters in $srcdir or the absolute working directory
2636 # name. Accept space and tab only in the latter.
2640 *[\\\"\#\$\&\'\`$am_lf]*)
2641 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2644 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2645 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2648 # Do 'set' in a subshell so we don't clobber the current shell's
2649 # arguments. Must try -L first in case configure is actually a
2650 # symlink; some systems play weird games with the mod time of symlinks
2651 # (eg FreeBSD returns the mod time of the symlink's containing
2655 for am_try in 1 2; do
2656 echo "timestamp, slept: $am_has_slept" > conftest.file
2657 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2658 if test "$*" = "X"; then
2660 set X `ls -t "$srcdir/configure" conftest.file`
2662 if test "$*" != "X $srcdir/configure conftest.file" \
2663 && test "$*" != "X conftest.file $srcdir/configure"; then
2665 # If neither matched, then we have a broken ls. This can happen
2666 # if, for instance, CONFIG_SHELL is bash and it inherits a
2667 # broken ls alias from the environment. This has actually
2668 # happened. Such a system could not be considered "sane".
2669 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2670 alias in your environment" "$LINENO" 5
2672 if test "$2" = conftest.file || test $am_try -eq 2; then
2679 test "$2" = conftest.file
2685 as_fn_error $? "newly created file is older than distributed files!
2686 Check your system clock" "$LINENO" 5
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2689 $as_echo "yes" >&6; }
2690 # If we didn't sleep, we still need to ensure time stamps of config.status and
2691 # generated files are strictly newer.
2693 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2700 test "$program_prefix" != NONE &&
2701 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2702 # Use a double $ so make ignores it.
2703 test "$program_suffix" != NONE &&
2704 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2705 # Double any \ or $.
2706 # By default was `s,x,x', remove it if useless.
2707 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2708 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2710 # expand $ac_aux_dir to an absolute path
2711 am_aux_dir=`cd $ac_aux_dir && pwd`
2713 if test x"${MISSING+set}" != xset; then
2716 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2718 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2721 # Use eval to expand $SHELL
2722 if eval "$MISSING --is-lightweight"; then
2723 am_missing_run="$MISSING "
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2727 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2730 if test x"${install_sh}" != xset; then
2733 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2735 install_sh="\${SHELL} $am_aux_dir/install-sh"
2739 # Installed binaries are usually stripped using 'strip' when the user
2740 # run "make install-strip". However 'strip' might not be the right
2741 # tool to use in cross-compilation environments, therefore Automake
2742 # will honor the 'STRIP' environment variable to overrule this program.
2743 if test "$cross_compiling" != no; then
2744 if test -n "$ac_tool_prefix"; then
2745 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2746 set dummy ${ac_tool_prefix}strip; ac_word=$2
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2748 $as_echo_n "checking for $ac_word... " >&6; }
2749 if ${ac_cv_prog_STRIP+:} false; then :
2750 $as_echo_n "(cached) " >&6
2752 if test -n "$STRIP"; then
2753 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2759 test -z "$as_dir" && as_dir=.
2760 for ac_exec_ext in '' $ac_executable_extensions; do
2761 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2762 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2772 STRIP=$ac_cv_prog_STRIP
2773 if test -n "$STRIP"; then
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2775 $as_echo "$STRIP" >&6; }
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2778 $as_echo "no" >&6; }
2783 if test -z "$ac_cv_prog_STRIP"; then
2785 # Extract the first word of "strip", so it can be a program name with args.
2786 set dummy strip; ac_word=$2
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2788 $as_echo_n "checking for $ac_word... " >&6; }
2789 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2790 $as_echo_n "(cached) " >&6
2792 if test -n "$ac_ct_STRIP"; then
2793 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2799 test -z "$as_dir" && as_dir=.
2800 for ac_exec_ext in '' $ac_executable_extensions; do
2801 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2802 ac_cv_prog_ac_ct_STRIP="strip"
2803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2812 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2813 if test -n "$ac_ct_STRIP"; then
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2815 $as_echo "$ac_ct_STRIP" >&6; }
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2818 $as_echo "no" >&6; }
2821 if test "x$ac_ct_STRIP" = x; then
2824 case $cross_compiling:$ac_tool_warned in
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2827 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2828 ac_tool_warned=yes ;;
2833 STRIP="$ac_cv_prog_STRIP"
2837 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2840 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2841 if test -z "$MKDIR_P"; then
2842 if ${ac_cv_path_mkdir+:} false; then :
2843 $as_echo_n "(cached) " >&6
2845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2846 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2849 test -z "$as_dir" && as_dir=.
2850 for ac_prog in mkdir gmkdir; do
2851 for ac_exec_ext in '' $ac_executable_extensions; do
2852 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2853 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2854 'mkdir (GNU coreutils) '* | \
2855 'mkdir (coreutils) '* | \
2856 'mkdir (fileutils) '4.1*)
2857 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2867 test -d ./--version && rmdir ./--version
2868 if test "${ac_cv_path_mkdir+set}" = set; then
2869 MKDIR_P="$ac_cv_path_mkdir -p"
2871 # As a last resort, use the slow shell script. Don't cache a
2872 # value for MKDIR_P within a source directory, because that will
2873 # break other packages using the cache if that directory is
2874 # removed, or if the value is a relative name.
2875 MKDIR_P="$ac_install_sh -d"
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2879 $as_echo "$MKDIR_P" >&6; }
2881 for ac_prog in gawk mawk nawk awk
2883 # Extract the first word of "$ac_prog", so it can be a program name with args.
2884 set dummy $ac_prog; ac_word=$2
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2886 $as_echo_n "checking for $ac_word... " >&6; }
2887 if ${ac_cv_prog_AWK+:} false; then :
2888 $as_echo_n "(cached) " >&6
2890 if test -n "$AWK"; then
2891 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2897 test -z "$as_dir" && as_dir=.
2898 for ac_exec_ext in '' $ac_executable_extensions; do
2899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2900 ac_cv_prog_AWK="$ac_prog"
2901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2911 if test -n "$AWK"; then
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2913 $as_echo "$AWK" >&6; }
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2916 $as_echo "no" >&6; }
2920 test -n "$AWK" && break
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2924 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2926 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2927 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2928 $as_echo_n "(cached) " >&6
2930 cat >conftest.make <<\_ACEOF
2933 @echo '@@@%%%=$(MAKE)=@@@%%%'
2935 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2936 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2938 eval ac_cv_prog_make_${ac_make}_set=yes;;
2940 eval ac_cv_prog_make_${ac_make}_set=no;;
2944 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2946 $as_echo "yes" >&6; }
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2950 $as_echo "no" >&6; }
2951 SET_MAKE="MAKE=${MAKE-make}"
2954 rm -rf .tst 2>/dev/null
2955 mkdir .tst 2>/dev/null
2956 if test -d .tst; then
2961 rmdir .tst 2>/dev/null
2963 # Check whether --enable-silent-rules was given.
2964 if test "${enable_silent_rules+set}" = set; then :
2965 enableval=$enable_silent_rules;
2968 case $enable_silent_rules in # (((
2969 yes) AM_DEFAULT_VERBOSITY=0;;
2970 no) AM_DEFAULT_VERBOSITY=1;;
2971 *) AM_DEFAULT_VERBOSITY=1;;
2973 am_make=${MAKE-make}
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2975 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2976 if ${am_cv_make_support_nested_variables+:} false; then :
2977 $as_echo_n "(cached) " >&6
2979 if $as_echo 'TRUE=$(BAR$(V))
2985 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2986 am_cv_make_support_nested_variables=yes
2988 am_cv_make_support_nested_variables=no
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2992 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2993 if test $am_cv_make_support_nested_variables = yes; then
2995 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2997 AM_V=$AM_DEFAULT_VERBOSITY
2998 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3002 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3003 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3004 # is not polluted with repeated "-I."
3005 am__isrc=' -I$(srcdir)'
3006 # test to see if srcdir already configured
3007 if test -f $srcdir/config.status; then
3008 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3012 # test whether we have cygpath
3013 if test -z "$CYGPATH_W"; then
3014 if (cygpath --version) >/dev/null 2>/dev/null; then
3015 CYGPATH_W='cygpath -w'
3022 # Define the identity of the package.
3023 PACKAGE='gst-rtsp-server'
3027 cat >>confdefs.h <<_ACEOF
3028 #define PACKAGE "$PACKAGE"
3032 cat >>confdefs.h <<_ACEOF
3033 #define VERSION "$VERSION"
3036 # Some tools Automake needs.
3038 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3041 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3044 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3047 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3050 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3052 # For better backward compatibility. To be removed once Automake 1.9.x
3053 # dies out for good. For more background, see:
3054 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3055 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3056 mkdir_p='$(MKDIR_P)'
3058 # We need awk for the "check" target. The system "awk" is bad on
3060 # Always define AMTAR for backward compatibility. Yes, it's still used
3061 # in the wild :-( We should find a proper way to deprecate it ...
3065 # We'll loop over all known methods to create a tar archive until one works.
3066 _am_tools='gnutar plaintar pax cpio none'
3068 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
3069 # There is notably a 21 bits limit for the UID and the GID. In fact,
3070 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
3072 am_max_uid=2097151 # 2^21 - 1
3073 am_max_gid=$am_max_uid
3074 # The $UID and $GID variables are not portable, so we need to resort
3075 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
3076 # below are definitely unexpected, so allow the users to see them
3077 # (that is, avoid stderr redirection).
3078 am_uid=`id -u || echo unknown`
3079 am_gid=`id -g || echo unknown`
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
3081 $as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
3082 if test $am_uid -le $am_max_uid; then
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3084 $as_echo "yes" >&6; }
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3087 $as_echo "no" >&6; }
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
3091 $as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
3092 if test $am_gid -le $am_max_gid; then
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3094 $as_echo "yes" >&6; }
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3097 $as_echo "no" >&6; }
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3102 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
3104 # Go ahead even if we have the value already cached. We do so because we
3105 # need to set the values for the 'am__tar' and 'am__untar' variables.
3106 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3108 for _am_tool in $_am_tools; do
3111 for _am_tar in tar gnutar gtar; do
3112 { echo "$as_me:$LINENO: $_am_tar --version" >&5
3113 ($_am_tar --version) >&5 2>&5
3115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3116 (exit $ac_status); } && break
3118 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3119 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3120 am__untar="$_am_tar -xf -"
3123 # Must skip GNU tar: if it does not support --format= it doesn't create
3124 # ustar tarball either.
3125 (tar --version) >/dev/null 2>&1 && continue
3126 am__tar='tar chf - "$$tardir"'
3127 am__tar_='tar chf - "$tardir"'
3128 am__untar='tar xf -'
3131 am__tar='pax -L -x ustar -w "$$tardir"'
3132 am__tar_='pax -L -x ustar -w "$tardir"'
3136 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3137 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3138 am__untar='cpio -i -H ustar -d'
3147 # If the value was cached, stop now. We just wanted to have am__tar
3148 # and am__untar set.
3149 test -n "${am_cv_prog_tar_ustar}" && break
3151 # tar/untar a dummy directory, and stop if the command works.
3154 echo GrepMe > conftest.dir/file
3155 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3156 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3159 (exit $ac_status); }
3161 if test -s conftest.tar; then
3162 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3163 ($am__untar <conftest.tar) >&5 2>&5
3165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3166 (exit $ac_status); }
3167 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
3168 (cat conftest.dir/file) >&5 2>&5
3170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3171 (exit $ac_status); }
3172 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3177 if ${am_cv_prog_tar_ustar+:} false; then :
3178 $as_echo_n "(cached) " >&6
3180 am_cv_prog_tar_ustar=$_am_tool
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3184 $as_echo "$am_cv_prog_tar_ustar" >&6; }
3191 # POSIX will say in a future version that running "rm -f" with no argument
3192 # is OK; and we want to be able to make that assumption in our Makefile
3193 # recipes. So use an aggressive probe to check that the usage we want is
3194 # actually supported "in the wild" to an acceptable degree.
3195 # See automake bug#10828.
3196 # To make any issue more visible, cause the running configure to be aborted
3197 # by default if the 'rm' program in use doesn't match our expectations; the
3198 # user can still override this though.
3199 if rm -f && rm -fr && rm -rf; then : OK; else
3203 Your 'rm' program seems unable to run without file operands specified
3204 on the command line, even when the '-f' option is present. This is contrary
3205 to the behaviour of most rm programs out there, and not conforming with
3206 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3208 Please tell bug-automake@gnu.org about your system, including the value
3209 of your $PATH and any error possibly output before this message. This
3210 can help us improve future automake versions.
3213 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3214 echo 'Configuration will proceed anyway, since you have set the' >&2
3215 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3219 Aborting the configuration process, to ensure you take notice of the issue.
3221 You can download and install GNU coreutils to get an 'rm' implementation
3222 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3224 If you want to complete the configuration process using your problematic
3225 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3226 to "yes", and re-run configure.
3229 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3235 PACKAGE_VERSION_MAJOR=$(echo 1.4.1 | cut -d'.' -f1)
3236 PACKAGE_VERSION_MINOR=$(echo 1.4.1 | cut -d'.' -f2)
3237 PACKAGE_VERSION_MICRO=$(echo 1.4.1 | cut -d'.' -f3)
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking nano version" >&5
3246 $as_echo_n "checking nano version... " >&6; }
3248 NANO=$(echo 1.4.1 | cut -d'.' -f4)
3250 if test x"$NANO" = x || test "x$NANO" = "x0" ; then
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 0 (release)" >&5
3252 $as_echo "0 (release)" >&6; }
3254 PACKAGE_VERSION_RELEASE=1
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NANO" >&5
3258 $as_echo "$NANO" >&6; }
3259 PACKAGE_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S`
3260 if test "x$NANO" != "x1" ; then
3266 PACKAGE_VERSION_NANO=$NANO
3273 ac_config_headers="$ac_config_headers config.h"
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3278 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3279 # Check whether --enable-maintainer-mode was given.
3280 if test "${enable_maintainer_mode+set}" = set; then :
3281 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3283 USE_MAINTAINER_MODE=yes
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3287 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3288 if test $USE_MAINTAINER_MODE = yes; then
3289 MAINTAINER_MODE_TRUE=
3290 MAINTAINER_MODE_FALSE='#'
3292 MAINTAINER_MODE_TRUE='#'
3293 MAINTAINER_MODE_FALSE=
3296 MAINT=$MAINTAINER_MODE_TRUE
3302 # Check whether --enable-silent-rules was given.
3303 if test "${enable_silent_rules+set}" = set; then :
3304 enableval=$enable_silent_rules;
3307 case $enable_silent_rules in # (((
3308 yes) AM_DEFAULT_VERBOSITY=0;;
3309 no) AM_DEFAULT_VERBOSITY=1;;
3310 *) AM_DEFAULT_VERBOSITY=0;;
3312 am_make=${MAKE-make}
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3314 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3315 if ${am_cv_make_support_nested_variables+:} false; then :
3316 $as_echo_n "(cached) " >&6
3318 if $as_echo 'TRUE=$(BAR$(V))
3324 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3325 am_cv_make_support_nested_variables=yes
3327 am_cv_make_support_nested_variables=no
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3331 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3332 if test $am_cv_make_support_nested_variables = yes; then
3334 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3336 AM_V=$AM_DEFAULT_VERBOSITY
3337 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3348 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3353 macro_version='2.4.2'
3354 macro_revision='1.3337'
3368 ltmain="$ac_aux_dir/ltmain.sh"
3370 # Backslashify metacharacters that are still active within
3371 # double-quoted strings.
3372 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3374 # Same as above, but do not quote variable references.
3375 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3377 # Sed substitution to delay expansion of an escaped shell variable in a
3378 # double_quote_subst'ed string.
3379 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3381 # Sed substitution to delay expansion of an escaped single quote.
3382 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3384 # Sed substitution to avoid accidental globbing in evaled expressions
3385 no_glob_subst='s/\*/\\\*/g'
3387 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3388 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3389 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3392 $as_echo_n "checking how to print strings... " >&6; }
3393 # Test print first, because it will be a builtin if present.
3394 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3395 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3397 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3400 # Use this function as a fallback that always works.
3401 func_fallback_echo ()
3403 eval 'cat <<_LTECHO_EOF
3407 ECHO='func_fallback_echo'
3410 # func_echo_all arg...
3411 # Invoke $ECHO with all args, space-separated.
3418 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3419 $as_echo "printf" >&6; } ;;
3420 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3421 $as_echo "print -r" >&6; } ;;
3422 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3423 $as_echo "cat" >&6; } ;;
3439 DEPDIR="${am__leading_dot}deps"
3441 ac_config_commands="$ac_config_commands depfiles"
3444 am_make=${MAKE-make}
3445 cat > confinc << 'END'
3447 @echo this is the am__doit target
3450 # If we don't find an include directive, just comment out the code.
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3452 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3456 # First try GNU make style include.
3457 echo "include confinc" > confmf
3458 # Ignore all kinds of additional output from 'make'.
3459 case `$am_make -s -f confmf 2> /dev/null` in #(
3460 *the\ am__doit\ target*)
3466 # Now try BSD make style include.
3467 if test "$am__include" = "#"; then
3468 echo '.include "confinc"' > confmf
3469 case `$am_make -s -f confmf 2> /dev/null` in #(
3470 *the\ am__doit\ target*)
3471 am__include=.include
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3480 $as_echo "$_am_result" >&6; }
3481 rm -f confinc confmf
3483 # Check whether --enable-dependency-tracking was given.
3484 if test "${enable_dependency_tracking+set}" = set; then :
3485 enableval=$enable_dependency_tracking;
3488 if test "x$enable_dependency_tracking" != xno; then
3489 am_depcomp="$ac_aux_dir/depcomp"
3493 if test "x$enable_dependency_tracking" != xno; then
3503 ac_cpp='$CPP $CPPFLAGS'
3504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3507 if test -n "$ac_tool_prefix"; then
3508 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3509 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3511 $as_echo_n "checking for $ac_word... " >&6; }
3512 if ${ac_cv_prog_CC+:} false; then :
3513 $as_echo_n "(cached) " >&6
3515 if test -n "$CC"; then
3516 ac_cv_prog_CC="$CC" # Let the user override the test.
3518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3522 test -z "$as_dir" && as_dir=.
3523 for ac_exec_ext in '' $ac_executable_extensions; do
3524 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3525 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3536 if test -n "$CC"; then
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3538 $as_echo "$CC" >&6; }
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3541 $as_echo "no" >&6; }
3546 if test -z "$ac_cv_prog_CC"; then
3548 # Extract the first word of "gcc", so it can be a program name with args.
3549 set dummy gcc; ac_word=$2
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3551 $as_echo_n "checking for $ac_word... " >&6; }
3552 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3553 $as_echo_n "(cached) " >&6
3555 if test -n "$ac_ct_CC"; then
3556 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3562 test -z "$as_dir" && as_dir=.
3563 for ac_exec_ext in '' $ac_executable_extensions; do
3564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3565 ac_cv_prog_ac_ct_CC="gcc"
3566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3575 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3576 if test -n "$ac_ct_CC"; then
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3578 $as_echo "$ac_ct_CC" >&6; }
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3581 $as_echo "no" >&6; }
3584 if test "x$ac_ct_CC" = x; then
3587 case $cross_compiling:$ac_tool_warned in
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3590 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3591 ac_tool_warned=yes ;;
3599 if test -z "$CC"; then
3600 if test -n "$ac_tool_prefix"; then
3601 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3602 set dummy ${ac_tool_prefix}cc; ac_word=$2
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3604 $as_echo_n "checking for $ac_word... " >&6; }
3605 if ${ac_cv_prog_CC+:} false; then :
3606 $as_echo_n "(cached) " >&6
3608 if test -n "$CC"; then
3609 ac_cv_prog_CC="$CC" # Let the user override the test.
3611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3615 test -z "$as_dir" && as_dir=.
3616 for ac_exec_ext in '' $ac_executable_extensions; do
3617 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3618 ac_cv_prog_CC="${ac_tool_prefix}cc"
3619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3629 if test -n "$CC"; then
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3631 $as_echo "$CC" >&6; }
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3634 $as_echo "no" >&6; }
3640 if test -z "$CC"; then
3641 # Extract the first word of "cc", so it can be a program name with args.
3642 set dummy cc; ac_word=$2
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3644 $as_echo_n "checking for $ac_word... " >&6; }
3645 if ${ac_cv_prog_CC+:} false; then :
3646 $as_echo_n "(cached) " >&6
3648 if test -n "$CC"; then
3649 ac_cv_prog_CC="$CC" # Let the user override the test.
3652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3656 test -z "$as_dir" && as_dir=.
3657 for ac_exec_ext in '' $ac_executable_extensions; do
3658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3659 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3660 ac_prog_rejected=yes
3664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3671 if test $ac_prog_rejected = yes; then
3672 # We found a bogon in the path, so make sure we never use it.
3673 set dummy $ac_cv_prog_CC
3675 if test $# != 0; then
3676 # We chose a different compiler from the bogus one.
3677 # However, it has the same basename, so the bogon will be chosen
3678 # first if we set CC to just the basename; use the full file name.
3680 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3686 if test -n "$CC"; then
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3688 $as_echo "$CC" >&6; }
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3691 $as_echo "no" >&6; }
3696 if test -z "$CC"; then
3697 if test -n "$ac_tool_prefix"; then
3698 for ac_prog in cl.exe
3700 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3701 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3703 $as_echo_n "checking for $ac_word... " >&6; }
3704 if ${ac_cv_prog_CC+:} false; then :
3705 $as_echo_n "(cached) " >&6
3707 if test -n "$CC"; then
3708 ac_cv_prog_CC="$CC" # Let the user override the test.
3710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3714 test -z "$as_dir" && as_dir=.
3715 for ac_exec_ext in '' $ac_executable_extensions; do
3716 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3717 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3728 if test -n "$CC"; then
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3730 $as_echo "$CC" >&6; }
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3733 $as_echo "no" >&6; }
3737 test -n "$CC" && break
3740 if test -z "$CC"; then
3742 for ac_prog in cl.exe
3744 # Extract the first word of "$ac_prog", so it can be a program name with args.
3745 set dummy $ac_prog; ac_word=$2
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3747 $as_echo_n "checking for $ac_word... " >&6; }
3748 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3749 $as_echo_n "(cached) " >&6
3751 if test -n "$ac_ct_CC"; then
3752 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3758 test -z "$as_dir" && as_dir=.
3759 for ac_exec_ext in '' $ac_executable_extensions; do
3760 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3761 ac_cv_prog_ac_ct_CC="$ac_prog"
3762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3771 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3772 if test -n "$ac_ct_CC"; then
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3774 $as_echo "$ac_ct_CC" >&6; }
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3777 $as_echo "no" >&6; }
3781 test -n "$ac_ct_CC" && break
3784 if test "x$ac_ct_CC" = x; then
3787 case $cross_compiling:$ac_tool_warned in
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3790 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3791 ac_tool_warned=yes ;;
3800 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3801 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3802 as_fn_error $? "no acceptable C compiler found in \$PATH
3803 See \`config.log' for more details" "$LINENO" 5; }
3805 # Provide some information about the compiler.
3806 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3809 for ac_option in --version -v -V -qversion; do
3810 { { ac_try="$ac_compiler $ac_option >&5"
3812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3813 *) ac_try_echo=$ac_try;;
3815 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3816 $as_echo "$ac_try_echo"; } >&5
3817 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3819 if test -s conftest.err; then
3821 ... rest of stderr output deleted ...
3822 10q' conftest.err >conftest.er1
3823 cat conftest.er1 >&5
3825 rm -f conftest.er1 conftest.err
3826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3827 test $ac_status = 0; }
3830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3831 /* end confdefs.h. */
3841 ac_clean_files_save=$ac_clean_files
3842 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3843 # Try to create an executable without -o first, disregard a.out.
3844 # It will help us diagnose broken compilers, and finding out an intuition
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3847 $as_echo_n "checking whether the C compiler works... " >&6; }
3848 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3850 # The possible output files:
3851 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3854 for ac_file in $ac_files
3857 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3858 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3863 if { { ac_try="$ac_link_default"
3865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3866 *) ac_try_echo=$ac_try;;
3868 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3869 $as_echo "$ac_try_echo"; } >&5
3870 (eval "$ac_link_default") 2>&5
3872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3873 test $ac_status = 0; }; then :
3874 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3875 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3876 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3877 # so that the user can short-circuit this test for compilers unknown to
3879 for ac_file in $ac_files ''
3881 test -f "$ac_file" || continue
3883 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3886 # We found the default executable, but exeext='' is most
3890 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3892 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3894 # We set ac_cv_exeext here because the later test for it is not
3895 # safe: cross compilers may not add the suffix if given an `-o'
3896 # argument, so we may need to know it at that point already.
3897 # Even if this section looks crufty: it has the advantage of
3904 test "$ac_cv_exeext" = no && ac_cv_exeext=
3909 if test -z "$ac_file"; then :
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3911 $as_echo "no" >&6; }
3912 $as_echo "$as_me: failed program was:" >&5
3913 sed 's/^/| /' conftest.$ac_ext >&5
3915 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3916 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3917 as_fn_error 77 "C compiler cannot create executables
3918 See \`config.log' for more details" "$LINENO" 5; }
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3921 $as_echo "yes" >&6; }
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3924 $as_echo_n "checking for C compiler default output file name... " >&6; }
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3926 $as_echo "$ac_file" >&6; }
3927 ac_exeext=$ac_cv_exeext
3929 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3930 ac_clean_files=$ac_clean_files_save
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3932 $as_echo_n "checking for suffix of executables... " >&6; }
3933 if { { ac_try="$ac_link"
3935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3936 *) ac_try_echo=$ac_try;;
3938 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3939 $as_echo "$ac_try_echo"; } >&5
3940 (eval "$ac_link") 2>&5
3942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3943 test $ac_status = 0; }; then :
3944 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3945 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3946 # work properly (i.e., refer to `conftest.exe'), while it won't with
3948 for ac_file in conftest.exe conftest conftest.*; do
3949 test -f "$ac_file" || continue
3951 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3952 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3958 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3959 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3960 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3961 See \`config.log' for more details" "$LINENO" 5; }
3963 rm -f conftest conftest$ac_cv_exeext
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3965 $as_echo "$ac_cv_exeext" >&6; }
3967 rm -f conftest.$ac_ext
3968 EXEEXT=$ac_cv_exeext
3970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3971 /* end confdefs.h. */
3976 FILE *f = fopen ("conftest.out", "w");
3977 return ferror (f) || fclose (f) != 0;
3983 ac_clean_files="$ac_clean_files conftest.out"
3984 # Check that the compiler produces executables we can run. If not, either
3985 # the compiler is broken, or we cross compile.
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3987 $as_echo_n "checking whether we are cross compiling... " >&6; }
3988 if test "$cross_compiling" != yes; then
3989 { { ac_try="$ac_link"
3991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3992 *) ac_try_echo=$ac_try;;
3994 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3995 $as_echo "$ac_try_echo"; } >&5
3996 (eval "$ac_link") 2>&5
3998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3999 test $ac_status = 0; }
4000 if { ac_try='./conftest$ac_cv_exeext'
4001 { { case "(($ac_try" in
4002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4003 *) ac_try_echo=$ac_try;;
4005 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4006 $as_echo "$ac_try_echo"; } >&5
4007 (eval "$ac_try") 2>&5
4009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4010 test $ac_status = 0; }; }; then
4013 if test "$cross_compiling" = maybe; then
4016 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4017 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4018 as_fn_error $? "cannot run C compiled programs.
4019 If you meant to cross compile, use \`--host'.
4020 See \`config.log' for more details" "$LINENO" 5; }
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4025 $as_echo "$cross_compiling" >&6; }
4027 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4028 ac_clean_files=$ac_clean_files_save
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4030 $as_echo_n "checking for suffix of object files... " >&6; }
4031 if ${ac_cv_objext+:} false; then :
4032 $as_echo_n "(cached) " >&6
4034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4035 /* end confdefs.h. */
4045 rm -f conftest.o conftest.obj
4046 if { { ac_try="$ac_compile"
4048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4049 *) ac_try_echo=$ac_try;;
4051 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4052 $as_echo "$ac_try_echo"; } >&5
4053 (eval "$ac_compile") 2>&5
4055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4056 test $ac_status = 0; }; then :
4057 for ac_file in conftest.o conftest.obj conftest.*; do
4058 test -f "$ac_file" || continue;
4060 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4061 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4066 $as_echo "$as_me: failed program was:" >&5
4067 sed 's/^/| /' conftest.$ac_ext >&5
4069 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4070 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4071 as_fn_error $? "cannot compute suffix of object files: cannot compile
4072 See \`config.log' for more details" "$LINENO" 5; }
4074 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4077 $as_echo "$ac_cv_objext" >&6; }
4078 OBJEXT=$ac_cv_objext
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4081 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4082 if ${ac_cv_c_compiler_gnu+:} false; then :
4083 $as_echo_n "(cached) " >&6
4085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4086 /* end confdefs.h. */
4099 if ac_fn_c_try_compile "$LINENO"; then :
4104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4105 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4109 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4110 if test $ac_compiler_gnu = yes; then
4115 ac_test_CFLAGS=${CFLAGS+set}
4116 ac_save_CFLAGS=$CFLAGS
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4118 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4119 if ${ac_cv_prog_cc_g+:} false; then :
4120 $as_echo_n "(cached) " >&6
4122 ac_save_c_werror_flag=$ac_c_werror_flag
4123 ac_c_werror_flag=yes
4126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4127 /* end confdefs.h. */
4137 if ac_fn_c_try_compile "$LINENO"; then :
4141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4142 /* end confdefs.h. */
4152 if ac_fn_c_try_compile "$LINENO"; then :
4155 ac_c_werror_flag=$ac_save_c_werror_flag
4157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4158 /* end confdefs.h. */
4168 if ac_fn_c_try_compile "$LINENO"; then :
4171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4176 ac_c_werror_flag=$ac_save_c_werror_flag
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4179 $as_echo "$ac_cv_prog_cc_g" >&6; }
4180 if test "$ac_test_CFLAGS" = set; then
4181 CFLAGS=$ac_save_CFLAGS
4182 elif test $ac_cv_prog_cc_g = yes; then
4183 if test "$GCC" = yes; then
4189 if test "$GCC" = yes; then
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4196 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4197 if ${ac_cv_prog_cc_c89+:} false; then :
4198 $as_echo_n "(cached) " >&6
4200 ac_cv_prog_cc_c89=no
4202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4203 /* end confdefs.h. */
4207 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4208 struct buf { int x; };
4209 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4210 static char *e (p, i)
4216 static char *f (char * (*g) (char **, int), char **p, ...)
4221 s = g (p, va_arg (v,int));
4226 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4227 function prototypes and stuff, but not '\xHH' hex character constants.
4228 These don't provoke an error unfortunately, instead are silently treated
4229 as 'x'. The following induces an error, until -std is added to get
4230 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4231 array size at least. It's necessary to write '\x00'==0 to get something
4232 that's true only with -std. */
4233 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4235 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4236 inside strings and character constants. */
4238 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4240 int test (int i, double x);
4241 struct s1 {int (*f) (int a);};
4242 struct s2 {int (*f) (double a);};
4243 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4249 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4254 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4255 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4257 CC="$ac_save_CC $ac_arg"
4258 if ac_fn_c_try_compile "$LINENO"; then :
4259 ac_cv_prog_cc_c89=$ac_arg
4261 rm -f core conftest.err conftest.$ac_objext
4262 test "x$ac_cv_prog_cc_c89" != "xno" && break
4264 rm -f conftest.$ac_ext
4269 case "x$ac_cv_prog_cc_c89" in
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4272 $as_echo "none needed" >&6; } ;;
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4275 $as_echo "unsupported" >&6; } ;;
4277 CC="$CC $ac_cv_prog_cc_c89"
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4279 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4281 if test "x$ac_cv_prog_cc_c89" != xno; then :
4286 ac_cpp='$CPP $CPPFLAGS'
4287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4292 ac_cpp='$CPP $CPPFLAGS'
4293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4297 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4298 if ${am_cv_prog_cc_c_o+:} false; then :
4299 $as_echo_n "(cached) " >&6
4301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4302 /* end confdefs.h. */
4312 # Make sure it works both with $CC and with simple cc.
4313 # Following AC_PROG_CC_C_O, we do the test twice because some
4314 # compilers refuse to overwrite an existing .o file with -o,
4315 # though they will create one.
4316 am_cv_prog_cc_c_o=yes
4318 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4319 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4322 (exit $ac_status); } \
4323 && test -f conftest2.$ac_objext; then
4326 am_cv_prog_cc_c_o=no
4330 rm -f core conftest*
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4334 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4335 if test "$am_cv_prog_cc_c_o" != yes; then
4336 # Losing compiler, so override with the script.
4337 # FIXME: It is wrong to rewrite CC.
4338 # But if we don't then we get into trouble of one sort or another.
4339 # A longer-term fix would be to have automake use am__CC in this case,
4340 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4341 CC="$am_aux_dir/compile $CC"
4344 ac_cpp='$CPP $CPPFLAGS'
4345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4350 depcc="$CC" am_compiler_list=
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4353 $as_echo_n "checking dependency style of $depcc... " >&6; }
4354 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4355 $as_echo_n "(cached) " >&6
4357 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4358 # We make a subdir and do the tests there. Otherwise we can end up
4359 # making bogus files that we don't know about and never remove. For
4360 # instance it was reported that on HP-UX the gcc test will end up
4361 # making a dummy file named 'D' -- because '-MD' means "put the output
4365 # Copy depcomp to subdir because otherwise we won't find it if we're
4366 # using a relative directory.
4367 cp "$am_depcomp" conftest.dir
4369 # We will build objects and dependencies in a subdirectory because
4370 # it helps to detect inapplicable dependency modes. For instance
4371 # both Tru64's cc and ICC support -MD to output dependencies as a
4372 # side effect of compilation, but ICC will put the dependencies in
4373 # the current directory while Tru64 will put them in the object
4377 am_cv_CC_dependencies_compiler_type=none
4378 if test "$am_compiler_list" = ""; then
4379 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4382 case " $depcc " in #(
4383 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4386 for depmode in $am_compiler_list; do
4387 # Setup a source with many dependencies, because some compilers
4388 # like to wrap large dependency lists on column 80 (with \), and
4389 # we should not choose a depcomp mode which is confused by this.
4391 # We need to recreate these files for each test, as the compiler may
4392 # overwrite some of them when testing with obscure command lines.
4393 # This happens at least with the AIX C compiler.
4395 for i in 1 2 3 4 5 6; do
4396 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4397 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4398 # Solaris 10 /bin/sh.
4399 echo '/* dummy */' > sub/conftst$i.h
4401 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4403 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4404 # mode. It turns out that the SunPro C++ compiler does not properly
4405 # handle '-M -o', and we need to detect this. Also, some Intel
4406 # versions had trouble with output in subdirs.
4407 am__obj=sub/conftest.${OBJEXT-o}
4408 am__minus_obj="-o $am__obj"
4411 # This depmode causes a compiler race in universal mode.
4412 test "$am__universal" = false || continue
4415 # After this tag, mechanisms are not by side-effect, so they'll
4416 # only be used when explicitly requested.
4417 if test "x$enable_dependency_tracking" = xyes; then
4423 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4424 # This compiler won't grok '-c -o', but also, the minuso test has
4425 # not run yet. These depmodes are late enough in the game, and
4426 # so weak that their functioning should not be impacted.
4427 am__obj=conftest.${OBJEXT-o}
4432 if depmode=$depmode \
4433 source=sub/conftest.c object=$am__obj \
4434 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4435 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4436 >/dev/null 2>conftest.err &&
4437 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4438 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4439 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4440 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4441 # icc doesn't choke on unknown options, it will just issue warnings
4442 # or remarks (even with -Werror). So we grep stderr for any message
4443 # that says an option was ignored or not supported.
4444 # When given -MP, icc 7.0 and 7.1 complain thusly:
4445 # icc: Command line warning: ignoring option '-M'; no argument required
4446 # The diagnosis changed in icc 8.0:
4447 # icc: Command line remark: option '-MP' not supported
4448 if (grep 'ignoring option' conftest.err ||
4449 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4450 am_cv_CC_dependencies_compiler_type=$depmode
4459 am_cv_CC_dependencies_compiler_type=none
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4464 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4465 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4468 test "x$enable_dependency_tracking" != xno \
4469 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4471 am__fastdepCC_FALSE='#'
4473 am__fastdepCC_TRUE='#'
4474 am__fastdepCC_FALSE=
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4479 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4480 if ${ac_cv_path_SED+:} false; then :
4481 $as_echo_n "(cached) " >&6
4483 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4484 for ac_i in 1 2 3 4 5 6 7; do
4485 ac_script="$ac_script$as_nl$ac_script"
4487 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4488 { ac_script=; unset ac_script;}
4489 if test -z "$SED"; then
4490 ac_path_SED_found=false
4491 # Loop through the user's path and test for each of PROGNAME-LIST
4492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4496 test -z "$as_dir" && as_dir=.
4497 for ac_prog in sed gsed; do
4498 for ac_exec_ext in '' $ac_executable_extensions; do
4499 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4500 as_fn_executable_p "$ac_path_SED" || continue
4501 # Check for GNU ac_path_SED and select it if it is found.
4502 # Check for GNU $ac_path_SED
4503 case `"$ac_path_SED" --version 2>&1` in
4505 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4508 $as_echo_n 0123456789 >"conftest.in"
4511 cat "conftest.in" "conftest.in" >"conftest.tmp"
4512 mv "conftest.tmp" "conftest.in"
4513 cp "conftest.in" "conftest.nl"
4514 $as_echo '' >> "conftest.nl"
4515 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4516 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4517 as_fn_arith $ac_count + 1 && ac_count=$as_val
4518 if test $ac_count -gt ${ac_path_SED_max-0}; then
4519 # Best one so far, save it but keep looking for a better one
4520 ac_cv_path_SED="$ac_path_SED"
4521 ac_path_SED_max=$ac_count
4523 # 10*(2^10) chars as input seems more than enough
4524 test $ac_count -gt 10 && break
4526 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4529 $ac_path_SED_found && break 3
4534 if test -z "$ac_cv_path_SED"; then
4535 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4543 $as_echo "$ac_cv_path_SED" >&6; }
4544 SED="$ac_cv_path_SED"
4547 test -z "$SED" && SED=sed
4548 Xsed="$SED -e 1s/^X//"
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4561 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4562 if ${ac_cv_path_GREP+:} false; then :
4563 $as_echo_n "(cached) " >&6
4565 if test -z "$GREP"; then
4566 ac_path_GREP_found=false
4567 # Loop through the user's path and test for each of PROGNAME-LIST
4568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4569 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4572 test -z "$as_dir" && as_dir=.
4573 for ac_prog in grep ggrep; do
4574 for ac_exec_ext in '' $ac_executable_extensions; do
4575 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4576 as_fn_executable_p "$ac_path_GREP" || continue
4577 # Check for GNU ac_path_GREP and select it if it is found.
4578 # Check for GNU $ac_path_GREP
4579 case `"$ac_path_GREP" --version 2>&1` in
4581 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4584 $as_echo_n 0123456789 >"conftest.in"
4587 cat "conftest.in" "conftest.in" >"conftest.tmp"
4588 mv "conftest.tmp" "conftest.in"
4589 cp "conftest.in" "conftest.nl"
4590 $as_echo 'GREP' >> "conftest.nl"
4591 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4592 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4593 as_fn_arith $ac_count + 1 && ac_count=$as_val
4594 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4595 # Best one so far, save it but keep looking for a better one
4596 ac_cv_path_GREP="$ac_path_GREP"
4597 ac_path_GREP_max=$ac_count
4599 # 10*(2^10) chars as input seems more than enough
4600 test $ac_count -gt 10 && break
4602 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4605 $ac_path_GREP_found && break 3
4610 if test -z "$ac_cv_path_GREP"; then
4611 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4614 ac_cv_path_GREP=$GREP
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4619 $as_echo "$ac_cv_path_GREP" >&6; }
4620 GREP="$ac_cv_path_GREP"
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4624 $as_echo_n "checking for egrep... " >&6; }
4625 if ${ac_cv_path_EGREP+:} false; then :
4626 $as_echo_n "(cached) " >&6
4628 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4629 then ac_cv_path_EGREP="$GREP -E"
4631 if test -z "$EGREP"; then
4632 ac_path_EGREP_found=false
4633 # Loop through the user's path and test for each of PROGNAME-LIST
4634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4635 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4638 test -z "$as_dir" && as_dir=.
4639 for ac_prog in egrep; do
4640 for ac_exec_ext in '' $ac_executable_extensions; do
4641 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4642 as_fn_executable_p "$ac_path_EGREP" || continue
4643 # Check for GNU ac_path_EGREP and select it if it is found.
4644 # Check for GNU $ac_path_EGREP
4645 case `"$ac_path_EGREP" --version 2>&1` in
4647 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4650 $as_echo_n 0123456789 >"conftest.in"
4653 cat "conftest.in" "conftest.in" >"conftest.tmp"
4654 mv "conftest.tmp" "conftest.in"
4655 cp "conftest.in" "conftest.nl"
4656 $as_echo 'EGREP' >> "conftest.nl"
4657 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4658 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4659 as_fn_arith $ac_count + 1 && ac_count=$as_val
4660 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4661 # Best one so far, save it but keep looking for a better one
4662 ac_cv_path_EGREP="$ac_path_EGREP"
4663 ac_path_EGREP_max=$ac_count
4665 # 10*(2^10) chars as input seems more than enough
4666 test $ac_count -gt 10 && break
4668 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4671 $ac_path_EGREP_found && break 3
4676 if test -z "$ac_cv_path_EGREP"; then
4677 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4680 ac_cv_path_EGREP=$EGREP
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4686 $as_echo "$ac_cv_path_EGREP" >&6; }
4687 EGREP="$ac_cv_path_EGREP"
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4691 $as_echo_n "checking for fgrep... " >&6; }
4692 if ${ac_cv_path_FGREP+:} false; then :
4693 $as_echo_n "(cached) " >&6
4695 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4696 then ac_cv_path_FGREP="$GREP -F"
4698 if test -z "$FGREP"; then
4699 ac_path_FGREP_found=false
4700 # Loop through the user's path and test for each of PROGNAME-LIST
4701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4702 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4705 test -z "$as_dir" && as_dir=.
4706 for ac_prog in fgrep; do
4707 for ac_exec_ext in '' $ac_executable_extensions; do
4708 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4709 as_fn_executable_p "$ac_path_FGREP" || continue
4710 # Check for GNU ac_path_FGREP and select it if it is found.
4711 # Check for GNU $ac_path_FGREP
4712 case `"$ac_path_FGREP" --version 2>&1` in
4714 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4717 $as_echo_n 0123456789 >"conftest.in"
4720 cat "conftest.in" "conftest.in" >"conftest.tmp"
4721 mv "conftest.tmp" "conftest.in"
4722 cp "conftest.in" "conftest.nl"
4723 $as_echo 'FGREP' >> "conftest.nl"
4724 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4725 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4726 as_fn_arith $ac_count + 1 && ac_count=$as_val
4727 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4728 # Best one so far, save it but keep looking for a better one
4729 ac_cv_path_FGREP="$ac_path_FGREP"
4730 ac_path_FGREP_max=$ac_count
4732 # 10*(2^10) chars as input seems more than enough
4733 test $ac_count -gt 10 && break
4735 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4738 $ac_path_FGREP_found && break 3
4743 if test -z "$ac_cv_path_FGREP"; then
4744 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4747 ac_cv_path_FGREP=$FGREP
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4753 $as_echo "$ac_cv_path_FGREP" >&6; }
4754 FGREP="$ac_cv_path_FGREP"
4757 test -z "$GREP" && GREP=grep
4777 # Check whether --with-gnu-ld was given.
4778 if test "${with_gnu_ld+set}" = set; then :
4779 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4785 if test "$GCC" = yes; then
4786 # Check if gcc -print-prog-name=ld gives a path.
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4788 $as_echo_n "checking for ld used by $CC... " >&6; }
4791 # gcc leaves a trailing carriage return which upsets mingw
4792 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4794 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4797 # Accept absolute paths.
4799 re_direlt='/[^/][^/]*/\.\./'
4800 # Canonicalize the pathname of ld
4801 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4802 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4803 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4805 test -z "$LD" && LD="$ac_prog"
4808 # If it fails, then pretend we aren't using GCC.
4812 # If it is relative, then search for the first ld in PATH.
4816 elif test "$with_gnu_ld" = yes; then
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4818 $as_echo_n "checking for GNU ld... " >&6; }
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4821 $as_echo_n "checking for non-GNU ld... " >&6; }
4823 if ${lt_cv_path_LD+:} false; then :
4824 $as_echo_n "(cached) " >&6
4826 if test -z "$LD"; then
4827 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4828 for ac_dir in $PATH; do
4830 test -z "$ac_dir" && ac_dir=.
4831 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4832 lt_cv_path_LD="$ac_dir/$ac_prog"
4833 # Check to see if the program is GNU ld. I'd rather use --version,
4834 # but apparently some variants of GNU ld only accept -v.
4835 # Break only if it was the GNU/non-GNU ld that we prefer.
4836 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4837 *GNU* | *'with BFD'*)
4838 test "$with_gnu_ld" != no && break
4841 test "$with_gnu_ld" != yes && break
4848 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4853 if test -n "$LD"; then
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4855 $as_echo "$LD" >&6; }
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4858 $as_echo "no" >&6; }
4860 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4862 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4863 if ${lt_cv_prog_gnu_ld+:} false; then :
4864 $as_echo_n "(cached) " >&6
4866 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4867 case `$LD -v 2>&1 </dev/null` in
4868 *GNU* | *'with BFD'*)
4869 lt_cv_prog_gnu_ld=yes
4872 lt_cv_prog_gnu_ld=no
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4877 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4878 with_gnu_ld=$lt_cv_prog_gnu_ld
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4889 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4890 if ${lt_cv_path_NM+:} false; then :
4891 $as_echo_n "(cached) " >&6
4893 if test -n "$NM"; then
4894 # Let the user override the test.
4897 lt_nm_to_check="${ac_tool_prefix}nm"
4898 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4899 lt_nm_to_check="$lt_nm_to_check nm"
4901 for lt_tmp_nm in $lt_nm_to_check; do
4902 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4903 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4905 test -z "$ac_dir" && ac_dir=.
4906 tmp_nm="$ac_dir/$lt_tmp_nm"
4907 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4908 # Check to see if the nm accepts a BSD-compat flag.
4909 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4910 # nm: unknown option "B" ignored
4911 # Tru64's nm complains that /dev/null is an invalid object file
4912 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4913 */dev/null* | *'Invalid file or object type'*)
4914 lt_cv_path_NM="$tmp_nm -B"
4918 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4920 lt_cv_path_NM="$tmp_nm -p"
4924 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4925 continue # so that we can try to find one that supports BSD flags
4934 : ${lt_cv_path_NM=no}
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4938 $as_echo "$lt_cv_path_NM" >&6; }
4939 if test "$lt_cv_path_NM" != "no"; then
4942 # Didn't find any BSD compatible name lister, look for dumpbin.
4943 if test -n "$DUMPBIN"; then :
4944 # Let the user override the test.
4946 if test -n "$ac_tool_prefix"; then
4947 for ac_prog in dumpbin "link -dump"
4949 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4950 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4952 $as_echo_n "checking for $ac_word... " >&6; }
4953 if ${ac_cv_prog_DUMPBIN+:} false; then :
4954 $as_echo_n "(cached) " >&6
4956 if test -n "$DUMPBIN"; then
4957 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4963 test -z "$as_dir" && as_dir=.
4964 for ac_exec_ext in '' $ac_executable_extensions; do
4965 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4966 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4976 DUMPBIN=$ac_cv_prog_DUMPBIN
4977 if test -n "$DUMPBIN"; then
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4979 $as_echo "$DUMPBIN" >&6; }
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4982 $as_echo "no" >&6; }
4986 test -n "$DUMPBIN" && break
4989 if test -z "$DUMPBIN"; then
4990 ac_ct_DUMPBIN=$DUMPBIN
4991 for ac_prog in dumpbin "link -dump"
4993 # Extract the first word of "$ac_prog", so it can be a program name with args.
4994 set dummy $ac_prog; ac_word=$2
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4996 $as_echo_n "checking for $ac_word... " >&6; }
4997 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4998 $as_echo_n "(cached) " >&6
5000 if test -n "$ac_ct_DUMPBIN"; then
5001 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5007 test -z "$as_dir" && as_dir=.
5008 for ac_exec_ext in '' $ac_executable_extensions; do
5009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5010 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5020 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5021 if test -n "$ac_ct_DUMPBIN"; then
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5023 $as_echo "$ac_ct_DUMPBIN" >&6; }
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5026 $as_echo "no" >&6; }
5030 test -n "$ac_ct_DUMPBIN" && break
5033 if test "x$ac_ct_DUMPBIN" = x; then
5036 case $cross_compiling:$ac_tool_warned in
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5039 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5040 ac_tool_warned=yes ;;
5042 DUMPBIN=$ac_ct_DUMPBIN
5046 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5048 DUMPBIN="$DUMPBIN -symbols"
5056 if test "$DUMPBIN" != ":"; then
5060 test -z "$NM" && NM=nm
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5068 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5069 if ${lt_cv_nm_interface+:} false; then :
5070 $as_echo_n "(cached) " >&6
5072 lt_cv_nm_interface="BSD nm"
5073 echo "int some_variable = 0;" > conftest.$ac_ext
5074 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5075 (eval "$ac_compile" 2>conftest.err)
5076 cat conftest.err >&5
5077 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5078 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5079 cat conftest.err >&5
5080 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5081 cat conftest.out >&5
5082 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5083 lt_cv_nm_interface="MS dumpbin"
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5088 $as_echo "$lt_cv_nm_interface" >&6; }
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5091 $as_echo_n "checking whether ln -s works... " >&6; }
5093 if test "$LN_S" = "ln -s"; then
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5095 $as_echo "yes" >&6; }
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5098 $as_echo "no, using $LN_S" >&6; }
5101 # find the maximum length of command line arguments
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5103 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5104 if ${lt_cv_sys_max_cmd_len+:} false; then :
5105 $as_echo_n "(cached) " >&6
5112 # On DJGPP, this test can blow up pretty badly due to problems in libc
5113 # (any single argument exceeding 2000 bytes causes a buffer overrun
5114 # during glob expansion). Even if it were fixed, the result of this
5115 # check would be larger than it should be.
5116 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5120 # Under GNU Hurd, this test is not required because there is
5121 # no limit to the length of command line arguments.
5122 # Libtool will interpret -1 as no limit whatsoever
5123 lt_cv_sys_max_cmd_len=-1;
5126 cygwin* | mingw* | cegcc*)
5127 # On Win9x/ME, this test blows up -- it succeeds, but takes
5128 # about 5 minutes as the teststring grows exponentially.
5129 # Worse, since 9x/ME are not pre-emptively multitasking,
5130 # you end up with a "frozen" computer, even though with patience
5131 # the test eventually succeeds (with a max line length of 256k).
5132 # Instead, let's just punt: use the minimum linelength reported by
5133 # all of the supported platforms: 8192 (on NT/2K/XP).
5134 lt_cv_sys_max_cmd_len=8192;
5138 # On MiNT this can take a long time and run out of memory.
5139 lt_cv_sys_max_cmd_len=8192;
5143 # On AmigaOS with pdksh, this test takes hours, literally.
5144 # So we just punt and use a minimum line length of 8192.
5145 lt_cv_sys_max_cmd_len=8192;
5148 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5149 # This has been around since 386BSD, at least. Likely further.
5150 if test -x /sbin/sysctl; then
5151 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5152 elif test -x /usr/sbin/sysctl; then
5153 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5155 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5157 # And add a safety zone
5158 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5159 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5163 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5164 lt_cv_sys_max_cmd_len=196608
5168 # The test takes a long time on OS/2.
5169 lt_cv_sys_max_cmd_len=8192
5173 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5174 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5175 # nice to cause kernel panics so lets avoid the loop below.
5176 # First set a reasonable default.
5177 lt_cv_sys_max_cmd_len=16384
5179 if test -x /sbin/sysconfig; then
5180 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5181 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5186 lt_cv_sys_max_cmd_len=102400
5188 sysv5* | sco5v6* | sysv4.2uw2*)
5189 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5190 if test -n "$kargmax"; then
5191 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5193 lt_cv_sys_max_cmd_len=32768
5197 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5198 if test -n "$lt_cv_sys_max_cmd_len" && \
5199 test undefined != "$lt_cv_sys_max_cmd_len"; then
5200 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5201 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5203 # Make teststring a little bigger before we do anything with it.
5204 # a 1K string should be a reasonable start.
5205 for i in 1 2 3 4 5 6 7 8 ; do
5206 teststring=$teststring$teststring
5208 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5209 # If test is not a shell built-in, we'll probably end up computing a
5210 # maximum length that is only half of the actual maximum length, but
5212 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5213 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5214 test $i != 17 # 1/2 MB should be enough
5217 teststring=$teststring$teststring
5219 # Only check the string length outside the loop.
5220 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5222 # Add a significant safety factor because C++ compilers can tack on
5223 # massive amounts of additional arguments before passing them to the
5224 # linker. It appears as though 1/2 is a usable value.
5225 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5232 if test -n $lt_cv_sys_max_cmd_len ; then
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5234 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5237 $as_echo "none" >&6; }
5239 max_cmd_len=$lt_cv_sys_max_cmd_len
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5251 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5252 # Try some XSI features
5255 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5257 && eval 'test $(( 1 + 1 )) -eq 2 \
5258 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5261 $as_echo "$xsi_shell" >&6; }
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5265 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5267 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5269 && lt_shell_append=yes
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5271 $as_echo "$lt_shell_append" >&6; }
5274 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5284 # test EBCDIC or ASCII
5285 case `echo X|tr X '\101'` in
5286 A) # ASCII based system
5287 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5288 lt_SP2NL='tr \040 \012'
5289 lt_NL2SP='tr \015\012 \040\040'
5291 *) # EBCDIC based system
5292 lt_SP2NL='tr \100 \n'
5293 lt_NL2SP='tr \r\n \100\100'
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5306 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5307 if ${lt_cv_to_host_file_cmd+:} false; then :
5308 $as_echo_n "(cached) " >&6
5313 *-*-mingw* ) # actually msys
5314 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5317 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5319 * ) # otherwise, assume *nix
5320 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5326 *-*-mingw* ) # actually msys
5327 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5330 lt_cv_to_host_file_cmd=func_convert_file_noop
5332 * ) # otherwise, assume *nix
5333 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5337 * ) # unhandled hosts (and "normal" native builds)
5338 lt_cv_to_host_file_cmd=func_convert_file_noop
5344 to_host_file_cmd=$lt_cv_to_host_file_cmd
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5346 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5353 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5354 if ${lt_cv_to_tool_file_cmd+:} false; then :
5355 $as_echo_n "(cached) " >&6
5357 #assume ordinary cross tools, or native build.
5358 lt_cv_to_tool_file_cmd=func_convert_file_noop
5362 *-*-mingw* ) # actually msys
5363 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5371 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5373 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5380 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5381 if ${lt_cv_ld_reload_flag+:} false; then :
5382 $as_echo_n "(cached) " >&6
5384 lt_cv_ld_reload_flag='-r'
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5387 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5388 reload_flag=$lt_cv_ld_reload_flag
5389 case $reload_flag in
5391 *) reload_flag=" $reload_flag" ;;
5393 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5395 cygwin* | mingw* | pw32* | cegcc*)
5396 if test "$GCC" != yes; then
5401 if test "$GCC" = yes; then
5402 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5404 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5417 if test -n "$ac_tool_prefix"; then
5418 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5419 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5421 $as_echo_n "checking for $ac_word... " >&6; }
5422 if ${ac_cv_prog_OBJDUMP+:} false; then :
5423 $as_echo_n "(cached) " >&6
5425 if test -n "$OBJDUMP"; then
5426 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5432 test -z "$as_dir" && as_dir=.
5433 for ac_exec_ext in '' $ac_executable_extensions; do
5434 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5435 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5445 OBJDUMP=$ac_cv_prog_OBJDUMP
5446 if test -n "$OBJDUMP"; then
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5448 $as_echo "$OBJDUMP" >&6; }
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5451 $as_echo "no" >&6; }
5456 if test -z "$ac_cv_prog_OBJDUMP"; then
5457 ac_ct_OBJDUMP=$OBJDUMP
5458 # Extract the first word of "objdump", so it can be a program name with args.
5459 set dummy objdump; ac_word=$2
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5461 $as_echo_n "checking for $ac_word... " >&6; }
5462 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5463 $as_echo_n "(cached) " >&6
5465 if test -n "$ac_ct_OBJDUMP"; then
5466 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5472 test -z "$as_dir" && as_dir=.
5473 for ac_exec_ext in '' $ac_executable_extensions; do
5474 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5475 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5485 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5486 if test -n "$ac_ct_OBJDUMP"; then
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5488 $as_echo "$ac_ct_OBJDUMP" >&6; }
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5491 $as_echo "no" >&6; }
5494 if test "x$ac_ct_OBJDUMP" = x; then
5497 case $cross_compiling:$ac_tool_warned in
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5500 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5501 ac_tool_warned=yes ;;
5503 OBJDUMP=$ac_ct_OBJDUMP
5506 OBJDUMP="$ac_cv_prog_OBJDUMP"
5509 test -z "$OBJDUMP" && OBJDUMP=objdump
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5517 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5518 if ${lt_cv_deplibs_check_method+:} false; then :
5519 $as_echo_n "(cached) " >&6
5521 lt_cv_file_magic_cmd='$MAGIC_CMD'
5522 lt_cv_file_magic_test_file=
5523 lt_cv_deplibs_check_method='unknown'
5524 # Need to set the preceding variable on all platforms that support
5525 # interlibrary dependencies.
5526 # 'none' -- dependencies not supported.
5527 # `unknown' -- same as none, but documents that we really don't know.
5528 # 'pass_all' -- all dependencies passed with no checks.
5529 # 'test_compile' -- check by making test program.
5530 # 'file_magic [[regex]]' -- check by looking for files in library path
5531 # which responds to the $file_magic_cmd with a given extended regex.
5532 # If you have `file' or equivalent on your system and you're not sure
5533 # whether `pass_all' will *always* work, you probably want this one.
5537 lt_cv_deplibs_check_method=pass_all
5541 lt_cv_deplibs_check_method=pass_all
5545 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5546 lt_cv_file_magic_cmd='/usr/bin/file -L'
5547 lt_cv_file_magic_test_file=/shlib/libc.so
5551 # func_win32_libid is a shell function defined in ltmain.sh
5552 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5553 lt_cv_file_magic_cmd='func_win32_libid'
5557 # Base MSYS/MinGW do not provide the 'file' command needed by
5558 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5559 # unless we find 'file', for example because we are cross-compiling.
5560 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5561 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5562 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5563 lt_cv_file_magic_cmd='func_win32_libid'
5565 # Keep this pattern in sync with the one in func_win32_libid.
5566 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5567 lt_cv_file_magic_cmd='$OBJDUMP -f'
5572 # use the weaker test based on 'objdump'. See mingw*.
5573 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5574 lt_cv_file_magic_cmd='$OBJDUMP -f'
5577 darwin* | rhapsody*)
5578 lt_cv_deplibs_check_method=pass_all
5581 freebsd* | dragonfly*)
5582 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5585 # Not sure whether the presence of OpenBSD here was a mistake.
5586 # Let's accept both of them until this is cleared up.
5587 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5588 lt_cv_file_magic_cmd=/usr/bin/file
5589 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5593 lt_cv_deplibs_check_method=pass_all
5598 lt_cv_deplibs_check_method=pass_all
5601 hpux10.20* | hpux11*)
5602 lt_cv_file_magic_cmd=/usr/bin/file
5605 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5606 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5609 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]'
5610 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5613 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5614 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5620 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5621 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5624 irix5* | irix6* | nonstopux*)
5626 *-32|*"-32 ") libmagic=32-bit;;
5627 *-n32|*"-n32 ") libmagic=N32;;
5628 *-64|*"-64 ") libmagic=64-bit;;
5629 *) libmagic=never-match;;
5631 lt_cv_deplibs_check_method=pass_all
5634 # This must be glibc/ELF.
5635 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5636 lt_cv_deplibs_check_method=pass_all
5639 netbsd* | netbsdelf*-gnu)
5640 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5641 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5643 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5648 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5649 lt_cv_file_magic_cmd=/usr/bin/file
5650 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5654 lt_cv_deplibs_check_method=pass_all
5658 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5659 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5661 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5665 osf3* | osf4* | osf5*)
5666 lt_cv_deplibs_check_method=pass_all
5670 lt_cv_deplibs_check_method=pass_all
5674 lt_cv_deplibs_check_method=pass_all
5677 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5678 lt_cv_deplibs_check_method=pass_all
5682 case $host_vendor in
5684 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]'
5685 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5688 lt_cv_deplibs_check_method=pass_all
5691 lt_cv_file_magic_cmd='/bin/file'
5692 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5695 lt_cv_file_magic_cmd='/bin/file'
5696 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5697 lt_cv_file_magic_test_file=/lib/libc.so
5700 lt_cv_deplibs_check_method=pass_all
5703 lt_cv_deplibs_check_method=pass_all
5709 lt_cv_deplibs_check_method=pass_all
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5715 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5719 if test "$build" = "$host"; then
5722 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5725 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5731 file_magic_cmd=$lt_cv_file_magic_cmd
5732 deplibs_check_method=$lt_cv_deplibs_check_method
5733 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5756 if test -n "$ac_tool_prefix"; then
5757 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5758 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5760 $as_echo_n "checking for $ac_word... " >&6; }
5761 if ${ac_cv_prog_DLLTOOL+:} false; then :
5762 $as_echo_n "(cached) " >&6
5764 if test -n "$DLLTOOL"; then
5765 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5771 test -z "$as_dir" && as_dir=.
5772 for ac_exec_ext in '' $ac_executable_extensions; do
5773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5774 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5784 DLLTOOL=$ac_cv_prog_DLLTOOL
5785 if test -n "$DLLTOOL"; then
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5787 $as_echo "$DLLTOOL" >&6; }
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5790 $as_echo "no" >&6; }
5795 if test -z "$ac_cv_prog_DLLTOOL"; then
5796 ac_ct_DLLTOOL=$DLLTOOL
5797 # Extract the first word of "dlltool", so it can be a program name with args.
5798 set dummy dlltool; ac_word=$2
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5800 $as_echo_n "checking for $ac_word... " >&6; }
5801 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5802 $as_echo_n "(cached) " >&6
5804 if test -n "$ac_ct_DLLTOOL"; then
5805 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5811 test -z "$as_dir" && as_dir=.
5812 for ac_exec_ext in '' $ac_executable_extensions; do
5813 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5814 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5824 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5825 if test -n "$ac_ct_DLLTOOL"; then
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5827 $as_echo "$ac_ct_DLLTOOL" >&6; }
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5830 $as_echo "no" >&6; }
5833 if test "x$ac_ct_DLLTOOL" = x; then
5836 case $cross_compiling:$ac_tool_warned in
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5839 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5840 ac_tool_warned=yes ;;
5842 DLLTOOL=$ac_ct_DLLTOOL
5845 DLLTOOL="$ac_cv_prog_DLLTOOL"
5848 test -z "$DLLTOOL" && DLLTOOL=dlltool
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5857 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5858 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5859 $as_echo_n "(cached) " >&6
5861 lt_cv_sharedlib_from_linklib_cmd='unknown'
5864 cygwin* | mingw* | pw32* | cegcc*)
5865 # two different shell functions defined in ltmain.sh
5866 # decide which to use based on capabilities of $DLLTOOL
5867 case `$DLLTOOL --help 2>&1` in
5868 *--identify-strict*)
5869 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5872 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5877 # fallback: assume linklib IS sharedlib
5878 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5884 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5885 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5886 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5895 if test -n "$ac_tool_prefix"; then
5898 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5899 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5901 $as_echo_n "checking for $ac_word... " >&6; }
5902 if ${ac_cv_prog_AR+:} false; then :
5903 $as_echo_n "(cached) " >&6
5905 if test -n "$AR"; then
5906 ac_cv_prog_AR="$AR" # Let the user override the test.
5908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5912 test -z "$as_dir" && as_dir=.
5913 for ac_exec_ext in '' $ac_executable_extensions; do
5914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5915 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5926 if test -n "$AR"; then
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5928 $as_echo "$AR" >&6; }
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5931 $as_echo "no" >&6; }
5935 test -n "$AR" && break
5938 if test -z "$AR"; then
5942 # Extract the first word of "$ac_prog", so it can be a program name with args.
5943 set dummy $ac_prog; ac_word=$2
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5945 $as_echo_n "checking for $ac_word... " >&6; }
5946 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5947 $as_echo_n "(cached) " >&6
5949 if test -n "$ac_ct_AR"; then
5950 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5956 test -z "$as_dir" && as_dir=.
5957 for ac_exec_ext in '' $ac_executable_extensions; do
5958 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5959 ac_cv_prog_ac_ct_AR="$ac_prog"
5960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5969 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5970 if test -n "$ac_ct_AR"; then
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5972 $as_echo "$ac_ct_AR" >&6; }
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5975 $as_echo "no" >&6; }
5979 test -n "$ac_ct_AR" && break
5982 if test "x$ac_ct_AR" = x; then
5985 case $cross_compiling:$ac_tool_warned in
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5988 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5989 ac_tool_warned=yes ;;
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6009 $as_echo_n "checking for archiver @FILE support... " >&6; }
6010 if ${lt_cv_ar_at_file+:} false; then :
6011 $as_echo_n "(cached) " >&6
6014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6015 /* end confdefs.h. */
6025 if ac_fn_c_try_compile "$LINENO"; then :
6026 echo conftest.$ac_objext > conftest.lst
6027 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6028 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6029 (eval $lt_ar_try) 2>&5
6031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6032 test $ac_status = 0; }
6033 if test "$ac_status" -eq 0; then
6034 # Ensure the archiver fails upon bogus file names.
6035 rm -f conftest.$ac_objext libconftest.a
6036 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6037 (eval $lt_ar_try) 2>&5
6039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6040 test $ac_status = 0; }
6041 if test "$ac_status" -ne 0; then
6045 rm -f conftest.* libconftest.a
6048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6052 $as_echo "$lt_cv_ar_at_file" >&6; }
6054 if test "x$lt_cv_ar_at_file" = xno; then
6057 archiver_list_spec=$lt_cv_ar_at_file
6066 if test -n "$ac_tool_prefix"; then
6067 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6068 set dummy ${ac_tool_prefix}strip; ac_word=$2
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6070 $as_echo_n "checking for $ac_word... " >&6; }
6071 if ${ac_cv_prog_STRIP+:} false; then :
6072 $as_echo_n "(cached) " >&6
6074 if test -n "$STRIP"; then
6075 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6081 test -z "$as_dir" && as_dir=.
6082 for ac_exec_ext in '' $ac_executable_extensions; do
6083 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6084 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6094 STRIP=$ac_cv_prog_STRIP
6095 if test -n "$STRIP"; then
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6097 $as_echo "$STRIP" >&6; }
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6100 $as_echo "no" >&6; }
6105 if test -z "$ac_cv_prog_STRIP"; then
6107 # Extract the first word of "strip", so it can be a program name with args.
6108 set dummy strip; ac_word=$2
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6110 $as_echo_n "checking for $ac_word... " >&6; }
6111 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6112 $as_echo_n "(cached) " >&6
6114 if test -n "$ac_ct_STRIP"; then
6115 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6121 test -z "$as_dir" && as_dir=.
6122 for ac_exec_ext in '' $ac_executable_extensions; do
6123 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6124 ac_cv_prog_ac_ct_STRIP="strip"
6125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6134 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6135 if test -n "$ac_ct_STRIP"; then
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6137 $as_echo "$ac_ct_STRIP" >&6; }
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6140 $as_echo "no" >&6; }
6143 if test "x$ac_ct_STRIP" = x; then
6146 case $cross_compiling:$ac_tool_warned in
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6149 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6150 ac_tool_warned=yes ;;
6155 STRIP="$ac_cv_prog_STRIP"
6158 test -z "$STRIP" && STRIP=:
6165 if test -n "$ac_tool_prefix"; then
6166 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6167 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6169 $as_echo_n "checking for $ac_word... " >&6; }
6170 if ${ac_cv_prog_RANLIB+:} false; then :
6171 $as_echo_n "(cached) " >&6
6173 if test -n "$RANLIB"; then
6174 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6180 test -z "$as_dir" && as_dir=.
6181 for ac_exec_ext in '' $ac_executable_extensions; do
6182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6183 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6193 RANLIB=$ac_cv_prog_RANLIB
6194 if test -n "$RANLIB"; then
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6196 $as_echo "$RANLIB" >&6; }
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6199 $as_echo "no" >&6; }
6204 if test -z "$ac_cv_prog_RANLIB"; then
6205 ac_ct_RANLIB=$RANLIB
6206 # Extract the first word of "ranlib", so it can be a program name with args.
6207 set dummy ranlib; ac_word=$2
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6209 $as_echo_n "checking for $ac_word... " >&6; }
6210 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6211 $as_echo_n "(cached) " >&6
6213 if test -n "$ac_ct_RANLIB"; then
6214 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6220 test -z "$as_dir" && as_dir=.
6221 for ac_exec_ext in '' $ac_executable_extensions; do
6222 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6223 ac_cv_prog_ac_ct_RANLIB="ranlib"
6224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6233 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6234 if test -n "$ac_ct_RANLIB"; then
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6236 $as_echo "$ac_ct_RANLIB" >&6; }
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6239 $as_echo "no" >&6; }
6242 if test "x$ac_ct_RANLIB" = x; then
6245 case $cross_compiling:$ac_tool_warned in
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6248 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6249 ac_tool_warned=yes ;;
6251 RANLIB=$ac_ct_RANLIB
6254 RANLIB="$ac_cv_prog_RANLIB"
6257 test -z "$RANLIB" && RANLIB=:
6264 # Determine commands to create old-style static archives.
6265 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6266 old_postinstall_cmds='chmod 644 $oldlib'
6267 old_postuninstall_cmds=
6269 if test -n "$RANLIB"; then
6272 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6275 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6278 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6283 lock_old_archive_extraction=yes ;;
6285 lock_old_archive_extraction=no ;;
6326 # If no C compiler was specified, use CC.
6329 # If no C compiler flags were specified, use CFLAGS.
6330 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6332 # Allow CC to be a program name with arguments.
6336 # Check for command to grab the raw symbol name followed by C symbol from nm.
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6338 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6339 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6340 $as_echo_n "(cached) " >&6
6343 # These are sane defaults that work on at least a few old systems.
6344 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6346 # Character class describing NM global symbol codes.
6347 symcode='[BCDEGRST]'
6349 # Regexp to match symbols that can be accessed directly from C.
6350 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6352 # Define system-specific variables.
6357 cygwin* | mingw* | pw32* | cegcc*)
6358 symcode='[ABCDGISTW]'
6361 if test "$host_cpu" = ia64; then
6362 symcode='[ABCDEGRST]'
6366 symcode='[BCDEGRST]'
6369 symcode='[BCDEGQRST]'
6380 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6388 # If we're using GNU nm, then use its standard symbol codes.
6389 case `$NM -V 2>&1` in
6390 *GNU* | *'with BFD'*)
6391 symcode='[ABCDGIRSTW]' ;;
6394 # Transform an extracted symbol line into a proper C declaration.
6395 # Some systems (esp. on ia64) link data and code symbols differently,
6396 # so use this general approach.
6397 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6399 # Transform an extracted symbol line into symbol name and symbol address
6400 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6401 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'"
6403 # Handle CRLF in mingw tool chain
6407 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6411 # Try without a prefix underscore, then with it.
6412 for ac_symprfx in "" "_"; do
6414 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6415 symxfrm="\\1 $ac_symprfx\\2 \\2"
6417 # Write the raw and C identifiers.
6418 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6419 # Fake it for dumpbin and say T for any non-static function
6420 # and D for any global variable.
6421 # Also find C++ and __fastcall symbols from MSVC++,
6422 # which start with @ or ?.
6423 lt_cv_sys_global_symbol_pipe="$AWK '"\
6424 " {last_section=section; section=\$ 3};"\
6425 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6426 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6427 " \$ 0!~/External *\|/{next};"\
6428 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6429 " {if(hide[section]) next};"\
6430 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6431 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6432 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6433 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6434 " ' prfx=^$ac_symprfx"
6436 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6438 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6440 # Check to see that the pipe works correctly.
6444 cat > conftest.$ac_ext <<_LT_EOF
6449 void nm_test_func(void);
6450 void nm_test_func(void){}
6454 int main(){nm_test_var='a';nm_test_func();return(0);}
6457 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6458 (eval $ac_compile) 2>&5
6460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6461 test $ac_status = 0; }; then
6462 # Now try to grab the symbols.
6464 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6465 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6468 test $ac_status = 0; } && test -s "$nlist"; then
6469 # Try sorting and uniquifying the output.
6470 if sort "$nlist" | uniq > "$nlist"T; then
6471 mv -f "$nlist"T "$nlist"
6476 # Make sure that we snagged all the symbols we need.
6477 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6478 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6479 cat <<_LT_EOF > conftest.$ac_ext
6480 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6481 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6482 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6483 relocations are performed -- see ld's documentation on pseudo-relocs. */
6484 # define LT_DLSYM_CONST
6485 #elif defined(__osf__)
6486 /* This system does not cope well with relocations in const data. */
6487 # define LT_DLSYM_CONST
6489 # define LT_DLSYM_CONST const
6497 # Now generate the symbol file.
6498 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6500 cat <<_LT_EOF >> conftest.$ac_ext
6502 /* The mapping between symbol names and symbols. */
6503 LT_DLSYM_CONST struct {
6507 lt__PROGRAM__LTX_preloaded_symbols[] =
6509 { "@PROGRAM@", (void *) 0 },
6511 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6512 cat <<\_LT_EOF >> conftest.$ac_ext
6516 /* This works around a problem in FreeBSD linker */
6517 #ifdef FREEBSD_WORKAROUND
6518 static const void *lt_preloaded_setup() {
6519 return lt__PROGRAM__LTX_preloaded_symbols;
6527 # Now try linking the two files.
6528 mv conftest.$ac_objext conftstm.$ac_objext
6529 lt_globsym_save_LIBS=$LIBS
6530 lt_globsym_save_CFLAGS=$CFLAGS
6531 LIBS="conftstm.$ac_objext"
6532 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6533 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6534 (eval $ac_link) 2>&5
6536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6537 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6540 LIBS=$lt_globsym_save_LIBS
6541 CFLAGS=$lt_globsym_save_CFLAGS
6543 echo "cannot find nm_test_func in $nlist" >&5
6546 echo "cannot find nm_test_var in $nlist" >&5
6549 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6552 echo "$progname: failed program was:" >&5
6553 cat conftest.$ac_ext >&5
6555 rm -rf conftest* conftst*
6557 # Do not use the global_symbol_pipe unless it works.
6558 if test "$pipe_works" = yes; then
6561 lt_cv_sys_global_symbol_pipe=
6567 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6568 lt_cv_sys_global_symbol_to_cdecl=
6570 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6572 $as_echo "failed" >&6; }
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6575 $as_echo "ok" >&6; }
6578 # Response file support.
6579 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6580 nm_file_list_spec='@'
6581 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6582 nm_file_list_spec='@'
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6612 $as_echo_n "checking for sysroot... " >&6; }
6614 # Check whether --with-sysroot was given.
6615 if test "${with_sysroot+set}" = set; then :
6616 withval=$with_sysroot;
6623 case ${with_sysroot} in #(
6625 if test "$GCC" = yes; then
6626 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6630 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6636 $as_echo "${with_sysroot}" >&6; }
6637 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6642 $as_echo "${lt_sysroot:-no}" >&6; }
6648 # Check whether --enable-libtool-lock was given.
6649 if test "${enable_libtool_lock+set}" = set; then :
6650 enableval=$enable_libtool_lock;
6653 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6655 # Some flags need to be propagated to the compiler or linker for good
6659 # Find out which ABI we are using.
6660 echo 'int i;' > conftest.$ac_ext
6661 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6662 (eval $ac_compile) 2>&5
6664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6665 test $ac_status = 0; }; then
6666 case `/usr/bin/file conftest.$ac_objext` in
6678 # Find out which ABI we are using.
6679 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6680 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6681 (eval $ac_compile) 2>&5
6683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6684 test $ac_status = 0; }; then
6685 if test "$lt_cv_prog_gnu_ld" = yes; then
6686 case `/usr/bin/file conftest.$ac_objext` in
6688 LD="${LD-ld} -melf32bsmip"
6691 LD="${LD-ld} -melf32bmipn32"
6694 LD="${LD-ld} -melf64bmip"
6698 case `/usr/bin/file conftest.$ac_objext` in
6714 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6715 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6716 # Find out which ABI we are using.
6717 echo 'int i;' > conftest.$ac_ext
6718 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6719 (eval $ac_compile) 2>&5
6721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6722 test $ac_status = 0; }; then
6723 case `/usr/bin/file conftest.o` in
6726 x86_64-*kfreebsd*-gnu)
6727 LD="${LD-ld} -m elf_i386_fbsd"
6730 case `/usr/bin/file conftest.o` in
6732 LD="${LD-ld} -m elf32_x86_64"
6735 LD="${LD-ld} -m elf_i386"
6740 LD="${LD-ld} -m elf32lppclinux"
6743 LD="${LD-ld} -m elf32ppclinux"
6746 LD="${LD-ld} -m elf_s390"
6749 LD="${LD-ld} -m elf32_sparc"
6755 x86_64-*kfreebsd*-gnu)
6756 LD="${LD-ld} -m elf_x86_64_fbsd"
6759 LD="${LD-ld} -m elf_x86_64"
6762 LD="${LD-ld} -m elf64lppc"
6765 LD="${LD-ld} -m elf64ppc"
6767 s390*-*linux*|s390*-*tpf*)
6768 LD="${LD-ld} -m elf64_s390"
6771 LD="${LD-ld} -m elf64_sparc"
6781 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6782 SAVE_CFLAGS="$CFLAGS"
6783 CFLAGS="$CFLAGS -belf"
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6785 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6786 if ${lt_cv_cc_needs_belf+:} false; then :
6787 $as_echo_n "(cached) " >&6
6790 ac_cpp='$CPP $CPPFLAGS'
6791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6796 /* end confdefs.h. */
6806 if ac_fn_c_try_link "$LINENO"; then :
6807 lt_cv_cc_needs_belf=yes
6809 lt_cv_cc_needs_belf=no
6811 rm -f core conftest.err conftest.$ac_objext \
6812 conftest$ac_exeext conftest.$ac_ext
6814 ac_cpp='$CPP $CPPFLAGS'
6815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6821 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6822 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6823 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6824 CFLAGS="$SAVE_CFLAGS"
6828 # Find out which ABI we are using.
6829 echo 'int i;' > conftest.$ac_ext
6830 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6831 (eval $ac_compile) 2>&5
6833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6834 test $ac_status = 0; }; then
6835 case `/usr/bin/file conftest.o` in
6837 case $lt_cv_prog_gnu_ld in
6841 LD="${LD-ld} -m elf_x86_64"
6844 LD="${LD-ld} -m elf64_sparc"
6847 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6848 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6853 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6865 need_locks="$enable_libtool_lock"
6867 if test -n "$ac_tool_prefix"; then
6868 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6869 set dummy ${ac_tool_prefix}mt; ac_word=$2
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6871 $as_echo_n "checking for $ac_word... " >&6; }
6872 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6873 $as_echo_n "(cached) " >&6
6875 if test -n "$MANIFEST_TOOL"; then
6876 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6882 test -z "$as_dir" && as_dir=.
6883 for ac_exec_ext in '' $ac_executable_extensions; do
6884 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6885 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6895 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6896 if test -n "$MANIFEST_TOOL"; then
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6898 $as_echo "$MANIFEST_TOOL" >&6; }
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6901 $as_echo "no" >&6; }
6906 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6907 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6908 # Extract the first word of "mt", so it can be a program name with args.
6909 set dummy mt; ac_word=$2
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6911 $as_echo_n "checking for $ac_word... " >&6; }
6912 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6913 $as_echo_n "(cached) " >&6
6915 if test -n "$ac_ct_MANIFEST_TOOL"; then
6916 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6922 test -z "$as_dir" && as_dir=.
6923 for ac_exec_ext in '' $ac_executable_extensions; do
6924 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6925 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6935 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6936 if test -n "$ac_ct_MANIFEST_TOOL"; then
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6938 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6941 $as_echo "no" >&6; }
6944 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6947 case $cross_compiling:$ac_tool_warned in
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6950 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6951 ac_tool_warned=yes ;;
6953 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6956 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6959 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6961 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6962 if ${lt_cv_path_mainfest_tool+:} false; then :
6963 $as_echo_n "(cached) " >&6
6965 lt_cv_path_mainfest_tool=no
6966 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6967 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6968 cat conftest.err >&5
6969 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6970 lt_cv_path_mainfest_tool=yes
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6975 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6976 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6986 rhapsody* | darwin*)
6987 if test -n "$ac_tool_prefix"; then
6988 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6989 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6991 $as_echo_n "checking for $ac_word... " >&6; }
6992 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6993 $as_echo_n "(cached) " >&6
6995 if test -n "$DSYMUTIL"; then
6996 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7002 test -z "$as_dir" && as_dir=.
7003 for ac_exec_ext in '' $ac_executable_extensions; do
7004 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7005 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7015 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7016 if test -n "$DSYMUTIL"; then
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7018 $as_echo "$DSYMUTIL" >&6; }
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7021 $as_echo "no" >&6; }
7026 if test -z "$ac_cv_prog_DSYMUTIL"; then
7027 ac_ct_DSYMUTIL=$DSYMUTIL
7028 # Extract the first word of "dsymutil", so it can be a program name with args.
7029 set dummy dsymutil; ac_word=$2
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7031 $as_echo_n "checking for $ac_word... " >&6; }
7032 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7033 $as_echo_n "(cached) " >&6
7035 if test -n "$ac_ct_DSYMUTIL"; then
7036 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7042 test -z "$as_dir" && as_dir=.
7043 for ac_exec_ext in '' $ac_executable_extensions; do
7044 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7045 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7055 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7056 if test -n "$ac_ct_DSYMUTIL"; then
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7058 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7061 $as_echo "no" >&6; }
7064 if test "x$ac_ct_DSYMUTIL" = x; then
7067 case $cross_compiling:$ac_tool_warned in
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7070 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7071 ac_tool_warned=yes ;;
7073 DSYMUTIL=$ac_ct_DSYMUTIL
7076 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7079 if test -n "$ac_tool_prefix"; then
7080 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7081 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7083 $as_echo_n "checking for $ac_word... " >&6; }
7084 if ${ac_cv_prog_NMEDIT+:} false; then :
7085 $as_echo_n "(cached) " >&6
7087 if test -n "$NMEDIT"; then
7088 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7094 test -z "$as_dir" && as_dir=.
7095 for ac_exec_ext in '' $ac_executable_extensions; do
7096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7097 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7107 NMEDIT=$ac_cv_prog_NMEDIT
7108 if test -n "$NMEDIT"; then
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7110 $as_echo "$NMEDIT" >&6; }
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7113 $as_echo "no" >&6; }
7118 if test -z "$ac_cv_prog_NMEDIT"; then
7119 ac_ct_NMEDIT=$NMEDIT
7120 # Extract the first word of "nmedit", so it can be a program name with args.
7121 set dummy nmedit; ac_word=$2
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7123 $as_echo_n "checking for $ac_word... " >&6; }
7124 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7125 $as_echo_n "(cached) " >&6
7127 if test -n "$ac_ct_NMEDIT"; then
7128 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7134 test -z "$as_dir" && as_dir=.
7135 for ac_exec_ext in '' $ac_executable_extensions; do
7136 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7137 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7147 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7148 if test -n "$ac_ct_NMEDIT"; then
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7150 $as_echo "$ac_ct_NMEDIT" >&6; }
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7153 $as_echo "no" >&6; }
7156 if test "x$ac_ct_NMEDIT" = x; then
7159 case $cross_compiling:$ac_tool_warned in
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7162 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7163 ac_tool_warned=yes ;;
7165 NMEDIT=$ac_ct_NMEDIT
7168 NMEDIT="$ac_cv_prog_NMEDIT"
7171 if test -n "$ac_tool_prefix"; then
7172 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7173 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7175 $as_echo_n "checking for $ac_word... " >&6; }
7176 if ${ac_cv_prog_LIPO+:} false; then :
7177 $as_echo_n "(cached) " >&6
7179 if test -n "$LIPO"; then
7180 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7186 test -z "$as_dir" && as_dir=.
7187 for ac_exec_ext in '' $ac_executable_extensions; do
7188 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7189 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7199 LIPO=$ac_cv_prog_LIPO
7200 if test -n "$LIPO"; then
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7202 $as_echo "$LIPO" >&6; }
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7205 $as_echo "no" >&6; }
7210 if test -z "$ac_cv_prog_LIPO"; then
7212 # Extract the first word of "lipo", so it can be a program name with args.
7213 set dummy lipo; ac_word=$2
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7215 $as_echo_n "checking for $ac_word... " >&6; }
7216 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7217 $as_echo_n "(cached) " >&6
7219 if test -n "$ac_ct_LIPO"; then
7220 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7226 test -z "$as_dir" && as_dir=.
7227 for ac_exec_ext in '' $ac_executable_extensions; do
7228 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7229 ac_cv_prog_ac_ct_LIPO="lipo"
7230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7239 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7240 if test -n "$ac_ct_LIPO"; then
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7242 $as_echo "$ac_ct_LIPO" >&6; }
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7245 $as_echo "no" >&6; }
7248 if test "x$ac_ct_LIPO" = x; then
7251 case $cross_compiling:$ac_tool_warned in
7253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7254 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7255 ac_tool_warned=yes ;;
7260 LIPO="$ac_cv_prog_LIPO"
7263 if test -n "$ac_tool_prefix"; then
7264 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7265 set dummy ${ac_tool_prefix}otool; ac_word=$2
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7267 $as_echo_n "checking for $ac_word... " >&6; }
7268 if ${ac_cv_prog_OTOOL+:} false; then :
7269 $as_echo_n "(cached) " >&6
7271 if test -n "$OTOOL"; then
7272 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7278 test -z "$as_dir" && as_dir=.
7279 for ac_exec_ext in '' $ac_executable_extensions; do
7280 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7281 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7291 OTOOL=$ac_cv_prog_OTOOL
7292 if test -n "$OTOOL"; then
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7294 $as_echo "$OTOOL" >&6; }
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7297 $as_echo "no" >&6; }
7302 if test -z "$ac_cv_prog_OTOOL"; then
7304 # Extract the first word of "otool", so it can be a program name with args.
7305 set dummy otool; ac_word=$2
7306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7307 $as_echo_n "checking for $ac_word... " >&6; }
7308 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7309 $as_echo_n "(cached) " >&6
7311 if test -n "$ac_ct_OTOOL"; then
7312 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7318 test -z "$as_dir" && as_dir=.
7319 for ac_exec_ext in '' $ac_executable_extensions; do
7320 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7321 ac_cv_prog_ac_ct_OTOOL="otool"
7322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7331 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7332 if test -n "$ac_ct_OTOOL"; then
7333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7334 $as_echo "$ac_ct_OTOOL" >&6; }
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7337 $as_echo "no" >&6; }
7340 if test "x$ac_ct_OTOOL" = x; then
7343 case $cross_compiling:$ac_tool_warned in
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7346 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7347 ac_tool_warned=yes ;;
7352 OTOOL="$ac_cv_prog_OTOOL"
7355 if test -n "$ac_tool_prefix"; then
7356 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7357 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7359 $as_echo_n "checking for $ac_word... " >&6; }
7360 if ${ac_cv_prog_OTOOL64+:} false; then :
7361 $as_echo_n "(cached) " >&6
7363 if test -n "$OTOOL64"; then
7364 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7370 test -z "$as_dir" && as_dir=.
7371 for ac_exec_ext in '' $ac_executable_extensions; do
7372 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7373 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7383 OTOOL64=$ac_cv_prog_OTOOL64
7384 if test -n "$OTOOL64"; then
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7386 $as_echo "$OTOOL64" >&6; }
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7389 $as_echo "no" >&6; }
7394 if test -z "$ac_cv_prog_OTOOL64"; then
7395 ac_ct_OTOOL64=$OTOOL64
7396 # Extract the first word of "otool64", so it can be a program name with args.
7397 set dummy otool64; ac_word=$2
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7399 $as_echo_n "checking for $ac_word... " >&6; }
7400 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7401 $as_echo_n "(cached) " >&6
7403 if test -n "$ac_ct_OTOOL64"; then
7404 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7410 test -z "$as_dir" && as_dir=.
7411 for ac_exec_ext in '' $ac_executable_extensions; do
7412 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7413 ac_cv_prog_ac_ct_OTOOL64="otool64"
7414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7423 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7424 if test -n "$ac_ct_OTOOL64"; then
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7426 $as_echo "$ac_ct_OTOOL64" >&6; }
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7429 $as_echo "no" >&6; }
7432 if test "x$ac_ct_OTOOL64" = x; then
7435 case $cross_compiling:$ac_tool_warned in
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7438 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7439 ac_tool_warned=yes ;;
7441 OTOOL64=$ac_ct_OTOOL64
7444 OTOOL64="$ac_cv_prog_OTOOL64"
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7474 $as_echo_n "checking for -single_module linker flag... " >&6; }
7475 if ${lt_cv_apple_cc_single_mod+:} false; then :
7476 $as_echo_n "(cached) " >&6
7478 lt_cv_apple_cc_single_mod=no
7479 if test -z "${LT_MULTI_MODULE}"; then
7480 # By default we will add the -single_module flag. You can override
7481 # by either setting the environment variable LT_MULTI_MODULE
7482 # non-empty at configure time, or by adding -multi_module to the
7484 rm -rf libconftest.dylib*
7485 echo "int foo(void){return 1;}" > conftest.c
7486 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7487 -dynamiclib -Wl,-single_module conftest.c" >&5
7488 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7489 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7491 # If there is a non-empty error log, and "single_module"
7492 # appears in it, assume the flag caused a linker warning
7493 if test -s conftest.err && $GREP single_module conftest.err; then
7494 cat conftest.err >&5
7495 # Otherwise, if the output was created with a 0 exit code from
7496 # the compiler, it worked.
7497 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7498 lt_cv_apple_cc_single_mod=yes
7500 cat conftest.err >&5
7502 rm -rf libconftest.dylib*
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7507 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7510 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7511 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7512 $as_echo_n "(cached) " >&6
7514 lt_cv_ld_exported_symbols_list=no
7515 save_LDFLAGS=$LDFLAGS
7516 echo "_main" > conftest.sym
7517 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7519 /* end confdefs.h. */
7529 if ac_fn_c_try_link "$LINENO"; then :
7530 lt_cv_ld_exported_symbols_list=yes
7532 lt_cv_ld_exported_symbols_list=no
7534 rm -f core conftest.err conftest.$ac_objext \
7535 conftest$ac_exeext conftest.$ac_ext
7536 LDFLAGS="$save_LDFLAGS"
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7540 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7543 $as_echo_n "checking for -force_load linker flag... " >&6; }
7544 if ${lt_cv_ld_force_load+:} false; then :
7545 $as_echo_n "(cached) " >&6
7547 lt_cv_ld_force_load=no
7548 cat > conftest.c << _LT_EOF
7549 int forced_loaded() { return 2;}
7551 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7552 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7553 echo "$AR cru libconftest.a conftest.o" >&5
7554 $AR cru libconftest.a conftest.o 2>&5
7555 echo "$RANLIB libconftest.a" >&5
7556 $RANLIB libconftest.a 2>&5
7557 cat > conftest.c << _LT_EOF
7558 int main() { return 0;}
7560 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7561 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7563 if test -s conftest.err && $GREP force_load conftest.err; then
7564 cat conftest.err >&5
7565 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7566 lt_cv_ld_force_load=yes
7568 cat conftest.err >&5
7570 rm -f conftest.err libconftest.a conftest conftest.c
7571 rm -rf conftest.dSYM
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7575 $as_echo "$lt_cv_ld_force_load" >&6; }
7577 rhapsody* | darwin1.[012])
7578 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7580 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7581 darwin*) # darwin 5.x on
7582 # if running on 10.5 or later, the deployment target defaults
7583 # to the OS version, if on x86, and 10.4, the deployment
7584 # target defaults to 10.4. Don't you love it?
7585 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7586 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7587 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7589 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7591 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7595 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7596 _lt_dar_single_mod='$single_module'
7598 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7599 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7601 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7603 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7604 _lt_dsymutil='~$DSYMUTIL $lib || :'
7612 ac_cpp='$CPP $CPPFLAGS'
7613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7617 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7618 # On Suns, sometimes $CPP names a directory.
7619 if test -n "$CPP" && test -d "$CPP"; then
7622 if test -z "$CPP"; then
7623 if ${ac_cv_prog_CPP+:} false; then :
7624 $as_echo_n "(cached) " >&6
7626 # Double quotes because CPP needs to be expanded
7627 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7630 for ac_c_preproc_warn_flag in '' yes
7632 # Use a header file that comes with gcc, so configuring glibc
7633 # with a fresh cross-compiler works.
7634 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7635 # <limits.h> exists even on freestanding compilers.
7636 # On the NeXT, cc -E runs the code through the compiler's parser,
7637 # not just through cpp. "Syntax error" is here to catch this case.
7638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7639 /* end confdefs.h. */
7641 # include <limits.h>
7643 # include <assert.h>
7647 if ac_fn_c_try_cpp "$LINENO"; then :
7650 # Broken: fails on valid input.
7653 rm -f conftest.err conftest.i conftest.$ac_ext
7655 # OK, works on sane cases. Now check whether nonexistent headers
7656 # can be detected and how.
7657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7658 /* end confdefs.h. */
7659 #include <ac_nonexistent.h>
7661 if ac_fn_c_try_cpp "$LINENO"; then :
7662 # Broken: success on invalid input.
7665 # Passes both tests.
7669 rm -f conftest.err conftest.i conftest.$ac_ext
7672 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7673 rm -f conftest.i conftest.err conftest.$ac_ext
7674 if $ac_preproc_ok; then :
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7687 $as_echo "$CPP" >&6; }
7689 for ac_c_preproc_warn_flag in '' yes
7691 # Use a header file that comes with gcc, so configuring glibc
7692 # with a fresh cross-compiler works.
7693 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7694 # <limits.h> exists even on freestanding compilers.
7695 # On the NeXT, cc -E runs the code through the compiler's parser,
7696 # not just through cpp. "Syntax error" is here to catch this case.
7697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7698 /* end confdefs.h. */
7700 # include <limits.h>
7702 # include <assert.h>
7706 if ac_fn_c_try_cpp "$LINENO"; then :
7709 # Broken: fails on valid input.
7712 rm -f conftest.err conftest.i conftest.$ac_ext
7714 # OK, works on sane cases. Now check whether nonexistent headers
7715 # can be detected and how.
7716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7717 /* end confdefs.h. */
7718 #include <ac_nonexistent.h>
7720 if ac_fn_c_try_cpp "$LINENO"; then :
7721 # Broken: success on invalid input.
7724 # Passes both tests.
7728 rm -f conftest.err conftest.i conftest.$ac_ext
7731 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7732 rm -f conftest.i conftest.err conftest.$ac_ext
7733 if $ac_preproc_ok; then :
7736 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7737 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7738 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7739 See \`config.log' for more details" "$LINENO" 5; }
7743 ac_cpp='$CPP $CPPFLAGS'
7744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7750 $as_echo_n "checking for ANSI C header files... " >&6; }
7751 if ${ac_cv_header_stdc+:} false; then :
7752 $as_echo_n "(cached) " >&6
7754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7755 /* end confdefs.h. */
7769 if ac_fn_c_try_compile "$LINENO"; then :
7770 ac_cv_header_stdc=yes
7772 ac_cv_header_stdc=no
7774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7776 if test $ac_cv_header_stdc = yes; then
7777 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7779 /* end confdefs.h. */
7783 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7784 $EGREP "memchr" >/dev/null 2>&1; then :
7787 ac_cv_header_stdc=no
7793 if test $ac_cv_header_stdc = yes; then
7794 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7796 /* end confdefs.h. */
7800 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7801 $EGREP "free" >/dev/null 2>&1; then :
7804 ac_cv_header_stdc=no
7810 if test $ac_cv_header_stdc = yes; then
7811 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7812 if test "$cross_compiling" = yes; then :
7815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7816 /* end confdefs.h. */
7819 #if ((' ' & 0x0FF) == 0x020)
7820 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7821 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7823 # define ISLOWER(c) \
7824 (('a' <= (c) && (c) <= 'i') \
7825 || ('j' <= (c) && (c) <= 'r') \
7826 || ('s' <= (c) && (c) <= 'z'))
7827 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7830 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7835 for (i = 0; i < 256; i++)
7836 if (XOR (islower (i), ISLOWER (i))
7837 || toupper (i) != TOUPPER (i))
7842 if ac_fn_c_try_run "$LINENO"; then :
7845 ac_cv_header_stdc=no
7847 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7848 conftest.$ac_objext conftest.beam conftest.$ac_ext
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7854 $as_echo "$ac_cv_header_stdc" >&6; }
7855 if test $ac_cv_header_stdc = yes; then
7857 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7861 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7862 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7863 inttypes.h stdint.h unistd.h
7865 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7866 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7868 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7869 cat >>confdefs.h <<_ACEOF
7870 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7878 for ac_header in dlfcn.h
7880 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7882 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7883 cat >>confdefs.h <<_ACEOF
7884 #define HAVE_DLFCN_H 1
7895 GST_LIBVERSION=401:0:401
7901 GST_LT_LDFLAGS="$GST_LT_LDFLAGS -version-info $GST_LIBVERSION"
7904 GST_LT_LDFLAGS="$GST_LT_LDFLAGS -release "
7915 enable_win32_dll=yes
7918 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
7919 if test -n "$ac_tool_prefix"; then
7920 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
7921 set dummy ${ac_tool_prefix}as; ac_word=$2
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7923 $as_echo_n "checking for $ac_word... " >&6; }
7924 if ${ac_cv_prog_AS+:} false; then :
7925 $as_echo_n "(cached) " >&6
7927 if test -n "$AS"; then
7928 ac_cv_prog_AS="$AS" # Let the user override the test.
7930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7934 test -z "$as_dir" && as_dir=.
7935 for ac_exec_ext in '' $ac_executable_extensions; do
7936 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7937 ac_cv_prog_AS="${ac_tool_prefix}as"
7938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7948 if test -n "$AS"; then
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7950 $as_echo "$AS" >&6; }
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7953 $as_echo "no" >&6; }
7958 if test -z "$ac_cv_prog_AS"; then
7960 # Extract the first word of "as", so it can be a program name with args.
7961 set dummy as; ac_word=$2
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7963 $as_echo_n "checking for $ac_word... " >&6; }
7964 if ${ac_cv_prog_ac_ct_AS+:} false; then :
7965 $as_echo_n "(cached) " >&6
7967 if test -n "$ac_ct_AS"; then
7968 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
7970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7974 test -z "$as_dir" && as_dir=.
7975 for ac_exec_ext in '' $ac_executable_extensions; do
7976 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7977 ac_cv_prog_ac_ct_AS="as"
7978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7987 ac_ct_AS=$ac_cv_prog_ac_ct_AS
7988 if test -n "$ac_ct_AS"; then
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
7990 $as_echo "$ac_ct_AS" >&6; }
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7993 $as_echo "no" >&6; }
7996 if test "x$ac_ct_AS" = x; then
7999 case $cross_compiling:$ac_tool_warned in
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8002 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8003 ac_tool_warned=yes ;;
8011 if test -n "$ac_tool_prefix"; then
8012 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8013 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8015 $as_echo_n "checking for $ac_word... " >&6; }
8016 if ${ac_cv_prog_DLLTOOL+:} false; then :
8017 $as_echo_n "(cached) " >&6
8019 if test -n "$DLLTOOL"; then
8020 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8026 test -z "$as_dir" && as_dir=.
8027 for ac_exec_ext in '' $ac_executable_extensions; do
8028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8029 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8039 DLLTOOL=$ac_cv_prog_DLLTOOL
8040 if test -n "$DLLTOOL"; then
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8042 $as_echo "$DLLTOOL" >&6; }
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8045 $as_echo "no" >&6; }
8050 if test -z "$ac_cv_prog_DLLTOOL"; then
8051 ac_ct_DLLTOOL=$DLLTOOL
8052 # Extract the first word of "dlltool", so it can be a program name with args.
8053 set dummy dlltool; ac_word=$2
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8055 $as_echo_n "checking for $ac_word... " >&6; }
8056 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8057 $as_echo_n "(cached) " >&6
8059 if test -n "$ac_ct_DLLTOOL"; then
8060 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8066 test -z "$as_dir" && as_dir=.
8067 for ac_exec_ext in '' $ac_executable_extensions; do
8068 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8069 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8079 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8080 if test -n "$ac_ct_DLLTOOL"; then
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8082 $as_echo "$ac_ct_DLLTOOL" >&6; }
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8085 $as_echo "no" >&6; }
8088 if test "x$ac_ct_DLLTOOL" = x; then
8091 case $cross_compiling:$ac_tool_warned in
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8094 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8095 ac_tool_warned=yes ;;
8097 DLLTOOL=$ac_ct_DLLTOOL
8100 DLLTOOL="$ac_cv_prog_DLLTOOL"
8103 if test -n "$ac_tool_prefix"; then
8104 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8105 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8107 $as_echo_n "checking for $ac_word... " >&6; }
8108 if ${ac_cv_prog_OBJDUMP+:} false; then :
8109 $as_echo_n "(cached) " >&6
8111 if test -n "$OBJDUMP"; then
8112 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8118 test -z "$as_dir" && as_dir=.
8119 for ac_exec_ext in '' $ac_executable_extensions; do
8120 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8121 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8131 OBJDUMP=$ac_cv_prog_OBJDUMP
8132 if test -n "$OBJDUMP"; then
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8134 $as_echo "$OBJDUMP" >&6; }
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8137 $as_echo "no" >&6; }
8142 if test -z "$ac_cv_prog_OBJDUMP"; then
8143 ac_ct_OBJDUMP=$OBJDUMP
8144 # Extract the first word of "objdump", so it can be a program name with args.
8145 set dummy objdump; ac_word=$2
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8147 $as_echo_n "checking for $ac_word... " >&6; }
8148 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8149 $as_echo_n "(cached) " >&6
8151 if test -n "$ac_ct_OBJDUMP"; then
8152 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8158 test -z "$as_dir" && as_dir=.
8159 for ac_exec_ext in '' $ac_executable_extensions; do
8160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8161 ac_cv_prog_ac_ct_OBJDUMP="objdump"
8162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8171 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8172 if test -n "$ac_ct_OBJDUMP"; then
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8174 $as_echo "$ac_ct_OBJDUMP" >&6; }
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8177 $as_echo "no" >&6; }
8180 if test "x$ac_ct_OBJDUMP" = x; then
8183 case $cross_compiling:$ac_tool_warned in
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8186 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8187 ac_tool_warned=yes ;;
8189 OBJDUMP=$ac_ct_OBJDUMP
8192 OBJDUMP="$ac_cv_prog_OBJDUMP"
8198 test -z "$AS" && AS=as
8204 test -z "$DLLTOOL" && DLLTOOL=dlltool
8210 test -z "$OBJDUMP" && OBJDUMP=objdump
8215 # Check whether --enable-static was given.
8216 if test "${enable_static+set}" = set; then :
8217 enableval=$enable_static; p=${PACKAGE-default}
8219 yes) enable_static=yes ;;
8220 no) enable_static=no ;;
8223 # Look at the argument we got. We use all the common list separators.
8224 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8225 for pkg in $enableval; do
8227 if test "X$pkg" = "X$p"; then
8249 # Check whether --enable-shared was given.
8250 if test "${enable_shared+set}" = set; then :
8251 enableval=$enable_shared; p=${PACKAGE-default}
8253 yes) enable_shared=yes ;;
8254 no) enable_shared=no ;;
8257 # Look at the argument we got. We use all the common list separators.
8258 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8259 for pkg in $enableval; do
8261 if test "X$pkg" = "X$p"; then
8282 # Check whether --with-pic was given.
8283 if test "${with_pic+set}" = set; then :
8284 withval=$with_pic; lt_p=${PACKAGE-default}
8286 yes|no) pic_mode=$withval ;;
8289 # Look at the argument we got. We use all the common list separators.
8290 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8291 for lt_pkg in $withval; do
8293 if test "X$lt_pkg" = "X$lt_p"; then
8305 test -z "$pic_mode" && pic_mode=default
8313 # Check whether --enable-fast-install was given.
8314 if test "${enable_fast_install+set}" = set; then :
8315 enableval=$enable_fast_install; p=${PACKAGE-default}
8317 yes) enable_fast_install=yes ;;
8318 no) enable_fast_install=no ;;
8320 enable_fast_install=no
8321 # Look at the argument we got. We use all the common list separators.
8322 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8323 for pkg in $enableval; do
8325 if test "X$pkg" = "X$p"; then
8326 enable_fast_install=yes
8333 enable_fast_install=yes
8346 # This can be used to rebuild libtool when needed
8347 LIBTOOL_DEPS="$ltmain"
8349 # Always use our own libtool.
8350 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8381 test -z "$LN_S" && LN_S="ln -s"
8396 if test -n "${ZSH_VERSION+set}" ; then
8397 setopt NO_GLOB_SUBST
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8401 $as_echo_n "checking for objdir... " >&6; }
8402 if ${lt_cv_objdir+:} false; then :
8403 $as_echo_n "(cached) " >&6
8405 rm -f .libs 2>/dev/null
8406 mkdir .libs 2>/dev/null
8407 if test -d .libs; then
8410 # MS-DOS does not allow filenames that begin with a dot.
8413 rmdir .libs 2>/dev/null
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8416 $as_echo "$lt_cv_objdir" >&6; }
8417 objdir=$lt_cv_objdir
8423 cat >>confdefs.h <<_ACEOF
8424 #define LT_OBJDIR "$lt_cv_objdir/"
8432 # AIX sometimes has problems with the GCC collect2 program. For some
8433 # reason, if we set the COLLECT_NAMES environment variable, the problems
8434 # vanish in a puff of smoke.
8435 if test "X${COLLECT_NAMES+set}" != Xset; then
8437 export COLLECT_NAMES
8444 can_build_shared=yes
8446 # All known linkers require a `.a' archive for static linking (except MSVC,
8447 # which needs '.lib').
8450 with_gnu_ld="$lt_cv_prog_gnu_ld"
8453 old_CFLAGS="$CFLAGS"
8455 # Set sane defaults for various variables
8456 test -z "$CC" && CC=cc
8457 test -z "$LTCC" && LTCC=$CC
8458 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8459 test -z "$LD" && LD=ld
8460 test -z "$ac_objext" && ac_objext=o
8462 for cc_temp in $compiler""; do
8464 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8465 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8470 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8473 # Only perform the check for file, if the check method requires it
8474 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8475 case $deplibs_check_method in
8477 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8479 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8480 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8481 $as_echo_n "(cached) " >&6
8485 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8488 lt_save_MAGIC_CMD="$MAGIC_CMD"
8489 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8490 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8491 for ac_dir in $ac_dummy; do
8493 test -z "$ac_dir" && ac_dir=.
8494 if test -f $ac_dir/${ac_tool_prefix}file; then
8495 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8496 if test -n "$file_magic_test_file"; then
8497 case $deplibs_check_method in
8499 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8500 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8501 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8502 $EGREP "$file_magic_regex" > /dev/null; then
8507 *** Warning: the command libtool uses to detect shared libraries,
8508 *** $file_magic_cmd, produces output that libtool cannot recognize.
8509 *** The result is that libtool may fail to recognize shared libraries
8510 *** as such. This will affect the creation of libtool libraries that
8511 *** depend on shared libraries, but programs linked with such libtool
8512 *** libraries will work regardless of this problem. Nevertheless, you
8513 *** may want to report the problem to your system manager and/or to
8514 *** bug-libtool@gnu.org
8524 MAGIC_CMD="$lt_save_MAGIC_CMD"
8529 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8530 if test -n "$MAGIC_CMD"; then
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8532 $as_echo "$MAGIC_CMD" >&6; }
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8535 $as_echo "no" >&6; }
8542 if test -z "$lt_cv_path_MAGIC_CMD"; then
8543 if test -n "$ac_tool_prefix"; then
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8545 $as_echo_n "checking for file... " >&6; }
8546 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8547 $as_echo_n "(cached) " >&6
8551 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8554 lt_save_MAGIC_CMD="$MAGIC_CMD"
8555 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8556 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8557 for ac_dir in $ac_dummy; do
8559 test -z "$ac_dir" && ac_dir=.
8560 if test -f $ac_dir/file; then
8561 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8562 if test -n "$file_magic_test_file"; then
8563 case $deplibs_check_method in
8565 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8566 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8567 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8568 $EGREP "$file_magic_regex" > /dev/null; then
8573 *** Warning: the command libtool uses to detect shared libraries,
8574 *** $file_magic_cmd, produces output that libtool cannot recognize.
8575 *** The result is that libtool may fail to recognize shared libraries
8576 *** as such. This will affect the creation of libtool libraries that
8577 *** depend on shared libraries, but programs linked with such libtool
8578 *** libraries will work regardless of this problem. Nevertheless, you
8579 *** may want to report the problem to your system manager and/or to
8580 *** bug-libtool@gnu.org
8590 MAGIC_CMD="$lt_save_MAGIC_CMD"
8595 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8596 if test -n "$MAGIC_CMD"; then
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8598 $as_echo "$MAGIC_CMD" >&6; }
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8601 $as_echo "no" >&6; }
8614 # Use C for the default configuration in the libtool script
8618 ac_cpp='$CPP $CPPFLAGS'
8619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8624 # Source file extension for C test sources.
8627 # Object file extension for compiled C test sources.
8631 # Code to be used in simple compile tests
8632 lt_simple_compile_test_code="int some_variable = 0;"
8634 # Code to be used in simple link tests
8635 lt_simple_link_test_code='int main(){return(0);}'
8643 # If no C compiler was specified, use CC.
8646 # If no C compiler flags were specified, use CFLAGS.
8647 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8649 # Allow CC to be a program name with arguments.
8652 # Save the default compiler, since it gets overwritten when the other
8653 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8654 compiler_DEFAULT=$CC
8656 # save warnings/boilerplate of simple test code
8657 ac_outfile=conftest.$ac_objext
8658 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8659 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8660 _lt_compiler_boilerplate=`cat conftest.err`
8663 ac_outfile=conftest.$ac_objext
8664 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8665 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8666 _lt_linker_boilerplate=`cat conftest.err`
8671 ## There is no encapsulation within the following macros, do not change
8672 ## the running order or otherwise move them around unless you know exactly
8673 ## what you are doing...
8674 if test -n "$compiler"; then
8676 lt_prog_compiler_no_builtin_flag=
8678 if test "$GCC" = yes; then
8679 case $cc_basename in
8681 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8683 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8687 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8688 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8689 $as_echo_n "(cached) " >&6
8691 lt_cv_prog_compiler_rtti_exceptions=no
8692 ac_outfile=conftest.$ac_objext
8693 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8694 lt_compiler_flag="-fno-rtti -fno-exceptions"
8695 # Insert the option either (1) after the last *FLAGS variable, or
8696 # (2) before a word containing "conftest.", or (3) at the end.
8697 # Note that $ac_compile itself does not contain backslashes and begins
8698 # with a dollar sign (not a hyphen), so the echo should work correctly.
8699 # The option is referenced via a variable to avoid confusing sed.
8700 lt_compile=`echo "$ac_compile" | $SED \
8701 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8702 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8703 -e 's:$: $lt_compiler_flag:'`
8704 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8705 (eval "$lt_compile" 2>conftest.err)
8707 cat conftest.err >&5
8708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8709 if (exit $ac_status) && test -s "$ac_outfile"; then
8710 # The compiler can only warn and ignore the option if not recognized
8711 # So say no if there are warnings other than the usual output.
8712 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8713 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8714 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8715 lt_cv_prog_compiler_rtti_exceptions=yes
8721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8722 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8724 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8725 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8737 lt_prog_compiler_wl=
8738 lt_prog_compiler_pic=
8739 lt_prog_compiler_static=
8742 if test "$GCC" = yes; then
8743 lt_prog_compiler_wl='-Wl,'
8744 lt_prog_compiler_static='-static'
8748 # All AIX code is PIC.
8749 if test "$host_cpu" = ia64; then
8750 # AIX 5 now supports IA64 processor
8751 lt_prog_compiler_static='-Bstatic'
8758 # see comment about AmigaOS4 .so support
8759 lt_prog_compiler_pic='-fPIC'
8762 # FIXME: we need at least 68020 code to build shared libraries, but
8763 # adding the `-m68020' flag to GCC prevents building anything better,
8765 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8770 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8771 # PIC is the default for these OSes.
8774 mingw* | cygwin* | pw32* | os2* | cegcc*)
8775 # This hack is so that the source file can tell whether it is being
8776 # built for inclusion in a dll (and should export symbols for example).
8777 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8778 # (--disable-auto-import) libraries
8779 lt_prog_compiler_pic='-DDLL_EXPORT'
8782 darwin* | rhapsody*)
8783 # PIC is the default on this platform
8784 # Common symbols not allowed in MH_DYLIB files
8785 lt_prog_compiler_pic='-fno-common'
8789 # PIC is the default for Haiku.
8790 # The "-static" flag exists, but is broken.
8791 lt_prog_compiler_static=
8795 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8796 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8797 # sets the default TLS model and affects inlining.
8803 lt_prog_compiler_pic='-fPIC'
8809 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8810 # Instead, we relocate shared libraries at runtime.
8814 # Just because we use GCC doesn't mean we suddenly get shared libraries
8815 # on systems that don't support them.
8816 lt_prog_compiler_can_build_shared=no
8821 # QNX uses GNU C++, but need to define -shared option too, otherwise
8823 lt_prog_compiler_pic='-fPIC -shared'
8827 if test -d /usr/nec; then
8828 lt_prog_compiler_pic=-Kconform_pic
8833 lt_prog_compiler_pic='-fPIC'
8837 case $cc_basename in
8838 nvcc*) # Cuda Compiler Driver 2.2
8839 lt_prog_compiler_wl='-Xlinker '
8840 if test -n "$lt_prog_compiler_pic"; then
8841 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8846 # PORTME Check for flag to pass linker flags through the system compiler.
8849 lt_prog_compiler_wl='-Wl,'
8850 if test "$host_cpu" = ia64; then
8851 # AIX 5 now supports IA64 processor
8852 lt_prog_compiler_static='-Bstatic'
8854 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8858 mingw* | cygwin* | pw32* | os2* | cegcc*)
8859 # This hack is so that the source file can tell whether it is being
8860 # built for inclusion in a dll (and should export symbols for example).
8861 lt_prog_compiler_pic='-DDLL_EXPORT'
8864 hpux9* | hpux10* | hpux11*)
8865 lt_prog_compiler_wl='-Wl,'
8866 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8873 lt_prog_compiler_pic='+Z'
8876 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8877 lt_prog_compiler_static='${wl}-a ${wl}archive'
8880 irix5* | irix6* | nonstopux*)
8881 lt_prog_compiler_wl='-Wl,'
8882 # PIC (with -KPIC) is the default.
8883 lt_prog_compiler_static='-non_shared'
8886 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8887 case $cc_basename in
8888 # old Intel for x86_64 which still supported -KPIC.
8890 lt_prog_compiler_wl='-Wl,'
8891 lt_prog_compiler_pic='-KPIC'
8892 lt_prog_compiler_static='-static'
8894 # icc used to be incompatible with GCC.
8895 # ICC 10 doesn't accept -KPIC any more.
8897 lt_prog_compiler_wl='-Wl,'
8898 lt_prog_compiler_pic='-fPIC'
8899 lt_prog_compiler_static='-static'
8901 # Lahey Fortran 8.1.
8903 lt_prog_compiler_wl='-Wl,'
8904 lt_prog_compiler_pic='--shared'
8905 lt_prog_compiler_static='--static'
8908 # NAG Fortran compiler
8909 lt_prog_compiler_wl='-Wl,-Wl,,'
8910 lt_prog_compiler_pic='-PIC'
8911 lt_prog_compiler_static='-Bstatic'
8913 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8914 # Portland Group compilers (*not* the Pentium gcc compiler,
8915 # which looks to be a dead project)
8916 lt_prog_compiler_wl='-Wl,'
8917 lt_prog_compiler_pic='-fpic'
8918 lt_prog_compiler_static='-Bstatic'
8921 lt_prog_compiler_wl='-Wl,'
8922 # All Alpha code is PIC.
8923 lt_prog_compiler_static='-non_shared'
8925 xl* | bgxl* | bgf* | mpixl*)
8926 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8927 lt_prog_compiler_wl='-Wl,'
8928 lt_prog_compiler_pic='-qpic'
8929 lt_prog_compiler_static='-qstaticlink'
8932 case `$CC -V 2>&1 | sed 5q` in
8933 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8934 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8935 lt_prog_compiler_pic='-KPIC'
8936 lt_prog_compiler_static='-Bstatic'
8937 lt_prog_compiler_wl=''
8939 *Sun\ F* | *Sun*Fortran*)
8940 lt_prog_compiler_pic='-KPIC'
8941 lt_prog_compiler_static='-Bstatic'
8942 lt_prog_compiler_wl='-Qoption ld '
8946 lt_prog_compiler_pic='-KPIC'
8947 lt_prog_compiler_static='-Bstatic'
8948 lt_prog_compiler_wl='-Wl,'
8950 *Intel*\ [CF]*Compiler*)
8951 lt_prog_compiler_wl='-Wl,'
8952 lt_prog_compiler_pic='-fPIC'
8953 lt_prog_compiler_static='-static'
8956 lt_prog_compiler_wl='-Wl,'
8957 lt_prog_compiler_pic='-fpic'
8958 lt_prog_compiler_static='-Bstatic'
8966 lt_prog_compiler_pic='-KPIC'
8967 lt_prog_compiler_static='-Bstatic'
8971 # QNX uses GNU C++, but need to define -shared option too, otherwise
8973 lt_prog_compiler_pic='-fPIC -shared'
8976 osf3* | osf4* | osf5*)
8977 lt_prog_compiler_wl='-Wl,'
8978 # All OSF/1 code is PIC.
8979 lt_prog_compiler_static='-non_shared'
8983 lt_prog_compiler_static='-non_shared'
8987 lt_prog_compiler_pic='-KPIC'
8988 lt_prog_compiler_static='-Bstatic'
8989 case $cc_basename in
8990 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8991 lt_prog_compiler_wl='-Qoption ld ';;
8993 lt_prog_compiler_wl='-Wl,';;
8998 lt_prog_compiler_wl='-Qoption ld '
8999 lt_prog_compiler_pic='-PIC'
9000 lt_prog_compiler_static='-Bstatic'
9003 sysv4 | sysv4.2uw2* | sysv4.3*)
9004 lt_prog_compiler_wl='-Wl,'
9005 lt_prog_compiler_pic='-KPIC'
9006 lt_prog_compiler_static='-Bstatic'
9010 if test -d /usr/nec ;then
9011 lt_prog_compiler_pic='-Kconform_pic'
9012 lt_prog_compiler_static='-Bstatic'
9016 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9017 lt_prog_compiler_wl='-Wl,'
9018 lt_prog_compiler_pic='-KPIC'
9019 lt_prog_compiler_static='-Bstatic'
9023 lt_prog_compiler_wl='-Wl,'
9024 lt_prog_compiler_can_build_shared=no
9028 lt_prog_compiler_pic='-pic'
9029 lt_prog_compiler_static='-Bstatic'
9033 lt_prog_compiler_can_build_shared=no
9039 # For platforms which do not support PIC, -DPIC is meaningless:
9041 lt_prog_compiler_pic=
9044 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9049 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9050 if ${lt_cv_prog_compiler_pic+:} false; then :
9051 $as_echo_n "(cached) " >&6
9053 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9056 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9057 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9060 # Check to make sure the PIC flag actually works.
9062 if test -n "$lt_prog_compiler_pic"; then
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9064 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9065 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9066 $as_echo_n "(cached) " >&6
9068 lt_cv_prog_compiler_pic_works=no
9069 ac_outfile=conftest.$ac_objext
9070 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9071 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9072 # Insert the option either (1) after the last *FLAGS variable, or
9073 # (2) before a word containing "conftest.", or (3) at the end.
9074 # Note that $ac_compile itself does not contain backslashes and begins
9075 # with a dollar sign (not a hyphen), so the echo should work correctly.
9076 # The option is referenced via a variable to avoid confusing sed.
9077 lt_compile=`echo "$ac_compile" | $SED \
9078 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9079 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9080 -e 's:$: $lt_compiler_flag:'`
9081 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9082 (eval "$lt_compile" 2>conftest.err)
9084 cat conftest.err >&5
9085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9086 if (exit $ac_status) && test -s "$ac_outfile"; then
9087 # The compiler can only warn and ignore the option if not recognized
9088 # So say no if there are warnings other than the usual output.
9089 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9090 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9091 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9092 lt_cv_prog_compiler_pic_works=yes
9098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9099 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9101 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9102 case $lt_prog_compiler_pic in
9104 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9107 lt_prog_compiler_pic=
9108 lt_prog_compiler_can_build_shared=no
9124 # Check to make sure the static flag actually works.
9126 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9128 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9129 if ${lt_cv_prog_compiler_static_works+:} false; then :
9130 $as_echo_n "(cached) " >&6
9132 lt_cv_prog_compiler_static_works=no
9133 save_LDFLAGS="$LDFLAGS"
9134 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9135 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9136 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9137 # The linker can only warn and ignore the option if not recognized
9138 # So say no if there are warnings
9139 if test -s conftest.err; then
9140 # Append any errors to the config.log.
9141 cat conftest.err 1>&5
9142 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9143 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9144 if diff conftest.exp conftest.er2 >/dev/null; then
9145 lt_cv_prog_compiler_static_works=yes
9148 lt_cv_prog_compiler_static_works=yes
9152 LDFLAGS="$save_LDFLAGS"
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9156 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9158 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9161 lt_prog_compiler_static=
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9171 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9172 if ${lt_cv_prog_compiler_c_o+:} false; then :
9173 $as_echo_n "(cached) " >&6
9175 lt_cv_prog_compiler_c_o=no
9176 $RM -r conftest 2>/dev/null
9180 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9182 lt_compiler_flag="-o out/conftest2.$ac_objext"
9183 # Insert the option either (1) after the last *FLAGS variable, or
9184 # (2) before a word containing "conftest.", or (3) at the end.
9185 # Note that $ac_compile itself does not contain backslashes and begins
9186 # with a dollar sign (not a hyphen), so the echo should work correctly.
9187 lt_compile=`echo "$ac_compile" | $SED \
9188 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9189 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9190 -e 's:$: $lt_compiler_flag:'`
9191 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9192 (eval "$lt_compile" 2>out/conftest.err)
9194 cat out/conftest.err >&5
9195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9196 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9198 # The compiler can only warn and ignore the option if not recognized
9199 # So say no if there are warnings
9200 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9201 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9202 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9203 lt_cv_prog_compiler_c_o=yes
9208 # SGI C++ compiler will create directory out/ii_files/ for
9209 # template instantiation
9210 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9211 $RM out/* && rmdir out
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9218 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9226 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9227 if ${lt_cv_prog_compiler_c_o+:} false; then :
9228 $as_echo_n "(cached) " >&6
9230 lt_cv_prog_compiler_c_o=no
9231 $RM -r conftest 2>/dev/null
9235 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9237 lt_compiler_flag="-o out/conftest2.$ac_objext"
9238 # Insert the option either (1) after the last *FLAGS variable, or
9239 # (2) before a word containing "conftest.", or (3) at the end.
9240 # Note that $ac_compile itself does not contain backslashes and begins
9241 # with a dollar sign (not a hyphen), so the echo should work correctly.
9242 lt_compile=`echo "$ac_compile" | $SED \
9243 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9244 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9245 -e 's:$: $lt_compiler_flag:'`
9246 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9247 (eval "$lt_compile" 2>out/conftest.err)
9249 cat out/conftest.err >&5
9250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9251 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9253 # The compiler can only warn and ignore the option if not recognized
9254 # So say no if there are warnings
9255 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9256 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9257 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9258 lt_cv_prog_compiler_c_o=yes
9263 # SGI C++ compiler will create directory out/ii_files/ for
9264 # template instantiation
9265 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9266 $RM out/* && rmdir out
9272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9273 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9278 hard_links="nottested"
9279 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9280 # do not overwrite the value of need_locks provided by the user
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9282 $as_echo_n "checking if we can lock with hard links... " >&6; }
9285 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9287 ln conftest.a conftest.b 2>&5 || hard_links=no
9288 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9290 $as_echo "$hard_links" >&6; }
9291 if test "$hard_links" = no; then
9292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9293 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9306 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9309 allow_undefined_flag=
9310 always_export_symbols=no
9312 archive_expsym_cmds=
9313 compiler_needs_object=no
9314 enable_shared_with_static_runtimes=no
9315 export_dynamic_flag_spec=
9316 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9317 hardcode_automatic=no
9319 hardcode_direct_absolute=no
9320 hardcode_libdir_flag_spec=
9321 hardcode_libdir_separator=
9323 hardcode_shlibpath_var=unsupported
9325 link_all_deplibs=unknown
9328 old_archive_from_new_cmds=
9329 old_archive_from_expsyms_cmds=
9330 thread_safe_flag_spec=
9331 whole_archive_flag_spec=
9332 # include_expsyms should be a list of space-separated symbols to be *always*
9333 # included in the symbol list
9335 # exclude_expsyms can be an extended regexp of symbols to exclude
9336 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9337 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9338 # as well as any symbol that contains `d'.
9339 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9340 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9341 # platforms (ab)use it in PIC code, but their linkers get confused if
9342 # the symbol is explicitly referenced. Since portable code cannot
9343 # rely on this symbol name, it's probably fine to never include it in
9344 # preloaded symbol tables.
9345 # Exclude shared library initialization/finalization symbols.
9346 extract_expsyms_cmds=
9349 cygwin* | mingw* | pw32* | cegcc*)
9350 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9351 # When not using gcc, we currently assume that we are using
9352 # Microsoft Visual C++.
9353 if test "$GCC" != yes; then
9358 # we just hope/assume this is gcc and not c89 (= MSVC++)
9364 linux* | k*bsd*-gnu | gnu*)
9371 # On some targets, GNU ld is compatible enough with the native linker
9372 # that we're better off using the native interface for both.
9373 lt_use_gnu_ld_interface=no
9374 if test "$with_gnu_ld" = yes; then
9377 # The AIX port of GNU ld has always aspired to compatibility
9378 # with the native linker. However, as the warning in the GNU ld
9379 # block says, versions before 2.19.5* couldn't really create working
9380 # shared libraries, regardless of the interface used.
9381 case `$LD -v 2>&1` in
9382 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9383 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9384 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9386 lt_use_gnu_ld_interface=yes
9391 lt_use_gnu_ld_interface=yes
9396 if test "$lt_use_gnu_ld_interface" = yes; then
9397 # If archive_cmds runs LD, not CC, wlarc should be empty
9400 # Set some defaults for GNU ld with shared library support. These
9401 # are reset later if shared libraries are not supported. Putting them
9402 # here allows them to be overridden if necessary.
9403 runpath_var=LD_RUN_PATH
9404 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9405 export_dynamic_flag_spec='${wl}--export-dynamic'
9406 # ancient GNU ld didn't support --whole-archive et. al.
9407 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9408 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9410 whole_archive_flag_spec=
9412 supports_anon_versioning=no
9413 case `$LD -v 2>&1` in
9414 *GNU\ gold*) supports_anon_versioning=yes ;;
9415 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9416 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9417 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9418 *\ 2.11.*) ;; # other 2.11 versions
9419 *) supports_anon_versioning=yes ;;
9422 # See if GNU ld supports shared libraries.
9425 # On AIX/PPC, the GNU linker is very broken
9426 if test "$host_cpu" != ia64; then
9430 *** Warning: the GNU linker, at least up to release 2.19, is reported
9431 *** to be unable to reliably create shared libraries on AIX.
9432 *** Therefore, libtool is disabling shared libraries support. If you
9433 *** really care for shared libraries, you may want to install binutils
9434 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9435 *** You will then need to restart the configuration process.
9444 # see comment about AmigaOS4 .so support
9445 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9446 archive_expsym_cmds=''
9449 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)'
9450 hardcode_libdir_flag_spec='-L$libdir'
9451 hardcode_minus_L=yes
9457 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9458 allow_undefined_flag=unsupported
9459 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9460 # support --undefined. This deserves some investigation. FIXME
9461 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9467 cygwin* | mingw* | pw32* | cegcc*)
9468 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9469 # as there is no search path for DLLs.
9470 hardcode_libdir_flag_spec='-L$libdir'
9471 export_dynamic_flag_spec='${wl}--export-all-symbols'
9472 allow_undefined_flag=unsupported
9473 always_export_symbols=no
9474 enable_shared_with_static_runtimes=yes
9475 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'
9476 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9478 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9479 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9480 # If the export-symbols file already is a .def file (1st line
9481 # is EXPORTS), use it as is; otherwise, prepend...
9482 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9483 cp $export_symbols $output_objdir/$soname.def;
9485 echo EXPORTS > $output_objdir/$soname.def;
9486 cat $export_symbols >> $output_objdir/$soname.def;
9488 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9495 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9496 link_all_deplibs=yes
9501 hardcode_shlibpath_var=no
9502 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9503 export_dynamic_flag_spec='${wl}-E'
9504 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9505 # Instead, shared libraries are loaded at an image base (0x10000000 by
9506 # default) and relocated if they conflict, which is a slow very memory
9507 # consuming and fragmenting process. To avoid this, we pick a random,
9508 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9509 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9510 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9511 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'
9514 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9516 if test "$host_os" = linux-dietlibc; then
9517 case $cc_basename in
9518 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9521 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9522 && test "$tmp_diet" = no
9524 tmp_addflag=' $pic_flag'
9525 tmp_sharedflag='-shared'
9526 case $cc_basename,$host_cpu in
9527 pgcc*) # Portland Group C compiler
9528 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'
9529 tmp_addflag=' $pic_flag'
9531 pgf77* | pgf90* | pgf95* | pgfortran*)
9532 # Portland Group f77 and f90 compilers
9533 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'
9534 tmp_addflag=' $pic_flag -Mnomain' ;;
9535 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9536 tmp_addflag=' -i_dynamic' ;;
9537 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9538 tmp_addflag=' -i_dynamic -nofor_main' ;;
9539 ifc* | ifort*) # Intel Fortran compiler
9540 tmp_addflag=' -nofor_main' ;;
9541 lf95*) # Lahey Fortran 8.1
9542 whole_archive_flag_spec=
9543 tmp_sharedflag='--shared' ;;
9544 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9545 tmp_sharedflag='-qmkshrobj'
9547 nvcc*) # Cuda Compiler Driver 2.2
9548 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'
9549 compiler_needs_object=yes
9552 case `$CC -V 2>&1 | sed 5q` in
9553 *Sun\ C*) # Sun C 5.9
9554 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'
9555 compiler_needs_object=yes
9556 tmp_sharedflag='-G' ;;
9557 *Sun\ F*) # Sun Fortran 8.3
9558 tmp_sharedflag='-G' ;;
9560 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9562 if test "x$supports_anon_versioning" = xyes; then
9563 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9564 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9565 echo "local: *; };" >> $output_objdir/$libname.ver~
9566 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9569 case $cc_basename in
9570 xlf* | bgf* | bgxlf* | mpixlf*)
9571 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9572 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9573 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9574 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9575 if test "x$supports_anon_versioning" = xyes; then
9576 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9577 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9578 echo "local: *; };" >> $output_objdir/$libname.ver~
9579 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9588 netbsd* | netbsdelf*-gnu)
9589 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9590 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9593 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9594 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9599 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9603 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9604 *** create shared libraries on Solaris systems. Therefore, libtool
9605 *** is disabling shared libraries support. We urge you to upgrade GNU
9606 *** binutils to release 2.9.1 or newer. Another option is to modify
9607 *** your PATH or compiler configuration so that the native linker is
9608 *** used, and then restart.
9611 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9612 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9613 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9619 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9620 case `$LD -v 2>&1` in
9621 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9625 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9626 *** reliably create shared libraries on SCO systems. Therefore, libtool
9627 *** is disabling shared libraries support. We urge you to upgrade GNU
9628 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9629 *** your PATH or compiler configuration so that the native linker is
9630 *** used, and then restart.
9635 # For security reasons, it is highly recommended that you always
9636 # use absolute paths for naming shared libraries, and exclude the
9637 # DT_RUNPATH tag from executables and libraries. But doing so
9638 # requires that you compile everything twice, which is a pain.
9639 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9640 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9641 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9642 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9651 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9654 hardcode_shlibpath_var=no
9658 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9659 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9660 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9667 if test "$ld_shlibs" = no; then
9669 hardcode_libdir_flag_spec=
9670 export_dynamic_flag_spec=
9671 whole_archive_flag_spec=
9674 # PORTME fill in a description of your system's linker (not GNU ld)
9677 allow_undefined_flag=unsupported
9678 always_export_symbols=yes
9679 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'
9680 # Note: this linker hardcodes the directories in LIBPATH if there
9681 # are no directories specified by -L.
9682 hardcode_minus_L=yes
9683 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9684 # Neither direct hardcoding nor static linking is supported with a
9686 hardcode_direct=unsupported
9691 if test "$host_cpu" = ia64; then
9692 # On IA64, the linker does run time linking by default, so we don't
9693 # have to do anything special.
9694 aix_use_runtimelinking=no
9695 exp_sym_flag='-Bexport'
9698 # If we're using GNU nm, then we don't want the "-C" option.
9699 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9700 # Also, AIX nm treats weak defined symbols like other global
9701 # defined symbols, whereas GNU nm marks them as "W".
9702 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9703 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'
9705 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'
9707 aix_use_runtimelinking=no
9709 # Test if we are trying to use run time linking or normal
9710 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9711 # need to do runtime linking.
9712 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9713 for ld_flag in $LDFLAGS; do
9714 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9715 aix_use_runtimelinking=yes
9722 exp_sym_flag='-bexport'
9723 no_entry_flag='-bnoentry'
9726 # When large executables or shared objects are built, AIX ld can
9727 # have problems creating the table of contents. If linking a library
9728 # or program results in "error TOC overflow" add -mminimal-toc to
9729 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9730 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9734 hardcode_direct_absolute=yes
9735 hardcode_libdir_separator=':'
9736 link_all_deplibs=yes
9737 file_list_spec='${wl}-f,'
9739 if test "$GCC" = yes; then
9740 case $host_os in aix4.[012]|aix4.[012].*)
9741 # We only want to do this on AIX 4.2 and lower, the check
9742 # below for broken collect2 doesn't work under 4.3+
9743 collect2name=`${CC} -print-prog-name=collect2`
9744 if test -f "$collect2name" &&
9745 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9747 # We have reworked collect2
9750 # We have old collect2
9751 hardcode_direct=unsupported
9752 # It fails to find uninstalled libraries when the uninstalled
9753 # path is not listed in the libpath. Setting hardcode_minus_L
9754 # to unsupported forces relinking
9755 hardcode_minus_L=yes
9756 hardcode_libdir_flag_spec='-L$libdir'
9757 hardcode_libdir_separator=
9761 shared_flag='-shared'
9762 if test "$aix_use_runtimelinking" = yes; then
9763 shared_flag="$shared_flag "'${wl}-G'
9768 if test "$host_cpu" = ia64; then
9769 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9770 # chokes on -Wl,-G. The following line is correct:
9773 if test "$aix_use_runtimelinking" = yes; then
9774 shared_flag='${wl}-G'
9776 shared_flag='${wl}-bM:SRE'
9781 export_dynamic_flag_spec='${wl}-bexpall'
9782 # It seems that -bexpall does not export symbols beginning with
9783 # underscore (_), so it is better to generate a list of symbols to export.
9784 always_export_symbols=yes
9785 if test "$aix_use_runtimelinking" = yes; then
9786 # Warning - without using the other runtime loading flags (-brtl),
9787 # -berok will link without error, but may produce a broken library.
9788 allow_undefined_flag='-berok'
9789 # Determine the default libpath from the value encoded in an
9791 if test "${lt_cv_aix_libpath+set}" = set; then
9792 aix_libpath=$lt_cv_aix_libpath
9794 if ${lt_cv_aix_libpath_+:} false; then :
9795 $as_echo_n "(cached) " >&6
9797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9798 /* end confdefs.h. */
9808 if ac_fn_c_try_link "$LINENO"; then :
9810 lt_aix_libpath_sed='
9811 /Import File Strings/,/^$/ {
9813 s/^0 *\([^ ]*\) *$/\1/
9817 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9818 # Check for a 64-bit object if we didn't find anything.
9819 if test -z "$lt_cv_aix_libpath_"; then
9820 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9823 rm -f core conftest.err conftest.$ac_objext \
9824 conftest$ac_exeext conftest.$ac_ext
9825 if test -z "$lt_cv_aix_libpath_"; then
9826 lt_cv_aix_libpath_="/usr/lib:/lib"
9831 aix_libpath=$lt_cv_aix_libpath_
9834 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9835 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"
9837 if test "$host_cpu" = ia64; then
9838 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9839 allow_undefined_flag="-z nodefs"
9840 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"
9842 # Determine the default libpath from the value encoded in an
9844 if test "${lt_cv_aix_libpath+set}" = set; then
9845 aix_libpath=$lt_cv_aix_libpath
9847 if ${lt_cv_aix_libpath_+:} false; then :
9848 $as_echo_n "(cached) " >&6
9850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9851 /* end confdefs.h. */
9861 if ac_fn_c_try_link "$LINENO"; then :
9863 lt_aix_libpath_sed='
9864 /Import File Strings/,/^$/ {
9866 s/^0 *\([^ ]*\) *$/\1/
9870 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9871 # Check for a 64-bit object if we didn't find anything.
9872 if test -z "$lt_cv_aix_libpath_"; then
9873 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9876 rm -f core conftest.err conftest.$ac_objext \
9877 conftest$ac_exeext conftest.$ac_ext
9878 if test -z "$lt_cv_aix_libpath_"; then
9879 lt_cv_aix_libpath_="/usr/lib:/lib"
9884 aix_libpath=$lt_cv_aix_libpath_
9887 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9888 # Warning - without using the other run time loading flags,
9889 # -berok will link without error, but may produce a broken library.
9890 no_undefined_flag=' ${wl}-bernotok'
9891 allow_undefined_flag=' ${wl}-berok'
9892 if test "$with_gnu_ld" = yes; then
9893 # We only use this code for GNU lds that support --whole-archive.
9894 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9896 # Exported symbols can be pulled into shared objects from archives
9897 whole_archive_flag_spec='$convenience'
9899 archive_cmds_need_lc=yes
9900 # This is similar to how AIX traditionally builds its shared libraries.
9901 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'
9909 # see comment about AmigaOS4 .so support
9910 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9911 archive_expsym_cmds=''
9914 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)'
9915 hardcode_libdir_flag_spec='-L$libdir'
9916 hardcode_minus_L=yes
9922 export_dynamic_flag_spec=-rdynamic
9925 cygwin* | mingw* | pw32* | cegcc*)
9926 # When not using gcc, we currently assume that we are using
9927 # Microsoft Visual C++.
9928 # hardcode_libdir_flag_spec is actually meaningless, as there is
9929 # no search path for DLLs.
9930 case $cc_basename in
9933 hardcode_libdir_flag_spec=' '
9934 allow_undefined_flag=unsupported
9935 always_export_symbols=yes
9937 # Tell ltmain to make .lib files, not .a files.
9939 # Tell ltmain to make .dll files, not .so files.
9941 # FIXME: Setting linknames here is a bad hack.
9942 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9943 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9944 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9946 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9948 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9950 # The linker will not automatically build a static lib if we build a DLL.
9951 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9952 enable_shared_with_static_runtimes=yes
9953 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9954 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9956 old_postinstall_cmds='chmod 644 $oldlib'
9957 postlink_cmds='lt_outputfile="@OUTPUT@"~
9958 lt_tool_outputfile="@TOOL_OUTPUT@"~
9959 case $lt_outputfile in
9962 lt_outputfile="$lt_outputfile.exe"
9963 lt_tool_outputfile="$lt_tool_outputfile.exe"
9966 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9967 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9968 $RM "$lt_outputfile.manifest";
9972 # Assume MSVC wrapper
9973 hardcode_libdir_flag_spec=' '
9974 allow_undefined_flag=unsupported
9975 # Tell ltmain to make .lib files, not .a files.
9977 # Tell ltmain to make .dll files, not .so files.
9979 # FIXME: Setting linknames here is a bad hack.
9980 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9981 # The linker will automatically build a .lib file if we build a DLL.
9982 old_archive_from_new_cmds='true'
9983 # FIXME: Should let the user specify the lib program.
9984 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9985 enable_shared_with_static_runtimes=yes
9990 darwin* | rhapsody*)
9993 archive_cmds_need_lc=no
9995 hardcode_automatic=yes
9996 hardcode_shlibpath_var=unsupported
9997 if test "$lt_cv_ld_force_load" = "yes"; then
9998 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\"`'
10001 whole_archive_flag_spec=''
10003 link_all_deplibs=yes
10004 allow_undefined_flag="$_lt_dar_allow_undefined"
10005 case $cc_basename in
10006 ifort*) _lt_dar_can_shared=yes ;;
10007 *) _lt_dar_can_shared=$GCC ;;
10009 if test "$_lt_dar_can_shared" = "yes"; then
10010 output_verbose_link_cmd=func_echo_all
10011 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10012 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10013 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}"
10014 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}"
10023 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10024 hardcode_libdir_flag_spec='-L$libdir'
10025 hardcode_shlibpath_var=no
10028 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10029 # support. Future versions do this automatically, but an explicit c++rt0.o
10030 # does not break anything, and helps significantly (at the cost of a little
10033 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10034 hardcode_libdir_flag_spec='-R$libdir'
10035 hardcode_direct=yes
10036 hardcode_shlibpath_var=no
10039 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10041 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10042 hardcode_direct=yes
10043 hardcode_minus_L=yes
10044 hardcode_shlibpath_var=no
10047 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10048 freebsd* | dragonfly*)
10049 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10050 hardcode_libdir_flag_spec='-R$libdir'
10051 hardcode_direct=yes
10052 hardcode_shlibpath_var=no
10056 if test "$GCC" = yes; then
10057 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'
10059 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'
10061 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10062 hardcode_libdir_separator=:
10063 hardcode_direct=yes
10065 # hardcode_minus_L: Not really in the search PATH,
10066 # but as the default location of the library.
10067 hardcode_minus_L=yes
10068 export_dynamic_flag_spec='${wl}-E'
10072 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10073 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10075 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10077 if test "$with_gnu_ld" = no; then
10078 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10079 hardcode_libdir_separator=:
10080 hardcode_direct=yes
10081 hardcode_direct_absolute=yes
10082 export_dynamic_flag_spec='${wl}-E'
10083 # hardcode_minus_L: Not really in the search PATH,
10084 # but as the default location of the library.
10085 hardcode_minus_L=yes
10090 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10093 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10096 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10099 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10105 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10108 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10112 # Older versions of the 11.00 compiler do not understand -b yet
10113 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10115 $as_echo_n "checking if $CC understands -b... " >&6; }
10116 if ${lt_cv_prog_compiler__b+:} false; then :
10117 $as_echo_n "(cached) " >&6
10119 lt_cv_prog_compiler__b=no
10120 save_LDFLAGS="$LDFLAGS"
10121 LDFLAGS="$LDFLAGS -b"
10122 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10123 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10124 # The linker can only warn and ignore the option if not recognized
10125 # So say no if there are warnings
10126 if test -s conftest.err; then
10127 # Append any errors to the config.log.
10128 cat conftest.err 1>&5
10129 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10130 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10131 if diff conftest.exp conftest.er2 >/dev/null; then
10132 lt_cv_prog_compiler__b=yes
10135 lt_cv_prog_compiler__b=yes
10139 LDFLAGS="$save_LDFLAGS"
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10143 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10145 if test x"$lt_cv_prog_compiler__b" = xyes; then
10146 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10148 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10154 if test "$with_gnu_ld" = no; then
10155 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10156 hardcode_libdir_separator=:
10161 hardcode_shlibpath_var=no
10164 hardcode_direct=yes
10165 hardcode_direct_absolute=yes
10166 export_dynamic_flag_spec='${wl}-E'
10168 # hardcode_minus_L: Not really in the search PATH,
10169 # but as the default location of the library.
10170 hardcode_minus_L=yes
10176 irix5* | irix6* | nonstopux*)
10177 if test "$GCC" = yes; then
10178 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'
10179 # Try to use the -exported_symbol ld option, if it does not
10180 # work, assume that -exports_file does not work either and
10181 # implicitly export all symbols.
10182 # This should be the same for all languages, so no per-tag cache variable.
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10184 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10185 if ${lt_cv_irix_exported_symbol+:} false; then :
10186 $as_echo_n "(cached) " >&6
10188 save_LDFLAGS="$LDFLAGS"
10189 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10191 /* end confdefs.h. */
10192 int foo (void) { return 0; }
10194 if ac_fn_c_try_link "$LINENO"; then :
10195 lt_cv_irix_exported_symbol=yes
10197 lt_cv_irix_exported_symbol=no
10199 rm -f core conftest.err conftest.$ac_objext \
10200 conftest$ac_exeext conftest.$ac_ext
10201 LDFLAGS="$save_LDFLAGS"
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10204 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10205 if test "$lt_cv_irix_exported_symbol" = yes; then
10206 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'
10209 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'
10210 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'
10212 archive_cmds_need_lc='no'
10213 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10214 hardcode_libdir_separator=:
10216 link_all_deplibs=yes
10219 netbsd* | netbsdelf*-gnu)
10220 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10221 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10223 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10225 hardcode_libdir_flag_spec='-R$libdir'
10226 hardcode_direct=yes
10227 hardcode_shlibpath_var=no
10231 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10232 hardcode_direct=yes
10233 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10234 hardcode_libdir_separator=:
10235 hardcode_shlibpath_var=no
10242 if test -f /usr/libexec/ld.so; then
10243 hardcode_direct=yes
10244 hardcode_shlibpath_var=no
10245 hardcode_direct_absolute=yes
10246 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10247 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10248 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10249 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10250 export_dynamic_flag_spec='${wl}-E'
10253 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10254 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10255 hardcode_libdir_flag_spec='-R$libdir'
10258 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10259 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10269 hardcode_libdir_flag_spec='-L$libdir'
10270 hardcode_minus_L=yes
10271 allow_undefined_flag=unsupported
10272 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'
10273 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10277 if test "$GCC" = yes; then
10278 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10279 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'
10281 allow_undefined_flag=' -expect_unresolved \*'
10282 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'
10284 archive_cmds_need_lc='no'
10285 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10286 hardcode_libdir_separator=:
10289 osf4* | osf5*) # as osf3* with the addition of -msym flag
10290 if test "$GCC" = yes; then
10291 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10292 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'
10293 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10295 allow_undefined_flag=' -expect_unresolved \*'
10296 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'
10297 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~
10298 $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'
10300 # Both c and cxx compiler support -rpath directly
10301 hardcode_libdir_flag_spec='-rpath $libdir'
10303 archive_cmds_need_lc='no'
10304 hardcode_libdir_separator=:
10308 no_undefined_flag=' -z defs'
10309 if test "$GCC" = yes; then
10311 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10312 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10313 $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'
10315 case `$CC -V 2>&1` in
10318 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10319 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10320 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10324 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10325 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10326 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10330 hardcode_libdir_flag_spec='-R$libdir'
10331 hardcode_shlibpath_var=no
10333 solaris2.[0-5] | solaris2.[0-5].*) ;;
10335 # The compiler driver will combine and reorder linker options,
10336 # but understands `-z linker_flag'. GCC discards it without `$wl',
10337 # but is careful enough not to reorder.
10338 # Supported since Solaris 2.6 (maybe 2.5.1?)
10339 if test "$GCC" = yes; then
10340 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10342 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10346 link_all_deplibs=yes
10350 if test "x$host_vendor" = xsequent; then
10351 # Use $CC to link under sequent, because it throws in some extra .o
10352 # files that make .init and .fini sections work.
10353 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10355 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10357 hardcode_libdir_flag_spec='-L$libdir'
10358 hardcode_direct=yes
10359 hardcode_minus_L=yes
10360 hardcode_shlibpath_var=no
10364 case $host_vendor in
10366 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10367 hardcode_direct=yes # is this really true???
10370 ## LD is ld it makes a PLAMLIB
10371 ## CC just makes a GrossModule.
10372 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10373 reload_cmds='$CC -r -o $output$reload_objs'
10377 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10378 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10381 runpath_var='LD_RUN_PATH'
10382 hardcode_shlibpath_var=no
10386 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10387 hardcode_shlibpath_var=no
10388 export_dynamic_flag_spec='-Bexport'
10392 if test -d /usr/nec; then
10393 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10394 hardcode_shlibpath_var=no
10395 runpath_var=LD_RUN_PATH
10396 hardcode_runpath_var=yes
10401 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10402 no_undefined_flag='${wl}-z,text'
10403 archive_cmds_need_lc=no
10404 hardcode_shlibpath_var=no
10405 runpath_var='LD_RUN_PATH'
10407 if test "$GCC" = yes; then
10408 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10409 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10411 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10412 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10416 sysv5* | sco3.2v5* | sco5v6*)
10417 # Note: We can NOT use -z defs as we might desire, because we do not
10418 # link with -lc, and that would cause any symbols used from libc to
10419 # always be unresolved, which means just about no library would
10420 # ever link correctly. If we're not using GNU ld we use -z text
10421 # though, which does catch some bad symbols but isn't as heavy-handed
10423 no_undefined_flag='${wl}-z,text'
10424 allow_undefined_flag='${wl}-z,nodefs'
10425 archive_cmds_need_lc=no
10426 hardcode_shlibpath_var=no
10427 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10428 hardcode_libdir_separator=':'
10429 link_all_deplibs=yes
10430 export_dynamic_flag_spec='${wl}-Bexport'
10431 runpath_var='LD_RUN_PATH'
10433 if test "$GCC" = yes; then
10434 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10435 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10437 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10438 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10443 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10444 hardcode_libdir_flag_spec='-L$libdir'
10445 hardcode_shlibpath_var=no
10453 if test x$host_vendor = xsni; then
10455 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10456 export_dynamic_flag_spec='${wl}-Blargedynsym'
10462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10463 $as_echo "$ld_shlibs" >&6; }
10464 test "$ld_shlibs" = no && can_build_shared=no
10466 with_gnu_ld=$with_gnu_ld
10483 # Do we need to explicitly link libc?
10485 case "x$archive_cmds_need_lc" in
10487 # Assume -lc should be added
10488 archive_cmds_need_lc=yes
10490 if test "$enable_shared" = yes && test "$GCC" = yes; then
10491 case $archive_cmds in
10493 # FIXME: we may have to deal with multi-command sequences.
10496 # Test whether the compiler implicitly links with -lc since on some
10497 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10498 # to ld, don't add -lc before -lgcc.
10499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10500 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10501 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10502 $as_echo_n "(cached) " >&6
10505 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10507 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10508 (eval $ac_compile) 2>&5
10510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10511 test $ac_status = 0; } 2>conftest.err; then
10514 libobjs=conftest.$ac_objext
10516 wl=$lt_prog_compiler_wl
10517 pic_flag=$lt_prog_compiler_pic
10523 lt_save_allow_undefined_flag=$allow_undefined_flag
10524 allow_undefined_flag=
10525 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10526 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10529 test $ac_status = 0; }
10531 lt_cv_archive_cmds_need_lc=no
10533 lt_cv_archive_cmds_need_lc=yes
10535 allow_undefined_flag=$lt_save_allow_undefined_flag
10537 cat conftest.err 1>&5
10542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10543 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10544 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10703 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10705 if test "$GCC" = yes; then
10707 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10708 *) lt_awk_arg="/^libraries:/" ;;
10711 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10712 *) lt_sed_strip_eq="s,=/,/,g" ;;
10714 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10715 case $lt_search_path_spec in
10717 # if the path contains ";" then we assume it to be the separator
10718 # otherwise default to the standard path separator (i.e. ":") - it is
10719 # assumed that no part of a normal pathname contains ";" but that should
10720 # okay in the real world where ";" in dirpaths is itself problematic.
10721 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10724 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10727 # Ok, now we have the path, separated by spaces, we can step through it
10728 # and add multilib dir if necessary.
10729 lt_tmp_lt_search_path_spec=
10730 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10731 for lt_sys_path in $lt_search_path_spec; do
10732 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10733 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10735 test -d "$lt_sys_path" && \
10736 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10739 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10740 BEGIN {RS=" "; FS="/|\n";} {
10743 for (lt_i = NF; lt_i > 0; lt_i--) {
10744 if ($lt_i != "" && $lt_i != ".") {
10745 if ($lt_i == "..") {
10748 if (lt_count == 0) {
10749 lt_foo="/" $lt_i lt_foo;
10756 if (lt_foo != "") { lt_freq[lt_foo]++; }
10757 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10759 # AWK program above erroneously prepends '/' to C:/dos/paths
10762 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10763 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10765 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10767 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10769 library_names_spec=
10770 libname_spec='lib$name'
10774 postuninstall_cmds=
10778 shlibpath_overrides_runpath=unknown
10780 dynamic_linker="$host_os ld.so"
10781 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10782 need_lib_prefix=unknown
10783 hardcode_into_libs=no
10785 # when you set need_version to no, make sure it does not cause -set_version
10786 # flags to be left without arguments
10787 need_version=unknown
10791 version_type=linux # correct to gnu/linux during the next big refactor
10792 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10793 shlibpath_var=LIBPATH
10795 # AIX 3 has no versioning support, so we append a major version to the name.
10796 soname_spec='${libname}${release}${shared_ext}$major'
10800 version_type=linux # correct to gnu/linux during the next big refactor
10803 hardcode_into_libs=yes
10804 if test "$host_cpu" = ia64; then
10805 # AIX 5 supports IA64
10806 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10807 shlibpath_var=LD_LIBRARY_PATH
10809 # With GCC up to 2.95.x, collect2 would create an import file
10810 # for dependence libraries. The import file would start with
10811 # the line `#! .'. This would cause the generated library to
10812 # depend on `.', always an invalid library. This was fixed in
10813 # development snapshots of GCC prior to 3.0.
10815 aix4 | aix4.[01] | aix4.[01].*)
10816 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10818 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10821 can_build_shared=no
10825 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10826 # soname into executable. Probably we can add versioning support to
10827 # collect2, so additional links can be useful in future.
10828 if test "$aix_use_runtimelinking" = yes; then
10829 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10830 # instead of lib<name>.a to let people know that these are not
10831 # typical AIX shared libraries.
10832 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10834 # We preserve .a as extension for shared libraries through AIX4.2
10835 # and later when we are not doing run time linking.
10836 library_names_spec='${libname}${release}.a $libname.a'
10837 soname_spec='${libname}${release}${shared_ext}$major'
10839 shlibpath_var=LIBPATH
10846 # Since July 2007 AmigaOS4 officially supports .so libraries.
10847 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10848 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10851 library_names_spec='$libname.ixlibrary $libname.a'
10852 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10853 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'
10859 library_names_spec='${libname}${shared_ext}'
10860 dynamic_linker="$host_os ld.so"
10861 shlibpath_var=LIBRARY_PATH
10865 version_type=linux # correct to gnu/linux during the next big refactor
10867 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10868 soname_spec='${libname}${release}${shared_ext}$major'
10869 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10870 shlibpath_var=LD_LIBRARY_PATH
10871 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10872 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10873 # the default ld.so.conf also contains /usr/contrib/lib and
10874 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10875 # libtool to hard-code these into programs
10878 cygwin* | mingw* | pw32* | cegcc*)
10879 version_type=windows
10884 case $GCC,$cc_basename in
10887 library_names_spec='$libname.dll.a'
10888 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10889 postinstall_cmds='base_file=`basename \${file}`~
10890 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10891 dldir=$destdir/`dirname \$dlpath`~
10892 test -d \$dldir || mkdir -p \$dldir~
10893 $install_prog $dir/$dlname \$dldir/$dlname~
10894 chmod a+x \$dldir/$dlname~
10895 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10896 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10898 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10899 dlpath=$dir/\$dldll~
10901 shlibpath_overrides_runpath=yes
10905 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10906 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10908 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10911 # MinGW DLLs use traditional 'lib' prefix
10912 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10915 # pw32 DLLs use 'pw' prefix rather than 'lib'
10916 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10919 dynamic_linker='Win32 ld.exe'
10924 libname_spec='$name'
10925 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10926 library_names_spec='${libname}.dll.lib'
10930 sys_lib_search_path_spec=
10933 for lt_path in $LIB
10936 # Let DOS variable expansion print the short 8.3 style file name.
10937 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10938 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10941 # Convert to MSYS style.
10942 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10945 # Convert to unix form, then to dos form, then back to unix form
10946 # but this time dos style (no spaces!) so that the unix form looks
10947 # like /cygdrive/c/PROGRA~1:/cygdr...
10948 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10949 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10950 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10953 sys_lib_search_path_spec="$LIB"
10954 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10955 # It is most probably a Windows format PATH.
10956 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10958 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10960 # FIXME: find the short name or the path components, as spaces are
10961 # common. (e.g. "Program Files" -> "PROGRA~1")
10965 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10966 postinstall_cmds='base_file=`basename \${file}`~
10967 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10968 dldir=$destdir/`dirname \$dlpath`~
10969 test -d \$dldir || mkdir -p \$dldir~
10970 $install_prog $dir/$dlname \$dldir/$dlname'
10971 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10972 dlpath=$dir/\$dldll~
10974 shlibpath_overrides_runpath=yes
10975 dynamic_linker='Win32 link.exe'
10979 # Assume MSVC wrapper
10980 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10981 dynamic_linker='Win32 ld.exe'
10984 # FIXME: first we should search . and the directory the executable is in
10988 darwin* | rhapsody*)
10989 dynamic_linker="$host_os dyld"
10990 version_type=darwin
10993 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10994 soname_spec='${libname}${release}${major}$shared_ext'
10995 shlibpath_overrides_runpath=yes
10996 shlibpath_var=DYLD_LIBRARY_PATH
10997 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10999 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11000 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11004 version_type=linux # correct to gnu/linux during the next big refactor
11007 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11008 soname_spec='${libname}${release}${shared_ext}$major'
11009 shlibpath_var=LD_LIBRARY_PATH
11012 freebsd* | dragonfly*)
11013 # DragonFly does not have aout. When/if they implement a new
11014 # versioning mechanism, adjust this.
11015 if test -x /usr/bin/objformat; then
11016 objformat=`/usr/bin/objformat`
11019 freebsd[23].*) objformat=aout ;;
11020 *) objformat=elf ;;
11023 version_type=freebsd-$objformat
11024 case $version_type in
11026 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11031 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11035 shlibpath_var=LD_LIBRARY_PATH
11038 shlibpath_overrides_runpath=yes
11040 freebsd3.[01]* | freebsdelf3.[01]*)
11041 shlibpath_overrides_runpath=yes
11042 hardcode_into_libs=yes
11044 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11045 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11046 shlibpath_overrides_runpath=no
11047 hardcode_into_libs=yes
11049 *) # from 4.6 on, and DragonFly
11050 shlibpath_overrides_runpath=yes
11051 hardcode_into_libs=yes
11057 version_type=linux # correct to gnu/linux during the next big refactor
11060 dynamic_linker="$host_os runtime_loader"
11061 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11062 soname_spec='${libname}${release}${shared_ext}$major'
11063 shlibpath_var=LIBRARY_PATH
11064 shlibpath_overrides_runpath=yes
11065 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11066 hardcode_into_libs=yes
11069 hpux9* | hpux10* | hpux11*)
11070 # Give a soname corresponding to the major version so that dld.sl refuses to
11071 # link against other versions.
11078 hardcode_into_libs=yes
11079 dynamic_linker="$host_os dld.so"
11080 shlibpath_var=LD_LIBRARY_PATH
11081 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11082 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11083 soname_spec='${libname}${release}${shared_ext}$major'
11084 if test "X$HPUX_IA64_MODE" = X32; then
11085 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11087 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11089 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11093 hardcode_into_libs=yes
11094 dynamic_linker="$host_os dld.sl"
11095 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11096 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11097 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11098 soname_spec='${libname}${release}${shared_ext}$major'
11099 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11100 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11104 dynamic_linker="$host_os dld.sl"
11105 shlibpath_var=SHLIB_PATH
11106 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11107 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11108 soname_spec='${libname}${release}${shared_ext}$major'
11111 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11112 postinstall_cmds='chmod 555 $lib'
11113 # or fails outright, so override atomically:
11114 install_override_mode=555
11118 version_type=linux # correct to gnu/linux during the next big refactor
11121 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11122 soname_spec='${libname}${release}${shared_ext}$major'
11123 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11124 shlibpath_var=LD_LIBRARY_PATH
11125 shlibpath_overrides_runpath=no
11126 hardcode_into_libs=yes
11129 irix5* | irix6* | nonstopux*)
11131 nonstopux*) version_type=nonstopux ;;
11133 if test "$lt_cv_prog_gnu_ld" = yes; then
11134 version_type=linux # correct to gnu/linux during the next big refactor
11141 soname_spec='${libname}${release}${shared_ext}$major'
11142 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11144 irix5* | nonstopux*)
11145 libsuff= shlibsuff=
11148 case $LD in # libtool.m4 will add one of these switches to LD
11149 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11150 libsuff= shlibsuff= libmagic=32-bit;;
11151 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11152 libsuff=32 shlibsuff=N32 libmagic=N32;;
11153 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11154 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11155 *) libsuff= shlibsuff= libmagic=never-match;;
11159 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11160 shlibpath_overrides_runpath=no
11161 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11162 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11163 hardcode_into_libs=yes
11166 # No shared lib support for Linux oldld, aout, or coff.
11167 linux*oldld* | linux*aout* | linux*coff*)
11171 # This must be glibc/ELF.
11172 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11173 version_type=linux # correct to gnu/linux during the next big refactor
11176 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11177 soname_spec='${libname}${release}${shared_ext}$major'
11178 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11179 shlibpath_var=LD_LIBRARY_PATH
11180 shlibpath_overrides_runpath=no
11182 # Some binutils ld are patched to set DT_RUNPATH
11183 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11184 $as_echo_n "(cached) " >&6
11186 lt_cv_shlibpath_overrides_runpath=no
11187 save_LDFLAGS=$LDFLAGS
11188 save_libdir=$libdir
11189 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11190 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11192 /* end confdefs.h. */
11202 if ac_fn_c_try_link "$LINENO"; then :
11203 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11204 lt_cv_shlibpath_overrides_runpath=yes
11207 rm -f core conftest.err conftest.$ac_objext \
11208 conftest$ac_exeext conftest.$ac_ext
11209 LDFLAGS=$save_LDFLAGS
11210 libdir=$save_libdir
11214 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11216 # This implies no fast_install, which is unacceptable.
11217 # Some rework will be needed to allow for fast_install
11218 # before this can be enabled.
11219 hardcode_into_libs=yes
11221 # Append ld.so.conf contents to the search path
11222 if test -f /etc/ld.so.conf; then
11223 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' ' '`
11224 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11227 # We used to test for /lib/ld.so.1 and disable shared libraries on
11228 # powerpc, because MkLinux only supported shared libraries with the
11229 # GNU dynamic linker. Since this was broken with cross compilers,
11230 # most powerpc-linux boxes support dynamic linking these days and
11231 # people can always --disable-shared, the test was removed, and we
11232 # assume the GNU/Linux dynamic linker is in use.
11233 dynamic_linker='GNU/Linux ld.so'
11240 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11241 soname_spec='${libname}${release}${shared_ext}$major'
11242 shlibpath_var=LD_LIBRARY_PATH
11243 shlibpath_overrides_runpath=no
11244 hardcode_into_libs=yes
11245 dynamic_linker='NetBSD ld.elf_so'
11252 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11253 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11254 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11255 dynamic_linker='NetBSD (a.out) ld.so'
11257 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11258 soname_spec='${libname}${release}${shared_ext}$major'
11259 dynamic_linker='NetBSD ld.elf_so'
11261 shlibpath_var=LD_LIBRARY_PATH
11262 shlibpath_overrides_runpath=yes
11263 hardcode_into_libs=yes
11267 version_type=linux # correct to gnu/linux during the next big refactor
11268 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11269 shlibpath_var=LD_LIBRARY_PATH
11270 shlibpath_overrides_runpath=yes
11277 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11278 soname_spec='${libname}${release}${shared_ext}$major'
11279 shlibpath_var=LD_LIBRARY_PATH
11280 shlibpath_overrides_runpath=no
11281 hardcode_into_libs=yes
11282 dynamic_linker='ldqnx.so'
11287 sys_lib_dlsearch_path_spec="/usr/lib"
11289 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11291 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11292 *) need_version=no ;;
11294 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11295 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11296 shlibpath_var=LD_LIBRARY_PATH
11297 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11299 openbsd2.[89] | openbsd2.[89].*)
11300 shlibpath_overrides_runpath=no
11303 shlibpath_overrides_runpath=yes
11307 shlibpath_overrides_runpath=yes
11312 libname_spec='$name'
11315 library_names_spec='$libname${shared_ext} $libname.a'
11316 dynamic_linker='OS/2 ld.exe'
11317 shlibpath_var=LIBPATH
11320 osf3* | osf4* | osf5*)
11324 soname_spec='${libname}${release}${shared_ext}$major'
11325 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11326 shlibpath_var=LD_LIBRARY_PATH
11327 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11328 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11336 version_type=linux # correct to gnu/linux during the next big refactor
11339 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11340 soname_spec='${libname}${release}${shared_ext}$major'
11341 shlibpath_var=LD_LIBRARY_PATH
11342 shlibpath_overrides_runpath=yes
11343 hardcode_into_libs=yes
11344 # ldd complains unless libraries are executable
11345 postinstall_cmds='chmod +x $lib'
11350 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11351 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11352 shlibpath_var=LD_LIBRARY_PATH
11353 shlibpath_overrides_runpath=yes
11354 if test "$with_gnu_ld" = yes; then
11361 version_type=linux # correct to gnu/linux during the next big refactor
11362 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11363 soname_spec='${libname}${release}${shared_ext}$major'
11364 shlibpath_var=LD_LIBRARY_PATH
11365 case $host_vendor in
11367 shlibpath_overrides_runpath=no
11369 runpath_var=LD_RUN_PATH
11377 shlibpath_overrides_runpath=no
11378 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11384 if test -d /usr/nec ;then
11385 version_type=linux # correct to gnu/linux during the next big refactor
11386 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11387 soname_spec='$libname${shared_ext}.$major'
11388 shlibpath_var=LD_LIBRARY_PATH
11392 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11393 version_type=freebsd-elf
11396 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11397 soname_spec='${libname}${release}${shared_ext}$major'
11398 shlibpath_var=LD_LIBRARY_PATH
11399 shlibpath_overrides_runpath=yes
11400 hardcode_into_libs=yes
11401 if test "$with_gnu_ld" = yes; then
11402 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11404 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11407 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11411 sys_lib_dlsearch_path_spec='/usr/lib'
11415 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11416 version_type=linux # correct to gnu/linux during the next big refactor
11419 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11420 shlibpath_var=LD_LIBRARY_PATH
11421 shlibpath_overrides_runpath=no
11422 hardcode_into_libs=yes
11426 version_type=linux # correct to gnu/linux during the next big refactor
11427 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11428 soname_spec='${libname}${release}${shared_ext}$major'
11429 shlibpath_var=LD_LIBRARY_PATH
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11437 $as_echo "$dynamic_linker" >&6; }
11438 test "$dynamic_linker" = no && can_build_shared=no
11440 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11441 if test "$GCC" = yes; then
11442 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11445 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11446 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11448 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11449 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11544 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11546 if test -n "$hardcode_libdir_flag_spec" ||
11547 test -n "$runpath_var" ||
11548 test "X$hardcode_automatic" = "Xyes" ; then
11550 # We can hardcode non-existent directories.
11551 if test "$hardcode_direct" != no &&
11552 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11553 # have to relink, otherwise we might link with an installed library
11554 # when we should be linking with a yet-to-be-installed one
11555 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11556 test "$hardcode_minus_L" != no; then
11557 # Linking always hardcodes the temporary library directory.
11558 hardcode_action=relink
11560 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11561 hardcode_action=immediate
11564 # We cannot hardcode anything, or else we can only hardcode existing
11566 hardcode_action=unsupported
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11569 $as_echo "$hardcode_action" >&6; }
11571 if test "$hardcode_action" = relink ||
11572 test "$inherit_rpath" = yes; then
11573 # Fast installation is not supported
11574 enable_fast_install=no
11575 elif test "$shlibpath_overrides_runpath" = yes ||
11576 test "$enable_shared" = no; then
11577 # Fast installation is not necessary
11578 enable_fast_install=needless
11586 if test "x$enable_dlopen" != xyes; then
11587 enable_dlopen=unknown
11588 enable_dlopen_self=unknown
11589 enable_dlopen_self_static=unknown
11596 lt_cv_dlopen="load_add_on"
11598 lt_cv_dlopen_self=yes
11601 mingw* | pw32* | cegcc*)
11602 lt_cv_dlopen="LoadLibrary"
11607 lt_cv_dlopen="dlopen"
11612 # if libdl is installed we need to link against it
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11614 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11615 if ${ac_cv_lib_dl_dlopen+:} false; then :
11616 $as_echo_n "(cached) " >&6
11618 ac_check_lib_save_LIBS=$LIBS
11620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11621 /* end confdefs.h. */
11623 /* Override any GCC internal prototype to avoid an error.
11624 Use char because int might match the return type of a GCC
11625 builtin and then its argument prototype would still apply. */
11638 if ac_fn_c_try_link "$LINENO"; then :
11639 ac_cv_lib_dl_dlopen=yes
11641 ac_cv_lib_dl_dlopen=no
11643 rm -f core conftest.err conftest.$ac_objext \
11644 conftest$ac_exeext conftest.$ac_ext
11645 LIBS=$ac_check_lib_save_LIBS
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11648 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11649 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11650 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11653 lt_cv_dlopen="dyld"
11655 lt_cv_dlopen_self=yes
11662 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11663 if test "x$ac_cv_func_shl_load" = xyes; then :
11664 lt_cv_dlopen="shl_load"
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11667 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11668 if ${ac_cv_lib_dld_shl_load+:} false; then :
11669 $as_echo_n "(cached) " >&6
11671 ac_check_lib_save_LIBS=$LIBS
11673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11674 /* end confdefs.h. */
11676 /* Override any GCC internal prototype to avoid an error.
11677 Use char because int might match the return type of a GCC
11678 builtin and then its argument prototype would still apply. */
11686 return shl_load ();
11691 if ac_fn_c_try_link "$LINENO"; then :
11692 ac_cv_lib_dld_shl_load=yes
11694 ac_cv_lib_dld_shl_load=no
11696 rm -f core conftest.err conftest.$ac_objext \
11697 conftest$ac_exeext conftest.$ac_ext
11698 LIBS=$ac_check_lib_save_LIBS
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11701 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11702 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11703 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11705 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11706 if test "x$ac_cv_func_dlopen" = xyes; then :
11707 lt_cv_dlopen="dlopen"
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11710 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11711 if ${ac_cv_lib_dl_dlopen+:} false; then :
11712 $as_echo_n "(cached) " >&6
11714 ac_check_lib_save_LIBS=$LIBS
11716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11717 /* end confdefs.h. */
11719 /* Override any GCC internal prototype to avoid an error.
11720 Use char because int might match the return type of a GCC
11721 builtin and then its argument prototype would still apply. */
11734 if ac_fn_c_try_link "$LINENO"; then :
11735 ac_cv_lib_dl_dlopen=yes
11737 ac_cv_lib_dl_dlopen=no
11739 rm -f core conftest.err conftest.$ac_objext \
11740 conftest$ac_exeext conftest.$ac_ext
11741 LIBS=$ac_check_lib_save_LIBS
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11744 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11745 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11746 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11749 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11750 if ${ac_cv_lib_svld_dlopen+:} false; then :
11751 $as_echo_n "(cached) " >&6
11753 ac_check_lib_save_LIBS=$LIBS
11754 LIBS="-lsvld $LIBS"
11755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11756 /* end confdefs.h. */
11758 /* Override any GCC internal prototype to avoid an error.
11759 Use char because int might match the return type of a GCC
11760 builtin and then its argument prototype would still apply. */
11773 if ac_fn_c_try_link "$LINENO"; then :
11774 ac_cv_lib_svld_dlopen=yes
11776 ac_cv_lib_svld_dlopen=no
11778 rm -f core conftest.err conftest.$ac_objext \
11779 conftest$ac_exeext conftest.$ac_ext
11780 LIBS=$ac_check_lib_save_LIBS
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11783 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11784 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11785 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11788 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11789 if ${ac_cv_lib_dld_dld_link+:} false; then :
11790 $as_echo_n "(cached) " >&6
11792 ac_check_lib_save_LIBS=$LIBS
11794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11795 /* end confdefs.h. */
11797 /* Override any GCC internal prototype to avoid an error.
11798 Use char because int might match the return type of a GCC
11799 builtin and then its argument prototype would still apply. */
11807 return dld_link ();
11812 if ac_fn_c_try_link "$LINENO"; then :
11813 ac_cv_lib_dld_dld_link=yes
11815 ac_cv_lib_dld_dld_link=no
11817 rm -f core conftest.err conftest.$ac_objext \
11818 conftest$ac_exeext conftest.$ac_ext
11819 LIBS=$ac_check_lib_save_LIBS
11821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11822 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11823 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11824 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11845 if test "x$lt_cv_dlopen" != xno; then
11851 case $lt_cv_dlopen in
11853 save_CPPFLAGS="$CPPFLAGS"
11854 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11856 save_LDFLAGS="$LDFLAGS"
11857 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11860 LIBS="$lt_cv_dlopen_libs $LIBS"
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11863 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11864 if ${lt_cv_dlopen_self+:} false; then :
11865 $as_echo_n "(cached) " >&6
11867 if test "$cross_compiling" = yes; then :
11868 lt_cv_dlopen_self=cross
11870 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11871 lt_status=$lt_dlunknown
11872 cat > conftest.$ac_ext <<_LT_EOF
11873 #line $LINENO "configure"
11874 #include "confdefs.h"
11883 # define LT_DLGLOBAL RTLD_GLOBAL
11886 # define LT_DLGLOBAL DL_GLOBAL
11888 # define LT_DLGLOBAL 0
11892 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11893 find out it does not work in some platform. */
11894 #ifndef LT_DLLAZY_OR_NOW
11896 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11899 # define LT_DLLAZY_OR_NOW DL_LAZY
11902 # define LT_DLLAZY_OR_NOW RTLD_NOW
11905 # define LT_DLLAZY_OR_NOW DL_NOW
11907 # define LT_DLLAZY_OR_NOW 0
11914 /* When -fvisbility=hidden is used, assume the code has been annotated
11915 correspondingly for the symbols needed. */
11916 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11917 int fnord () __attribute__((visibility("default")));
11920 int fnord () { return 42; }
11923 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11924 int status = $lt_dlunknown;
11928 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11931 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11932 else puts (dlerror ());
11934 /* dlclose (self); */
11942 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11943 (eval $ac_link) 2>&5
11945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11946 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11947 (./conftest; exit; ) >&5 2>/dev/null
11949 case x$lt_status in
11950 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11951 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11952 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11955 # compilation failed
11956 lt_cv_dlopen_self=no
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11964 $as_echo "$lt_cv_dlopen_self" >&6; }
11966 if test "x$lt_cv_dlopen_self" = xyes; then
11967 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11969 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11970 if ${lt_cv_dlopen_self_static+:} false; then :
11971 $as_echo_n "(cached) " >&6
11973 if test "$cross_compiling" = yes; then :
11974 lt_cv_dlopen_self_static=cross
11976 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11977 lt_status=$lt_dlunknown
11978 cat > conftest.$ac_ext <<_LT_EOF
11979 #line $LINENO "configure"
11980 #include "confdefs.h"
11989 # define LT_DLGLOBAL RTLD_GLOBAL
11992 # define LT_DLGLOBAL DL_GLOBAL
11994 # define LT_DLGLOBAL 0
11998 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11999 find out it does not work in some platform. */
12000 #ifndef LT_DLLAZY_OR_NOW
12002 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12005 # define LT_DLLAZY_OR_NOW DL_LAZY
12008 # define LT_DLLAZY_OR_NOW RTLD_NOW
12011 # define LT_DLLAZY_OR_NOW DL_NOW
12013 # define LT_DLLAZY_OR_NOW 0
12020 /* When -fvisbility=hidden is used, assume the code has been annotated
12021 correspondingly for the symbols needed. */
12022 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12023 int fnord () __attribute__((visibility("default")));
12026 int fnord () { return 42; }
12029 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12030 int status = $lt_dlunknown;
12034 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12037 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12038 else puts (dlerror ());
12040 /* dlclose (self); */
12048 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12049 (eval $ac_link) 2>&5
12051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12052 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12053 (./conftest; exit; ) >&5 2>/dev/null
12055 case x$lt_status in
12056 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12057 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12058 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12061 # compilation failed
12062 lt_cv_dlopen_self_static=no
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12070 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12073 CPPFLAGS="$save_CPPFLAGS"
12074 LDFLAGS="$save_LDFLAGS"
12079 case $lt_cv_dlopen_self in
12080 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12081 *) enable_dlopen_self=unknown ;;
12084 case $lt_cv_dlopen_self_static in
12085 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12086 *) enable_dlopen_self_static=unknown ;;
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12109 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12110 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12111 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12112 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12114 $as_echo "yes" >&6; }
12116 # FIXME - insert some real tests, host_os isn't really good enough
12119 if test -n "$STRIP" ; then
12120 striplib="$STRIP -x"
12121 old_striplib="$STRIP -S"
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12123 $as_echo "yes" >&6; }
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12126 $as_echo "no" >&6; }
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12131 $as_echo "no" >&6; }
12147 # Report which library types will actually be built
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12149 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12151 $as_echo "$can_build_shared" >&6; }
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12154 $as_echo_n "checking whether to build shared libraries... " >&6; }
12155 test "$can_build_shared" = "no" && enable_shared=no
12157 # On AIX, shared libraries and static libraries use the same namespace, and
12158 # are all built from PIC.
12161 test "$enable_shared" = yes && enable_static=no
12162 if test -n "$RANLIB"; then
12163 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12164 postinstall_cmds='$RANLIB $lib'
12169 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12170 test "$enable_shared" = yes && enable_static=no
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12175 $as_echo "$enable_shared" >&6; }
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12178 $as_echo_n "checking whether to build static libraries... " >&6; }
12179 # Make sure either enable_shared or enable_static is yes.
12180 test "$enable_shared" = yes || enable_static=yes
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12182 $as_echo "$enable_static" >&6; }
12189 ac_cpp='$CPP $CPPFLAGS'
12190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12210 ac_config_commands="$ac_config_commands libtool"
12215 # Only expand once:
12228 # Check whether --with-autoconf was given.
12229 if test "${with_autoconf+set}" = set; then :
12230 withval=$with_autoconf;
12233 AUTOCONF=${AUTOCONF-"${am_missing_run}${withval}"}
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOCONF as autoconf" >&5
12236 $as_echo "$as_me: Using $AUTOCONF as autoconf" >&6;}
12242 # Check whether --with-autoheader was given.
12243 if test "${with_autoheader+set}" = set; then :
12244 withval=$with_autoheader;
12247 AUTOHEADER=${AUTOHEADER-"${am_missing_run}${withval}"}
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOHEADER as autoheader" >&5
12250 $as_echo "$as_me: Using $AUTOHEADER as autoheader" >&6;}
12256 # Check whether --with-automake was given.
12257 if test "${with_automake+set}" = set; then :
12258 withval=$with_automake;
12261 AUTOMAKE=${AUTOMAKE-"${am_missing_run}${withval}"}
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOMAKE as automake" >&5
12264 $as_echo "$as_me: Using $AUTOMAKE as automake" >&6;}
12270 # Check whether --with-aclocal was given.
12271 if test "${with_aclocal+set}" = set; then :
12272 withval=$with_aclocal;
12275 ACLOCAL=${ACLOCAL-"${am_missing_run}${withval}"}
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $ACLOCAL as aclocal" >&5
12278 $as_echo "$as_me: Using $ACLOCAL as aclocal" >&6;}
12284 ACLOCAL_AMFLAGS="-I m4 -I common/m4"
12288 #AM_GNU_GETTEXT_VERSION([0.17])
12289 #AM_GNU_GETTEXT([external])
12290 #AG_GST_GETTEXT([gst-rtsp-server-$GST_API_VERSION])
12294 # Check whether --enable-fatal-warnings was given.
12295 if test "${enable_fatal_warnings+set}" = set; then :
12296 enableval=$enable_fatal_warnings;
12297 case "${enableval}" in
12298 yes) FATAL_WARNINGS=yes ;;
12299 no) FATAL_WARNINGS=no ;;
12300 *) as_fn_error $? "bad value ${enableval} for --disable-fatal-warnings" "$LINENO" 5 ;;
12305 if test "x`expr $PACKAGE_VERSION_MINOR % 2`" = "x1" -a "x`expr $PACKAGE_VERSION_MICRO '<' 90`" = "x1"; then
12316 # Check whether --enable-debug was given.
12317 if test "${enable_debug+set}" = set; then :
12318 enableval=$enable_debug;
12319 case "${enableval}" in
12320 yes) USE_DEBUG=yes ;;
12321 no) USE_DEBUG=no ;;
12322 *) as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
12331 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12332 if test -n "$ac_tool_prefix"; then
12333 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12334 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12336 $as_echo_n "checking for $ac_word... " >&6; }
12337 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12338 $as_echo_n "(cached) " >&6
12340 case $PKG_CONFIG in
12342 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12346 for as_dir in $PATH
12349 test -z "$as_dir" && as_dir=.
12350 for ac_exec_ext in '' $ac_executable_extensions; do
12351 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12352 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12363 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12364 if test -n "$PKG_CONFIG"; then
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12366 $as_echo "$PKG_CONFIG" >&6; }
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12369 $as_echo "no" >&6; }
12374 if test -z "$ac_cv_path_PKG_CONFIG"; then
12375 ac_pt_PKG_CONFIG=$PKG_CONFIG
12376 # Extract the first word of "pkg-config", so it can be a program name with args.
12377 set dummy pkg-config; ac_word=$2
12378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12379 $as_echo_n "checking for $ac_word... " >&6; }
12380 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12381 $as_echo_n "(cached) " >&6
12383 case $ac_pt_PKG_CONFIG in
12385 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12389 for as_dir in $PATH
12392 test -z "$as_dir" && as_dir=.
12393 for ac_exec_ext in '' $ac_executable_extensions; do
12394 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12395 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12406 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12407 if test -n "$ac_pt_PKG_CONFIG"; then
12408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12409 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12412 $as_echo "no" >&6; }
12415 if test "x$ac_pt_PKG_CONFIG" = x; then
12418 case $cross_compiling:$ac_tool_warned in
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12421 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12422 ac_tool_warned=yes ;;
12424 PKG_CONFIG=$ac_pt_PKG_CONFIG
12427 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12431 if test -n "$PKG_CONFIG"; then
12432 _pkg_min_version=0.9.0
12433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12434 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12435 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12437 $as_echo "yes" >&6; }
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12440 $as_echo "no" >&6; }
12446 # Check whether --enable-valgrind was given.
12447 if test "${enable_valgrind+set}" = set; then :
12448 enableval=$enable_valgrind;
12449 case "${enableval}" in
12450 yes) USE_VALGRIND="$USE_DEBUG" ;;
12451 no) USE_VALGRIND=no ;;
12452 *) as_fn_error $? "bad value ${enableval} for --enable-valgrind" "$LINENO" 5 ;;
12456 USE_VALGRIND="$USE_DEBUG"
12459 if test "x$USE_VALGRIND" = xyes; then
12462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
12463 $as_echo_n "checking for VALGRIND... " >&6; }
12465 if test -n "$PKG_CONFIG"; then
12466 if test -n "$VALGRIND_CFLAGS"; then
12467 pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS"
12469 if test -n "$PKG_CONFIG" && \
12470 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
12471 ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
12473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12474 test $ac_status = 0; }; then
12475 pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind >= $VALGRIND_REQ" 2>/dev/null`
12483 if test -n "$PKG_CONFIG"; then
12484 if test -n "$VALGRIND_LIBS"; then
12485 pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS"
12487 if test -n "$PKG_CONFIG" && \
12488 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
12489 ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
12491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12492 test $ac_status = 0; }; then
12493 pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind >= $VALGRIND_REQ" 2>/dev/null`
12504 if test $pkg_failed = yes; then
12506 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12507 _pkg_short_errors_supported=yes
12509 _pkg_short_errors_supported=no
12511 if test $_pkg_short_errors_supported = yes; then
12512 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
12514 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
12516 # Put the nasty error message in config.log where it belongs
12517 echo "$VALGRIND_PKG_ERRORS" >&5
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12520 $as_echo "no" >&6; }
12522 elif test $pkg_failed = untried; then
12525 VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS
12526 VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12528 $as_echo "yes" >&6; }
12532 if test "x$USE_VALGRIND" = xyes; then
12534 $as_echo "#define HAVE_VALGRIND 1" >>confdefs.h
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: Using extra code paths for valgrind" >&5
12537 $as_echo "$as_me: Using extra code paths for valgrind" >&6;}
12541 # Check whether --enable-gcov was given.
12542 if test "${enable_gcov+set}" = set; then :
12543 enableval=$enable_gcov; enable_gcov=$enableval
12548 if test x$enable_gcov = xyes ; then
12549 if test "x$GCC" != "xyes"
12551 as_fn_error $? "gcov only works if gcc is used" "$LINENO" 5
12555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-fprofile-arcs\"" >&5
12556 $as_echo_n "checking to see if compiler understands \"-fprofile-arcs\"... " >&6; }
12558 save_CFLAGS="$CFLAGS"
12559 CFLAGS="$CFLAGS "-fprofile-arcs""
12561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12562 /* end confdefs.h. */
12572 if ac_fn_c_try_compile "$LINENO"; then :
12577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12578 CFLAGS="$save_CFLAGS"
12580 if test "X$flag_ok" = Xyes ; then
12581 GCOV_CFLAGS="$GCOV_CFLAGS -fprofile-arcs"
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
12588 $as_echo "$flag_ok" >&6; }
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-ftest-coverage\"" >&5
12592 $as_echo_n "checking to see if compiler understands \"-ftest-coverage\"... " >&6; }
12594 save_CFLAGS="$CFLAGS"
12595 CFLAGS="$CFLAGS "-ftest-coverage""
12597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12598 /* end confdefs.h. */
12608 if ac_fn_c_try_compile "$LINENO"; then :
12613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12614 CFLAGS="$save_CFLAGS"
12616 if test "X$flag_ok" = Xyes ; then
12617 GCOV_CFLAGS="$GCOV_CFLAGS -ftest-coverage"
12623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
12624 $as_echo "$flag_ok" >&6; }
12626 GCOV_CFLAGS=`echo "$GCOV_CFLAGS" | sed -e 's/-O[0-9]*//g'`
12630 GCOV=`echo $CC | sed s/gcc/gcov/g`
12633 GST_GCOV_ENABLED=yes
12635 cat >>confdefs.h <<_ACEOF
12636 #define GST_GCOV_ENABLED 1
12639 if test "x$GST_GCOV_ENABLED" = "xyes"
12641 CFLAGS="$CFLAGS -O0"
12643 CXXFLAGS="$CXXFLAGS -O0"
12645 FFLAGS="$FFLAGS -O0"
12647 CCASFLAGS="$CCASFLAGS -O0"
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&5
12650 $as_echo "$as_me: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&6;}
12653 if test x$enable_gcov = xyes; then
12654 GST_GCOV_ENABLED_TRUE=
12655 GST_GCOV_ENABLED_FALSE='#'
12657 GST_GCOV_ENABLED_TRUE='#'
12658 GST_GCOV_ENABLED_FALSE=
12664 # Check whether --with-pkg-config-path was given.
12665 if test "${with_pkg_config_path+set}" = set; then :
12666 withval=$with_pkg_config_path;
12667 export PKG_CONFIG_PATH=${withval}
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&5
12669 $as_echo "$as_me: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&6;}
12676 # Check whether --with-package-name was given.
12677 if test "${with_package_name+set}" = set; then :
12678 withval=$with_package_name;
12679 case "${withval}" in
12680 yes) as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5 ;;
12681 no) as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5 ;;
12682 *) GST_PACKAGE_NAME="${withval}" ;;
12688 if test "x$P" = "x"
12693 if test "x$PACKAGE_VERSION_NANO" = "x0"
12695 GST_PACKAGE_NAME="$P source release"
12697 if test "x$PACKAGE_VERSION_NANO" = "x1"
12699 GST_PACKAGE_NAME="$P git"
12701 GST_PACKAGE_NAME="$P prerelease"
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_NAME as package name" >&5
12709 $as_echo "$as_me: Using $GST_PACKAGE_NAME as package name" >&6;}
12711 cat >>confdefs.h <<_ACEOF
12712 #define GST_PACKAGE_NAME "$GST_PACKAGE_NAME"
12719 # Check whether --with-package-origin was given.
12720 if test "${with_package_origin+set}" = set; then :
12721 withval=$with_package_origin;
12722 case "${withval}" in
12723 yes) as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5 ;;
12724 no) as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5 ;;
12725 *) GST_PACKAGE_ORIGIN="${withval}" ;;
12729 GST_PACKAGE_ORIGIN="Unknown package origin"
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_ORIGIN as package origin" >&5
12733 $as_echo "$as_me: Using $GST_PACKAGE_ORIGIN as package origin" >&6;}
12735 cat >>confdefs.h <<_ACEOF
12736 #define GST_PACKAGE_ORIGIN "$GST_PACKAGE_ORIGIN"
12743 GST_PKG_CONFIG_PATH="\$(top_builddir)/pkgconfig"
12744 if test "x$PKG_CONFIG_PATH" != "x"; then
12745 GST_PKG_CONFIG_PATH="$GST_PKG_CONFIG_PATH:$PKG_CONFIG_PATH"
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: Using GST_PKG_CONFIG_PATH = $GST_PKG_CONFIG_PATH" >&5
12749 $as_echo "$as_me: Using GST_PKG_CONFIG_PATH = $GST_PKG_CONFIG_PATH" >&6;}
12753 if test "x$PACKAGE_VERSION_NANO" = "x0"; then
12755 if test "xyes" = "xno" -o "xyes" = "x"; then
12756 GST_PACKAGE_RELEASE_DATETIME=`date -u "+%Y-%m-%dT%H:%MZ"`
12757 elif test "xyes" = "xyes"; then
12758 if ( echo yes | grep '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
12759 GST_PACKAGE_RELEASE_DATETIME=yes
12761 YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file" $PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO "${srcdir}/gst-rtsp-server.doap" `;
12762 if test "x$YYYY_MM_DD" != "x"; then
12763 GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
12765 as_fn_error $? "SET_PACKAGE_RELEASE_DATETIME: could not extract
12766 release date for release version $PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO from \"${srcdir}/gst-rtsp-server.doap\" " "$LINENO" 5
12767 GST_PACKAGE_RELEASE_DATETIME=""
12770 elif ( echo yes | grep '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
12771 GST_PACKAGE_RELEASE_DATETIME=yes
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&5
12774 $as_echo "$as_me: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&2;}
12775 GST_PACKAGE_RELEASE_DATETIME=""
12778 if test "x$GST_PACKAGE_RELEASE_DATETIME" = "x"; then
12779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&5
12780 $as_echo "$as_me: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&2;}
12782 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&5
12783 $as_echo "$as_me: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&6;}
12786 cat >>confdefs.h <<_ACEOF
12787 #define GST_PACKAGE_RELEASE_DATETIME "$GST_PACKAGE_RELEASE_DATETIME"
12794 if test "xno" = "xno" -o "xno" = "x"; then
12795 GST_PACKAGE_RELEASE_DATETIME=`date -u "+%Y-%m-%dT%H:%MZ"`
12796 elif test "xno" = "xyes"; then
12797 if ( echo no | grep '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
12798 GST_PACKAGE_RELEASE_DATETIME=no
12800 YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file" `;
12801 if test "x$YYYY_MM_DD" != "x"; then
12802 GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
12804 as_fn_error $? "SET_PACKAGE_RELEASE_DATETIME: could not extract
12805 release date for release version from " "$LINENO" 5
12806 GST_PACKAGE_RELEASE_DATETIME=""
12809 elif ( echo no | grep '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
12810 GST_PACKAGE_RELEASE_DATETIME=no
12812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&5
12813 $as_echo "$as_me: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&2;}
12814 GST_PACKAGE_RELEASE_DATETIME=""
12817 if test "x$GST_PACKAGE_RELEASE_DATETIME" = "x"; then
12818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&5
12819 $as_echo "$as_me: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&2;}
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&5
12822 $as_echo "$as_me: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&6;}
12825 cat >>confdefs.h <<_ACEOF
12826 #define GST_PACKAGE_RELEASE_DATETIME "$GST_PACKAGE_RELEASE_DATETIME"
12834 # Check whether --enable-tests was given.
12835 if test "${enable_tests+set}" = set; then :
12836 enableval=$enable_tests;
12837 case "${enableval}" in
12838 yes) BUILD_TESTS=yes ;;
12839 no) BUILD_TESTS=no ;;
12840 *) as_fn_error $? "bad value ${enableval} for --disable-tests" "$LINENO" 5 ;;
12846 if test "x$BUILD_TESTS" = "xyes"; then
12848 BUILD_TESTS_FALSE='#'
12850 BUILD_TESTS_TRUE='#'
12859 ac_cpp='$CPP $CPPFLAGS'
12860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12863 if test -n "$ac_tool_prefix"; then
12864 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12865 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12867 $as_echo_n "checking for $ac_word... " >&6; }
12868 if ${ac_cv_prog_CC+:} false; then :
12869 $as_echo_n "(cached) " >&6
12871 if test -n "$CC"; then
12872 ac_cv_prog_CC="$CC" # Let the user override the test.
12874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12875 for as_dir in $PATH
12878 test -z "$as_dir" && as_dir=.
12879 for ac_exec_ext in '' $ac_executable_extensions; do
12880 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12881 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12892 if test -n "$CC"; then
12893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12894 $as_echo "$CC" >&6; }
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12897 $as_echo "no" >&6; }
12902 if test -z "$ac_cv_prog_CC"; then
12904 # Extract the first word of "gcc", so it can be a program name with args.
12905 set dummy gcc; ac_word=$2
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12907 $as_echo_n "checking for $ac_word... " >&6; }
12908 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12909 $as_echo_n "(cached) " >&6
12911 if test -n "$ac_ct_CC"; then
12912 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12915 for as_dir in $PATH
12918 test -z "$as_dir" && as_dir=.
12919 for ac_exec_ext in '' $ac_executable_extensions; do
12920 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12921 ac_cv_prog_ac_ct_CC="gcc"
12922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12931 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12932 if test -n "$ac_ct_CC"; then
12933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12934 $as_echo "$ac_ct_CC" >&6; }
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12937 $as_echo "no" >&6; }
12940 if test "x$ac_ct_CC" = x; then
12943 case $cross_compiling:$ac_tool_warned in
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12946 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12947 ac_tool_warned=yes ;;
12952 CC="$ac_cv_prog_CC"
12955 if test -z "$CC"; then
12956 if test -n "$ac_tool_prefix"; then
12957 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12958 set dummy ${ac_tool_prefix}cc; ac_word=$2
12959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12960 $as_echo_n "checking for $ac_word... " >&6; }
12961 if ${ac_cv_prog_CC+:} false; then :
12962 $as_echo_n "(cached) " >&6
12964 if test -n "$CC"; then
12965 ac_cv_prog_CC="$CC" # Let the user override the test.
12967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12968 for as_dir in $PATH
12971 test -z "$as_dir" && as_dir=.
12972 for ac_exec_ext in '' $ac_executable_extensions; do
12973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12974 ac_cv_prog_CC="${ac_tool_prefix}cc"
12975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12985 if test -n "$CC"; then
12986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12987 $as_echo "$CC" >&6; }
12989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12990 $as_echo "no" >&6; }
12996 if test -z "$CC"; then
12997 # Extract the first word of "cc", so it can be a program name with args.
12998 set dummy cc; ac_word=$2
12999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13000 $as_echo_n "checking for $ac_word... " >&6; }
13001 if ${ac_cv_prog_CC+:} false; then :
13002 $as_echo_n "(cached) " >&6
13004 if test -n "$CC"; then
13005 ac_cv_prog_CC="$CC" # Let the user override the test.
13007 ac_prog_rejected=no
13008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13009 for as_dir in $PATH
13012 test -z "$as_dir" && as_dir=.
13013 for ac_exec_ext in '' $ac_executable_extensions; do
13014 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13015 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13016 ac_prog_rejected=yes
13020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13027 if test $ac_prog_rejected = yes; then
13028 # We found a bogon in the path, so make sure we never use it.
13029 set dummy $ac_cv_prog_CC
13031 if test $# != 0; then
13032 # We chose a different compiler from the bogus one.
13033 # However, it has the same basename, so the bogon will be chosen
13034 # first if we set CC to just the basename; use the full file name.
13036 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13042 if test -n "$CC"; then
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13044 $as_echo "$CC" >&6; }
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13047 $as_echo "no" >&6; }
13052 if test -z "$CC"; then
13053 if test -n "$ac_tool_prefix"; then
13054 for ac_prog in cl.exe
13056 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13057 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13059 $as_echo_n "checking for $ac_word... " >&6; }
13060 if ${ac_cv_prog_CC+:} false; then :
13061 $as_echo_n "(cached) " >&6
13063 if test -n "$CC"; then
13064 ac_cv_prog_CC="$CC" # Let the user override the test.
13066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13067 for as_dir in $PATH
13070 test -z "$as_dir" && as_dir=.
13071 for ac_exec_ext in '' $ac_executable_extensions; do
13072 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13073 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13084 if test -n "$CC"; then
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13086 $as_echo "$CC" >&6; }
13088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13089 $as_echo "no" >&6; }
13093 test -n "$CC" && break
13096 if test -z "$CC"; then
13098 for ac_prog in cl.exe
13100 # Extract the first word of "$ac_prog", so it can be a program name with args.
13101 set dummy $ac_prog; ac_word=$2
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13103 $as_echo_n "checking for $ac_word... " >&6; }
13104 if ${ac_cv_prog_ac_ct_CC+:} false; then :
13105 $as_echo_n "(cached) " >&6
13107 if test -n "$ac_ct_CC"; then
13108 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13111 for as_dir in $PATH
13114 test -z "$as_dir" && as_dir=.
13115 for ac_exec_ext in '' $ac_executable_extensions; do
13116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13117 ac_cv_prog_ac_ct_CC="$ac_prog"
13118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13127 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13128 if test -n "$ac_ct_CC"; then
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13130 $as_echo "$ac_ct_CC" >&6; }
13132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13133 $as_echo "no" >&6; }
13137 test -n "$ac_ct_CC" && break
13140 if test "x$ac_ct_CC" = x; then
13143 case $cross_compiling:$ac_tool_warned in
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13146 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13147 ac_tool_warned=yes ;;
13156 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13157 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13158 as_fn_error $? "no acceptable C compiler found in \$PATH
13159 See \`config.log' for more details" "$LINENO" 5; }
13161 # Provide some information about the compiler.
13162 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
13165 for ac_option in --version -v -V -qversion; do
13166 { { ac_try="$ac_compiler $ac_option >&5"
13167 case "(($ac_try" in
13168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13169 *) ac_try_echo=$ac_try;;
13171 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13172 $as_echo "$ac_try_echo"; } >&5
13173 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13175 if test -s conftest.err; then
13177 ... rest of stderr output deleted ...
13178 10q' conftest.err >conftest.er1
13179 cat conftest.er1 >&5
13181 rm -f conftest.er1 conftest.err
13182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13183 test $ac_status = 0; }
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
13187 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13188 if ${ac_cv_c_compiler_gnu+:} false; then :
13189 $as_echo_n "(cached) " >&6
13191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13192 /* end confdefs.h. */
13205 if ac_fn_c_try_compile "$LINENO"; then :
13206 ac_compiler_gnu=yes
13210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13211 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
13215 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
13216 if test $ac_compiler_gnu = yes; then
13221 ac_test_CFLAGS=${CFLAGS+set}
13222 ac_save_CFLAGS=$CFLAGS
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13224 $as_echo_n "checking whether $CC accepts -g... " >&6; }
13225 if ${ac_cv_prog_cc_g+:} false; then :
13226 $as_echo_n "(cached) " >&6
13228 ac_save_c_werror_flag=$ac_c_werror_flag
13229 ac_c_werror_flag=yes
13232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13233 /* end confdefs.h. */
13243 if ac_fn_c_try_compile "$LINENO"; then :
13244 ac_cv_prog_cc_g=yes
13247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13248 /* end confdefs.h. */
13258 if ac_fn_c_try_compile "$LINENO"; then :
13261 ac_c_werror_flag=$ac_save_c_werror_flag
13263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13264 /* end confdefs.h. */
13274 if ac_fn_c_try_compile "$LINENO"; then :
13275 ac_cv_prog_cc_g=yes
13277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13282 ac_c_werror_flag=$ac_save_c_werror_flag
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13285 $as_echo "$ac_cv_prog_cc_g" >&6; }
13286 if test "$ac_test_CFLAGS" = set; then
13287 CFLAGS=$ac_save_CFLAGS
13288 elif test $ac_cv_prog_cc_g = yes; then
13289 if test "$GCC" = yes; then
13295 if test "$GCC" = yes; then
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13302 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13303 if ${ac_cv_prog_cc_c89+:} false; then :
13304 $as_echo_n "(cached) " >&6
13306 ac_cv_prog_cc_c89=no
13308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13309 /* end confdefs.h. */
13310 #include <stdarg.h>
13313 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13314 struct buf { int x; };
13315 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13316 static char *e (p, i)
13322 static char *f (char * (*g) (char **, int), char **p, ...)
13327 s = g (p, va_arg (v,int));
13332 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13333 function prototypes and stuff, but not '\xHH' hex character constants.
13334 These don't provoke an error unfortunately, instead are silently treated
13335 as 'x'. The following induces an error, until -std is added to get
13336 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13337 array size at least. It's necessary to write '\x00'==0 to get something
13338 that's true only with -std. */
13339 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13341 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13342 inside strings and character constants. */
13344 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13346 int test (int i, double x);
13347 struct s1 {int (*f) (int a);};
13348 struct s2 {int (*f) (double a);};
13349 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13355 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13360 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13361 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13363 CC="$ac_save_CC $ac_arg"
13364 if ac_fn_c_try_compile "$LINENO"; then :
13365 ac_cv_prog_cc_c89=$ac_arg
13367 rm -f core conftest.err conftest.$ac_objext
13368 test "x$ac_cv_prog_cc_c89" != "xno" && break
13370 rm -f conftest.$ac_ext
13375 case "x$ac_cv_prog_cc_c89" in
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13378 $as_echo "none needed" >&6; } ;;
13380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13381 $as_echo "unsupported" >&6; } ;;
13383 CC="$CC $ac_cv_prog_cc_c89"
13384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13385 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13387 if test "x$ac_cv_prog_cc_c89" != xno; then :
13392 ac_cpp='$CPP $CPPFLAGS'
13393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13398 ac_cpp='$CPP $CPPFLAGS'
13399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
13403 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
13404 if ${am_cv_prog_cc_c_o+:} false; then :
13405 $as_echo_n "(cached) " >&6
13407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13408 /* end confdefs.h. */
13418 # Make sure it works both with $CC and with simple cc.
13419 # Following AC_PROG_CC_C_O, we do the test twice because some
13420 # compilers refuse to overwrite an existing .o file with -o,
13421 # though they will create one.
13422 am_cv_prog_cc_c_o=yes
13423 for am_i in 1 2; do
13424 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
13425 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
13427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13428 (exit $ac_status); } \
13429 && test -f conftest2.$ac_objext; then
13432 am_cv_prog_cc_c_o=no
13436 rm -f core conftest*
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
13440 $as_echo "$am_cv_prog_cc_c_o" >&6; }
13441 if test "$am_cv_prog_cc_c_o" != yes; then
13442 # Losing compiler, so override with the script.
13443 # FIXME: It is wrong to rewrite CC.
13444 # But if we don't then we get into trouble of one sort or another.
13445 # A longer-term fix would be to have automake use am__CC in this case,
13446 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
13447 CC="$am_aux_dir/compile $CC"
13450 ac_cpp='$CPP $CPPFLAGS'
13451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13456 depcc="$CC" am_compiler_list=
13458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13459 $as_echo_n "checking dependency style of $depcc... " >&6; }
13460 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
13461 $as_echo_n "(cached) " >&6
13463 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13464 # We make a subdir and do the tests there. Otherwise we can end up
13465 # making bogus files that we don't know about and never remove. For
13466 # instance it was reported that on HP-UX the gcc test will end up
13467 # making a dummy file named 'D' -- because '-MD' means "put the output
13469 rm -rf conftest.dir
13471 # Copy depcomp to subdir because otherwise we won't find it if we're
13472 # using a relative directory.
13473 cp "$am_depcomp" conftest.dir
13475 # We will build objects and dependencies in a subdirectory because
13476 # it helps to detect inapplicable dependency modes. For instance
13477 # both Tru64's cc and ICC support -MD to output dependencies as a
13478 # side effect of compilation, but ICC will put the dependencies in
13479 # the current directory while Tru64 will put them in the object
13483 am_cv_CC_dependencies_compiler_type=none
13484 if test "$am_compiler_list" = ""; then
13485 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13487 am__universal=false
13488 case " $depcc " in #(
13489 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13492 for depmode in $am_compiler_list; do
13493 # Setup a source with many dependencies, because some compilers
13494 # like to wrap large dependency lists on column 80 (with \), and
13495 # we should not choose a depcomp mode which is confused by this.
13497 # We need to recreate these files for each test, as the compiler may
13498 # overwrite some of them when testing with obscure command lines.
13499 # This happens at least with the AIX C compiler.
13501 for i in 1 2 3 4 5 6; do
13502 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13503 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
13504 # Solaris 10 /bin/sh.
13505 echo '/* dummy */' > sub/conftst$i.h
13507 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13509 # We check with '-c' and '-o' for the sake of the "dashmstdout"
13510 # mode. It turns out that the SunPro C++ compiler does not properly
13511 # handle '-M -o', and we need to detect this. Also, some Intel
13512 # versions had trouble with output in subdirs.
13513 am__obj=sub/conftest.${OBJEXT-o}
13514 am__minus_obj="-o $am__obj"
13517 # This depmode causes a compiler race in universal mode.
13518 test "$am__universal" = false || continue
13521 # After this tag, mechanisms are not by side-effect, so they'll
13522 # only be used when explicitly requested.
13523 if test "x$enable_dependency_tracking" = xyes; then
13529 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13530 # This compiler won't grok '-c -o', but also, the minuso test has
13531 # not run yet. These depmodes are late enough in the game, and
13532 # so weak that their functioning should not be impacted.
13533 am__obj=conftest.${OBJEXT-o}
13538 if depmode=$depmode \
13539 source=sub/conftest.c object=$am__obj \
13540 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13541 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13542 >/dev/null 2>conftest.err &&
13543 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13544 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13545 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13546 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13547 # icc doesn't choke on unknown options, it will just issue warnings
13548 # or remarks (even with -Werror). So we grep stderr for any message
13549 # that says an option was ignored or not supported.
13550 # When given -MP, icc 7.0 and 7.1 complain thusly:
13551 # icc: Command line warning: ignoring option '-M'; no argument required
13552 # The diagnosis changed in icc 8.0:
13553 # icc: Command line remark: option '-MP' not supported
13554 if (grep 'ignoring option' conftest.err ||
13555 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13556 am_cv_CC_dependencies_compiler_type=$depmode
13563 rm -rf conftest.dir
13565 am_cv_CC_dependencies_compiler_type=none
13569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13570 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13571 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13574 test "x$enable_dependency_tracking" != xno \
13575 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13576 am__fastdepCC_TRUE=
13577 am__fastdepCC_FALSE='#'
13579 am__fastdepCC_TRUE='#'
13580 am__fastdepCC_FALSE=
13584 case $ac_cv_prog_cc_stdc in #(
13586 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
13589 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
13590 if ${ac_cv_prog_cc_c99+:} false; then :
13591 $as_echo_n "(cached) " >&6
13593 ac_cv_prog_cc_c99=no
13595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13596 /* end confdefs.h. */
13597 #include <stdarg.h>
13598 #include <stdbool.h>
13599 #include <stdlib.h>
13603 // Check varargs macros. These examples are taken from C99 6.10.3.5.
13604 #define debug(...) fprintf (stderr, __VA_ARGS__)
13605 #define showlist(...) puts (#__VA_ARGS__)
13606 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
13608 test_varargs_macros (void)
13613 debug ("X = %d\n", x);
13614 showlist (The first, second, and third items.);
13615 report (x>y, "x is %d but y is %d", x, y);
13618 // Check long long types.
13619 #define BIG64 18446744073709551615ull
13620 #define BIG32 4294967295ul
13621 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
13623 your preprocessor is broken;
13627 your preprocessor is broken;
13629 static long long int bignum = -9223372036854775807LL;
13630 static unsigned long long int ubignum = BIG64;
13632 struct incomplete_array
13638 struct named_init {
13640 const wchar_t *name;
13644 typedef const char *ccp;
13647 test_restrict (ccp restrict text)
13649 // See if C++-style comments work.
13650 // Iterate through items via the restricted pointer.
13651 // Also check for declarations in for loops.
13652 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
13657 // Check varargs and va_copy.
13659 test_varargs (const char *format, ...)
13662 va_start (args, format);
13664 va_copy (args_copy, args);
13674 case 's': // string
13675 str = va_arg (args_copy, const char *);
13678 number = va_arg (args_copy, int);
13681 fnumber = va_arg (args_copy, double);
13687 va_end (args_copy);
13696 _Bool success = false;
13699 if (test_restrict ("String literal") == 0)
13701 char *restrict newvar = "Another string";
13704 test_varargs ("s, d' f .", "string", 65, 34.234);
13705 test_varargs_macros ();
13707 // Check flexible array members.
13708 struct incomplete_array *ia =
13709 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
13711 for (int i = 0; i < ia->datasize; ++i)
13712 ia->data[i] = i * 1.234;
13714 // Check named initializers.
13715 struct named_init ni = {
13717 .name = L"Test wide string",
13718 .average = 543.34343,
13723 int dynamic_array[ni.number];
13724 dynamic_array[ni.number - 1] = 543;
13726 // work around unused variable warnings
13727 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
13728 || dynamic_array[ni.number - 1] != 543);
13734 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
13736 CC="$ac_save_CC $ac_arg"
13737 if ac_fn_c_try_compile "$LINENO"; then :
13738 ac_cv_prog_cc_c99=$ac_arg
13740 rm -f core conftest.err conftest.$ac_objext
13741 test "x$ac_cv_prog_cc_c99" != "xno" && break
13743 rm -f conftest.$ac_ext
13748 case "x$ac_cv_prog_cc_c99" in
13750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13751 $as_echo "none needed" >&6; } ;;
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13754 $as_echo "unsupported" >&6; } ;;
13756 CC="$CC $ac_cv_prog_cc_c99"
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
13758 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
13760 if test "x$ac_cv_prog_cc_c99" != xno; then :
13761 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13764 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13765 if ${ac_cv_prog_cc_c89+:} false; then :
13766 $as_echo_n "(cached) " >&6
13768 ac_cv_prog_cc_c89=no
13770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13771 /* end confdefs.h. */
13772 #include <stdarg.h>
13775 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13776 struct buf { int x; };
13777 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13778 static char *e (p, i)
13784 static char *f (char * (*g) (char **, int), char **p, ...)
13789 s = g (p, va_arg (v,int));
13794 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13795 function prototypes and stuff, but not '\xHH' hex character constants.
13796 These don't provoke an error unfortunately, instead are silently treated
13797 as 'x'. The following induces an error, until -std is added to get
13798 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13799 array size at least. It's necessary to write '\x00'==0 to get something
13800 that's true only with -std. */
13801 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13803 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13804 inside strings and character constants. */
13806 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13808 int test (int i, double x);
13809 struct s1 {int (*f) (int a);};
13810 struct s2 {int (*f) (double a);};
13811 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13817 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13822 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13823 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13825 CC="$ac_save_CC $ac_arg"
13826 if ac_fn_c_try_compile "$LINENO"; then :
13827 ac_cv_prog_cc_c89=$ac_arg
13829 rm -f core conftest.err conftest.$ac_objext
13830 test "x$ac_cv_prog_cc_c89" != "xno" && break
13832 rm -f conftest.$ac_ext
13837 case "x$ac_cv_prog_cc_c89" in
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13840 $as_echo "none needed" >&6; } ;;
13842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13843 $as_echo "unsupported" >&6; } ;;
13845 CC="$CC $ac_cv_prog_cc_c89"
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13847 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13849 if test "x$ac_cv_prog_cc_c89" != xno; then :
13850 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
13852 ac_cv_prog_cc_stdc=no
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
13859 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
13860 if ${ac_cv_prog_cc_stdc+:} false; then :
13861 $as_echo_n "(cached) " >&6
13864 case $ac_cv_prog_cc_stdc in #(
13866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13867 $as_echo "unsupported" >&6; } ;; #(
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13870 $as_echo "none needed" >&6; } ;; #(
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
13873 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
13879 # By default we simply use the C compiler to build assembly code.
13881 test "${CCAS+set}" = set || CCAS=$CC
13882 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
13886 depcc="$CCAS" am_compiler_list=
13888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13889 $as_echo_n "checking dependency style of $depcc... " >&6; }
13890 if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
13891 $as_echo_n "(cached) " >&6
13893 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13894 # We make a subdir and do the tests there. Otherwise we can end up
13895 # making bogus files that we don't know about and never remove. For
13896 # instance it was reported that on HP-UX the gcc test will end up
13897 # making a dummy file named 'D' -- because '-MD' means "put the output
13899 rm -rf conftest.dir
13901 # Copy depcomp to subdir because otherwise we won't find it if we're
13902 # using a relative directory.
13903 cp "$am_depcomp" conftest.dir
13905 # We will build objects and dependencies in a subdirectory because
13906 # it helps to detect inapplicable dependency modes. For instance
13907 # both Tru64's cc and ICC support -MD to output dependencies as a
13908 # side effect of compilation, but ICC will put the dependencies in
13909 # the current directory while Tru64 will put them in the object
13913 am_cv_CCAS_dependencies_compiler_type=none
13914 if test "$am_compiler_list" = ""; then
13915 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13917 am__universal=false
13920 for depmode in $am_compiler_list; do
13921 # Setup a source with many dependencies, because some compilers
13922 # like to wrap large dependency lists on column 80 (with \), and
13923 # we should not choose a depcomp mode which is confused by this.
13925 # We need to recreate these files for each test, as the compiler may
13926 # overwrite some of them when testing with obscure command lines.
13927 # This happens at least with the AIX C compiler.
13929 for i in 1 2 3 4 5 6; do
13930 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13931 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
13932 # Solaris 10 /bin/sh.
13933 echo '/* dummy */' > sub/conftst$i.h
13935 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13937 # We check with '-c' and '-o' for the sake of the "dashmstdout"
13938 # mode. It turns out that the SunPro C++ compiler does not properly
13939 # handle '-M -o', and we need to detect this. Also, some Intel
13940 # versions had trouble with output in subdirs.
13941 am__obj=sub/conftest.${OBJEXT-o}
13942 am__minus_obj="-o $am__obj"
13945 # This depmode causes a compiler race in universal mode.
13946 test "$am__universal" = false || continue
13949 # After this tag, mechanisms are not by side-effect, so they'll
13950 # only be used when explicitly requested.
13951 if test "x$enable_dependency_tracking" = xyes; then
13957 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13958 # This compiler won't grok '-c -o', but also, the minuso test has
13959 # not run yet. These depmodes are late enough in the game, and
13960 # so weak that their functioning should not be impacted.
13961 am__obj=conftest.${OBJEXT-o}
13966 if depmode=$depmode \
13967 source=sub/conftest.c object=$am__obj \
13968 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13969 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13970 >/dev/null 2>conftest.err &&
13971 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13972 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13973 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13974 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13975 # icc doesn't choke on unknown options, it will just issue warnings
13976 # or remarks (even with -Werror). So we grep stderr for any message
13977 # that says an option was ignored or not supported.
13978 # When given -MP, icc 7.0 and 7.1 complain thusly:
13979 # icc: Command line warning: ignoring option '-M'; no argument required
13980 # The diagnosis changed in icc 8.0:
13981 # icc: Command line remark: option '-MP' not supported
13982 if (grep 'ignoring option' conftest.err ||
13983 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13984 am_cv_CCAS_dependencies_compiler_type=$depmode
13991 rm -rf conftest.dir
13993 am_cv_CCAS_dependencies_compiler_type=none
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
13998 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
13999 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
14002 test "x$enable_dependency_tracking" != xno \
14003 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
14004 am__fastdepCCAS_TRUE=
14005 am__fastdepCCAS_FALSE='#'
14007 am__fastdepCCAS_TRUE='#'
14008 am__fastdepCCAS_FALSE=
14013 # Extract the first word of "valgrind", so it can be a program name with args.
14014 set dummy valgrind; ac_word=$2
14015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14016 $as_echo_n "checking for $ac_word... " >&6; }
14017 if ${ac_cv_path_VALGRIND_PATH+:} false; then :
14018 $as_echo_n "(cached) " >&6
14020 case $VALGRIND_PATH in
14022 ac_cv_path_VALGRIND_PATH="$VALGRIND_PATH" # Let the user override the test with a path.
14025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14026 for as_dir in $PATH
14029 test -z "$as_dir" && as_dir=.
14030 for ac_exec_ext in '' $ac_executable_extensions; do
14031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14032 ac_cv_path_VALGRIND_PATH="$as_dir/$ac_word$ac_exec_ext"
14033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14040 test -z "$ac_cv_path_VALGRIND_PATH" && ac_cv_path_VALGRIND_PATH="no"
14044 VALGRIND_PATH=$ac_cv_path_VALGRIND_PATH
14045 if test -n "$VALGRIND_PATH"; then
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND_PATH" >&5
14047 $as_echo "$VALGRIND_PATH" >&6; }
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14050 $as_echo "no" >&6; }
14054 if test ! "x$VALGRIND_PATH" = "xno"; then
14055 HAVE_VALGRIND_TRUE=
14056 HAVE_VALGRIND_FALSE='#'
14058 HAVE_VALGRIND_TRUE='#'
14059 HAVE_VALGRIND_FALSE=
14066 # Check whether --enable-introspection was given.
14067 if test "${enable_introspection+set}" = set; then :
14068 enableval=$enable_introspection;
14070 enable_introspection=auto
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
14075 $as_echo_n "checking for gobject-introspection... " >&6; }
14077 case $enable_introspection in #(
14079 found_introspection="no (disabled, use --enable-introspection to enable)"
14082 if test -n "$PKG_CONFIG" && \
14083 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
14084 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
14086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14087 test $ac_status = 0; }; then
14090 as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
14092 if test -n "$PKG_CONFIG" && \
14093 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.31.1\""; } >&5
14094 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.31.1") 2>&5
14096 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14097 test $ac_status = 0; }; then
14098 found_introspection=yes
14100 as_fn_error $? "You need to have gobject-introspection >= 1.31.1 installed to build GStreamer RTSP Server Library" "$LINENO" 5
14104 if test -n "$PKG_CONFIG" && \
14105 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.31.1\""; } >&5
14106 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.31.1") 2>&5
14108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14109 test $ac_status = 0; }; then
14110 found_introspection=yes
14112 found_introspection=no
14116 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
14120 $as_echo "$found_introspection" >&6; }
14122 INTROSPECTION_SCANNER=
14123 INTROSPECTION_COMPILER=
14124 INTROSPECTION_GENERATE=
14125 INTROSPECTION_GIRDIR=
14126 INTROSPECTION_TYPELIBDIR=
14127 if test "x$found_introspection" = "xyes"; then
14128 INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
14129 INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
14130 INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
14131 INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
14132 INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
14133 INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
14134 INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
14135 INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
14146 if test "x$found_introspection" = "xyes"; then
14147 HAVE_INTROSPECTION_TRUE=
14148 HAVE_INTROSPECTION_FALSE='#'
14150 HAVE_INTROSPECTION_TRUE='#'
14151 HAVE_INTROSPECTION_FALSE=
14158 if test "x$PACKAGE_TARNAME" = "x"
14160 as_fn_error $? "Internal error - PACKAGE_TARNAME not set" "$LINENO" 5
14162 docdir="\$(datadir)/doc/$PACKAGE_TARNAME-$GST_API_VERSION"
14164 # Check whether --enable-docbook was given.
14165 if test "${enable_docbook+set}" = set; then :
14166 enableval=$enable_docbook;
14174 if test x$enable_docbook = xyes; then
14176 # Extract the first word of "docbook2ps", so it can be a program name with args.
14177 set dummy docbook2ps; ac_word=$2
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14179 $as_echo_n "checking for $ac_word... " >&6; }
14180 if ${ac_cv_prog_HAVE_DOCBOOK2PS+:} false; then :
14181 $as_echo_n "(cached) " >&6
14183 if test -n "$HAVE_DOCBOOK2PS"; then
14184 ac_cv_prog_HAVE_DOCBOOK2PS="$HAVE_DOCBOOK2PS" # Let the user override the test.
14186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14187 for as_dir in $PATH
14190 test -z "$as_dir" && as_dir=.
14191 for ac_exec_ext in '' $ac_executable_extensions; do
14192 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14193 ac_cv_prog_HAVE_DOCBOOK2PS="yes"
14194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14201 test -z "$ac_cv_prog_HAVE_DOCBOOK2PS" && ac_cv_prog_HAVE_DOCBOOK2PS="no"
14204 HAVE_DOCBOOK2PS=$ac_cv_prog_HAVE_DOCBOOK2PS
14205 if test -n "$HAVE_DOCBOOK2PS"; then
14206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DOCBOOK2PS" >&5
14207 $as_echo "$HAVE_DOCBOOK2PS" >&6; }
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14210 $as_echo "no" >&6; }
14214 # Extract the first word of "xsltproc", so it can be a program name with args.
14215 set dummy xsltproc; ac_word=$2
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14217 $as_echo_n "checking for $ac_word... " >&6; }
14218 if ${ac_cv_prog_HAVE_XSLTPROC+:} false; then :
14219 $as_echo_n "(cached) " >&6
14221 if test -n "$HAVE_XSLTPROC"; then
14222 ac_cv_prog_HAVE_XSLTPROC="$HAVE_XSLTPROC" # Let the user override the test.
14224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14225 for as_dir in $PATH
14228 test -z "$as_dir" && as_dir=.
14229 for ac_exec_ext in '' $ac_executable_extensions; do
14230 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14231 ac_cv_prog_HAVE_XSLTPROC="yes"
14232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14239 test -z "$ac_cv_prog_HAVE_XSLTPROC" && ac_cv_prog_HAVE_XSLTPROC="no"
14242 HAVE_XSLTPROC=$ac_cv_prog_HAVE_XSLTPROC
14243 if test -n "$HAVE_XSLTPROC"; then
14244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_XSLTPROC" >&5
14245 $as_echo "$HAVE_XSLTPROC" >&6; }
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14248 $as_echo "no" >&6; }
14252 # Extract the first word of "jadetex", so it can be a program name with args.
14253 set dummy jadetex; ac_word=$2
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14255 $as_echo_n "checking for $ac_word... " >&6; }
14256 if ${ac_cv_prog_HAVE_JADETEX+:} false; then :
14257 $as_echo_n "(cached) " >&6
14259 if test -n "$HAVE_JADETEX"; then
14260 ac_cv_prog_HAVE_JADETEX="$HAVE_JADETEX" # Let the user override the test.
14262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14263 for as_dir in $PATH
14266 test -z "$as_dir" && as_dir=.
14267 for ac_exec_ext in '' $ac_executable_extensions; do
14268 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14269 ac_cv_prog_HAVE_JADETEX="yes"
14270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14277 test -z "$ac_cv_prog_HAVE_JADETEX" && ac_cv_prog_HAVE_JADETEX="no"
14280 HAVE_JADETEX=$ac_cv_prog_HAVE_JADETEX
14281 if test -n "$HAVE_JADETEX"; then
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_JADETEX" >&5
14283 $as_echo "$HAVE_JADETEX" >&6; }
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14286 $as_echo "no" >&6; }
14290 # Extract the first word of "ps2pdf", so it can be a program name with args.
14291 set dummy ps2pdf; ac_word=$2
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14293 $as_echo_n "checking for $ac_word... " >&6; }
14294 if ${ac_cv_prog_HAVE_PS2PDF+:} false; then :
14295 $as_echo_n "(cached) " >&6
14297 if test -n "$HAVE_PS2PDF"; then
14298 ac_cv_prog_HAVE_PS2PDF="$HAVE_PS2PDF" # Let the user override the test.
14300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14301 for as_dir in $PATH
14304 test -z "$as_dir" && as_dir=.
14305 for ac_exec_ext in '' $ac_executable_extensions; do
14306 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14307 ac_cv_prog_HAVE_PS2PDF="yes"
14308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14315 test -z "$ac_cv_prog_HAVE_PS2PDF" && ac_cv_prog_HAVE_PS2PDF="no"
14318 HAVE_PS2PDF=$ac_cv_prog_HAVE_PS2PDF
14319 if test -n "$HAVE_PS2PDF"; then
14320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PS2PDF" >&5
14321 $as_echo "$HAVE_PS2PDF" >&6; }
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14324 $as_echo "no" >&6; }
14330 XSLTPROC_FLAGS=--nonet
14334 DOCBOOK_VERSION=4.1.2
14336 if test -n "$XML_CATALOG_FILES"; then
14339 for xml_catalog_file in $XML_CATALOG_FILES; do
14340 if test -f $xml_catalog_file; then
14341 XML_CATALOG=$xml_catalog_file
14342 CAT_ENTRY_START='<!--'
14343 CAT_ENTRY_END='-->'
14348 elif test ! -f /etc/xml/catalog; then
14349 for i in /usr/share/sgml/docbook/stylesheet/xsl/nwalsh /usr/share/sgml/docbook/xsl-stylesheets/ /usr/local/share/xsl/docbook ;
14351 if test -d "$i"; then
14356 XML_CATALOG=/etc/xml/catalog
14357 CAT_ENTRY_START='<!--'
14358 CAT_ENTRY_END='-->'
14361 # Extract the first word of "xsltproc", so it can be a program name with args.
14362 set dummy xsltproc; ac_word=$2
14363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14364 $as_echo_n "checking for $ac_word... " >&6; }
14365 if ${ac_cv_prog_XSLTPROC+:} false; then :
14366 $as_echo_n "(cached) " >&6
14368 if test -n "$XSLTPROC"; then
14369 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
14371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14372 for as_dir in $PATH
14375 test -z "$as_dir" && as_dir=.
14376 for ac_exec_ext in '' $ac_executable_extensions; do
14377 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14378 ac_cv_prog_XSLTPROC="xsltproc"
14379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14388 XSLTPROC=$ac_cv_prog_XSLTPROC
14389 if test -n "$XSLTPROC"; then
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
14391 $as_echo "$XSLTPROC" >&6; }
14393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14394 $as_echo "no" >&6; }
14399 if test -n "$XSLTPROC"; then
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether xsltproc docbook processing works" >&5
14401 $as_echo_n "checking whether xsltproc docbook processing works... " >&6; }
14403 if test -n "$XML_CATALOG"; then
14404 DB_FILE="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"
14406 DB_FILE="$DOCBOOK_ROOT/xhtml/docbook.xsl"
14408 $XSLTPROC $XSLTPROC_FLAGS $DB_FILE >/dev/null 2>&1 << END
14409 <?xml version="1.0" encoding='ISO-8859-1'?>
14410 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook $TYPE_UC V$DOCBOOK_VERSION//EN" "http://www.oasis-open.org/docbook/$TYPE_LC/$DOCBOOK_VERSION/docbookx.dtd">
14414 if test "$?" = 0; then
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC_WORKS" >&5
14418 $as_echo "$XSLTPROC_WORKS" >&6; }
14421 if test "x$XSLTPROC_WORKS" = "xyes"; then
14434 # Extract the first word of "dvips", so it can be a program name with args.
14435 set dummy dvips; ac_word=$2
14436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14437 $as_echo_n "checking for $ac_word... " >&6; }
14438 if ${ac_cv_prog_HAVE_DVIPS+:} false; then :
14439 $as_echo_n "(cached) " >&6
14441 if test -n "$HAVE_DVIPS"; then
14442 ac_cv_prog_HAVE_DVIPS="$HAVE_DVIPS" # Let the user override the test.
14444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14445 for as_dir in $PATH
14448 test -z "$as_dir" && as_dir=.
14449 for ac_exec_ext in '' $ac_executable_extensions; do
14450 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14451 ac_cv_prog_HAVE_DVIPS="yes"
14452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14459 test -z "$ac_cv_prog_HAVE_DVIPS" && ac_cv_prog_HAVE_DVIPS="no"
14462 HAVE_DVIPS=$ac_cv_prog_HAVE_DVIPS
14463 if test -n "$HAVE_DVIPS"; then
14464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DVIPS" >&5
14465 $as_echo "$HAVE_DVIPS" >&6; }
14467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14468 $as_echo "no" >&6; }
14472 # Extract the first word of "xmllint", so it can be a program name with args.
14473 set dummy xmllint; ac_word=$2
14474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14475 $as_echo_n "checking for $ac_word... " >&6; }
14476 if ${ac_cv_prog_HAVE_XMLLINT+:} false; then :
14477 $as_echo_n "(cached) " >&6
14479 if test -n "$HAVE_XMLLINT"; then
14480 ac_cv_prog_HAVE_XMLLINT="$HAVE_XMLLINT" # Let the user override the test.
14482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14483 for as_dir in $PATH
14486 test -z "$as_dir" && as_dir=.
14487 for ac_exec_ext in '' $ac_executable_extensions; do
14488 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14489 ac_cv_prog_HAVE_XMLLINT="yes"
14490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14497 test -z "$ac_cv_prog_HAVE_XMLLINT" && ac_cv_prog_HAVE_XMLLINT="no"
14500 HAVE_XMLLINT=$ac_cv_prog_HAVE_XMLLINT
14501 if test -n "$HAVE_XMLLINT"; then
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_XMLLINT" >&5
14503 $as_echo "$HAVE_XMLLINT" >&6; }
14505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14506 $as_echo "no" >&6; }
14511 # Extract the first word of "pngtopnm", so it can be a program name with args.
14512 set dummy pngtopnm; ac_word=$2
14513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14514 $as_echo_n "checking for $ac_word... " >&6; }
14515 if ${ac_cv_prog_HAVE_PNGTOPNM+:} false; then :
14516 $as_echo_n "(cached) " >&6
14518 if test -n "$HAVE_PNGTOPNM"; then
14519 ac_cv_prog_HAVE_PNGTOPNM="$HAVE_PNGTOPNM" # Let the user override the test.
14521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14522 for as_dir in $PATH
14525 test -z "$as_dir" && as_dir=.
14526 for ac_exec_ext in '' $ac_executable_extensions; do
14527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14528 ac_cv_prog_HAVE_PNGTOPNM="yes"
14529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14536 test -z "$ac_cv_prog_HAVE_PNGTOPNM" && ac_cv_prog_HAVE_PNGTOPNM="no"
14539 HAVE_PNGTOPNM=$ac_cv_prog_HAVE_PNGTOPNM
14540 if test -n "$HAVE_PNGTOPNM"; then
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PNGTOPNM" >&5
14542 $as_echo "$HAVE_PNGTOPNM" >&6; }
14544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14545 $as_echo "no" >&6; }
14549 # Extract the first word of "pnmtops", so it can be a program name with args.
14550 set dummy pnmtops; ac_word=$2
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14552 $as_echo_n "checking for $ac_word... " >&6; }
14553 if ${ac_cv_prog_HAVE_PNMTOPS+:} false; then :
14554 $as_echo_n "(cached) " >&6
14556 if test -n "$HAVE_PNMTOPS"; then
14557 ac_cv_prog_HAVE_PNMTOPS="$HAVE_PNMTOPS" # Let the user override the test.
14559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14560 for as_dir in $PATH
14563 test -z "$as_dir" && as_dir=.
14564 for ac_exec_ext in '' $ac_executable_extensions; do
14565 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14566 ac_cv_prog_HAVE_PNMTOPS="yes"
14567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14574 test -z "$ac_cv_prog_HAVE_PNMTOPS" && ac_cv_prog_HAVE_PNMTOPS="no"
14577 HAVE_PNMTOPS=$ac_cv_prog_HAVE_PNMTOPS
14578 if test -n "$HAVE_PNMTOPS"; then
14579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PNMTOPS" >&5
14580 $as_echo "$HAVE_PNMTOPS" >&6; }
14582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14583 $as_echo "no" >&6; }
14587 # Extract the first word of "epstopdf", so it can be a program name with args.
14588 set dummy epstopdf; ac_word=$2
14589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14590 $as_echo_n "checking for $ac_word... " >&6; }
14591 if ${ac_cv_prog_HAVE_EPSTOPDF+:} false; then :
14592 $as_echo_n "(cached) " >&6
14594 if test -n "$HAVE_EPSTOPDF"; then
14595 ac_cv_prog_HAVE_EPSTOPDF="$HAVE_EPSTOPDF" # Let the user override the test.
14597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14598 for as_dir in $PATH
14601 test -z "$as_dir" && as_dir=.
14602 for ac_exec_ext in '' $ac_executable_extensions; do
14603 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14604 ac_cv_prog_HAVE_EPSTOPDF="yes"
14605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14612 test -z "$ac_cv_prog_HAVE_EPSTOPDF" && ac_cv_prog_HAVE_EPSTOPDF="no"
14615 HAVE_EPSTOPDF=$ac_cv_prog_HAVE_EPSTOPDF
14616 if test -n "$HAVE_EPSTOPDF"; then
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_EPSTOPDF" >&5
14618 $as_echo "$HAVE_EPSTOPDF" >&6; }
14620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14621 $as_echo "no" >&6; }
14626 if test "x$HAVE_XSLTPROC" = "xyes" && \
14627 test "x$enable_docbook" = "xyes" && \
14628 test "x$HAVE_XMLLINT" = "xyes"; then
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: Will output HTML documentation" >&5
14631 $as_echo "$as_me: Will output HTML documentation" >&6;}
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: Will not output HTML documentation" >&5
14635 $as_echo "$as_me: Will not output HTML documentation" >&6;}
14638 if test "x$HAVE_DOCBOOK2PS" = "xyes" && \
14639 test "x$enable_docbook" = "xyes" && \
14640 test "x$HAVE_XMLLINT" = "xyes" && \
14641 test "x$HAVE_JADETEX" = "xyes" && \
14642 test "x$HAVE_DVIPS" = "xyes" && \
14643 test "x$HAVE_PNGTOPNM" = "xyes" && \
14644 test "x$HAVE_PNMTOPS" = "xyes"; then
14646 { $as_echo "$as_me:${as_lineno-$LINENO}: Will output PS documentation" >&5
14647 $as_echo "$as_me: Will output PS documentation" >&6;}
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: Will not output PS documentation" >&5
14651 $as_echo "$as_me: Will not output PS documentation" >&6;}
14654 if test "x$DOC_PS" = "xyes" && \
14655 test "x$enable_docbook" = "xyes" && \
14656 test "x$HAVE_XMLLINT" = "xyes" && \
14657 test "x$HAVE_PS2PDF" = "xyes"; then
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: Will output PDF documentation" >&5
14660 $as_echo "$as_me: Will output PDF documentation" >&6;}
14663 { $as_echo "$as_me:${as_lineno-$LINENO}: Will not output PDF documentation" >&5
14664 $as_echo "$as_me: Will not output PDF documentation" >&6;}
14667 if test "x$have_docbook" != "xyes"; then
14672 if test "x$have_docbook" = "xyes"; then
14673 { $as_echo "$as_me:${as_lineno-$LINENO}: Installing documentation in $docdir" >&5
14674 $as_echo "$as_me: Installing documentation in $docdir" >&6;}
14678 if test x$enable_docbook = xyes; then
14679 ENABLE_DOCBOOK_TRUE=
14680 ENABLE_DOCBOOK_FALSE='#'
14682 ENABLE_DOCBOOK_TRUE='#'
14683 ENABLE_DOCBOOK_FALSE=
14686 if test x$DOC_HTML = xyes; then
14694 if test x$DOC_PDF = xyes; then
14702 if test x$DOC_PS = xyes; then
14714 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
14715 set dummy gtkdoc-check; ac_word=$2
14716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14717 $as_echo_n "checking for $ac_word... " >&6; }
14718 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
14719 $as_echo_n "(cached) " >&6
14721 case $GTKDOC_CHECK in
14723 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
14726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14727 for as_dir in $PATH
14730 test -z "$as_dir" && as_dir=.
14731 for ac_exec_ext in '' $ac_executable_extensions; do
14732 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14733 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
14734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14744 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
14745 if test -n "$GTKDOC_CHECK"; then
14746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
14747 $as_echo "$GTKDOC_CHECK" >&6; }
14749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14750 $as_echo "no" >&6; }
14754 for ac_prog in gtkdoc-rebase
14756 # Extract the first word of "$ac_prog", so it can be a program name with args.
14757 set dummy $ac_prog; ac_word=$2
14758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14759 $as_echo_n "checking for $ac_word... " >&6; }
14760 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
14761 $as_echo_n "(cached) " >&6
14763 case $GTKDOC_REBASE in
14765 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
14768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14769 for as_dir in $PATH
14772 test -z "$as_dir" && as_dir=.
14773 for ac_exec_ext in '' $ac_executable_extensions; do
14774 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14775 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
14776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14786 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
14787 if test -n "$GTKDOC_REBASE"; then
14788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
14789 $as_echo "$GTKDOC_REBASE" >&6; }
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14792 $as_echo "no" >&6; }
14796 test -n "$GTKDOC_REBASE" && break
14798 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
14800 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
14801 set dummy gtkdoc-mkpdf; ac_word=$2
14802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14803 $as_echo_n "checking for $ac_word... " >&6; }
14804 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
14805 $as_echo_n "(cached) " >&6
14807 case $GTKDOC_MKPDF in
14809 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
14812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14813 for as_dir in $PATH
14816 test -z "$as_dir" && as_dir=.
14817 for ac_exec_ext in '' $ac_executable_extensions; do
14818 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14819 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
14820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14830 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
14831 if test -n "$GTKDOC_MKPDF"; then
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
14833 $as_echo "$GTKDOC_MKPDF" >&6; }
14835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14836 $as_echo "no" >&6; }
14842 # Check whether --with-html-dir was given.
14843 if test "${with_html_dir+set}" = set; then :
14844 withval=$with_html_dir;
14846 with_html_dir='${datadir}/gtk-doc/html'
14849 HTML_DIR="$with_html_dir"
14852 # Check whether --enable-gtk-doc was given.
14853 if test "${enable_gtk_doc+set}" = set; then :
14854 enableval=$enable_gtk_doc;
14860 if test x$enable_gtk_doc = xyes; then
14861 if test -n "$PKG_CONFIG" && \
14862 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.12\""; } >&5
14863 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.12") 2>&5
14865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14866 test $ac_status = 0; }; then
14869 as_fn_error $? "You need to have gtk-doc >= 1.12 installed to build $PACKAGE_NAME" "$LINENO" 5
14871 if test "x$PACKAGE_NAME" != "xglib"; then
14874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
14875 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
14877 if test -n "$PKG_CONFIG"; then
14878 if test -n "$GTKDOC_DEPS_CFLAGS"; then
14879 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
14881 if test -n "$PKG_CONFIG" && \
14882 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
14883 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
14885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14886 test $ac_status = 0; }; then
14887 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
14895 if test -n "$PKG_CONFIG"; then
14896 if test -n "$GTKDOC_DEPS_LIBS"; then
14897 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
14899 if test -n "$PKG_CONFIG" && \
14900 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
14901 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
14903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14904 test $ac_status = 0; }; then
14905 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
14916 if test $pkg_failed = yes; then
14918 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14919 _pkg_short_errors_supported=yes
14921 _pkg_short_errors_supported=no
14923 if test $_pkg_short_errors_supported = yes; then
14924 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0"`
14926 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0"`
14928 # Put the nasty error message in config.log where it belongs
14929 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
14931 as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0) were not met:
14933 $GTKDOC_DEPS_PKG_ERRORS
14935 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14936 installed software in a non-standard prefix.
14938 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
14939 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
14940 See the pkg-config man page for more details.
14942 elif test $pkg_failed = untried; then
14943 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14944 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14945 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14946 is in your PATH or set the PKG_CONFIG environment variable to the full
14947 path to pkg-config.
14949 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
14950 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
14951 See the pkg-config man page for more details.
14953 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14954 See \`config.log' for more details" "$LINENO" 5; }
14956 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
14957 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
14958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14959 $as_echo "yes" >&6; }
14963 if test -z "$SED"; then
14964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
14965 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
14966 if ${ac_cv_path_SED+:} false; then :
14967 $as_echo_n "(cached) " >&6
14969 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
14970 for ac_i in 1 2 3 4 5 6 7; do
14971 ac_script="$ac_script$as_nl$ac_script"
14973 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
14974 { ac_script=; unset ac_script;}
14975 if test -z "$SED"; then
14976 ac_path_SED_found=false
14977 # Loop through the user's path and test for each of PROGNAME-LIST
14978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14979 for as_dir in $PATH
14982 test -z "$as_dir" && as_dir=.
14983 for ac_prog in sed gsed; do
14984 for ac_exec_ext in '' $ac_executable_extensions; do
14985 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
14986 as_fn_executable_p "$ac_path_SED" || continue
14987 # Check for GNU ac_path_SED and select it if it is found.
14988 # Check for GNU $ac_path_SED
14989 case `"$ac_path_SED" --version 2>&1` in
14991 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
14994 $as_echo_n 0123456789 >"conftest.in"
14997 cat "conftest.in" "conftest.in" >"conftest.tmp"
14998 mv "conftest.tmp" "conftest.in"
14999 cp "conftest.in" "conftest.nl"
15000 $as_echo '' >> "conftest.nl"
15001 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
15002 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
15003 as_fn_arith $ac_count + 1 && ac_count=$as_val
15004 if test $ac_count -gt ${ac_path_SED_max-0}; then
15005 # Best one so far, save it but keep looking for a better one
15006 ac_cv_path_SED="$ac_path_SED"
15007 ac_path_SED_max=$ac_count
15009 # 10*(2^10) chars as input seems more than enough
15010 test $ac_count -gt 10 && break
15012 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
15015 $ac_path_SED_found && break 3
15020 if test -z "$ac_cv_path_SED"; then
15021 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
15024 ac_cv_path_SED=$SED
15028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
15029 $as_echo "$ac_cv_path_SED" >&6; }
15030 SED="$ac_cv_path_SED"
15036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
15037 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
15038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
15039 $as_echo "$enable_gtk_doc" >&6; }
15041 # Check whether --enable-gtk-doc-html was given.
15042 if test "${enable_gtk_doc_html+set}" = set; then :
15043 enableval=$enable_gtk_doc_html;
15045 enable_gtk_doc_html=yes
15048 # Check whether --enable-gtk-doc-pdf was given.
15049 if test "${enable_gtk_doc_pdf+set}" = set; then :
15050 enableval=$enable_gtk_doc_pdf;
15052 enable_gtk_doc_pdf=no
15056 if test -z "$GTKDOC_MKPDF"; then
15057 enable_gtk_doc_pdf=no
15061 if test x$enable_gtk_doc = xyes; then
15062 ENABLE_GTK_DOC_TRUE=
15063 ENABLE_GTK_DOC_FALSE='#'
15065 ENABLE_GTK_DOC_TRUE='#'
15066 ENABLE_GTK_DOC_FALSE=
15069 if test x$enable_gtk_doc_html = xyes; then
15070 GTK_DOC_BUILD_HTML_TRUE=
15071 GTK_DOC_BUILD_HTML_FALSE='#'
15073 GTK_DOC_BUILD_HTML_TRUE='#'
15074 GTK_DOC_BUILD_HTML_FALSE=
15077 if test x$enable_gtk_doc_pdf = xyes; then
15078 GTK_DOC_BUILD_PDF_TRUE=
15079 GTK_DOC_BUILD_PDF_FALSE='#'
15081 GTK_DOC_BUILD_PDF_TRUE='#'
15082 GTK_DOC_BUILD_PDF_FALSE=
15085 if test -n "$LIBTOOL"; then
15086 GTK_DOC_USE_LIBTOOL_TRUE=
15087 GTK_DOC_USE_LIBTOOL_FALSE='#'
15089 GTK_DOC_USE_LIBTOOL_TRUE='#'
15090 GTK_DOC_USE_LIBTOOL_FALSE=
15108 if test "x$GLIB_REQ" = "x"
15110 as_fn_error $? "Please specify a required version for GLib 2.0" "$LINENO" 5
15115 which="glib-2.0 >= $GLIB_REQ gobject-2.0 gmodule-no-export-2.0"
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
15121 $as_echo_n "checking for GLIB... " >&6; }
15123 if test -n "$PKG_CONFIG"; then
15124 if test -n "$GLIB_CFLAGS"; then
15125 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
15127 if test -n "$PKG_CONFIG" && \
15128 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
15129 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
15131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15132 test $ac_status = 0; }; then
15133 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
15141 if test -n "$PKG_CONFIG"; then
15142 if test -n "$GLIB_LIBS"; then
15143 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
15145 if test -n "$PKG_CONFIG" && \
15146 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
15147 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
15149 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15150 test $ac_status = 0; }; then
15151 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
15162 if test $pkg_failed = yes; then
15164 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15165 _pkg_short_errors_supported=yes
15167 _pkg_short_errors_supported=no
15169 if test $_pkg_short_errors_supported = yes; then
15170 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
15172 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
15174 # Put the nasty error message in config.log where it belongs
15175 echo "$GLIB_PKG_ERRORS" >&5
15177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15178 $as_echo "no" >&6; }
15181 if test "x$required" = "xyes"; then
15182 as_fn_error $? "$GLIB_PKG_ERRORS" "$LINENO" 5
15184 { $as_echo "$as_me:${as_lineno-$LINENO}: $GLIB_PKG_ERRORS" >&5
15185 $as_echo "$as_me: $GLIB_PKG_ERRORS" >&6;}
15188 elif test $pkg_failed = untried; then
15191 if test "x$required" = "xyes"; then
15192 as_fn_error $? "$GLIB_PKG_ERRORS" "$LINENO" 5
15194 { $as_echo "$as_me:${as_lineno-$LINENO}: $GLIB_PKG_ERRORS" >&5
15195 $as_echo "$as_me: $GLIB_PKG_ERRORS" >&6;}
15199 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
15200 GLIB_LIBS=$pkg_cv_GLIB_LIBS
15201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15202 $as_echo "yes" >&6; }
15210 if test "x$HAVE_GLIB" = "xno"; then
15211 as_fn_error $? "This package requires GLib >= $GLIB_REQ to compile." "$LINENO" 5
15214 GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_THREADS_MANDATORY"
15216 if test "x`expr $PACKAGE_VERSION_MINOR % 2`" = "x1" -a "x`expr $PACKAGE_VERSION_MICRO '<' 90`" = "x1"; then
15217 GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_DEPRECATED"
15220 # Check whether --enable-gobject-cast-checks was given.
15221 if test "${enable_gobject_cast_checks+set}" = set; then :
15222 enableval=$enable_gobject_cast_checks; enable_gobject_cast_checks=$enableval
15224 enable_gobject_cast_checks=auto
15228 if test "x$enable_gobject_cast_checks" = "xauto"; then
15229 if test "x`expr $PACKAGE_VERSION_MINOR % 2`" = "x1" -a "x`expr $PACKAGE_VERSION_MICRO '<' 90`" = "x1"; then
15230 enable_gobject_cast_checks=yes
15232 enable_gobject_cast_checks=no
15236 if test "x$enable_gobject_cast_checks" = "xno"; then
15237 GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_CAST_CHECKS"
15240 # Check whether --enable-glib-asserts was given.
15241 if test "${enable_glib_asserts+set}" = set; then :
15242 enableval=$enable_glib_asserts; enable_glib_assertions=$enableval
15244 enable_glib_assertions=auto
15248 if test "x$enable_glib_assertions" = "xauto"; then
15249 if test "x`expr $PACKAGE_VERSION_MINOR % 2`" = "x1" -a "x`expr $PACKAGE_VERSION_MICRO '<' 90`" = "x1"; then
15250 enable_glib_assertions=yes
15252 enable_glib_assertions=no
15256 if test "x$enable_glib_assertions" = "xno"; then
15257 GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_ASSERT"
15260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-genmarshal" >&5
15261 $as_echo_n "checking for glib-genmarshal... " >&6; }
15262 if test "x$GLIB_GENMARSHAL" != "x"; then
15263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL (from environment)" >&5
15264 $as_echo "$GLIB_GENMARSHAL (from environment)" >&6; }
15266 GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
15267 if $GLIB_GENMARSHAL --version 2>/dev/null >/dev/null; then
15268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL (from pkg-config path)" >&5
15269 $as_echo "$GLIB_GENMARSHAL (from pkg-config path)" >&6; }
15271 # Extract the first word of "glib-genmarshal", so it can be a program name with args.
15272 set dummy glib-genmarshal; ac_word=$2
15273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15274 $as_echo_n "checking for $ac_word... " >&6; }
15275 if ${ac_cv_path_GLIB_GENMARSHAL+:} false; then :
15276 $as_echo_n "(cached) " >&6
15278 case $GLIB_GENMARSHAL in
15280 ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
15283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15284 for as_dir in $PATH
15287 test -z "$as_dir" && as_dir=.
15288 for ac_exec_ext in '' $ac_executable_extensions; do
15289 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15290 ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
15291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15298 test -z "$ac_cv_path_GLIB_GENMARSHAL" && ac_cv_path_GLIB_GENMARSHAL="glib-genmarshal"
15302 GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
15303 if test -n "$GLIB_GENMARSHAL"; then
15304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
15305 $as_echo "$GLIB_GENMARSHAL" >&6; }
15307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15308 $as_echo "no" >&6; }
15312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
15313 $as_echo "$GLIB_GENMARSHAL" >&6; }
15316 if ! $GLIB_GENMARSHAL --version 2>/dev/null >/dev/null; then
15317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $GLIB_GENMARSHAL does not seem to work!" >&5
15318 $as_echo "$as_me: WARNING: $GLIB_GENMARSHAL does not seem to work!" >&2;}
15322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-mkenums" >&5
15323 $as_echo_n "checking for glib-mkenums... " >&6; }
15324 if test "x$GLIB_MKENUMS" != "x"; then
15325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS (from environment)" >&5
15326 $as_echo "$GLIB_MKENUMS (from environment)" >&6; }
15328 GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
15329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS" >&5
15330 $as_echo "$GLIB_MKENUMS" >&6; }
15332 if ! $GLIB_MKENUMS --version 2>/dev/null >/dev/null; then
15333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $GLIB_MKENUMS does not seem to work!" >&5
15334 $as_echo "$as_me: WARNING: $GLIB_MKENUMS does not seem to work!" >&2;}
15342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
15343 $as_echo_n "checking for GIO... " >&6; }
15345 if test -n "$PKG_CONFIG"; then
15346 if test -n "$GIO_CFLAGS"; then
15347 pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
15349 if test -n "$PKG_CONFIG" && \
15350 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= \$GLIB_REQ\""; } >&5
15351 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= $GLIB_REQ") 2>&5
15353 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15354 test $ac_status = 0; }; then
15355 pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= $GLIB_REQ" 2>/dev/null`
15363 if test -n "$PKG_CONFIG"; then
15364 if test -n "$GIO_LIBS"; then
15365 pkg_cv_GIO_LIBS="$GIO_LIBS"
15367 if test -n "$PKG_CONFIG" && \
15368 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= \$GLIB_REQ\""; } >&5
15369 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= $GLIB_REQ") 2>&5
15371 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15372 test $ac_status = 0; }; then
15373 pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= $GLIB_REQ" 2>/dev/null`
15384 if test $pkg_failed = yes; then
15386 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15387 _pkg_short_errors_supported=yes
15389 _pkg_short_errors_supported=no
15391 if test $_pkg_short_errors_supported = yes; then
15392 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gio-2.0 >= $GLIB_REQ"`
15394 GIO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gio-2.0 >= $GLIB_REQ"`
15396 # Put the nasty error message in config.log where it belongs
15397 echo "$GIO_PKG_ERRORS" >&5
15399 as_fn_error $? "Package requirements (gio-2.0 >= $GLIB_REQ) were not met:
15403 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15404 installed software in a non-standard prefix.
15406 Alternatively, you may set the environment variables GIO_CFLAGS
15407 and GIO_LIBS to avoid the need to call pkg-config.
15408 See the pkg-config man page for more details.
15410 elif test $pkg_failed = untried; then
15411 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15412 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15413 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15414 is in your PATH or set the PKG_CONFIG environment variable to the full
15415 path to pkg-config.
15417 Alternatively, you may set the environment variables GIO_CFLAGS
15418 and GIO_LIBS to avoid the need to call pkg-config.
15419 See the pkg-config man page for more details.
15421 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15422 See \`config.log' for more details" "$LINENO" 5; }
15424 GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
15425 GIO_LIBS=$pkg_cv_GIO_LIBS
15426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15427 $as_echo "yes" >&6; }
15430 if test "x$HAVE_GIO" = "xno"; then
15431 as_fn_error $? "This package requires GIO >= $GLIB_REQ to compile." "$LINENO" 5
15434 GIO_MODULE_DIR="`$PKG_CONFIG --variable=giomoduledir gio-2.0`"
15436 cat >>confdefs.h <<_ACEOF
15437 #define GIO_MODULE_DIR "$GIO_MODULE_DIR"
15440 GIO_LIBDIR="`$PKG_CONFIG --variable=libdir gio-2.0`"
15442 cat >>confdefs.h <<_ACEOF
15443 #define GIO_LIBDIR "$GIO_LIBDIR"
15453 module=gstreamer-$GST_API_VERSION
15459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
15460 $as_echo_n "checking for GST... " >&6; }
15462 if test -n "$PKG_CONFIG"; then
15463 if test -n "$GST_CFLAGS"; then
15464 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
15466 if test -n "$PKG_CONFIG" && \
15467 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
15468 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
15470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15471 test $ac_status = 0; }; then
15472 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
15480 if test -n "$PKG_CONFIG"; then
15481 if test -n "$GST_LIBS"; then
15482 pkg_cv_GST_LIBS="$GST_LIBS"
15484 if test -n "$PKG_CONFIG" && \
15485 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
15486 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
15488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15489 test $ac_status = 0; }; then
15490 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
15501 if test $pkg_failed = yes; then
15503 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15504 _pkg_short_errors_supported=yes
15506 _pkg_short_errors_supported=no
15508 if test $_pkg_short_errors_supported = yes; then
15509 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
15511 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
15513 # Put the nasty error message in config.log where it belongs
15514 echo "$GST_PKG_ERRORS" >&5
15516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15517 $as_echo "no" >&6; }
15520 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PKG_ERRORS" >&5
15521 $as_echo "$as_me: $GST_PKG_ERRORS" >&6;}
15522 if test "x$required" = "xyes"; then
15523 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
15525 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
15526 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
15529 elif test $pkg_failed = untried; then
15532 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PKG_ERRORS" >&5
15533 $as_echo "$as_me: $GST_PKG_ERRORS" >&6;}
15534 if test "x$required" = "xyes"; then
15535 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
15537 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
15538 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
15542 GST_CFLAGS=$pkg_cv_GST_CFLAGS
15543 GST_LIBS=$pkg_cv_GST_LIBS
15544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15545 $as_echo "yes" >&6; }
15552 if test -z $GST_TOOLS_DIR; then
15553 GST_TOOLS_DIR=`$PKG_CONFIG --variable=toolsdir gstreamer-$GST_API_VERSION`
15554 if test -z $GST_TOOLS_DIR; then
15555 as_fn_error $? "no tools dir set in GStreamer pkg-config file, core upgrade needed." "$LINENO" 5
15558 { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer tools in $GST_TOOLS_DIR" >&5
15559 $as_echo "$as_me: using GStreamer tools in $GST_TOOLS_DIR" >&6;}
15562 if test -z $GST_PLUGINS_DIR; then
15563 GST_PLUGINS_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-$GST_API_VERSION`
15564 if test -z $GST_PLUGINS_DIR; then
15565 as_fn_error $? "no pluginsdir set in GStreamer pkg-config file, core upgrade needed." "$LINENO" 5
15568 { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer plug-ins in $GST_PLUGINS_DIR" >&5
15569 $as_echo "$as_me: using GStreamer plug-ins in $GST_PLUGINS_DIR" >&6;}
15573 GST_TOOLS_DIR=`$PKG_CONFIG --variable=toolsdir gstreamer-$GST_API_VERSION`
15574 if test -z $GST_TOOLS_DIR; then
15575 as_fn_error $? "no tools dir defined in GStreamer pkg-config file; core upgrade needed." "$LINENO" 5
15579 GST_PLUGINS_DIR=`$PKG_CONFIG gstreamer-$GST_API_VERSION --variable pluginsdir`
15581 { $as_echo "$as_me:${as_lineno-$LINENO}: Using GStreamer Core Plugins in $GST_PLUGINS_DIR" >&5
15582 $as_echo "$as_me: Using GStreamer Core Plugins in $GST_PLUGINS_DIR" >&6;}
15586 module=gstreamer-base-$GST_API_VERSION
15588 name="GStreamer Base Libraries"
15592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_BASE" >&5
15593 $as_echo_n "checking for GST_BASE... " >&6; }
15595 if test -n "$PKG_CONFIG"; then
15596 if test -n "$GST_BASE_CFLAGS"; then
15597 pkg_cv_GST_BASE_CFLAGS="$GST_BASE_CFLAGS"
15599 if test -n "$PKG_CONFIG" && \
15600 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
15601 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
15603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15604 test $ac_status = 0; }; then
15605 pkg_cv_GST_BASE_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
15613 if test -n "$PKG_CONFIG"; then
15614 if test -n "$GST_BASE_LIBS"; then
15615 pkg_cv_GST_BASE_LIBS="$GST_BASE_LIBS"
15617 if test -n "$PKG_CONFIG" && \
15618 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
15619 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
15621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15622 test $ac_status = 0; }; then
15623 pkg_cv_GST_BASE_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
15634 if test $pkg_failed = yes; then
15636 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15637 _pkg_short_errors_supported=yes
15639 _pkg_short_errors_supported=no
15641 if test $_pkg_short_errors_supported = yes; then
15642 GST_BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
15644 GST_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
15646 # Put the nasty error message in config.log where it belongs
15647 echo "$GST_BASE_PKG_ERRORS" >&5
15649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15650 $as_echo "no" >&6; }
15653 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_BASE_PKG_ERRORS" >&5
15654 $as_echo "$as_me: $GST_BASE_PKG_ERRORS" >&6;}
15655 if test "x$required" = "xyes"; then
15656 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
15658 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
15659 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
15662 elif test $pkg_failed = untried; then
15665 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_BASE_PKG_ERRORS" >&5
15666 $as_echo "$as_me: $GST_BASE_PKG_ERRORS" >&6;}
15667 if test "x$required" = "xyes"; then
15668 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
15670 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
15671 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
15675 GST_BASE_CFLAGS=$pkg_cv_GST_BASE_CFLAGS
15676 GST_BASE_LIBS=$pkg_cv_GST_BASE_LIBS
15677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15678 $as_echo "yes" >&6; }
15680 HAVE_GST_BASE="yes"
15689 module=gstreamer-plugins-base-$GST_API_VERSION
15691 name="GStreamer Base Plugins"
15695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_PLUGINS_BASE" >&5
15696 $as_echo_n "checking for GST_PLUGINS_BASE... " >&6; }
15698 if test -n "$PKG_CONFIG"; then
15699 if test -n "$GST_PLUGINS_BASE_CFLAGS"; then
15700 pkg_cv_GST_PLUGINS_BASE_CFLAGS="$GST_PLUGINS_BASE_CFLAGS"
15702 if test -n "$PKG_CONFIG" && \
15703 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
15704 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
15706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15707 test $ac_status = 0; }; then
15708 pkg_cv_GST_PLUGINS_BASE_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
15716 if test -n "$PKG_CONFIG"; then
15717 if test -n "$GST_PLUGINS_BASE_LIBS"; then
15718 pkg_cv_GST_PLUGINS_BASE_LIBS="$GST_PLUGINS_BASE_LIBS"
15720 if test -n "$PKG_CONFIG" && \
15721 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
15722 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
15724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15725 test $ac_status = 0; }; then
15726 pkg_cv_GST_PLUGINS_BASE_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
15737 if test $pkg_failed = yes; then
15739 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15740 _pkg_short_errors_supported=yes
15742 _pkg_short_errors_supported=no
15744 if test $_pkg_short_errors_supported = yes; then
15745 GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
15747 GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
15749 # Put the nasty error message in config.log where it belongs
15750 echo "$GST_PLUGINS_BASE_PKG_ERRORS" >&5
15752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15753 $as_echo "no" >&6; }
15755 HAVE_GST_PLUGINS_BASE="no"
15756 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_BASE_PKG_ERRORS" >&5
15757 $as_echo "$as_me: $GST_PLUGINS_BASE_PKG_ERRORS" >&6;}
15758 if test "x$required" = "xyes"; then
15759 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
15761 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
15762 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
15765 elif test $pkg_failed = untried; then
15767 HAVE_GST_PLUGINS_BASE="no"
15768 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_BASE_PKG_ERRORS" >&5
15769 $as_echo "$as_me: $GST_PLUGINS_BASE_PKG_ERRORS" >&6;}
15770 if test "x$required" = "xyes"; then
15771 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
15773 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
15774 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
15778 GST_PLUGINS_BASE_CFLAGS=$pkg_cv_GST_PLUGINS_BASE_CFLAGS
15779 GST_PLUGINS_BASE_LIBS=$pkg_cv_GST_PLUGINS_BASE_LIBS
15780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15781 $as_echo "yes" >&6; }
15783 HAVE_GST_PLUGINS_BASE="yes"
15789 if test "x$HAVE_GST_PLUGINS_BASE" = "xyes"; then
15790 if test -z $GSTPB_PLUGINS_DIR; then
15791 GSTPB_PLUGINS_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-plugins-base-$GST_API_VERSION`
15792 if test -z $GSTPB_PLUGINS_DIR; then
15793 as_fn_error $? "no pluginsdir set in GStreamer Base Plugins pkg-config file" "$LINENO" 5
15796 { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&5
15797 $as_echo "$as_me: using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&6;}
15798 GST_PLUGINS_BASE_DIR="$GSTPB_PLUGINS_DIR/gst:$GSTPB_PLUGINS_DIR/sys:$GSTPB_PLUGINS_DIR/ext"
15803 GSTPB_PLUGINS_DIR=`$PKG_CONFIG gstreamer-plugins-base-$GST_API_VERSION --variable pluginsdir`
15805 { $as_echo "$as_me:${as_lineno-$LINENO}: Using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&5
15806 $as_echo "$as_me: Using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&6;}
15810 module=gstreamer-plugins-good-$GST_API_VERSION
15812 name="GStreamer Good Plugins"
15816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_PLUGINS_GOOD" >&5
15817 $as_echo_n "checking for GST_PLUGINS_GOOD... " >&6; }
15819 if test -n "$PKG_CONFIG"; then
15820 if test -n "$GST_PLUGINS_GOOD_CFLAGS"; then
15821 pkg_cv_GST_PLUGINS_GOOD_CFLAGS="$GST_PLUGINS_GOOD_CFLAGS"
15823 if test -n "$PKG_CONFIG" && \
15824 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
15825 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
15827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15828 test $ac_status = 0; }; then
15829 pkg_cv_GST_PLUGINS_GOOD_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
15837 if test -n "$PKG_CONFIG"; then
15838 if test -n "$GST_PLUGINS_GOOD_LIBS"; then
15839 pkg_cv_GST_PLUGINS_GOOD_LIBS="$GST_PLUGINS_GOOD_LIBS"
15841 if test -n "$PKG_CONFIG" && \
15842 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
15843 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
15845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15846 test $ac_status = 0; }; then
15847 pkg_cv_GST_PLUGINS_GOOD_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
15858 if test $pkg_failed = yes; then
15860 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15861 _pkg_short_errors_supported=yes
15863 _pkg_short_errors_supported=no
15865 if test $_pkg_short_errors_supported = yes; then
15866 GST_PLUGINS_GOOD_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
15868 GST_PLUGINS_GOOD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
15870 # Put the nasty error message in config.log where it belongs
15871 echo "$GST_PLUGINS_GOOD_PKG_ERRORS" >&5
15873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15874 $as_echo "no" >&6; }
15876 HAVE_GST_PLUGINS_GOOD="no"
15877 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_GOOD_PKG_ERRORS" >&5
15878 $as_echo "$as_me: $GST_PLUGINS_GOOD_PKG_ERRORS" >&6;}
15879 if test "x$required" = "xyes"; then
15880 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
15882 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
15883 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
15886 elif test $pkg_failed = untried; then
15888 HAVE_GST_PLUGINS_GOOD="no"
15889 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_GOOD_PKG_ERRORS" >&5
15890 $as_echo "$as_me: $GST_PLUGINS_GOOD_PKG_ERRORS" >&6;}
15891 if test "x$required" = "xyes"; then
15892 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
15894 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
15895 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
15899 GST_PLUGINS_GOOD_CFLAGS=$pkg_cv_GST_PLUGINS_GOOD_CFLAGS
15900 GST_PLUGINS_GOOD_LIBS=$pkg_cv_GST_PLUGINS_GOOD_LIBS
15901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15902 $as_echo "yes" >&6; }
15904 HAVE_GST_PLUGINS_GOOD="yes"
15910 if test "x$HAVE_GST_PLUGINS_GOOD" = "xyes"; then
15911 if test -z $GST_PLUGINS_GOOD_DIR; then
15912 GST_PLUGINS_GOOD_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-plugins-good-$GST_API_VERSION`
15913 if test -z $GST_PLUGINS_GOOD_DIR; then
15914 as_fn_error $? "no pluginsdir set in GStreamer Good Plugins pkg-config file" "$LINENO" 5
15917 { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer Good Plugins in $GST_PLUGINS_GOOD_DIR" >&5
15918 $as_echo "$as_me: using GStreamer Good Plugins in $GST_PLUGINS_GOOD_DIR" >&6;}
15919 GST_PLUGINS_GOOD_DIR="$GST_PLUGINS_GOOD_DIR/gst:$GST_PLUGINS_GOOD_DIR/sys:$GST_PLUGINS_GOOD_DIR/ext"
15923 GSTPG_PLUGINS_DIR=`$PKG_CONFIG gstreamer-plugins-good-$GST_API_VERSION --variable pluginsdir`
15925 { $as_echo "$as_me:${as_lineno-$LINENO}: Using GStreamer Good Plugins in $GSTPG_PLUGINS_DIR" >&5
15926 $as_echo "$as_me: Using GStreamer Good Plugins in $GSTPG_PLUGINS_DIR" >&6;}
15930 module=gstreamer-plugins-bad-$GST_API_VERSION
15932 name="GStreamer Bad Plugins"
15936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_PLUGINS_BAD" >&5
15937 $as_echo_n "checking for GST_PLUGINS_BAD... " >&6; }
15939 if test -n "$PKG_CONFIG"; then
15940 if test -n "$GST_PLUGINS_BAD_CFLAGS"; then
15941 pkg_cv_GST_PLUGINS_BAD_CFLAGS="$GST_PLUGINS_BAD_CFLAGS"
15943 if test -n "$PKG_CONFIG" && \
15944 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
15945 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
15947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15948 test $ac_status = 0; }; then
15949 pkg_cv_GST_PLUGINS_BAD_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
15957 if test -n "$PKG_CONFIG"; then
15958 if test -n "$GST_PLUGINS_BAD_LIBS"; then
15959 pkg_cv_GST_PLUGINS_BAD_LIBS="$GST_PLUGINS_BAD_LIBS"
15961 if test -n "$PKG_CONFIG" && \
15962 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
15963 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
15965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15966 test $ac_status = 0; }; then
15967 pkg_cv_GST_PLUGINS_BAD_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
15978 if test $pkg_failed = yes; then
15980 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15981 _pkg_short_errors_supported=yes
15983 _pkg_short_errors_supported=no
15985 if test $_pkg_short_errors_supported = yes; then
15986 GST_PLUGINS_BAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
15988 GST_PLUGINS_BAD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
15990 # Put the nasty error message in config.log where it belongs
15991 echo "$GST_PLUGINS_BAD_PKG_ERRORS" >&5
15993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15994 $as_echo "no" >&6; }
15996 HAVE_GST_PLUGINS_BAD="no"
15997 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_BAD_PKG_ERRORS" >&5
15998 $as_echo "$as_me: $GST_PLUGINS_BAD_PKG_ERRORS" >&6;}
15999 if test "x$required" = "xyes"; then
16000 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
16002 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
16003 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
16006 elif test $pkg_failed = untried; then
16008 HAVE_GST_PLUGINS_BAD="no"
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_BAD_PKG_ERRORS" >&5
16010 $as_echo "$as_me: $GST_PLUGINS_BAD_PKG_ERRORS" >&6;}
16011 if test "x$required" = "xyes"; then
16012 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
16014 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
16015 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
16019 GST_PLUGINS_BAD_CFLAGS=$pkg_cv_GST_PLUGINS_BAD_CFLAGS
16020 GST_PLUGINS_BAD_LIBS=$pkg_cv_GST_PLUGINS_BAD_LIBS
16021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16022 $as_echo "yes" >&6; }
16024 HAVE_GST_PLUGINS_BAD="yes"
16030 if test "x$HAVE_GST_PLUGINS_BAD" = "xyes"; then
16031 if test -z $GST_PLUGINS_BAD_DIR; then
16032 GST_PLUGINS_BAD_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-plugins-bad-$GST_API_VERSION`
16033 if test -z $GST_PLUGINS_BAD_DIR; then
16034 as_fn_error $? "no pluginsdir set in GStreamer Bad Plugins pkg-config file" "$LINENO" 5
16037 { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer Bad Plugins in $GST_PLUGINS_BAD_DIR" >&5
16038 $as_echo "$as_me: using GStreamer Bad Plugins in $GST_PLUGINS_BAD_DIR" >&6;}
16039 GST_PLUGINS_BAD_DIR="$GST_PLUGINS_BAD_DIR/gst:$GST_PLUGINS_BAD_DIR/sys:$GST_PLUGINS_BAD_DIR/ext"
16043 GSTPD_PLUGINS_DIR=`$PKG_CONFIG gstreamer-plugins-bad-$GST_API_VERSION --variable pluginsdir`
16045 { $as_echo "$as_me:${as_lineno-$LINENO}: Using GStreamer Bad Plugins in $GSTPD_PLUGINS_DIR" >&5
16046 $as_echo "$as_me: Using GStreamer Bad Plugins in $GSTPD_PLUGINS_DIR" >&6;}
16050 module=gstreamer-check-$GST_API_VERSION
16052 name="GStreamer Check unittest Library"
16056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_CHECK" >&5
16057 $as_echo_n "checking for GST_CHECK... " >&6; }
16059 if test -n "$PKG_CONFIG"; then
16060 if test -n "$GST_CHECK_CFLAGS"; then
16061 pkg_cv_GST_CHECK_CFLAGS="$GST_CHECK_CFLAGS"
16063 if test -n "$PKG_CONFIG" && \
16064 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
16065 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
16067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16068 test $ac_status = 0; }; then
16069 pkg_cv_GST_CHECK_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
16077 if test -n "$PKG_CONFIG"; then
16078 if test -n "$GST_CHECK_LIBS"; then
16079 pkg_cv_GST_CHECK_LIBS="$GST_CHECK_LIBS"
16081 if test -n "$PKG_CONFIG" && \
16082 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
16083 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
16085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16086 test $ac_status = 0; }; then
16087 pkg_cv_GST_CHECK_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
16098 if test $pkg_failed = yes; then
16100 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16101 _pkg_short_errors_supported=yes
16103 _pkg_short_errors_supported=no
16105 if test $_pkg_short_errors_supported = yes; then
16106 GST_CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
16108 GST_CHECK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
16110 # Put the nasty error message in config.log where it belongs
16111 echo "$GST_CHECK_PKG_ERRORS" >&5
16113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16114 $as_echo "no" >&6; }
16116 HAVE_GST_CHECK="no"
16117 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CHECK_PKG_ERRORS" >&5
16118 $as_echo "$as_me: $GST_CHECK_PKG_ERRORS" >&6;}
16119 if test "x$required" = "xyes"; then
16120 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
16122 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
16123 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
16126 elif test $pkg_failed = untried; then
16128 HAVE_GST_CHECK="no"
16129 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CHECK_PKG_ERRORS" >&5
16130 $as_echo "$as_me: $GST_CHECK_PKG_ERRORS" >&6;}
16131 if test "x$required" = "xyes"; then
16132 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
16134 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
16135 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
16139 GST_CHECK_CFLAGS=$pkg_cv_GST_CHECK_CFLAGS
16140 GST_CHECK_LIBS=$pkg_cv_GST_CHECK_LIBS
16141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16142 $as_echo "yes" >&6; }
16144 HAVE_GST_CHECK="yes"
16150 if test "x$HAVE_GST_CHECK" = "xyes"; then
16152 HAVE_CHECK_FALSE='#'
16154 HAVE_CHECK_TRUE='#'
16159 # Check whether --enable-Bsymbolic was given.
16160 if test "${enable_Bsymbolic+set}" = set; then :
16161 enableval=$enable_Bsymbolic;
16163 SAVED_LDFLAGS="${LDFLAGS}"
16164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Bsymbolic-functions linker flag" >&5
16165 $as_echo_n "checking for -Bsymbolic-functions linker flag... " >&6; }
16166 LDFLAGS=-Wl,-Bsymbolic-functions
16167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16168 /* end confdefs.h. */
16173 int main (void) { return 0; }
16178 if ac_fn_c_try_link "$LINENO"; then :
16180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16181 $as_echo "yes" >&6; }
16182 enable_Bsymbolic=yes
16185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16186 $as_echo "no" >&6; }
16187 enable_Bsymbolic=no
16189 rm -f core conftest.err conftest.$ac_objext \
16190 conftest$ac_exeext conftest.$ac_ext
16191 LDFLAGS="${SAVED_LDFLAGS}"
16198 cat >>confdefs.h <<_ACEOF
16199 #define GST_LICENSE "$GST_LICENSE"
16207 FROM_VAR=${libdir}/gstreamer-$GST_API_VERSION
16209 prefix_save=$prefix
16210 exec_prefix_save=$exec_prefix
16212 if test "x$prefix" = "xNONE"; then
16213 prefix="$ac_default_prefix"
16215 if test "x$exec_prefix" = "xNONE"; then
16216 exec_prefix=$prefix
16219 full_var="$FROM_VAR"
16221 new_full_var="`eval echo $full_var`"
16222 if test "x$new_full_var" = "x$full_var"; then break; fi
16223 full_var=$new_full_var
16226 full_var=$new_full_var
16227 PLUGINDIR="$full_var"
16230 prefix=$prefix_save
16231 exec_prefix=$exec_prefix_save
16234 cat >>confdefs.h <<_ACEOF
16235 #define PLUGINDIR "$PLUGINDIR"
16238 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $PLUGINDIR as the plugin install location" >&5
16239 $as_echo "$as_me: Using $PLUGINDIR as the plugin install location" >&6;}
16241 plugindir="\$(libdir)/gstreamer-$GST_API_VERSION"
16246 if test "x$PACKAGE_VERSION_NANO" = "x0"; then
16248 if test "xyes" = "xno" -o "xyes" = "x"; then
16249 GST_PACKAGE_RELEASE_DATETIME=`date -u "+%Y-%m-%dT%H:%MZ"`
16250 elif test "xyes" = "xyes"; then
16251 if ( echo yes | grep '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
16252 GST_PACKAGE_RELEASE_DATETIME=yes
16254 YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file" $PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO "${srcdir}/gst-rtsp-server.doap" `;
16255 if test "x$YYYY_MM_DD" != "x"; then
16256 GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
16258 as_fn_error $? "SET_PACKAGE_RELEASE_DATETIME: could not extract
16259 release date for release version $PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO from \"${srcdir}/gst-rtsp-server.doap\" " "$LINENO" 5
16260 GST_PACKAGE_RELEASE_DATETIME=""
16263 elif ( echo yes | grep '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
16264 GST_PACKAGE_RELEASE_DATETIME=yes
16266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&5
16267 $as_echo "$as_me: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&2;}
16268 GST_PACKAGE_RELEASE_DATETIME=""
16271 if test "x$GST_PACKAGE_RELEASE_DATETIME" = "x"; then
16272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&5
16273 $as_echo "$as_me: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&2;}
16275 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&5
16276 $as_echo "$as_me: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&6;}
16279 cat >>confdefs.h <<_ACEOF
16280 #define GST_PACKAGE_RELEASE_DATETIME "$GST_PACKAGE_RELEASE_DATETIME"
16287 if test "xno" = "xno" -o "xno" = "x"; then
16288 GST_PACKAGE_RELEASE_DATETIME=`date -u "+%Y-%m-%dT%H:%MZ"`
16289 elif test "xno" = "xyes"; then
16290 if ( echo no | grep '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
16291 GST_PACKAGE_RELEASE_DATETIME=no
16293 YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file" `;
16294 if test "x$YYYY_MM_DD" != "x"; then
16295 GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
16297 as_fn_error $? "SET_PACKAGE_RELEASE_DATETIME: could not extract
16298 release date for release version from " "$LINENO" 5
16299 GST_PACKAGE_RELEASE_DATETIME=""
16302 elif ( echo no | grep '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
16303 GST_PACKAGE_RELEASE_DATETIME=no
16305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&5
16306 $as_echo "$as_me: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&2;}
16307 GST_PACKAGE_RELEASE_DATETIME=""
16310 if test "x$GST_PACKAGE_RELEASE_DATETIME" = "x"; then
16311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&5
16312 $as_echo "$as_me: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&2;}
16314 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&5
16315 $as_echo "$as_me: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&6;}
16318 cat >>confdefs.h <<_ACEOF
16319 #define GST_PACKAGE_RELEASE_DATETIME "$GST_PACKAGE_RELEASE_DATETIME"
16327 # set by AG_GST_PARSE_SUBSYSTEM_DISABLES above
16332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GStreamer debugging system is enabled" >&5
16333 $as_echo_n "checking whether the GStreamer debugging system is enabled... " >&6; }
16335 ac_cpp='$CPP $CPPFLAGS'
16336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16340 save_CFLAGS="$CFLAGS"
16341 CFLAGS="$GST_CFLAGS $CFLAGS"
16342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16343 /* end confdefs.h. */
16346 #include <gst/gstconfig.h>
16347 #ifdef GST_DISABLE_GST_DEBUG
16348 #error "debugging disabled, make compiler fail"
16351 if ac_fn_c_try_compile "$LINENO"; then :
16352 debug_system_enabled=yes
16354 debug_system_enabled=no
16356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16357 CFLAGS="$save_CFLAGS"
16359 ac_cpp='$CPP $CPPFLAGS'
16360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug_system_enabled" >&5
16366 $as_echo "$debug_system_enabled" >&6; }
16368 if test "x$debug_system_enabled" = "xyes" ; then
16372 NO_WARNINGS="-Wno-unused"
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wall" >&5
16386 $as_echo_n "checking to see if compiler understands -Wall... " >&6; }
16388 save_CFLAGS="$CFLAGS"
16389 CFLAGS="$CFLAGS -Wall"
16391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16392 /* end confdefs.h. */
16402 if ac_fn_c_try_compile "$LINENO"; then :
16407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16408 CFLAGS="$save_CFLAGS"
16410 if test "X$flag_ok" = Xyes ; then
16411 WARNING_CFLAGS="$WARNING_CFLAGS -Wall"
16417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
16418 $as_echo "$flag_ok" >&6; }
16422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wdeclaration-after-statement" >&5
16423 $as_echo_n "checking to see if compiler understands -Wdeclaration-after-statement... " >&6; }
16425 save_CFLAGS="$CFLAGS"
16426 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16429 /* end confdefs.h. */
16439 if ac_fn_c_try_compile "$LINENO"; then :
16444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16445 CFLAGS="$save_CFLAGS"
16447 if test "X$flag_ok" = Xyes ; then
16448 WARNING_CFLAGS="$WARNING_CFLAGS -Wdeclaration-after-statement"
16454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
16455 $as_echo "$flag_ok" >&6; }
16459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wvla" >&5
16460 $as_echo_n "checking to see if compiler understands -Wvla... " >&6; }
16462 save_CFLAGS="$CFLAGS"
16463 CFLAGS="$CFLAGS -Wvla"
16465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16466 /* end confdefs.h. */
16476 if ac_fn_c_try_compile "$LINENO"; then :
16481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16482 CFLAGS="$save_CFLAGS"
16484 if test "X$flag_ok" = Xyes ; then
16485 WARNING_CFLAGS="$WARNING_CFLAGS -Wvla"
16491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
16492 $as_echo "$flag_ok" >&6; }
16496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wpointer-arith" >&5
16497 $as_echo_n "checking to see if compiler understands -Wpointer-arith... " >&6; }
16499 save_CFLAGS="$CFLAGS"
16500 CFLAGS="$CFLAGS -Wpointer-arith"
16502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16503 /* end confdefs.h. */
16513 if ac_fn_c_try_compile "$LINENO"; then :
16518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16519 CFLAGS="$save_CFLAGS"
16521 if test "X$flag_ok" = Xyes ; then
16522 WARNING_CFLAGS="$WARNING_CFLAGS -Wpointer-arith"
16528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
16529 $as_echo "$flag_ok" >&6; }
16532 if test "x$FATAL_WARNINGS" != "xno"
16535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Werror" >&5
16536 $as_echo_n "checking to see if compiler understands -Werror... " >&6; }
16538 save_CFLAGS="$CFLAGS"
16539 CFLAGS="$CFLAGS -Werror"
16541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16542 /* end confdefs.h. */
16552 if ac_fn_c_try_compile "$LINENO"; then :
16557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16558 CFLAGS="$save_CFLAGS"
16560 if test "X$flag_ok" = Xyes ; then
16561 ERROR_CFLAGS="$ERROR_CFLAGS -Werror"
16567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
16568 $as_echo "$flag_ok" >&6; }
16571 if test "x$ERROR_CFLAGS" = "x"
16574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all" >&5
16575 $as_echo_n "checking to see if compiler understands -errwarn=%all... " >&6; }
16577 save_CFLAGS="$CFLAGS"
16578 CFLAGS="$CFLAGS -errwarn=%all"
16580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16581 /* end confdefs.h. */
16591 if ac_fn_c_try_compile "$LINENO"; then :
16596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16597 CFLAGS="$save_CFLAGS"
16599 if test "X$flag_ok" = Xyes ; then
16601 ERROR_CFLAGS="-errwarn=%all"
16602 for f in 'no%E_EMPTY_DECLARATION' \
16603 'no%E_STATEMENT_NOT_REACHED' \
16604 'no%E_ARGUEMENT_MISMATCH' \
16605 'no%E_MACRO_REDEFINED' \
16606 'no%E_LOOP_NOT_ENTERED_AT_TOP'
16609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all,$f" >&5
16610 $as_echo_n "checking to see if compiler understands -errwarn=%all,$f... " >&6; }
16612 save_CFLAGS="$CFLAGS"
16613 CFLAGS="$CFLAGS -errwarn=%all,$f"
16615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16616 /* end confdefs.h. */
16626 if ac_fn_c_try_compile "$LINENO"; then :
16631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16632 CFLAGS="$save_CFLAGS"
16634 if test "X$flag_ok" = Xyes ; then
16636 ERROR_CFLAGS="$ERROR_CFLAGS,$f"
16643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
16644 $as_echo "$flag_ok" >&6; }
16653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
16654 $as_echo "$flag_ok" >&6; }
16657 if test -n "$PKG_CONFIG" && \
16658 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 < 2.19.8\""; } >&5
16659 ($PKG_CONFIG --exists --print-errors "glib-2.0 < 2.19.8") 2>&5
16661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16662 test $ac_status = 0; }; then
16665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -fno-strict-aliasing" >&5
16666 $as_echo_n "checking to see if compiler understands -fno-strict-aliasing... " >&6; }
16668 save_CFLAGS="$CFLAGS"
16669 CFLAGS="$CFLAGS -fno-strict-aliasing"
16671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16672 /* end confdefs.h. */
16682 if ac_fn_c_try_compile "$LINENO"; then :
16687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16688 CFLAGS="$save_CFLAGS"
16690 if test "X$flag_ok" = Xyes ; then
16691 ERROR_CFLAGS="$ERROR_CFLAGS -fno-strict-aliasing"
16697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
16698 $as_echo "$flag_ok" >&6; }
16705 if test "x-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar -Wnested-externs $NO_WARNINGS" != "x"
16708 list="-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar -Wnested-externs $NO_WARNINGS"
16712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands $each" >&5
16713 $as_echo_n "checking to see if compiler understands $each... " >&6; }
16715 save_CFLAGS="$CFLAGS"
16716 CFLAGS="$CFLAGS $each"
16718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16719 /* end confdefs.h. */
16729 if ac_fn_c_try_compile "$LINENO"; then :
16734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16735 CFLAGS="$save_CFLAGS"
16737 if test "X$flag_ok" = Xyes ; then
16738 WARNING_CFLAGS="$WARNING_CFLAGS $each"
16741 UNSUPPORTED="$UNSUPPORTED $each"
16744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
16745 $as_echo "$flag_ok" >&6; }
16748 if test "X$UNSUPPORTED" != X ; then
16749 { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported compiler flags: $UNSUPPORTED" >&5
16750 $as_echo "$as_me: unsupported compiler flags: $UNSUPPORTED" >&6;}
16756 { $as_echo "$as_me:${as_lineno-$LINENO}: set WARNING_CFLAGS to $WARNING_CFLAGS" >&5
16757 $as_echo "$as_me: set WARNING_CFLAGS to $WARNING_CFLAGS" >&6;}
16758 { $as_echo "$as_me:${as_lineno-$LINENO}: set ERROR_CFLAGS to $ERROR_CFLAGS" >&5
16759 $as_echo "$as_me: set ERROR_CFLAGS to $ERROR_CFLAGS" >&6;}
16763 if test "x$GST_GIT" = "xyes"; then
16764 GST_LEVEL_DEFAULT=GST_LEVEL_ERROR
16766 GST_LEVEL_DEFAULT=GST_LEVEL_NONE
16769 cat >>confdefs.h <<_ACEOF
16770 #define GST_LEVEL_DEFAULT $GST_LEVEL_DEFAULT
16777 DEFAULT_AUDIOSINK="autoaudiosink"
16778 DEFAULT_VIDEOSINK="autovideosink"
16779 DEFAULT_AUDIOSRC="alsasrc"
16780 DEFAULT_VIDEOSRC="v4l2src"
16781 DEFAULT_VISUALIZER="goom"
16783 *-sun-* | *pc-solaris* )
16784 DEFAULT_AUDIOSRC="sunaudiosrc"
16787 DEFAULT_AUDIOSRC="osxaudiosrc"
16792 # Check whether --with-default-audiosink was given.
16793 if test "${with_default_audiosink+set}" = set; then :
16794 withval=$with_default_audiosink;
16795 case "${withval}" in
16796 yes) as_fn_error $? "bad value ${withval} for --with-default-audiosink" "$LINENO" 5 ;;
16797 no) as_fn_error $? "bad value ${withval} for --with-default-audiosink" "$LINENO" 5 ;;
16798 *) DEFAULT_AUDIOSINK="${withval}" ;;
16803 DEFAULT_AUDIOSINK="$DEFAULT_AUDIOSINK"
16807 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_AUDIOSINK as default audio sink" >&5
16808 $as_echo "$as_me: Using $DEFAULT_AUDIOSINK as default audio sink" >&6;}
16811 cat >>confdefs.h <<_ACEOF
16812 #define DEFAULT_AUDIOSINK "$DEFAULT_AUDIOSINK"
16817 # Check whether --with-default-audiosrc was given.
16818 if test "${with_default_audiosrc+set}" = set; then :
16819 withval=$with_default_audiosrc;
16820 case "${withval}" in
16821 yes) as_fn_error $? "bad value ${withval} for --with-default-audiosrc" "$LINENO" 5 ;;
16822 no) as_fn_error $? "bad value ${withval} for --with-default-audiosrc" "$LINENO" 5 ;;
16823 *) DEFAULT_AUDIOSRC="${withval}" ;;
16828 DEFAULT_AUDIOSRC="$DEFAULT_AUDIOSRC"
16832 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_AUDIOSRC as default audio source" >&5
16833 $as_echo "$as_me: Using $DEFAULT_AUDIOSRC as default audio source" >&6;}
16836 cat >>confdefs.h <<_ACEOF
16837 #define DEFAULT_AUDIOSRC "$DEFAULT_AUDIOSRC"
16842 # Check whether --with-default-videosink was given.
16843 if test "${with_default_videosink+set}" = set; then :
16844 withval=$with_default_videosink;
16845 case "${withval}" in
16846 yes) as_fn_error $? "bad value ${withval} for --with-default-videosink" "$LINENO" 5 ;;
16847 no) as_fn_error $? "bad value ${withval} for --with-default-videosink" "$LINENO" 5 ;;
16848 *) DEFAULT_VIDEOSINK="${withval}" ;;
16853 DEFAULT_VIDEOSINK="$DEFAULT_VIDEOSINK"
16857 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VIDEOSINK as default video sink" >&5
16858 $as_echo "$as_me: Using $DEFAULT_VIDEOSINK as default video sink" >&6;}
16861 cat >>confdefs.h <<_ACEOF
16862 #define DEFAULT_VIDEOSINK "$DEFAULT_VIDEOSINK"
16867 # Check whether --with-default-videosrc was given.
16868 if test "${with_default_videosrc+set}" = set; then :
16869 withval=$with_default_videosrc;
16870 case "${withval}" in
16871 yes) as_fn_error $? "bad value ${withval} for --with-default-videosrc" "$LINENO" 5 ;;
16872 no) as_fn_error $? "bad value ${withval} for --with-default-videosrc" "$LINENO" 5 ;;
16873 *) DEFAULT_VIDEOSRC="${withval}" ;;
16878 DEFAULT_VIDEOSRC="$DEFAULT_VIDEOSRC"
16882 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VIDEOSRC as default video source" >&5
16883 $as_echo "$as_me: Using $DEFAULT_VIDEOSRC as default video source" >&6;}
16886 cat >>confdefs.h <<_ACEOF
16887 #define DEFAULT_VIDEOSRC "$DEFAULT_VIDEOSRC"
16892 # Check whether --with-default-visualizer was given.
16893 if test "${with_default_visualizer+set}" = set; then :
16894 withval=$with_default_visualizer;
16895 case "${withval}" in
16896 yes) as_fn_error $? "bad value ${withval} for --with-default-visualizer" "$LINENO" 5 ;;
16897 no) as_fn_error $? "bad value ${withval} for --with-default-visualizer" "$LINENO" 5 ;;
16898 *) DEFAULT_VISUALIZER="${withval}" ;;
16903 DEFAULT_VISUALIZER="$DEFAULT_VISUALIZER"
16907 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VISUALIZER as default visualizer" >&5
16908 $as_echo "$as_me: Using $DEFAULT_VISUALIZER as default visualizer" >&6;}
16911 cat >>confdefs.h <<_ACEOF
16912 #define DEFAULT_VISUALIZER "$DEFAULT_VISUALIZER"
16919 if test "x$USE_DEBUG" = xyes; then
16920 PROFILE_CFLAGS="-g"
16924 # GST_DISABLE_DEPRECATED: hide the visibility of deprecated
16925 # functionality from the API that gstreamer uses
16926 # GST_REMOVE_DEPRECATED: don't compile deprecated functionality (breaks ABI)
16927 if test "x$PACKAGE_VERSION_NANO" = "x1"; then
16928 DEPRECATED_CFLAGS="-DGST_DISABLE_DEPRECATED"
16930 DEPRECATED_CFLAGS=""
16934 GST_OPTION_CFLAGS="\$(WARNING_CFLAGS) \$(ERROR_CFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
16937 GST_CFLAGS="$GST_CFLAGS \$(GST_OPTION_CFLAGS)"
16941 GST_ALL_CFLAGS="-I\$(top_srcdir) -I\$(top_builddir) $GST_PLUGINS_BASE_CFLAGS $GST_CFLAGS \$(GST_OPTION_CFLAGS)"
16944 GST_ALL_LIBS="$GST_LIBS $LTLIBINTL \$(GCOV_LIBS)"
16947 GST_ALL_LDFLAGS="-no-undefined"
16948 if test "x${enable_Bsymbolic}" = "xyes"; then
16949 GST_ALL_LDFLAGS="$GST_ALL_LDFLAGS -Wl,-Bsymbolic-functions"
16954 GST_LIB_LDFLAGS="-export-symbols-regex \^_?\(gst_\|Gst\|GST_\).*"
16957 GST_OBJ_CFLAGS="\$(GST_ALL_CFLAGS)"
16959 GST_OBJ_LIBS="\$(top_builddir)/gst/rtsp-server/libgstrtspserver-$GST_API_VERSION.la \$(GST_ALL_LIBS)"
16964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCGROUP" >&5
16965 $as_echo_n "checking for LIBCGROUP... " >&6; }
16967 if test -n "$PKG_CONFIG"; then
16968 if test -n "$LIBCGROUP_CFLAGS"; then
16969 pkg_cv_LIBCGROUP_CFLAGS="$LIBCGROUP_CFLAGS"
16971 if test -n "$PKG_CONFIG" && \
16972 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcgroup >= 0.26\""; } >&5
16973 ($PKG_CONFIG --exists --print-errors "libcgroup >= 0.26") 2>&5
16975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16976 test $ac_status = 0; }; then
16977 pkg_cv_LIBCGROUP_CFLAGS=`$PKG_CONFIG --cflags "libcgroup >= 0.26" 2>/dev/null`
16985 if test -n "$PKG_CONFIG"; then
16986 if test -n "$LIBCGROUP_LIBS"; then
16987 pkg_cv_LIBCGROUP_LIBS="$LIBCGROUP_LIBS"
16989 if test -n "$PKG_CONFIG" && \
16990 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcgroup >= 0.26\""; } >&5
16991 ($PKG_CONFIG --exists --print-errors "libcgroup >= 0.26") 2>&5
16993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16994 test $ac_status = 0; }; then
16995 pkg_cv_LIBCGROUP_LIBS=`$PKG_CONFIG --libs "libcgroup >= 0.26" 2>/dev/null`
17006 if test $pkg_failed = yes; then
17008 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17009 _pkg_short_errors_supported=yes
17011 _pkg_short_errors_supported=no
17013 if test $_pkg_short_errors_supported = yes; then
17014 LIBCGROUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libcgroup >= 0.26"`
17016 LIBCGROUP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libcgroup >= 0.26"`
17018 # Put the nasty error message in config.log where it belongs
17019 echo "$LIBCGROUP_PKG_ERRORS" >&5
17021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17022 $as_echo "no" >&6; }
17023 HAVE_LIBCGROUP="no"
17024 elif test $pkg_failed = untried; then
17025 HAVE_LIBCGROUP="no"
17027 LIBCGROUP_CFLAGS=$pkg_cv_LIBCGROUP_CFLAGS
17028 LIBCGROUP_LIBS=$pkg_cv_LIBCGROUP_LIBS
17029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17030 $as_echo "yes" >&6; }
17031 HAVE_LIBCGROUP="yes"
17035 if test "x$HAVE_LIBCGROUP" = "xyes"; then
17036 HAVE_LIBCGROUP_TRUE=
17037 HAVE_LIBCGROUP_FALSE='#'
17039 HAVE_LIBCGROUP_TRUE='#'
17040 HAVE_LIBCGROUP_FALSE=
17046 ac_config_files="$ac_config_files Makefile gst-rtsp.spec common/Makefile common/m4/Makefile gst/Makefile gst/rtsp-server/Makefile examples/Makefile tests/Makefile tests/check/Makefile pkgconfig/Makefile pkgconfig/gstreamer-rtsp-server.pc pkgconfig/gstreamer-rtsp-server-uninstalled.pc docs/Makefile docs/version.entities docs/libs/Makefile"
17048 cat >confcache <<\_ACEOF
17049 # This file is a shell script that caches the results of configure
17050 # tests run on this system so they can be shared between configure
17051 # scripts and configure runs, see configure's option --config-cache.
17052 # It is not useful on other systems. If it contains results you don't
17053 # want to keep, you may remove or edit it.
17055 # config.status only pays attention to the cache file if you give it
17056 # the --recheck option to rerun configure.
17058 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17059 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17060 # following values.
17064 # The following way of writing the cache mishandles newlines in values,
17065 # but we know of no workaround that is simple, portable, and efficient.
17066 # So, we kill variables containing newlines.
17067 # Ultrix sh set writes to stderr and can't be redirected directly,
17068 # and sets the high bit in the cache file unless we assign to the vars.
17070 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17071 eval ac_val=\$$ac_var
17075 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17076 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17079 _ | IFS | as_nl) ;; #(
17080 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17081 *) { eval $ac_var=; unset $ac_var;} ;;
17087 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17088 *${as_nl}ac_space=\ *)
17089 # `set' does not quote correctly, so add quotes: double-quote
17090 # substitution turns \\\\ into \\, and sed turns \\ into \.
17093 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17096 # `set' quotes correctly as required by POSIX, so do not add quotes.
17097 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17106 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17108 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17110 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17111 if test -w "$cache_file"; then
17112 if test "x$cache_file" != "x/dev/null"; then
17113 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17114 $as_echo "$as_me: updating cache $cache_file" >&6;}
17115 if test ! -f "$cache_file" || test -h "$cache_file"; then
17116 cat confcache >"$cache_file"
17118 case $cache_file in #(
17120 mv -f confcache "$cache_file"$$ &&
17121 mv -f "$cache_file"$$ "$cache_file" ;; #(
17123 mv -f confcache "$cache_file" ;;
17128 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17129 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17134 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17135 # Let make expand exec_prefix.
17136 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17138 DEFS=-DHAVE_CONFIG_H
17143 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17144 # 1. Remove the extension, and $U if already installed.
17145 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17146 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17147 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17148 # will be set to the directory where LIBOBJS objects are built.
17149 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17150 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17152 LIBOBJS=$ac_libobjs
17154 LTLIBOBJS=$ac_ltlibobjs
17157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17158 $as_echo_n "checking that generated files are newer than configure... " >&6; }
17159 if test -n "$am_sleep_pid"; then
17160 # Hide warnings about reused PIDs.
17161 wait $am_sleep_pid 2>/dev/null
17163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17164 $as_echo "done" >&6; }
17165 if test -n "$EXEEXT"; then
17167 am__EXEEXT_FALSE='#'
17169 am__EXEEXT_TRUE='#'
17173 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17174 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
17175 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17177 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17178 as_fn_error $? "conditional \"AMDEP\" was never defined.
17179 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17181 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17182 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17183 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17185 if test -z "${GST_GCOV_ENABLED_TRUE}" && test -z "${GST_GCOV_ENABLED_FALSE}"; then
17186 as_fn_error $? "conditional \"GST_GCOV_ENABLED\" was never defined.
17187 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17189 if test -z "${BUILD_TESTS_TRUE}" && test -z "${BUILD_TESTS_FALSE}"; then
17190 as_fn_error $? "conditional \"BUILD_TESTS\" was never defined.
17191 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17193 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17194 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17195 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17197 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
17198 as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
17199 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17201 if test -z "${HAVE_VALGRIND_TRUE}" && test -z "${HAVE_VALGRIND_FALSE}"; then
17202 as_fn_error $? "conditional \"HAVE_VALGRIND\" was never defined.
17203 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17205 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
17206 as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
17207 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17209 if test -z "${ENABLE_DOCBOOK_TRUE}" && test -z "${ENABLE_DOCBOOK_FALSE}"; then
17210 as_fn_error $? "conditional \"ENABLE_DOCBOOK\" was never defined.
17211 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17213 if test -z "${DOC_HTML_TRUE}" && test -z "${DOC_HTML_FALSE}"; then
17214 as_fn_error $? "conditional \"DOC_HTML\" was never defined.
17215 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17217 if test -z "${DOC_PDF_TRUE}" && test -z "${DOC_PDF_FALSE}"; then
17218 as_fn_error $? "conditional \"DOC_PDF\" was never defined.
17219 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17221 if test -z "${DOC_PS_TRUE}" && test -z "${DOC_PS_FALSE}"; then
17222 as_fn_error $? "conditional \"DOC_PS\" was never defined.
17223 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17225 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
17226 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
17227 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17229 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
17230 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
17231 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17233 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
17234 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
17235 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17237 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
17238 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
17239 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17241 if test -z "${HAVE_CHECK_TRUE}" && test -z "${HAVE_CHECK_FALSE}"; then
17242 as_fn_error $? "conditional \"HAVE_CHECK\" was never defined.
17243 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17245 if test -z "${HAVE_LIBCGROUP_TRUE}" && test -z "${HAVE_LIBCGROUP_FALSE}"; then
17246 as_fn_error $? "conditional \"HAVE_LIBCGROUP\" was never defined.
17247 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17250 : "${CONFIG_STATUS=./config.status}"
17252 ac_clean_files_save=$ac_clean_files
17253 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17254 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17255 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17257 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17259 # Generated by $as_me.
17260 # Run this file to recreate the current configuration.
17261 # Compiler output produced by configure, useful for debugging
17262 # configure, is in config.log if it exists.
17265 ac_cs_recheck=false
17268 SHELL=\${CONFIG_SHELL-$SHELL}
17271 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17272 ## -------------------- ##
17273 ## M4sh Initialization. ##
17274 ## -------------------- ##
17276 # Be more Bourne compatible
17277 DUALCASE=1; export DUALCASE # for MKS sh
17278 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17281 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17282 # is contrary to our usage. Disable this feature.
17283 alias -g '${1+"$@"}'='"$@"'
17284 setopt NO_GLOB_SUBST
17286 case `(set -o) 2>/dev/null` in #(
17298 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17299 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17300 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17301 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17302 # Prefer a ksh shell builtin over an external printf program on Solaris,
17303 # but without wasting forks for bash or zsh.
17304 if test -z "$BASH_VERSION$ZSH_VERSION" \
17305 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17306 as_echo='print -r --'
17307 as_echo_n='print -rn --'
17308 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17309 as_echo='printf %s\n'
17310 as_echo_n='printf %s'
17312 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17313 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17314 as_echo_n='/usr/ucb/echo -n'
17316 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17317 as_echo_n_body='eval
17321 expr "X$arg" : "X\\(.*\\)$as_nl";
17322 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17324 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17326 export as_echo_n_body
17327 as_echo_n='sh -c $as_echo_n_body as_echo'
17329 export as_echo_body
17330 as_echo='sh -c $as_echo_body as_echo'
17333 # The user is always right.
17334 if test "${PATH_SEPARATOR+set}" != set; then
17336 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17337 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17344 # We need space, tab and new line, in precisely that order. Quoting is
17345 # there to prevent editors from complaining about space-tab.
17346 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17347 # splitting by setting IFS to empty value.)
17350 # Find who we are. Look in the path if we contain no directory separator.
17353 *[\\/]* ) as_myself=$0 ;;
17354 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17355 for as_dir in $PATH
17358 test -z "$as_dir" && as_dir=.
17359 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17365 # We did not find ourselves, most probably we were run as `sh COMMAND'
17366 # in which case we are not to be found in the path.
17367 if test "x$as_myself" = x; then
17370 if test ! -f "$as_myself"; then
17371 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17375 # Unset variables that we do not need and which cause bugs (e.g. in
17376 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17377 # suppresses any "Segmentation fault" message there. '((' could
17378 # trigger a bug in pdksh 5.2.14.
17379 for as_var in BASH_ENV ENV MAIL MAILPATH
17380 do eval test x\${$as_var+set} = xset \
17381 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17394 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17397 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17398 # ----------------------------------------
17399 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17400 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17401 # script with STATUS, using 1 if that was 0.
17404 as_status=$1; test $as_status -eq 0 && as_status=1
17406 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17407 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17409 $as_echo "$as_me: error: $2" >&2
17410 as_fn_exit $as_status
17414 # as_fn_set_status STATUS
17415 # -----------------------
17416 # Set $? to STATUS, without forking.
17417 as_fn_set_status ()
17420 } # as_fn_set_status
17422 # as_fn_exit STATUS
17423 # -----------------
17424 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17428 as_fn_set_status $1
17434 # Portably unset VAR.
17437 { eval $1=; unset $1;}
17439 as_unset=as_fn_unset
17440 # as_fn_append VAR VALUE
17441 # ----------------------
17442 # Append the text in VALUE to the end of the definition contained in VAR. Take
17443 # advantage of any shell optimizations that allow amortized linear growth over
17444 # repeated appends, instead of the typical quadratic growth present in naive
17446 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17447 eval 'as_fn_append ()
17458 # as_fn_arith ARG...
17459 # ------------------
17460 # Perform arithmetic evaluation on the ARGs, and store the result in the
17461 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17462 # must be portable across $(()) and expr.
17463 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17464 eval 'as_fn_arith ()
17471 as_val=`expr "$@" || test $? -eq 1`
17476 if expr a : '\(a\)' >/dev/null 2>&1 &&
17477 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17483 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17484 as_basename=basename
17489 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17495 as_me=`$as_basename -- "$0" ||
17496 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17497 X"$0" : 'X\(//\)$' \| \
17498 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17500 sed '/^.*\/\([^/][^/]*\)\/*$/{
17514 # Avoid depending upon Character Ranges.
17515 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17516 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17517 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17518 as_cr_digits='0123456789'
17519 as_cr_alnum=$as_cr_Letters$as_cr_digits
17521 ECHO_C= ECHO_N= ECHO_T=
17522 case `echo -n x` in #(((((
17524 case `echo 'xy\c'` in
17525 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17527 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17534 rm -f conf$$ conf$$.exe conf$$.file
17535 if test -d conf$$.dir; then
17536 rm -f conf$$.dir/conf$$.file
17539 mkdir conf$$.dir 2>/dev/null
17541 if (echo >conf$$.file) 2>/dev/null; then
17542 if ln -s conf$$.file conf$$ 2>/dev/null; then
17544 # ... but there are two gotchas:
17545 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17546 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17547 # In both cases, we have to default to `cp -pR'.
17548 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17550 elif ln conf$$.file conf$$ 2>/dev/null; then
17558 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17559 rmdir conf$$.dir 2>/dev/null
17564 # Create "$as_dir" as a directory, including parents if necessary.
17569 -*) as_dir=./$as_dir;;
17571 test -d "$as_dir" || eval $as_mkdir_p || {
17575 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17576 *) as_qdir=$as_dir;;
17578 as_dirs="'$as_qdir' $as_dirs"
17579 as_dir=`$as_dirname -- "$as_dir" ||
17580 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17581 X"$as_dir" : 'X\(//\)[^/]' \| \
17582 X"$as_dir" : 'X\(//\)$' \| \
17583 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17584 $as_echo X"$as_dir" |
17585 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17589 /^X\(\/\/\)[^/].*/{
17602 test -d "$as_dir" && break
17604 test -z "$as_dirs" || eval "mkdir $as_dirs"
17605 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17609 if mkdir -p . 2>/dev/null; then
17610 as_mkdir_p='mkdir -p "$as_dir"'
17612 test -d ./-p && rmdir ./-p
17617 # as_fn_executable_p FILE
17618 # -----------------------
17619 # Test if FILE is an executable regular file.
17620 as_fn_executable_p ()
17622 test -f "$1" && test -x "$1"
17623 } # as_fn_executable_p
17624 as_test_x='test -x'
17625 as_executable_p=as_fn_executable_p
17627 # Sed expression to map a string onto a valid CPP name.
17628 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17630 # Sed expression to map a string onto a valid variable name.
17631 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17635 ## ----------------------------------- ##
17636 ## Main body of $CONFIG_STATUS script. ##
17637 ## ----------------------------------- ##
17639 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17641 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17642 # Save the log message, to keep $0 and so on meaningful, and to
17643 # report actual input values of CONFIG_FILES etc. instead of their
17644 # values after options handling.
17646 This file was extended by GStreamer RTSP Server Library $as_me 1.4.1, which was
17647 generated by GNU Autoconf 2.69. Invocation command line was
17649 CONFIG_FILES = $CONFIG_FILES
17650 CONFIG_HEADERS = $CONFIG_HEADERS
17651 CONFIG_LINKS = $CONFIG_LINKS
17652 CONFIG_COMMANDS = $CONFIG_COMMANDS
17655 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17660 case $ac_config_files in *"
17661 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17664 case $ac_config_headers in *"
17665 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17669 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17670 # Files that config.status was made for.
17671 config_files="$ac_config_files"
17672 config_headers="$ac_config_headers"
17673 config_commands="$ac_config_commands"
17677 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17679 \`$as_me' instantiates files and other configuration actions
17680 from templates according to the current configuration. Unless the files
17681 and actions are specified as TAGs, all are instantiated by default.
17683 Usage: $0 [OPTION]... [TAG]...
17685 -h, --help print this help, then exit
17686 -V, --version print version number and configuration settings, then exit
17687 --config print configuration, then exit
17688 -q, --quiet, --silent
17689 do not print progress messages
17690 -d, --debug don't remove temporary files
17691 --recheck update $as_me by reconfiguring in the same conditions
17692 --file=FILE[:TEMPLATE]
17693 instantiate the configuration file FILE
17694 --header=FILE[:TEMPLATE]
17695 instantiate the configuration header FILE
17697 Configuration files:
17700 Configuration headers:
17703 Configuration commands:
17706 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>."
17709 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17710 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17712 GStreamer RTSP Server Library config.status 1.4.1
17713 configured by $0, generated by GNU Autoconf 2.69,
17714 with options \\"\$ac_cs_config\\"
17716 Copyright (C) 2012 Free Software Foundation, Inc.
17717 This config.status script is free software; the Free Software Foundation
17718 gives unlimited permission to copy, distribute and modify it."
17725 test -n "\$AWK" || AWK=awk
17728 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17729 # The default lists apply if the user does not specify any file.
17735 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17736 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17740 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17752 # Handling of the options.
17753 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17755 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17756 $as_echo "$ac_cs_version"; exit ;;
17757 --config | --confi | --conf | --con | --co | --c )
17758 $as_echo "$ac_cs_config"; exit ;;
17759 --debug | --debu | --deb | --de | --d | -d )
17761 --file | --fil | --fi | --f )
17764 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17765 '') as_fn_error $? "missing file argument" ;;
17767 as_fn_append CONFIG_FILES " '$ac_optarg'"
17768 ac_need_defaults=false;;
17769 --header | --heade | --head | --hea )
17772 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17774 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17775 ac_need_defaults=false;;
17777 # Conflict between --help and --header
17778 as_fn_error $? "ambiguous option: \`$1'
17779 Try \`$0 --help' for more information.";;
17780 --help | --hel | -h )
17781 $as_echo "$ac_cs_usage"; exit ;;
17782 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17783 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17786 # This is an error.
17787 -*) as_fn_error $? "unrecognized option: \`$1'
17788 Try \`$0 --help' for more information." ;;
17790 *) as_fn_append ac_config_targets " $1"
17791 ac_need_defaults=false ;;
17797 ac_configure_extra_args=
17799 if $ac_cs_silent; then
17801 ac_configure_extra_args="$ac_configure_extra_args --silent"
17805 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17806 if \$ac_cs_recheck; then
17807 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17809 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17810 CONFIG_SHELL='$SHELL'
17811 export CONFIG_SHELL
17816 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17820 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17821 ## Running $as_me. ##
17827 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17831 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17834 # The HP-UX ksh and POSIX shell print the target directory to stdout
17835 # if CDPATH is set.
17836 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17838 sed_quote_subst='$sed_quote_subst'
17839 double_quote_subst='$double_quote_subst'
17840 delay_variable_subst='$delay_variable_subst'
17841 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17842 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17843 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
17844 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17845 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17846 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17847 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17848 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17849 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17850 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17851 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17852 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17853 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17854 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17855 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17856 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17857 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17858 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17859 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17860 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17861 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17862 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17863 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17864 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17865 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17866 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17867 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17868 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17869 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17870 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17871 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17872 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17873 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17874 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17875 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17876 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17877 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17878 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17879 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17880 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17881 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17882 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17883 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17884 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17885 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17886 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17887 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17888 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17889 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17890 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17891 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17892 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17893 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17894 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17895 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17896 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17897 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17898 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"`'
17899 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17900 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17901 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17902 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17903 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17904 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17905 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17906 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17907 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17908 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17909 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17910 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17911 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17912 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17913 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17914 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17915 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17916 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17917 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17918 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17919 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17920 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17921 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17922 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17923 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17924 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17925 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17926 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17927 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17928 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17929 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17930 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17931 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17932 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17933 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17934 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17935 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17936 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17937 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17938 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17939 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17940 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17941 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17942 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17943 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17944 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17945 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17946 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17947 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17948 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17949 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17950 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17951 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17952 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17953 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17954 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17955 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17956 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17957 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17958 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17959 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17960 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17961 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17962 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17963 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17964 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17965 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17966 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17967 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17968 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17969 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17970 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17971 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17974 LTCFLAGS='$LTCFLAGS'
17975 compiler='$compiler_DEFAULT'
17977 # A function that is used when there is no print builtin or printf.
17978 func_fallback_echo ()
17980 eval 'cat <<_LTECHO_EOF
17985 # Quote evaled strings.
18002 deplibs_check_method \
18006 sharedlib_from_linklib_cmd \
18009 archiver_list_spec \
18015 lt_cv_sys_global_symbol_pipe \
18016 lt_cv_sys_global_symbol_to_cdecl \
18017 lt_cv_sys_global_symbol_to_c_name_address \
18018 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18019 nm_file_list_spec \
18020 lt_prog_compiler_no_builtin_flag \
18021 lt_prog_compiler_pic \
18022 lt_prog_compiler_wl \
18023 lt_prog_compiler_static \
18024 lt_cv_prog_compiler_c_o \
18033 export_dynamic_flag_spec \
18034 whole_archive_flag_spec \
18035 compiler_needs_object \
18037 allow_undefined_flag \
18038 no_undefined_flag \
18039 hardcode_libdir_flag_spec \
18040 hardcode_libdir_separator \
18044 variables_saved_for_relink \
18046 library_names_spec \
18048 install_override_mode \
18052 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18053 *[\\\\\\\`\\"\\\$]*)
18054 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18057 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18062 # Double-quote double-evaled strings.
18063 for var in reload_cmds \
18064 old_postinstall_cmds \
18065 old_postuninstall_cmds \
18067 extract_expsyms_cmds \
18068 old_archive_from_new_cmds \
18069 old_archive_from_expsyms_cmds \
18071 archive_expsym_cmds \
18073 module_expsym_cmds \
18074 export_symbols_cmds \
18078 postuninstall_cmds \
18080 sys_lib_search_path_spec \
18081 sys_lib_dlsearch_path_spec; do
18082 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18083 *[\\\\\\\`\\"\\\$]*)
18084 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18087 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18092 ac_aux_dir='$ac_aux_dir'
18093 xsi_shell='$xsi_shell'
18094 lt_shell_append='$lt_shell_append'
18096 # See if we are running on zsh, and set the options which allow our
18097 # commands through without removal of \ escapes INIT.
18098 if test -n "\${ZSH_VERSION+set}" ; then
18099 setopt NO_GLOB_SUBST
18105 TIMESTAMP='$TIMESTAMP'
18114 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18116 # Handling of arguments.
18117 for ac_config_target in $ac_config_targets
18119 case $ac_config_target in
18120 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18121 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18122 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18123 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18124 "gst-rtsp.spec") CONFIG_FILES="$CONFIG_FILES gst-rtsp.spec" ;;
18125 "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
18126 "common/m4/Makefile") CONFIG_FILES="$CONFIG_FILES common/m4/Makefile" ;;
18127 "gst/Makefile") CONFIG_FILES="$CONFIG_FILES gst/Makefile" ;;
18128 "gst/rtsp-server/Makefile") CONFIG_FILES="$CONFIG_FILES gst/rtsp-server/Makefile" ;;
18129 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
18130 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
18131 "tests/check/Makefile") CONFIG_FILES="$CONFIG_FILES tests/check/Makefile" ;;
18132 "pkgconfig/Makefile") CONFIG_FILES="$CONFIG_FILES pkgconfig/Makefile" ;;
18133 "pkgconfig/gstreamer-rtsp-server.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-rtsp-server.pc" ;;
18134 "pkgconfig/gstreamer-rtsp-server-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-rtsp-server-uninstalled.pc" ;;
18135 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
18136 "docs/version.entities") CONFIG_FILES="$CONFIG_FILES docs/version.entities" ;;
18137 "docs/libs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libs/Makefile" ;;
18139 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18144 # If the user did not use the arguments to specify the items to instantiate,
18145 # then the envvar interface is used. Set only those that are not.
18146 # We use the long form for the default assignment because of an extremely
18147 # bizarre bug on SunOS 4.1.3.
18148 if $ac_need_defaults; then
18149 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18150 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18151 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18154 # Have a temporary directory for convenience. Make it in the build tree
18155 # simply because there is no reason against having it here, and in addition,
18156 # creating and moving files from /tmp can sometimes cause problems.
18157 # Hook for its removal unless debugging.
18158 # Note that there is a small window in which the directory will not be cleaned:
18159 # after its creation but before its name has been assigned to `$tmp'.
18163 trap 'exit_status=$?
18164 : "${ac_tmp:=$tmp}"
18165 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18167 trap 'as_fn_exit 1' 1 2 13 15
18169 # Create a (secure) tmp directory for tmp files.
18172 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18176 tmp=./conf$$-$RANDOM
18177 (umask 077 && mkdir "$tmp")
18178 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18181 # Set up the scripts for CONFIG_FILES section.
18182 # No need to generate them if there are no CONFIG_FILES.
18183 # This happens for instance with `./config.status config.h'.
18184 if test -n "$CONFIG_FILES"; then
18187 ac_cr=`echo X | tr X '\015'`
18188 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18189 # But we know of no other shell where ac_cr would be empty at this
18190 # point, so we can use a bashism as a fallback.
18191 if test "x$ac_cr" = x; then
18192 eval ac_cr=\$\'\\r\'
18194 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18195 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18198 ac_cs_awk_cr=$ac_cr
18201 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18206 echo "cat >conf$$subs.awk <<_ACEOF" &&
18207 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18209 } >conf$$subs.sh ||
18210 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18211 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18213 for ac_last_try in false false false false false :; do
18214 . ./conf$$subs.sh ||
18215 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18217 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18218 if test $ac_delim_n = $ac_delim_num; then
18220 elif $ac_last_try; then
18221 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18223 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18226 rm -f conf$$subs.sh
18228 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18229 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18233 s/^/S["/; s/!.*/"]=/
18243 s/\(.\{148\}\)..*/\1/
18245 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18250 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18257 s/\(.\{148\}\)..*/\1/
18259 s/["\\]/\\&/g; s/^/"/; s/$/"/
18263 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18268 ' <conf$$subs.awk | sed '
18273 ' >>$CONFIG_STATUS || ac_write_fail=1
18274 rm -f conf$$subs.awk
18275 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18277 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18278 for (key in S) S_is_set[key] = 1
18284 nfields = split(line, field, "@")
18286 len = length(field[1])
18287 for (i = 2; i < nfields; i++) {
18289 keylen = length(key)
18290 if (S_is_set[key]) {
18292 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18293 len += length(value) + length(field[++i])
18304 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18305 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18306 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18309 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18310 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18313 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18314 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18315 # trailing colons and then remove the whole line if VPATH becomes empty
18316 # (actually we leave an empty line to preserve line numbers).
18317 if test "x$srcdir" = x.; then
18318 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18336 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18337 fi # test -n "$CONFIG_FILES"
18339 # Set up the scripts for CONFIG_HEADERS section.
18340 # No need to generate them if there are no CONFIG_HEADERS.
18341 # This happens for instance with `./config.status Makefile'.
18342 if test -n "$CONFIG_HEADERS"; then
18343 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18347 # Transform confdefs.h into an awk script `defines.awk', embedded as
18348 # here-document in config.status, that substitutes the proper values into
18349 # config.h.in to produce config.h.
18351 # Create a delimiter string that does not exist in confdefs.h, to ease
18352 # handling of long lines.
18354 for ac_last_try in false false :; do
18355 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18356 if test -z "$ac_tt"; then
18358 elif $ac_last_try; then
18359 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18361 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18365 # For the awk script, D is an array of macro values keyed by name,
18366 # likewise P contains macro parameters if any. Preserve backslash
18367 # newline sequences.
18369 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18371 s/.\{148\}/&'"$ac_delim"'/g
18374 s/^[ ]*#[ ]*define[ ][ ]*/ /
18381 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18383 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18387 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18388 D["\1"]=" \3\\\\\\n"\\/p
18390 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18395 s/.\{148\}/&'"$ac_delim"'/g
18400 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18403 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18405 ' <confdefs.h | sed '
18406 s/'"$ac_delim"'/"\\\
18407 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18410 for (key in D) D_is_set[key] = 1
18413 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18415 split(line, arg, " ")
18416 if (arg[1] == "#") {
18420 defundef = substr(arg[1], 2)
18423 split(mac1, mac2, "(") #)
18425 prefix = substr(line, 1, index(line, defundef) - 1)
18426 if (D_is_set[macro]) {
18427 # Preserve the white space surrounding the "#".
18428 print prefix "define", macro P[macro] D[macro]
18431 # Replace #undef with comments. This is necessary, for example,
18432 # in the case of _POSIX_SOURCE, which is predefined and required
18433 # on some systems where configure will not decide to define it.
18434 if (defundef == "undef") {
18435 print "/*", prefix defundef, macro, "*/"
18443 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18444 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18445 fi # test -n "$CONFIG_HEADERS"
18448 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18453 :[FHLC]) ac_mode=$ac_tag; continue;;
18455 case $ac_mode$ac_tag in
18457 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18458 :[FH]-) ac_tag=-:-;;
18459 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18476 -) ac_f="$ac_tmp/stdin";;
18477 *) # Look for the file first in the build tree, then in the source tree
18478 # (if the path is not absolute). The absolute path cannot be DOS-style,
18479 # because $ac_f cannot contain `:'.
18483 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18485 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18487 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18488 as_fn_append ac_file_inputs " '$ac_f'"
18491 # Let's still pretend it is `configure' which instantiates (i.e., don't
18492 # use $as_me), people would be surprised to read:
18493 # /* config.h. Generated by config.status. */
18494 configure_input='Generated from '`
18495 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18497 if test x"$ac_file" != x-; then
18498 configure_input="$ac_file. $configure_input"
18499 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18500 $as_echo "$as_me: creating $ac_file" >&6;}
18502 # Neutralize special characters interpreted by sed in replacement strings.
18503 case $configure_input in #(
18504 *\&* | *\|* | *\\* )
18505 ac_sed_conf_input=`$as_echo "$configure_input" |
18506 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18507 *) ac_sed_conf_input=$configure_input;;
18511 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18512 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18517 ac_dir=`$as_dirname -- "$ac_file" ||
18518 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18519 X"$ac_file" : 'X\(//\)[^/]' \| \
18520 X"$ac_file" : 'X\(//\)$' \| \
18521 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18522 $as_echo X"$ac_file" |
18523 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18527 /^X\(\/\/\)[^/].*/{
18540 as_dir="$ac_dir"; as_fn_mkdir_p
18544 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18546 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18547 # A ".." for each directory in $ac_dir_suffix.
18548 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18549 case $ac_top_builddir_sub in
18550 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18551 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18554 ac_abs_top_builddir=$ac_pwd
18555 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18556 # for backward compatibility:
18557 ac_top_builddir=$ac_top_build_prefix
18560 .) # We are building in place.
18562 ac_top_srcdir=$ac_top_builddir_sub
18563 ac_abs_top_srcdir=$ac_pwd ;;
18564 [\\/]* | ?:[\\/]* ) # Absolute name.
18565 ac_srcdir=$srcdir$ac_dir_suffix;
18566 ac_top_srcdir=$srcdir
18567 ac_abs_top_srcdir=$srcdir ;;
18568 *) # Relative name.
18569 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18570 ac_top_srcdir=$ac_top_build_prefix$srcdir
18571 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18573 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18583 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18584 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18586 ac_MKDIR_P=$MKDIR_P
18588 [\\/$]* | ?:[\\/]* ) ;;
18589 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18593 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18594 # If the template does not know about datarootdir, expand it.
18595 # FIXME: This hack should be removed a few years after 2.60.
18596 ac_datarootdir_hack=; ac_datarootdir_seen=
18607 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18608 *datarootdir*) ac_datarootdir_seen=yes;;
18609 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18611 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18613 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18614 ac_datarootdir_hack='
18615 s&@datadir@&$datadir&g
18616 s&@docdir@&$docdir&g
18617 s&@infodir@&$infodir&g
18618 s&@localedir@&$localedir&g
18619 s&@mandir@&$mandir&g
18620 s&\\\${datarootdir}&$datarootdir&g' ;;
18624 # Neutralize VPATH when `$srcdir' = `.'.
18625 # Shell code in configure.ac might set extrasub.
18626 # FIXME: do we really want to maintain this feature?
18627 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18628 ac_sed_extra="$ac_vpsub
18631 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18633 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18634 s|@configure_input@|$ac_sed_conf_input|;t t
18635 s&@top_builddir@&$ac_top_builddir_sub&;t t
18636 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18637 s&@srcdir@&$ac_srcdir&;t t
18638 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18639 s&@top_srcdir@&$ac_top_srcdir&;t t
18640 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18641 s&@builddir@&$ac_builddir&;t t
18642 s&@abs_builddir@&$ac_abs_builddir&;t t
18643 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18644 s&@INSTALL@&$ac_INSTALL&;t t
18645 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18646 $ac_datarootdir_hack
18648 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18649 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18651 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18652 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18653 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18654 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18656 which seems to be undefined. Please make sure it is defined" >&5
18657 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18658 which seems to be undefined. Please make sure it is defined" >&2;}
18660 rm -f "$ac_tmp/stdin"
18662 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18663 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18665 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18671 if test x"$ac_file" != x-; then
18673 $as_echo "/* $configure_input */" \
18674 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18675 } >"$ac_tmp/config.h" \
18676 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18677 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18678 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18679 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18682 mv "$ac_tmp/config.h" "$ac_file" \
18683 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18686 $as_echo "/* $configure_input */" \
18687 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18688 || as_fn_error $? "could not create -" "$LINENO" 5
18690 # Compute "$ac_file"'s index in $config_headers.
18693 for _am_header in $config_headers :; do
18694 case $_am_header in
18695 $_am_arg | $_am_arg:* )
18698 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18701 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18702 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18703 X"$_am_arg" : 'X\(//\)[^/]' \| \
18704 X"$_am_arg" : 'X\(//\)$' \| \
18705 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18706 $as_echo X"$_am_arg" |
18707 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18711 /^X\(\/\/\)[^/].*/{
18723 s/.*/./; q'`/stamp-h$_am_stamp_count
18726 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18727 $as_echo "$as_me: executing $ac_file commands" >&6;}
18732 case $ac_file$ac_mode in
18733 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18734 # Older Autoconf quotes --file arguments for eval, but not when files
18735 # are listed without --file. Let's play safe and only enable the eval
18736 # if we detect the quoting.
18737 case $CONFIG_FILES in
18738 *\'*) eval set x "$CONFIG_FILES" ;;
18739 *) set x $CONFIG_FILES ;;
18744 # Strip MF so we end up with the name of the file.
18745 mf=`echo "$mf" | sed -e 's/:.*$//'`
18746 # Check whether this is an Automake generated Makefile or not.
18747 # We used to match only the files named 'Makefile.in', but
18748 # some people rename them; so instead we look at the file content.
18749 # Grep'ing the first line is not enough: some people post-process
18750 # each Makefile.in and add a new line on top of each file to say so.
18751 # Grep'ing the whole file is not good either: AIX grep has a line
18752 # limit of 2048, but all sed's we know have understand at least 4000.
18753 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18754 dirpart=`$as_dirname -- "$mf" ||
18755 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18756 X"$mf" : 'X\(//\)[^/]' \| \
18757 X"$mf" : 'X\(//\)$' \| \
18758 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18760 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18764 /^X\(\/\/\)[^/].*/{
18780 # Extract the definition of DEPDIR, am__include, and am__quote
18781 # from the Makefile without running 'make'.
18782 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18783 test -z "$DEPDIR" && continue
18784 am__include=`sed -n 's/^am__include = //p' < "$mf"`
18785 test -z "$am__include" && continue
18786 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18787 # Find all dependency output files, they are included files with
18788 # $(DEPDIR) in their names. We invoke sed twice because it is the
18789 # simplest approach to changing $(DEPDIR) to its actual value in the
18791 for file in `sed -n "
18792 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18793 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18794 # Make sure the directory exists.
18795 test -f "$dirpart/$file" && continue
18796 fdir=`$as_dirname -- "$file" ||
18797 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18798 X"$file" : 'X\(//\)[^/]' \| \
18799 X"$file" : 'X\(//\)$' \| \
18800 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18801 $as_echo X"$file" |
18802 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18806 /^X\(\/\/\)[^/].*/{
18819 as_dir=$dirpart/$fdir; as_fn_mkdir_p
18820 # echo "creating $dirpart/$file"
18821 echo '# dummy' > "$dirpart/$file"
18828 # See if we are running on zsh, and set the options which allow our
18829 # commands through without removal of \ escapes.
18830 if test -n "${ZSH_VERSION+set}" ; then
18831 setopt NO_GLOB_SUBST
18834 cfgfile="${ofile}T"
18835 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18838 cat <<_LT_EOF >> "$cfgfile"
18841 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18842 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18843 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18844 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18846 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18847 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
18849 # Written by Gordon Matzigkeit, 1996
18851 # This file is part of GNU Libtool.
18853 # GNU Libtool is free software; you can redistribute it and/or
18854 # modify it under the terms of the GNU General Public License as
18855 # published by the Free Software Foundation; either version 2 of
18856 # the License, or (at your option) any later version.
18858 # As a special exception to the GNU General Public License,
18859 # if you distribute this file as part of a program or library that
18860 # is built using GNU Libtool, you may include this file under the
18861 # same distribution terms that you use for the rest of that program.
18863 # GNU Libtool is distributed in the hope that it will be useful,
18864 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18865 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18866 # GNU General Public License for more details.
18868 # You should have received a copy of the GNU General Public License
18869 # along with GNU Libtool; see the file COPYING. If not, a copy
18870 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18871 # obtained by writing to the Free Software Foundation, Inc.,
18872 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18875 # The names of the tagged configurations supported by this script.
18878 # ### BEGIN LIBTOOL CONFIG
18880 # Which release of libtool.m4 was used?
18881 macro_version=$macro_version
18882 macro_revision=$macro_revision
18884 # Assembler program.
18887 # DLL creation program.
18888 DLLTOOL=$lt_DLLTOOL
18890 # Object dumper program.
18891 OBJDUMP=$lt_OBJDUMP
18893 # Whether or not to build static libraries.
18894 build_old_libs=$enable_static
18896 # Whether or not to build shared libraries.
18897 build_libtool_libs=$enable_shared
18899 # What type of objects to build.
18902 # Whether or not to optimize for fast installation.
18903 fast_install=$enable_fast_install
18905 # Shell to use when invoking shell scripts.
18908 # An echo program that protects backslashes.
18911 # The PATH separator for the build system.
18912 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18915 host_alias=$host_alias
18919 # The build system.
18920 build_alias=$build_alias
18924 # A sed program that does not truncate output.
18927 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18928 Xsed="\$SED -e 1s/^X//"
18930 # A grep program that handles long lines.
18936 # A literal string matcher.
18939 # A BSD- or MS-compatible name lister.
18942 # Whether we need soft or hard links.
18945 # What is the maximum length of a command?
18946 max_cmd_len=$max_cmd_len
18948 # Object file suffix (normally "o").
18951 # Executable file suffix (normally "").
18954 # whether the shell understands "unset".
18957 # turn spaces into newlines.
18960 # turn newlines into spaces.
18963 # convert \$build file names to \$host format.
18964 to_host_file_cmd=$lt_cv_to_host_file_cmd
18966 # convert \$build files to toolchain format.
18967 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18969 # Method to check whether dependent libraries are shared objects.
18970 deplibs_check_method=$lt_deplibs_check_method
18972 # Command to use when deplibs_check_method = "file_magic".
18973 file_magic_cmd=$lt_file_magic_cmd
18975 # How to find potential files when deplibs_check_method = "file_magic".
18976 file_magic_glob=$lt_file_magic_glob
18978 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18979 want_nocaseglob=$lt_want_nocaseglob
18981 # Command to associate shared and link libraries.
18982 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18987 # Flags to create an archive.
18988 AR_FLAGS=$lt_AR_FLAGS
18990 # How to feed a file listing to the archiver.
18991 archiver_list_spec=$lt_archiver_list_spec
18993 # A symbol stripping program.
18996 # Commands used to install an old-style archive.
18998 old_postinstall_cmds=$lt_old_postinstall_cmds
18999 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19001 # Whether to use a lock for old archive extraction.
19002 lock_old_archive_extraction=$lock_old_archive_extraction
19007 # LTCC compiler flags.
19008 LTCFLAGS=$lt_CFLAGS
19010 # Take the output of nm and produce a listing of raw symbols and C names.
19011 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19013 # Transform the output of nm in a proper C declaration.
19014 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19016 # Transform the output of nm in a C name address pair.
19017 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19019 # Transform the output of nm in a C name address pair when lib prefix is needed.
19020 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19022 # Specify filename containing input files for \$NM.
19023 nm_file_list_spec=$lt_nm_file_list_spec
19025 # The root where to search for dependent libraries,and in which our libraries should be installed.
19026 lt_sysroot=$lt_sysroot
19028 # The name of the directory that contains temporary libtool files.
19031 # Used to examine libraries when file_magic_cmd begins with "file".
19032 MAGIC_CMD=$MAGIC_CMD
19034 # Must we lock files when doing compilation?
19035 need_locks=$lt_need_locks
19038 MANIFEST_TOOL=$lt_MANIFEST_TOOL
19040 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19041 DSYMUTIL=$lt_DSYMUTIL
19043 # Tool to change global to local symbols on Mac OS X.
19046 # Tool to manipulate fat objects and archives on Mac OS X.
19049 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19052 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19053 OTOOL64=$lt_OTOOL64
19055 # Old archive suffix (normally "a").
19058 # Shared library suffix (normally ".so").
19059 shrext_cmds=$lt_shrext_cmds
19061 # The commands to extract the exported symbol list from a shared archive.
19062 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19064 # Variables whose values should be saved in libtool wrapper scripts and
19065 # restored at link time.
19066 variables_saved_for_relink=$lt_variables_saved_for_relink
19068 # Do we need the "lib" prefix for modules?
19069 need_lib_prefix=$need_lib_prefix
19071 # Do we need a version for libraries?
19072 need_version=$need_version
19074 # Library versioning type.
19075 version_type=$version_type
19077 # Shared library runtime path variable.
19078 runpath_var=$runpath_var
19080 # Shared library path variable.
19081 shlibpath_var=$shlibpath_var
19083 # Is shlibpath searched before the hard-coded library search path?
19084 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19086 # Format of library name prefix.
19087 libname_spec=$lt_libname_spec
19089 # List of archive names. First name is the real one, the rest are links.
19090 # The last name is the one that the linker finds with -lNAME
19091 library_names_spec=$lt_library_names_spec
19093 # The coded name of the library, if different from the real name.
19094 soname_spec=$lt_soname_spec
19096 # Permission mode override for installation of shared libraries.
19097 install_override_mode=$lt_install_override_mode
19099 # Command to use after installation of a shared archive.
19100 postinstall_cmds=$lt_postinstall_cmds
19102 # Command to use after uninstallation of a shared archive.
19103 postuninstall_cmds=$lt_postuninstall_cmds
19105 # Commands used to finish a libtool library installation in a directory.
19106 finish_cmds=$lt_finish_cmds
19108 # As "finish_cmds", except a single script fragment to be evaled but
19110 finish_eval=$lt_finish_eval
19112 # Whether we should hardcode library paths into libraries.
19113 hardcode_into_libs=$hardcode_into_libs
19115 # Compile-time system search path for libraries.
19116 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19118 # Run-time system search path for libraries.
19119 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19121 # Whether dlopen is supported.
19122 dlopen_support=$enable_dlopen
19124 # Whether dlopen of programs is supported.
19125 dlopen_self=$enable_dlopen_self
19127 # Whether dlopen of statically linked programs is supported.
19128 dlopen_self_static=$enable_dlopen_self_static
19130 # Commands to strip libraries.
19131 old_striplib=$lt_old_striplib
19132 striplib=$lt_striplib
19135 # The linker used to build libraries.
19138 # How to create reloadable object files.
19139 reload_flag=$lt_reload_flag
19140 reload_cmds=$lt_reload_cmds
19142 # Commands used to build an old-style archive.
19143 old_archive_cmds=$lt_old_archive_cmds
19145 # A language specific compiler.
19148 # Is the compiler the GNU compiler?
19151 # Compiler flag to turn off builtin functions.
19152 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19154 # Additional compiler flags for building library objects.
19155 pic_flag=$lt_lt_prog_compiler_pic
19157 # How to pass a linker flag through the compiler.
19158 wl=$lt_lt_prog_compiler_wl
19160 # Compiler flag to prevent dynamic linking.
19161 link_static_flag=$lt_lt_prog_compiler_static
19163 # Does compiler simultaneously support -c and -o options?
19164 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19166 # Whether or not to add -lc for building shared libraries.
19167 build_libtool_need_lc=$archive_cmds_need_lc
19169 # Whether or not to disallow shared libs when runtime libs are static.
19170 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19172 # Compiler flag to allow reflexive dlopens.
19173 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19175 # Compiler flag to generate shared objects directly from archives.
19176 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19178 # Whether the compiler copes with passing no objects directly.
19179 compiler_needs_object=$lt_compiler_needs_object
19181 # Create an old-style archive from a shared archive.
19182 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19184 # Create a temporary old-style archive to link instead of a shared archive.
19185 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19187 # Commands used to build a shared archive.
19188 archive_cmds=$lt_archive_cmds
19189 archive_expsym_cmds=$lt_archive_expsym_cmds
19191 # Commands used to build a loadable module if different from building
19192 # a shared archive.
19193 module_cmds=$lt_module_cmds
19194 module_expsym_cmds=$lt_module_expsym_cmds
19196 # Whether we are building with GNU ld or not.
19197 with_gnu_ld=$lt_with_gnu_ld
19199 # Flag that allows shared libraries with undefined symbols to be built.
19200 allow_undefined_flag=$lt_allow_undefined_flag
19202 # Flag that enforces no undefined symbols.
19203 no_undefined_flag=$lt_no_undefined_flag
19205 # Flag to hardcode \$libdir into a binary during linking.
19206 # This must work even if \$libdir does not exist
19207 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19209 # Whether we need a single "-rpath" flag with a separated argument.
19210 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19212 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19213 # DIR into the resulting binary.
19214 hardcode_direct=$hardcode_direct
19216 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19217 # DIR into the resulting binary and the resulting library dependency is
19218 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19219 # library is relocated.
19220 hardcode_direct_absolute=$hardcode_direct_absolute
19222 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19223 # into the resulting binary.
19224 hardcode_minus_L=$hardcode_minus_L
19226 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19227 # into the resulting binary.
19228 hardcode_shlibpath_var=$hardcode_shlibpath_var
19230 # Set to "yes" if building a shared library automatically hardcodes DIR
19231 # into the library and all subsequent libraries and executables linked
19233 hardcode_automatic=$hardcode_automatic
19235 # Set to yes if linker adds runtime paths of dependent libraries
19236 # to runtime path list.
19237 inherit_rpath=$inherit_rpath
19239 # Whether libtool must link a program against all its dependency libraries.
19240 link_all_deplibs=$link_all_deplibs
19242 # Set to "yes" if exported symbols are required.
19243 always_export_symbols=$always_export_symbols
19245 # The commands to list exported symbols.
19246 export_symbols_cmds=$lt_export_symbols_cmds
19248 # Symbols that should not be listed in the preloaded symbols.
19249 exclude_expsyms=$lt_exclude_expsyms
19251 # Symbols that must always be exported.
19252 include_expsyms=$lt_include_expsyms
19254 # Commands necessary for linking programs (against libraries) with templates.
19255 prelink_cmds=$lt_prelink_cmds
19257 # Commands necessary for finishing linking programs.
19258 postlink_cmds=$lt_postlink_cmds
19260 # Specify filename containing input files.
19261 file_list_spec=$lt_file_list_spec
19263 # How to hardcode a shared library path into an executable.
19264 hardcode_action=$hardcode_action
19266 # ### END LIBTOOL CONFIG
19272 cat <<\_LT_EOF >> "$cfgfile"
19273 # AIX sometimes has problems with the GCC collect2 program. For some
19274 # reason, if we set the COLLECT_NAMES environment variable, the problems
19275 # vanish in a puff of smoke.
19276 if test "X${COLLECT_NAMES+set}" != Xset; then
19278 export COLLECT_NAMES
19285 ltmain="$ac_aux_dir/ltmain.sh"
19288 # We use sed instead of cat because bash on DJGPP gets confused if
19289 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19290 # text mode, it properly converts lines to CR/LF. This bash problem
19291 # is reportedly fixed, but why not run on old versions too?
19292 sed '$q' "$ltmain" >> "$cfgfile" \
19293 || (rm -f "$cfgfile"; exit 1)
19295 if test x"$xsi_shell" = xyes; then
19296 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
19300 \ */*) func_dirname_result="${1%/*}${2}" ;;\
19301 \ * ) func_dirname_result="${3}" ;;\
19303 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
19304 && mv -f "$cfgfile.tmp" "$cfgfile" \
19305 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19306 test 0 -eq $? || _lt_function_replace_fail=:
19309 sed -e '/^func_basename ()$/,/^} # func_basename /c\
19312 \ func_basename_result="${1##*/}"\
19313 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
19314 && mv -f "$cfgfile.tmp" "$cfgfile" \
19315 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19316 test 0 -eq $? || _lt_function_replace_fail=:
19319 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
19320 func_dirname_and_basename ()\
19323 \ */*) func_dirname_result="${1%/*}${2}" ;;\
19324 \ * ) func_dirname_result="${3}" ;;\
19326 \ func_basename_result="${1##*/}"\
19327 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
19328 && mv -f "$cfgfile.tmp" "$cfgfile" \
19329 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19330 test 0 -eq $? || _lt_function_replace_fail=:
19333 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
19336 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
19337 \ # positional parameters, so assign one to ordinary parameter first.\
19338 \ func_stripname_result=${3}\
19339 \ func_stripname_result=${func_stripname_result#"${1}"}\
19340 \ func_stripname_result=${func_stripname_result%"${2}"}\
19341 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
19342 && mv -f "$cfgfile.tmp" "$cfgfile" \
19343 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19344 test 0 -eq $? || _lt_function_replace_fail=:
19347 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
19348 func_split_long_opt ()\
19350 \ func_split_long_opt_name=${1%%=*}\
19351 \ func_split_long_opt_arg=${1#*=}\
19352 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
19353 && mv -f "$cfgfile.tmp" "$cfgfile" \
19354 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19355 test 0 -eq $? || _lt_function_replace_fail=:
19358 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
19359 func_split_short_opt ()\
19361 \ func_split_short_opt_arg=${1#??}\
19362 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
19363 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
19364 && mv -f "$cfgfile.tmp" "$cfgfile" \
19365 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19366 test 0 -eq $? || _lt_function_replace_fail=:
19369 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
19373 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
19374 \ *) func_lo2o_result=${1} ;;\
19376 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
19377 && mv -f "$cfgfile.tmp" "$cfgfile" \
19378 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19379 test 0 -eq $? || _lt_function_replace_fail=:
19382 sed -e '/^func_xform ()$/,/^} # func_xform /c\
19385 func_xform_result=${1%.*}.lo\
19386 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
19387 && mv -f "$cfgfile.tmp" "$cfgfile" \
19388 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19389 test 0 -eq $? || _lt_function_replace_fail=:
19392 sed -e '/^func_arith ()$/,/^} # func_arith /c\
19395 func_arith_result=$(( $* ))\
19396 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
19397 && mv -f "$cfgfile.tmp" "$cfgfile" \
19398 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19399 test 0 -eq $? || _lt_function_replace_fail=:
19402 sed -e '/^func_len ()$/,/^} # func_len /c\
19405 func_len_result=${#1}\
19406 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
19407 && mv -f "$cfgfile.tmp" "$cfgfile" \
19408 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19409 test 0 -eq $? || _lt_function_replace_fail=:
19413 if test x"$lt_shell_append" = xyes; then
19414 sed -e '/^func_append ()$/,/^} # func_append /c\
19417 eval "${1}+=\\${2}"\
19418 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
19419 && mv -f "$cfgfile.tmp" "$cfgfile" \
19420 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19421 test 0 -eq $? || _lt_function_replace_fail=:
19424 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
19425 func_append_quoted ()\
19427 \ func_quote_for_eval "${2}"\
19428 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
19429 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
19430 && mv -f "$cfgfile.tmp" "$cfgfile" \
19431 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19432 test 0 -eq $? || _lt_function_replace_fail=:
19435 # Save a `func_append' function call where possible by direct use of '+='
19436 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
19437 && mv -f "$cfgfile.tmp" "$cfgfile" \
19438 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19439 test 0 -eq $? || _lt_function_replace_fail=:
19441 # Save a `func_append' function call even when '+=' is not available
19442 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
19443 && mv -f "$cfgfile.tmp" "$cfgfile" \
19444 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19445 test 0 -eq $? || _lt_function_replace_fail=:
19448 if test x"$_lt_function_replace_fail" = x":"; then
19449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
19450 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
19454 mv -f "$cfgfile" "$ofile" ||
19455 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19466 ac_clean_files=$ac_clean_files_save
19468 test $ac_write_fail = 0 ||
19469 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19472 # configure is writing to config.log, and then calls config.status.
19473 # config.status does its own redirection, appending to config.log.
19474 # Unfortunately, on DOS this fails, as config.log is still kept open
19475 # by configure, so config.status won't be able to write to it; its
19476 # output is simply discarded. So we exec the FD to /dev/null,
19477 # effectively closing config.log, so it can be properly (re)opened and
19478 # appended to by config.status. When coming back to configure, we
19479 # need to make the FD available again.
19480 if test "$no_create" != yes; then
19482 ac_config_status_args=
19483 test "$silent" = yes &&
19484 ac_config_status_args="$ac_config_status_args --quiet"
19486 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19488 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19489 # would make configure fail if this is the last instruction.
19490 $ac_cs_success || as_fn_exit 1
19492 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19494 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19501 Version : ${VERSION}
19502 Source code location : ${srcdir}
19505 CGroups example : ${HAVE_LIBCGROUP}
19507 gst-rtsp-server configured. Type 'make' to build.