2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for GStreamer 0.10.34.
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir=.
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x$as_have_required = xno; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x${ZSH_VERSION+set} = xset ; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer
235 $0: about your system, including any error possibly output
236 $0: before this message. Then install a modern shell, or
237 $0: manually run the script under such a shell if you do
244 SHELL=${CONFIG_SHELL-/bin/sh}
246 # Unset more variables known to interfere with behavior of common tools.
247 CLICOLOR_FORCE= GREP_OPTIONS=
248 unset CLICOLOR_FORCE GREP_OPTIONS
250 ## --------------------- ##
251 ## M4sh Shell Functions. ##
252 ## --------------------- ##
255 # Portably unset VAR.
258 { eval $1=; unset $1;}
262 # as_fn_set_status STATUS
263 # -----------------------
264 # Set $? to STATUS, without forking.
272 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
282 # Create "$as_dir" as a directory, including parents if necessary.
287 -*) as_dir=./$as_dir;;
289 test -d "$as_dir" || eval $as_mkdir_p || {
293 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 as_dirs="'$as_qdir' $as_dirs"
297 as_dir=`$as_dirname -- "$as_dir" ||
298 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
299 X"$as_dir" : 'X\(//\)[^/]' \| \
300 X"$as_dir" : 'X\(//\)$' \| \
301 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
302 $as_echo X"$as_dir" |
303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
320 test -d "$as_dir" && break
322 test -z "$as_dirs" || eval "mkdir $as_dirs"
323 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
327 # as_fn_append VAR VALUE
328 # ----------------------
329 # Append the text in VALUE to the end of the definition contained in VAR. Take
330 # advantage of any shell optimizations that allow amortized linear growth over
331 # repeated appends, instead of the typical quadratic growth present in naive
333 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
334 eval 'as_fn_append ()
347 # Perform arithmetic evaluation on the ARGs, and store the result in the
348 # global $as_val. Take advantage of shells that can avoid forks. The arguments
349 # must be portable across $(()) and expr.
350 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
358 as_val=`expr "$@" || test $? -eq 1`
363 # as_fn_error STATUS ERROR [LINENO LOG_FD]
364 # ----------------------------------------
365 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
366 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
367 # script with STATUS, using 1 if that was 0.
370 as_status=$1; test $as_status -eq 0 && as_status=1
372 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
373 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
375 $as_echo "$as_me: error: $2" >&2
376 as_fn_exit $as_status
379 if expr a : '\(a\)' >/dev/null 2>&1 &&
380 test "X`expr 00001 : '.*\(...\)'`" = X001; then
386 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
392 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
398 as_me=`$as_basename -- "$0" ||
399 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
400 X"$0" : 'X\(//\)$' \| \
401 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
403 sed '/^.*\/\([^/][^/]*\)\/*$/{
417 # Avoid depending upon Character Ranges.
418 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
419 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
420 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
421 as_cr_digits='0123456789'
422 as_cr_alnum=$as_cr_Letters$as_cr_digits
425 as_lineno_1=$LINENO as_lineno_1a=$LINENO
426 as_lineno_2=$LINENO as_lineno_2a=$LINENO
427 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
428 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
429 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
441 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
445 chmod +x "$as_me.lineno" ||
446 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
448 # Don't try to exec as it changes $[0], causing all sort of problems
449 # (the dirname of $[0] is not the place where we might find the
450 # original and so on. Autoconf is especially sensitive to this).
452 # Exit status is that of the last command.
456 ECHO_C= ECHO_N= ECHO_T=
457 case `echo -n x` in #(((((
459 case `echo 'xy\c'` in
460 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
462 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
469 rm -f conf$$ conf$$.exe conf$$.file
470 if test -d conf$$.dir; then
471 rm -f conf$$.dir/conf$$.file
474 mkdir conf$$.dir 2>/dev/null
476 if (echo >conf$$.file) 2>/dev/null; then
477 if ln -s conf$$.file conf$$ 2>/dev/null; then
479 # ... but there are two gotchas:
480 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
481 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
482 # In both cases, we have to default to `cp -p'.
483 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
485 elif ln conf$$.file conf$$ 2>/dev/null; then
493 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
494 rmdir conf$$.dir 2>/dev/null
496 if mkdir -p . 2>/dev/null; then
497 as_mkdir_p='mkdir -p "$as_dir"'
499 test -d ./-p && rmdir ./-p
503 if test -x / >/dev/null 2>&1; then
506 if ls -dL / >/dev/null 2>&1; then
513 if test -d "$1"; then
519 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
520 ???[sx]*):;;*)false;;esac;fi
524 as_executable_p=$as_test_x
526 # Sed expression to map a string onto a valid CPP name.
527 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
529 # Sed expression to map a string onto a valid variable name.
530 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 # Check that we are running under the correct shell.
535 SHELL=${CONFIG_SHELL-/bin/sh}
539 # Remove one level of quotation (which was required for Make).
540 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
545 if test "X$1" = X--no-reexec; then
546 # Discard the --no-reexec flag, and continue.
548 elif test "X$1" = X--fallback-echo; then
549 # Avoid inline document here, it may be left over
551 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
552 # Yippee, $ECHO works!
555 # Restart under the correct shell.
556 exec $SHELL "$0" --no-reexec ${1+"$@"}
559 if test "X$1" = X--fallback-echo; then
560 # used as fallback echo
568 # The HP-UX ksh and POSIX shell print the target directory to stdout
570 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
572 if test -z "$lt_ECHO"; then
573 if test "X${echo_test_string+set}" != Xset; then
574 # find a string as large as possible, as long as the shell can cope with it
575 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
576 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
577 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
578 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
585 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
586 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
587 test "X$echo_testing_string" = "X$echo_test_string"; then
590 # The Solaris, AIX, and Digital Unix default echo programs unquote
591 # backslashes. This makes it impossible to quote backslashes using
592 # echo "$something" | sed 's/\\/\\\\/g'
594 # So, first we look for a working echo in the user's PATH.
596 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
597 for dir in $PATH /usr/ucb; do
599 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
600 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
601 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
602 test "X$echo_testing_string" = "X$echo_test_string"; then
609 if test "X$ECHO" = Xecho; then
610 # We didn't find a better echo, so look for alternatives.
611 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
612 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
613 test "X$echo_testing_string" = "X$echo_test_string"; then
614 # This shell has a builtin print -r that does the trick.
616 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
617 test "X$CONFIG_SHELL" != X/bin/ksh; then
618 # If we have ksh, try running configure again with it.
619 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
620 export ORIGINAL_CONFIG_SHELL
621 CONFIG_SHELL=/bin/ksh
623 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
627 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
628 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
629 test "X$echo_testing_string" = "X$echo_test_string"; then
632 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
633 test "X$echo_testing_string" = 'X\t' &&
634 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
635 test "X$echo_testing_string" = "X$echo_test_string"; then
636 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
638 SHELL="$CONFIG_SHELL"
640 ECHO="$CONFIG_SHELL $0 --fallback-echo"
641 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
642 test "X$echo_testing_string" = 'X\t' &&
643 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
644 test "X$echo_testing_string" = "X$echo_test_string"; then
645 ECHO="$CONFIG_SHELL $0 --fallback-echo"
647 # maybe with a smaller string...
650 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
651 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
658 if test "$prev" != 'sed 50q "$0"'; then
659 echo_test_string=`eval $prev`
660 export echo_test_string
661 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
663 # Oops. We lost completely, so just stick with echo.
672 # Copy echo and quote the copy suitably for passing to libtool from
673 # the Makefile, instead of quoting the original, which is used later.
675 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
676 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
682 test -n "$DJDIR" || exec 7<&0 </dev/null
686 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
687 # so uname gets run too.
688 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
693 ac_default_prefix=/usr/local
695 ac_config_libobj_dir=.
702 # Identity of this package.
703 PACKAGE_NAME='GStreamer'
704 PACKAGE_TARNAME='gstreamer'
705 PACKAGE_VERSION='0.10.34'
706 PACKAGE_STRING='GStreamer 0.10.34'
707 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer'
710 ac_unique_file="gst/gst.c"
711 # Factoring default headers for most tests.
712 ac_includes_default="\
714 #ifdef HAVE_SYS_TYPES_H
715 # include <sys/types.h>
717 #ifdef HAVE_SYS_STAT_H
718 # include <sys/stat.h>
724 # ifdef HAVE_STDLIB_H
729 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
734 #ifdef HAVE_STRINGS_H
735 # include <strings.h>
737 #ifdef HAVE_INTTYPES_H
738 # include <inttypes.h>
749 ac_subst_vars='am__EXEEXT_FALSE
760 GST_PLUGIN_SCANNER_INSTALLED
785 GST_DISABLE_XML_DEFINE
793 GST_HAVE_GLIB_2_8_DEFINE
798 GST_USING_PRINTF_EXTENSION_DEFINE
799 GST_PRINTF_EXTENSION_SEGMENT_FORMAT_DEFINE
800 GST_PRINTF_EXTENSION_POINTER_FORMAT_DEFINE
801 GST_HAVE_MONOTONIC_CLOCK_FALSE
802 GST_HAVE_MONOTONIC_CLOCK_TRUE
803 GST_HAVE_MONOTONIC_CLOCK_DEFINE
804 GST_HAVE_POSIX_TIMERS_FALSE
805 GST_HAVE_POSIX_TIMERS_TRUE
806 GST_HAVE_POSIX_TIMERS_DEFINE
814 HAVE_WINSOCK2_H_FALSE
818 HAVE_SYS_TIMES_H_AND_UNISTD_H_FALSE
819 HAVE_SYS_TIMES_H_AND_UNISTD_H_TRUE
820 HAVE_SYS_SOCKET_H_FALSE
821 HAVE_SYS_SOCKET_H_TRUE
823 ENABLE_PLUGIN_DOCS_FALSE
824 ENABLE_PLUGIN_DOCS_TRUE
834 GTK_DOC_USE_LIBTOOL_FALSE
835 GTK_DOC_USE_LIBTOOL_TRUE
864 HAVE_INTROSPECTION_FALSE
865 HAVE_INTROSPECTION_TRUE
866 INTROSPECTION_TYPELIBDIR
868 INTROSPECTION_GENERATE
869 INTROSPECTION_COMPILER
870 INTROSPECTION_SCANNER
885 am__fastdepCCAS_FALSE
889 GST_HAVE_UNALIGNED_ACCESS_DEFINE
891 HAVE_CPU_CRISV32_FALSE
892 HAVE_CPU_CRISV32_TRUE
895 HAVE_CPU_X86_64_FALSE
919 BUILD_FAILING_TESTS_FALSE
920 BUILD_FAILING_TESTS_TRUE
928 GST_GCOV_ENABLED_FALSE
929 GST_GCOV_ENABLED_TRUE
939 GST_DISABLE_PLUGIN_FALSE
940 GST_DISABLE_PLUGIN_TRUE
941 GST_DISABLE_PLUGIN_DEFINE
942 GST_DISABLE_NET_FALSE
944 GST_DISABLE_NET_DEFINE
945 GST_REGISTRY_DOC_TYPES
946 GST_DISABLE_REGISTRY_FALSE
947 GST_DISABLE_REGISTRY_TRUE
948 GST_DISABLE_REGISTRY_DEFINE
949 GST_DISABLE_ALLOC_TRACE_FALSE
950 GST_DISABLE_ALLOC_TRACE_TRUE
951 GST_DISABLE_ALLOC_TRACE_DEFINE
952 GST_DISABLE_TRACE_FALSE
953 GST_DISABLE_TRACE_TRUE
954 GST_DISABLE_TRACE_DEFINE
955 GST_DISABLE_OPTION_PARSING_FALSE
956 GST_DISABLE_OPTION_PARSING_TRUE
957 GST_DISABLE_OPTION_PARSING_DEFINE
958 GST_DISABLE_PARSE_FALSE
959 GST_DISABLE_PARSE_TRUE
960 GST_DISABLE_PARSE_DEFINE
961 GST_LOADSAVE_DOC_TYPES
962 GST_DISABLE_LOADSAVE_FALSE
963 GST_DISABLE_LOADSAVE_TRUE
964 GST_DISABLE_LOADSAVE_DEFINE
965 GST_DISABLE_GST_DEBUG_FALSE
966 GST_DISABLE_GST_DEBUG_TRUE
967 GST_DISABLE_GST_DEBUG_DEFINE
977 XGETTEXT_EXTRA_OPTIONS
985 GETTEXT_MACRO_VERSION
1033 AM_DEFAULT_VERBOSITY
1043 MAINTAINER_MODE_FALSE
1044 MAINTAINER_MODE_TRUE
1045 PACKAGE_VERSION_RELEASE
1046 PACKAGE_VERSION_NANO
1047 PACKAGE_VERSION_MICRO
1048 PACKAGE_VERSION_MINOR
1049 PACKAGE_VERSION_MAJOR
1058 INSTALL_STRIP_PROGRAM
1100 program_transform_name
1113 enable_option_checking
1114 enable_maintainer_mode
1120 enable_dependency_tracking
1129 with_libiconv_prefix
1134 enable_option_parsing
1145 with_pkg_config_path
1149 enable_failing_tests
1152 enable_introspection
1156 enable_gobject_cast_checks
1159 with_buffer_alignment
1162 ac_precious_vars='build_alias
1188 # Initialize some variables set by options.
1190 ac_init_version=false
1191 ac_unrecognized_opts=
1192 ac_unrecognized_sep=
1193 # The variables have the same names as the options, with
1194 # dashes changed to underlines.
1195 cache_file=/dev/null
1202 program_transform_name=s,x,x,
1210 # Installation directory options.
1211 # These are left unexpanded so users can "make install exec_prefix=/foo"
1212 # and all the variables that are supposed to be based on exec_prefix
1213 # by default will actually change.
1214 # Use braces instead of parens because sh, perl, etc. also accept them.
1215 # (The list follows the same order as the GNU Coding Standards.)
1216 bindir='${exec_prefix}/bin'
1217 sbindir='${exec_prefix}/sbin'
1218 libexecdir='${exec_prefix}/libexec'
1219 datarootdir='${prefix}/share'
1220 datadir='${datarootdir}'
1221 sysconfdir='${prefix}/etc'
1222 sharedstatedir='${prefix}/com'
1223 localstatedir='${prefix}/var'
1224 includedir='${prefix}/include'
1225 oldincludedir='/usr/include'
1226 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1227 infodir='${datarootdir}/info'
1232 libdir='${exec_prefix}/lib'
1233 localedir='${datarootdir}/locale'
1234 mandir='${datarootdir}/man'
1240 # If the previous option needs an argument, assign it.
1241 if test -n "$ac_prev"; then
1242 eval $ac_prev=\$ac_option
1248 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1253 # Accept the important Cygnus configure options, so we can diagnose typos.
1255 case $ac_dashdash$ac_option in
1259 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1261 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1262 bindir=$ac_optarg ;;
1264 -build | --build | --buil | --bui | --bu)
1265 ac_prev=build_alias ;;
1266 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1267 build_alias=$ac_optarg ;;
1269 -cache-file | --cache-file | --cache-fil | --cache-fi \
1270 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1271 ac_prev=cache_file ;;
1272 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1273 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1274 cache_file=$ac_optarg ;;
1276 --config-cache | -C)
1277 cache_file=config.cache ;;
1279 -datadir | --datadir | --datadi | --datad)
1281 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1282 datadir=$ac_optarg ;;
1284 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1285 | --dataroo | --dataro | --datar)
1286 ac_prev=datarootdir ;;
1287 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1288 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1289 datarootdir=$ac_optarg ;;
1291 -disable-* | --disable-*)
1292 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1293 # Reject names that are not valid shell variable names.
1294 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1295 as_fn_error $? "invalid feature name: $ac_useropt"
1296 ac_useropt_orig=$ac_useropt
1297 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1298 case $ac_user_opts in
1300 "enable_$ac_useropt"
1302 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1303 ac_unrecognized_sep=', ';;
1305 eval enable_$ac_useropt=no ;;
1307 -docdir | --docdir | --docdi | --doc | --do)
1309 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1310 docdir=$ac_optarg ;;
1312 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1314 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1315 dvidir=$ac_optarg ;;
1317 -enable-* | --enable-*)
1318 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1319 # Reject names that are not valid shell variable names.
1320 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1321 as_fn_error $? "invalid feature name: $ac_useropt"
1322 ac_useropt_orig=$ac_useropt
1323 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1324 case $ac_user_opts in
1326 "enable_$ac_useropt"
1328 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1329 ac_unrecognized_sep=', ';;
1331 eval enable_$ac_useropt=\$ac_optarg ;;
1333 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1334 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1335 | --exec | --exe | --ex)
1336 ac_prev=exec_prefix ;;
1337 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1338 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1339 | --exec=* | --exe=* | --ex=*)
1340 exec_prefix=$ac_optarg ;;
1342 -gas | --gas | --ga | --g)
1343 # Obsolete; use --with-gas.
1346 -help | --help | --hel | --he | -h)
1347 ac_init_help=long ;;
1348 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1349 ac_init_help=recursive ;;
1350 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1351 ac_init_help=short ;;
1353 -host | --host | --hos | --ho)
1354 ac_prev=host_alias ;;
1355 -host=* | --host=* | --hos=* | --ho=*)
1356 host_alias=$ac_optarg ;;
1358 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1360 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1362 htmldir=$ac_optarg ;;
1364 -includedir | --includedir | --includedi | --included | --include \
1365 | --includ | --inclu | --incl | --inc)
1366 ac_prev=includedir ;;
1367 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1368 | --includ=* | --inclu=* | --incl=* | --inc=*)
1369 includedir=$ac_optarg ;;
1371 -infodir | --infodir | --infodi | --infod | --info | --inf)
1373 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1374 infodir=$ac_optarg ;;
1376 -libdir | --libdir | --libdi | --libd)
1378 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1379 libdir=$ac_optarg ;;
1381 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1382 | --libexe | --libex | --libe)
1383 ac_prev=libexecdir ;;
1384 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1385 | --libexe=* | --libex=* | --libe=*)
1386 libexecdir=$ac_optarg ;;
1388 -localedir | --localedir | --localedi | --localed | --locale)
1389 ac_prev=localedir ;;
1390 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1391 localedir=$ac_optarg ;;
1393 -localstatedir | --localstatedir | --localstatedi | --localstated \
1394 | --localstate | --localstat | --localsta | --localst | --locals)
1395 ac_prev=localstatedir ;;
1396 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1397 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1398 localstatedir=$ac_optarg ;;
1400 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1402 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1403 mandir=$ac_optarg ;;
1405 -nfp | --nfp | --nf)
1406 # Obsolete; use --without-fp.
1409 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1410 | --no-cr | --no-c | -n)
1413 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1414 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1417 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1418 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1419 | --oldin | --oldi | --old | --ol | --o)
1420 ac_prev=oldincludedir ;;
1421 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1422 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1423 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1424 oldincludedir=$ac_optarg ;;
1426 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1428 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1429 prefix=$ac_optarg ;;
1431 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1432 | --program-pre | --program-pr | --program-p)
1433 ac_prev=program_prefix ;;
1434 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1435 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1436 program_prefix=$ac_optarg ;;
1438 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1439 | --program-suf | --program-su | --program-s)
1440 ac_prev=program_suffix ;;
1441 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1442 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1443 program_suffix=$ac_optarg ;;
1445 -program-transform-name | --program-transform-name \
1446 | --program-transform-nam | --program-transform-na \
1447 | --program-transform-n | --program-transform- \
1448 | --program-transform | --program-transfor \
1449 | --program-transfo | --program-transf \
1450 | --program-trans | --program-tran \
1451 | --progr-tra | --program-tr | --program-t)
1452 ac_prev=program_transform_name ;;
1453 -program-transform-name=* | --program-transform-name=* \
1454 | --program-transform-nam=* | --program-transform-na=* \
1455 | --program-transform-n=* | --program-transform-=* \
1456 | --program-transform=* | --program-transfor=* \
1457 | --program-transfo=* | --program-transf=* \
1458 | --program-trans=* | --program-tran=* \
1459 | --progr-tra=* | --program-tr=* | --program-t=*)
1460 program_transform_name=$ac_optarg ;;
1462 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1464 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1465 pdfdir=$ac_optarg ;;
1467 -psdir | --psdir | --psdi | --psd | --ps)
1469 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1472 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1473 | -silent | --silent | --silen | --sile | --sil)
1476 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1478 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1480 sbindir=$ac_optarg ;;
1482 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1483 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1484 | --sharedst | --shareds | --shared | --share | --shar \
1486 ac_prev=sharedstatedir ;;
1487 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1488 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1489 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1491 sharedstatedir=$ac_optarg ;;
1493 -site | --site | --sit)
1495 -site=* | --site=* | --sit=*)
1498 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1500 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1501 srcdir=$ac_optarg ;;
1503 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1504 | --syscon | --sysco | --sysc | --sys | --sy)
1505 ac_prev=sysconfdir ;;
1506 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1507 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1508 sysconfdir=$ac_optarg ;;
1510 -target | --target | --targe | --targ | --tar | --ta | --t)
1511 ac_prev=target_alias ;;
1512 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1513 target_alias=$ac_optarg ;;
1515 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1518 -version | --version | --versio | --versi | --vers | -V)
1519 ac_init_version=: ;;
1522 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1523 # Reject names that are not valid shell variable names.
1524 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1525 as_fn_error $? "invalid package name: $ac_useropt"
1526 ac_useropt_orig=$ac_useropt
1527 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1528 case $ac_user_opts in
1532 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1533 ac_unrecognized_sep=', ';;
1535 eval with_$ac_useropt=\$ac_optarg ;;
1537 -without-* | --without-*)
1538 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1539 # Reject names that are not valid shell variable names.
1540 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1541 as_fn_error $? "invalid package name: $ac_useropt"
1542 ac_useropt_orig=$ac_useropt
1543 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1544 case $ac_user_opts in
1548 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1549 ac_unrecognized_sep=', ';;
1551 eval with_$ac_useropt=no ;;
1554 # Obsolete; use --with-x.
1557 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1558 | --x-incl | --x-inc | --x-in | --x-i)
1559 ac_prev=x_includes ;;
1560 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1561 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1562 x_includes=$ac_optarg ;;
1564 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1565 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1566 ac_prev=x_libraries ;;
1567 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1568 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1569 x_libraries=$ac_optarg ;;
1571 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1572 Try \`$0 --help' for more information"
1576 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1577 # Reject names that are not valid shell variable names.
1578 case $ac_envvar in #(
1579 '' | [0-9]* | *[!_$as_cr_alnum]* )
1580 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1582 eval $ac_envvar=\$ac_optarg
1583 export $ac_envvar ;;
1586 # FIXME: should be removed in autoconf 3.0.
1587 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1588 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1589 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1590 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1596 if test -n "$ac_prev"; then
1597 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1598 as_fn_error $? "missing argument to $ac_option"
1601 if test -n "$ac_unrecognized_opts"; then
1602 case $enable_option_checking in
1604 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1605 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1609 # Check all directory arguments for consistency.
1610 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1611 datadir sysconfdir sharedstatedir localstatedir includedir \
1612 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1613 libdir localedir mandir
1615 eval ac_val=\$$ac_var
1616 # Remove trailing slashes.
1619 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1620 eval $ac_var=\$ac_val;;
1622 # Be sure to have absolute directory names.
1624 [\\/$]* | ?:[\\/]* ) continue;;
1625 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1627 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1630 # There might be people who depend on the old broken behavior: `$host'
1631 # used to hold the argument of --host etc.
1632 # FIXME: To remove some day.
1635 target=$target_alias
1637 # FIXME: To remove some day.
1638 if test "x$host_alias" != x; then
1639 if test "x$build_alias" = x; then
1640 cross_compiling=maybe
1641 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1642 If a cross compiler is detected then cross compile mode will be used" >&2
1643 elif test "x$build_alias" != "x$host_alias"; then
1649 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1651 test "$silent" = yes && exec 6>/dev/null
1654 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1655 ac_ls_di=`ls -di .` &&
1656 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1657 as_fn_error $? "working directory cannot be determined"
1658 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1659 as_fn_error $? "pwd does not report name of working directory"
1662 # Find the source files, if location was not specified.
1663 if test -z "$srcdir"; then
1664 ac_srcdir_defaulted=yes
1665 # Try the directory containing this script, then the parent directory.
1666 ac_confdir=`$as_dirname -- "$as_myself" ||
1667 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1668 X"$as_myself" : 'X\(//\)[^/]' \| \
1669 X"$as_myself" : 'X\(//\)$' \| \
1670 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1671 $as_echo X"$as_myself" |
1672 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1690 if test ! -r "$srcdir/$ac_unique_file"; then
1694 ac_srcdir_defaulted=no
1696 if test ! -r "$srcdir/$ac_unique_file"; then
1697 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1698 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1700 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1702 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1704 # When building in place, set srcdir=.
1705 if test "$ac_abs_confdir" = "$ac_pwd"; then
1708 # Remove unnecessary trailing slashes from srcdir.
1709 # Double slashes in file names in object file debugging info
1710 # mess up M-x gdb in Emacs.
1712 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1714 for ac_var in $ac_precious_vars; do
1715 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1716 eval ac_env_${ac_var}_value=\$${ac_var}
1717 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1718 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1722 # Report the --help message.
1724 if test "$ac_init_help" = "long"; then
1725 # Omit some internal or obsolete options to make the list less imposing.
1726 # This message is too long to be a string in the A/UX 3.1 sh.
1728 \`configure' configures GStreamer 0.10.34 to adapt to many kinds of systems.
1730 Usage: $0 [OPTION]... [VAR=VALUE]...
1732 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1733 VAR=VALUE. See below for descriptions of some of the useful variables.
1735 Defaults for the options are specified in brackets.
1738 -h, --help display this help and exit
1739 --help=short display options specific to this package
1740 --help=recursive display the short help of all the included packages
1741 -V, --version display version information and exit
1742 -q, --quiet, --silent do not print \`checking ...' messages
1743 --cache-file=FILE cache test results in FILE [disabled]
1744 -C, --config-cache alias for \`--cache-file=config.cache'
1745 -n, --no-create do not create output files
1746 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1748 Installation directories:
1749 --prefix=PREFIX install architecture-independent files in PREFIX
1750 [$ac_default_prefix]
1751 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1754 By default, \`make install' will install all the files in
1755 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1756 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1757 for instance \`--prefix=\$HOME'.
1759 For better control, use the options below.
1761 Fine tuning of the installation directories:
1762 --bindir=DIR user executables [EPREFIX/bin]
1763 --sbindir=DIR system admin executables [EPREFIX/sbin]
1764 --libexecdir=DIR program executables [EPREFIX/libexec]
1765 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1766 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1767 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1768 --libdir=DIR object code libraries [EPREFIX/lib]
1769 --includedir=DIR C header files [PREFIX/include]
1770 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1771 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1772 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1773 --infodir=DIR info documentation [DATAROOTDIR/info]
1774 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1775 --mandir=DIR man documentation [DATAROOTDIR/man]
1776 --docdir=DIR documentation root [DATAROOTDIR/doc/gstreamer]
1777 --htmldir=DIR html documentation [DOCDIR]
1778 --dvidir=DIR dvi documentation [DOCDIR]
1779 --pdfdir=DIR pdf documentation [DOCDIR]
1780 --psdir=DIR ps documentation [DOCDIR]
1786 --program-prefix=PREFIX prepend PREFIX to installed program names
1787 --program-suffix=SUFFIX append SUFFIX to installed program names
1788 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1791 --build=BUILD configure for building on BUILD [guessed]
1792 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1796 if test -n "$ac_init_help"; then
1797 case $ac_init_help in
1798 short | recursive ) echo "Configuration of GStreamer 0.10.34:";;
1803 --disable-option-checking ignore unrecognized --enable/--with options
1804 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1805 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1806 --enable-maintainer-mode enable make rules and dependencies not useful
1807 (and sometimes confusing) to the casual installer
1808 --enable-silent-rules less verbose build output (undo: `make V=1')
1809 --disable-silent-rules verbose build output (undo: `make V=0')
1810 --enable-shared[=PKGS] build shared libraries [default=yes]
1811 --enable-static[=PKGS] build static libraries [default=yes]
1812 --enable-fast-install[=PKGS]
1813 optimize for fast installation [default=yes]
1814 --disable-dependency-tracking speeds up one-time build
1815 --enable-dependency-tracking do not reject slow dependency extractors
1816 --disable-libtool-lock avoid locking (might break parallel builds)
1817 --disable-nls do not use Native Language Support
1818 --disable-rpath do not hardcode runtime library paths
1819 --disable-gst-debug disable debugging subsystem
1820 --disable-loadsave disable pipeline XML load/save
1821 --disable-parse disable command-line parser
1822 --disable-option-parsing
1823 disable option parsing when gst_init
1824 --disable-trace disable tracing subsystem
1825 --disable-alloc-trace disable allocation tracing
1826 --disable-registry disable plugin registry
1827 --disable-net disable network distribution
1828 --disable-plugin disable plugin
1829 --disable-debug disable addition of -g debugging info
1830 --enable-profiling adds -pg to compiler commandline, for profiling
1831 --disable-valgrind disable run-time valgrind detection
1832 --enable-gcov compile with coverage profiling instrumentation (gcc
1834 --disable-examples disable building examples
1835 --disable-tests disable building test apps
1836 --disable-failing-tests disable building tests known to fail
1837 --enable-poisoning enable poisoning of deallocated objects
1838 --disable-largefile omit support for large files
1839 --enable-introspection=[no/auto/yes]
1840 Enable introspection for this build
1841 --enable-docbook use docbook to build documentation [default=no]
1842 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1843 --enable-gobject-cast-checks=[no/auto/yes]
1844 Enable GObject cast checks
1845 --enable-glib-asserts=[no/auto/yes]
1846 Enable GLib assertion
1847 --disable-check disable building unit test libraries
1848 --disable-Bsymbolic avoid linking with -Bsymbolic
1851 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1852 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1853 --with-pic try to use only PIC/non-PIC objects [default=use
1855 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1856 --with-autoconf use a different autoconf for regeneration of
1858 --with-autoheader use a different autoheader for regeneration of
1860 --with-automake use a different automake for regeneration of
1862 --with-aclocal use a different aclocal for regeneration of
1864 --with-gnu-ld assume the C compiler uses GNU ld default=no
1865 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1866 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1867 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1868 --without-libintl-prefix don't search for libintl in includedir and libdir
1869 --with-pkg-config-path colon-separated list of pkg-config(1) dirs
1870 --with-package-name specify package name to use in plugins
1871 --with-package-origin specify package origin URL to use in plugins
1872 --with-html-dir=PATH path to installed docs
1873 --with-buffer-alignment 8,N,malloc,pagesize (default is 32)
1875 Some influential environment variables:
1876 CC C compiler command
1877 CFLAGS C compiler flags
1878 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1879 nonstandard directory <lib dir>
1880 LIBS libraries to pass to the linker, e.g. -l<library>
1881 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1882 you have headers in a nonstandard directory <include dir>
1884 PKG_CONFIG path to pkg-config utility
1886 C compiler flags for VALGRIND, overriding pkg-config
1888 linker flags for VALGRIND, overriding pkg-config
1889 CCAS assembler compiler command (defaults to CC)
1890 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1891 CXX C++ compiler command
1892 CXXFLAGS C++ compiler flags
1893 CXXCPP C++ preprocessor
1894 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1895 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1897 C compiler flags for GLIB_ONLY, overriding pkg-config
1899 linker flags for GLIB_ONLY, overriding pkg-config
1900 XML_CFLAGS C compiler flags for XML, overriding pkg-config
1901 XML_LIBS linker flags for XML, overriding pkg-config
1903 Use these variables to override the choices made by `configure' or to help
1904 it to find libraries and programs with nonstandard names/locations.
1906 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>.
1911 if test "$ac_init_help" = "recursive"; then
1912 # If there are subdirs, report their specific --help.
1913 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1914 test -d "$ac_dir" ||
1915 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1920 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1922 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1923 # A ".." for each directory in $ac_dir_suffix.
1924 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1925 case $ac_top_builddir_sub in
1926 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1927 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1930 ac_abs_top_builddir=$ac_pwd
1931 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1932 # for backward compatibility:
1933 ac_top_builddir=$ac_top_build_prefix
1936 .) # We are building in place.
1938 ac_top_srcdir=$ac_top_builddir_sub
1939 ac_abs_top_srcdir=$ac_pwd ;;
1940 [\\/]* | ?:[\\/]* ) # Absolute name.
1941 ac_srcdir=$srcdir$ac_dir_suffix;
1942 ac_top_srcdir=$srcdir
1943 ac_abs_top_srcdir=$srcdir ;;
1945 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1946 ac_top_srcdir=$ac_top_build_prefix$srcdir
1947 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1949 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1951 cd "$ac_dir" || { ac_status=$?; continue; }
1952 # Check for guested configure.
1953 if test -f "$ac_srcdir/configure.gnu"; then
1955 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1956 elif test -f "$ac_srcdir/configure"; then
1958 $SHELL "$ac_srcdir/configure" --help=recursive
1960 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1962 cd "$ac_pwd" || { ac_status=$?; break; }
1966 test -n "$ac_init_help" && exit $ac_status
1967 if $ac_init_version; then
1969 GStreamer configure 0.10.34
1970 generated by GNU Autoconf 2.67
1972 Copyright (C) 2010 Free Software Foundation, Inc.
1973 This configure script is free software; the Free Software Foundation
1974 gives unlimited permission to copy, distribute and modify it.
1979 ## ------------------------ ##
1980 ## Autoconf initialization. ##
1981 ## ------------------------ ##
1983 # ac_fn_c_try_compile LINENO
1984 # --------------------------
1985 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1986 ac_fn_c_try_compile ()
1988 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1989 rm -f conftest.$ac_objext
1990 if { { ac_try="$ac_compile"
1992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1993 *) ac_try_echo=$ac_try;;
1995 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1996 $as_echo "$ac_try_echo"; } >&5
1997 (eval "$ac_compile") 2>conftest.err
1999 if test -s conftest.err; then
2000 grep -v '^ *+' conftest.err >conftest.er1
2001 cat conftest.er1 >&5
2002 mv -f conftest.er1 conftest.err
2004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2005 test $ac_status = 0; } && {
2006 test -z "$ac_c_werror_flag" ||
2007 test ! -s conftest.err
2008 } && test -s conftest.$ac_objext; then :
2011 $as_echo "$as_me: failed program was:" >&5
2012 sed 's/^/| /' conftest.$ac_ext >&5
2016 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2017 as_fn_set_status $ac_retval
2019 } # ac_fn_c_try_compile
2021 # ac_fn_c_try_link LINENO
2022 # -----------------------
2023 # Try to link conftest.$ac_ext, and return whether this succeeded.
2026 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2027 rm -f conftest.$ac_objext conftest$ac_exeext
2028 if { { ac_try="$ac_link"
2030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2031 *) ac_try_echo=$ac_try;;
2033 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2034 $as_echo "$ac_try_echo"; } >&5
2035 (eval "$ac_link") 2>conftest.err
2037 if test -s conftest.err; then
2038 grep -v '^ *+' conftest.err >conftest.er1
2039 cat conftest.er1 >&5
2040 mv -f conftest.er1 conftest.err
2042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2043 test $ac_status = 0; } && {
2044 test -z "$ac_c_werror_flag" ||
2045 test ! -s conftest.err
2046 } && test -s conftest$ac_exeext && {
2047 test "$cross_compiling" = yes ||
2048 $as_test_x conftest$ac_exeext
2052 $as_echo "$as_me: failed program was:" >&5
2053 sed 's/^/| /' conftest.$ac_ext >&5
2057 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2058 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2059 # interfere with the next link command; also delete a directory that is
2060 # left behind by Apple's compiler. We do this before executing the actions.
2061 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2062 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2063 as_fn_set_status $ac_retval
2065 } # ac_fn_c_try_link
2067 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2068 # -------------------------------------------------------
2069 # Tests whether HEADER exists and can be compiled using the include files in
2070 # INCLUDES, setting the cache variable VAR accordingly.
2071 ac_fn_c_check_header_compile ()
2073 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2075 $as_echo_n "checking for $2... " >&6; }
2076 if eval "test \"\${$3+set}\"" = set; then :
2077 $as_echo_n "(cached) " >&6
2079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2080 /* end confdefs.h. */
2084 if ac_fn_c_try_compile "$LINENO"; then :
2089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2093 $as_echo "$ac_res" >&6; }
2094 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2096 } # ac_fn_c_check_header_compile
2098 # ac_fn_c_try_cpp LINENO
2099 # ----------------------
2100 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2103 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2104 if { { ac_try="$ac_cpp conftest.$ac_ext"
2106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2107 *) ac_try_echo=$ac_try;;
2109 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2110 $as_echo "$ac_try_echo"; } >&5
2111 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2113 if test -s conftest.err; then
2114 grep -v '^ *+' conftest.err >conftest.er1
2115 cat conftest.er1 >&5
2116 mv -f conftest.er1 conftest.err
2118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2119 test $ac_status = 0; } > conftest.i && {
2120 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2121 test ! -s conftest.err
2125 $as_echo "$as_me: failed program was:" >&5
2126 sed 's/^/| /' conftest.$ac_ext >&5
2130 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2131 as_fn_set_status $ac_retval
2135 # ac_fn_c_try_run LINENO
2136 # ----------------------
2137 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2138 # that executables *can* be run.
2141 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2142 if { { ac_try="$ac_link"
2144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2145 *) ac_try_echo=$ac_try;;
2147 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2148 $as_echo "$ac_try_echo"; } >&5
2149 (eval "$ac_link") 2>&5
2151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2152 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2153 { { case "(($ac_try" in
2154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2155 *) ac_try_echo=$ac_try;;
2157 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2158 $as_echo "$ac_try_echo"; } >&5
2159 (eval "$ac_try") 2>&5
2161 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2162 test $ac_status = 0; }; }; then :
2165 $as_echo "$as_me: program exited with status $ac_status" >&5
2166 $as_echo "$as_me: failed program was:" >&5
2167 sed 's/^/| /' conftest.$ac_ext >&5
2169 ac_retval=$ac_status
2171 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2172 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2173 as_fn_set_status $ac_retval
2177 # ac_fn_c_check_func LINENO FUNC VAR
2178 # ----------------------------------
2179 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2180 ac_fn_c_check_func ()
2182 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2184 $as_echo_n "checking for $2... " >&6; }
2185 if eval "test \"\${$3+set}\"" = set; then :
2186 $as_echo_n "(cached) " >&6
2188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2189 /* end confdefs.h. */
2190 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2192 #define $2 innocuous_$2
2194 /* System header to define __stub macros and hopefully few prototypes,
2195 which can conflict with char $2 (); below.
2196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2197 <limits.h> exists even on freestanding compilers. */
2200 # include <limits.h>
2202 # include <assert.h>
2207 /* Override any GCC internal prototype to avoid an error.
2208 Use char because int might match the return type of a GCC
2209 builtin and then its argument prototype would still apply. */
2214 /* The GNU C library defines this for functions which it implements
2215 to always fail with ENOSYS. Some functions are actually named
2216 something starting with __ and the normal name is an alias. */
2217 #if defined __stub_$2 || defined __stub___$2
2229 if ac_fn_c_try_link "$LINENO"; then :
2234 rm -f core conftest.err conftest.$ac_objext \
2235 conftest$ac_exeext conftest.$ac_ext
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2239 $as_echo "$ac_res" >&6; }
2240 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2242 } # ac_fn_c_check_func
2244 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2245 # ---------------------------------------------
2246 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2248 ac_fn_c_check_decl ()
2250 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2251 as_decl_name=`echo $2|sed 's/ *(.*//'`
2252 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2254 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2255 if eval "test \"\${$3+set}\"" = set; then :
2256 $as_echo_n "(cached) " >&6
2258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2259 /* end confdefs.h. */
2264 #ifndef $as_decl_name
2266 (void) $as_decl_use;
2268 (void) $as_decl_name;
2276 if ac_fn_c_try_compile "$LINENO"; then :
2281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2285 $as_echo "$ac_res" >&6; }
2286 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2288 } # ac_fn_c_check_decl
2290 # ac_fn_cxx_try_compile LINENO
2291 # ----------------------------
2292 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2293 ac_fn_cxx_try_compile ()
2295 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2296 rm -f conftest.$ac_objext
2297 if { { ac_try="$ac_compile"
2299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2300 *) ac_try_echo=$ac_try;;
2302 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2303 $as_echo "$ac_try_echo"; } >&5
2304 (eval "$ac_compile") 2>conftest.err
2306 if test -s conftest.err; then
2307 grep -v '^ *+' conftest.err >conftest.er1
2308 cat conftest.er1 >&5
2309 mv -f conftest.er1 conftest.err
2311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2312 test $ac_status = 0; } && {
2313 test -z "$ac_cxx_werror_flag" ||
2314 test ! -s conftest.err
2315 } && test -s conftest.$ac_objext; then :
2318 $as_echo "$as_me: failed program was:" >&5
2319 sed 's/^/| /' conftest.$ac_ext >&5
2323 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2324 as_fn_set_status $ac_retval
2326 } # ac_fn_cxx_try_compile
2328 # ac_fn_cxx_try_cpp LINENO
2329 # ------------------------
2330 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2331 ac_fn_cxx_try_cpp ()
2333 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2334 if { { ac_try="$ac_cpp conftest.$ac_ext"
2336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2337 *) ac_try_echo=$ac_try;;
2339 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2340 $as_echo "$ac_try_echo"; } >&5
2341 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2343 if test -s conftest.err; then
2344 grep -v '^ *+' conftest.err >conftest.er1
2345 cat conftest.er1 >&5
2346 mv -f conftest.er1 conftest.err
2348 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2349 test $ac_status = 0; } > conftest.i && {
2350 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2351 test ! -s conftest.err
2355 $as_echo "$as_me: failed program was:" >&5
2356 sed 's/^/| /' conftest.$ac_ext >&5
2360 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2361 as_fn_set_status $ac_retval
2363 } # ac_fn_cxx_try_cpp
2365 # ac_fn_cxx_try_link LINENO
2366 # -------------------------
2367 # Try to link conftest.$ac_ext, and return whether this succeeded.
2368 ac_fn_cxx_try_link ()
2370 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2371 rm -f conftest.$ac_objext conftest$ac_exeext
2372 if { { ac_try="$ac_link"
2374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2375 *) ac_try_echo=$ac_try;;
2377 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2378 $as_echo "$ac_try_echo"; } >&5
2379 (eval "$ac_link") 2>conftest.err
2381 if test -s conftest.err; then
2382 grep -v '^ *+' conftest.err >conftest.er1
2383 cat conftest.er1 >&5
2384 mv -f conftest.er1 conftest.err
2386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2387 test $ac_status = 0; } && {
2388 test -z "$ac_cxx_werror_flag" ||
2389 test ! -s conftest.err
2390 } && test -s conftest$ac_exeext && {
2391 test "$cross_compiling" = yes ||
2392 $as_test_x conftest$ac_exeext
2396 $as_echo "$as_me: failed program was:" >&5
2397 sed 's/^/| /' conftest.$ac_ext >&5
2401 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2402 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2403 # interfere with the next link command; also delete a directory that is
2404 # left behind by Apple's compiler. We do this before executing the actions.
2405 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2406 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2407 as_fn_set_status $ac_retval
2409 } # ac_fn_cxx_try_link
2411 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2412 # -------------------------------------------------------
2413 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2414 # the include files in INCLUDES and setting the cache variable VAR
2416 ac_fn_c_check_header_mongrel ()
2418 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2419 if eval "test \"\${$3+set}\"" = set; then :
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2421 $as_echo_n "checking for $2... " >&6; }
2422 if eval "test \"\${$3+set}\"" = set; then :
2423 $as_echo_n "(cached) " >&6
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2427 $as_echo "$ac_res" >&6; }
2429 # Is the header compilable?
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2431 $as_echo_n "checking $2 usability... " >&6; }
2432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2433 /* end confdefs.h. */
2437 if ac_fn_c_try_compile "$LINENO"; then :
2438 ac_header_compiler=yes
2440 ac_header_compiler=no
2442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2444 $as_echo "$ac_header_compiler" >&6; }
2446 # Is the header present?
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2448 $as_echo_n "checking $2 presence... " >&6; }
2449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2450 /* end confdefs.h. */
2453 if ac_fn_c_try_cpp "$LINENO"; then :
2454 ac_header_preproc=yes
2456 ac_header_preproc=no
2458 rm -f conftest.err conftest.i conftest.$ac_ext
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2460 $as_echo "$ac_header_preproc" >&6; }
2462 # So? What about this header?
2463 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2466 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2468 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2472 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2474 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2476 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2478 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2480 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2481 ( $as_echo "## ------------------------------------------------------------------------ ##
2482 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ##
2483 ## ------------------------------------------------------------------------ ##"
2484 ) | sed "s/^/$as_me: WARNING: /" >&2
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2488 $as_echo_n "checking for $2... " >&6; }
2489 if eval "test \"\${$3+set}\"" = set; then :
2490 $as_echo_n "(cached) " >&6
2492 eval "$3=\$ac_header_compiler"
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2496 $as_echo "$ac_res" >&6; }
2498 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2500 } # ac_fn_c_check_header_mongrel
2502 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2503 # -------------------------------------------
2504 # Tests whether TYPE exists after having included INCLUDES, setting cache
2505 # variable VAR accordingly.
2506 ac_fn_c_check_type ()
2508 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2510 $as_echo_n "checking for $2... " >&6; }
2511 if eval "test \"\${$3+set}\"" = set; then :
2512 $as_echo_n "(cached) " >&6
2515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2516 /* end confdefs.h. */
2527 if ac_fn_c_try_compile "$LINENO"; then :
2528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2529 /* end confdefs.h. */
2540 if ac_fn_c_try_compile "$LINENO"; then :
2545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2551 $as_echo "$ac_res" >&6; }
2552 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2554 } # ac_fn_c_check_type
2556 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2557 # --------------------------------------------
2558 # Tries to find the compile-time value of EXPR in a program that includes
2559 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2561 ac_fn_c_compute_int ()
2563 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2564 if test "$cross_compiling" = yes; then
2565 # Depending upon the size, compute the lo and hi bounds.
2566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2567 /* end confdefs.h. */
2572 static int test_array [1 - 2 * !(($2) >= 0)];
2579 if ac_fn_c_try_compile "$LINENO"; then :
2582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2583 /* end confdefs.h. */
2588 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2595 if ac_fn_c_try_compile "$LINENO"; then :
2596 ac_hi=$ac_mid; break
2598 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2599 if test $ac_lo -le $ac_mid; then
2603 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2609 /* end confdefs.h. */
2614 static int test_array [1 - 2 * !(($2) < 0)];
2621 if ac_fn_c_try_compile "$LINENO"; then :
2624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2625 /* end confdefs.h. */
2630 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2637 if ac_fn_c_try_compile "$LINENO"; then :
2638 ac_lo=$ac_mid; break
2640 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2641 if test $ac_mid -le $ac_hi; then
2645 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2655 # Binary search between lo and hi bounds.
2656 while test "x$ac_lo" != "x$ac_hi"; do
2657 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2659 /* end confdefs.h. */
2664 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2671 if ac_fn_c_try_compile "$LINENO"; then :
2674 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2679 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2684 /* end confdefs.h. */
2686 static long int longval () { return $2; }
2687 static unsigned long int ulongval () { return $2; }
2694 FILE *f = fopen ("conftest.val", "w");
2699 long int i = longval ();
2702 fprintf (f, "%ld", i);
2706 unsigned long int i = ulongval ();
2709 fprintf (f, "%lu", i);
2711 /* Do not output a trailing newline, as this causes \r\n confusion
2712 on some platforms. */
2713 return ferror (f) || fclose (f) != 0;
2719 if ac_fn_c_try_run "$LINENO"; then :
2720 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2724 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2725 conftest.$ac_objext conftest.beam conftest.$ac_ext
2729 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2730 as_fn_set_status $ac_retval
2732 } # ac_fn_c_compute_int
2733 cat >config.log <<_ACEOF
2734 This file contains any messages produced by compilers while
2735 running configure, to aid debugging if configure makes a mistake.
2737 It was created by GStreamer $as_me 0.10.34, which was
2738 generated by GNU Autoconf 2.67. Invocation command line was
2750 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2751 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2752 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2753 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2754 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2756 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2757 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2759 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2760 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2761 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2762 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2763 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2764 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2765 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2773 test -z "$as_dir" && as_dir=.
2774 $as_echo "PATH: $as_dir"
2790 # Keep a trace of the command line.
2791 # Strip out --no-create and --no-recursion so they do not pile up.
2792 # Strip out --silent because we don't want to record it for future runs.
2793 # Also quote any args containing shell meta-characters.
2794 # Make two passes to allow for proper duplicate-argument suppression.
2798 ac_must_keep_next=false
2804 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2805 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2806 | -silent | --silent | --silen | --sile | --sil)
2809 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2812 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2814 as_fn_append ac_configure_args1 " '$ac_arg'"
2815 if test $ac_must_keep_next = true; then
2816 ac_must_keep_next=false # Got value, back to normal.
2819 *=* | --config-cache | -C | -disable-* | --disable-* \
2820 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2821 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2822 | -with-* | --with-* | -without-* | --without-* | --x)
2823 case "$ac_configure_args0 " in
2824 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2827 -* ) ac_must_keep_next=true ;;
2830 as_fn_append ac_configure_args " '$ac_arg'"
2835 { ac_configure_args0=; unset ac_configure_args0;}
2836 { ac_configure_args1=; unset ac_configure_args1;}
2838 # When interrupted or exit'd, cleanup temporary files, and complete
2839 # config.log. We remove comments because anyway the quotes in there
2840 # would cause problems or look ugly.
2841 # WARNING: Use '\'' to represent an apostrophe within the trap.
2842 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2843 trap 'exit_status=$?
2844 # Save into config.log some information that might help in debugging.
2848 $as_echo "## ---------------- ##
2849 ## Cache variables. ##
2850 ## ---------------- ##"
2852 # The following way of writing the cache mishandles newlines in values,
2854 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2855 eval ac_val=\$$ac_var
2859 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2860 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2863 _ | IFS | as_nl) ;; #(
2864 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2865 *) { eval $ac_var=; unset $ac_var;} ;;
2870 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2871 *${as_nl}ac_space=\ *)
2873 "s/'\''/'\''\\\\'\'''\''/g;
2874 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2877 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2884 $as_echo "## ----------------- ##
2885 ## Output variables. ##
2886 ## ----------------- ##"
2888 for ac_var in $ac_subst_vars
2890 eval ac_val=\$$ac_var
2892 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2894 $as_echo "$ac_var='\''$ac_val'\''"
2898 if test -n "$ac_subst_files"; then
2899 $as_echo "## ------------------- ##
2900 ## File substitutions. ##
2901 ## ------------------- ##"
2903 for ac_var in $ac_subst_files
2905 eval ac_val=\$$ac_var
2907 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2909 $as_echo "$ac_var='\''$ac_val'\''"
2914 if test -s confdefs.h; then
2915 $as_echo "## ----------- ##
2922 test "$ac_signal" != 0 &&
2923 $as_echo "$as_me: caught signal $ac_signal"
2924 $as_echo "$as_me: exit $exit_status"
2926 rm -f core *.core core.conftest.* &&
2927 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2930 for ac_signal in 1 2 13 15; do
2931 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2935 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2936 rm -f -r conftest* confdefs.h
2938 $as_echo "/* confdefs.h */" > confdefs.h
2940 # Predefined preprocessor variables.
2942 cat >>confdefs.h <<_ACEOF
2943 #define PACKAGE_NAME "$PACKAGE_NAME"
2946 cat >>confdefs.h <<_ACEOF
2947 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2950 cat >>confdefs.h <<_ACEOF
2951 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2954 cat >>confdefs.h <<_ACEOF
2955 #define PACKAGE_STRING "$PACKAGE_STRING"
2958 cat >>confdefs.h <<_ACEOF
2959 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2962 cat >>confdefs.h <<_ACEOF
2963 #define PACKAGE_URL "$PACKAGE_URL"
2967 # Let the site file select an alternate cache file if it wants to.
2968 # Prefer an explicitly selected file to automatically selected ones.
2971 if test -n "$CONFIG_SITE"; then
2972 # We do not want a PATH search for config.site.
2973 case $CONFIG_SITE in #((
2974 -*) ac_site_file1=./$CONFIG_SITE;;
2975 */*) ac_site_file1=$CONFIG_SITE;;
2976 *) ac_site_file1=./$CONFIG_SITE;;
2978 elif test "x$prefix" != xNONE; then
2979 ac_site_file1=$prefix/share/config.site
2980 ac_site_file2=$prefix/etc/config.site
2982 ac_site_file1=$ac_default_prefix/share/config.site
2983 ac_site_file2=$ac_default_prefix/etc/config.site
2985 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2987 test "x$ac_site_file" = xNONE && continue
2988 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2990 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2991 sed 's/^/| /' "$ac_site_file" >&5
2993 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2994 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2995 as_fn_error $? "failed to load site script $ac_site_file
2996 See \`config.log' for more details" "$LINENO" 5 ; }
3000 if test -r "$cache_file"; then
3001 # Some versions of bash will fail to source /dev/null (special files
3002 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3003 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3005 $as_echo "$as_me: loading cache $cache_file" >&6;}
3007 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3008 *) . "./$cache_file";;
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3013 $as_echo "$as_me: creating cache $cache_file" >&6;}
3017 gt_needs="$gt_needs "
3018 as_fn_append ac_header_list " stdlib.h"
3019 as_fn_append ac_header_list " unistd.h"
3020 as_fn_append ac_header_list " sys/param.h"
3021 # Check that the precious variables saved in the cache have kept the same
3023 ac_cache_corrupted=false
3024 for ac_var in $ac_precious_vars; do
3025 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3026 eval ac_new_set=\$ac_env_${ac_var}_set
3027 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3028 eval ac_new_val=\$ac_env_${ac_var}_value
3029 case $ac_old_set,$ac_new_set in
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3032 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3033 ac_cache_corrupted=: ;;
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3036 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3037 ac_cache_corrupted=: ;;
3040 if test "x$ac_old_val" != "x$ac_new_val"; then
3041 # differences in whitespace do not lead to failure.
3042 ac_old_val_w=`echo x $ac_old_val`
3043 ac_new_val_w=`echo x $ac_new_val`
3044 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3046 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3047 ac_cache_corrupted=:
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3050 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3051 eval $ac_var=\$ac_old_val
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3054 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3056 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3059 # Pass precious variables to config.status.
3060 if test "$ac_new_set" = set; then
3062 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3063 *) ac_arg=$ac_var=$ac_new_val ;;
3065 case " $ac_configure_args " in
3066 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3067 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3071 if $ac_cache_corrupted; then
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3073 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3075 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3076 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3078 ## -------------------- ##
3079 ## Main body of script. ##
3080 ## -------------------- ##
3083 ac_cpp='$CPP $CPPFLAGS'
3084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3093 am__api_version='1.11'
3096 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3097 if test -f "$ac_dir/install-sh"; then
3099 ac_install_sh="$ac_aux_dir/install-sh -c"
3101 elif test -f "$ac_dir/install.sh"; then
3103 ac_install_sh="$ac_aux_dir/install.sh -c"
3105 elif test -f "$ac_dir/shtool"; then
3107 ac_install_sh="$ac_aux_dir/shtool install -c"
3111 if test -z "$ac_aux_dir"; then
3112 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3115 # These three variables are undocumented and unsupported,
3116 # and are intended to be withdrawn in a future Autoconf release.
3117 # They can cause serious problems if a builder's source tree is in a directory
3118 # whose full name contains unusual characters.
3119 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3120 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3121 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3124 # Find a good install program. We prefer a C program (faster),
3125 # so one script is as good as another. But avoid the broken or
3126 # incompatible versions:
3127 # SysV /etc/install, /usr/sbin/install
3128 # SunOS /usr/etc/install
3129 # IRIX /sbin/install
3131 # AmigaOS /C/install, which installs bootblocks on floppy discs
3132 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3133 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3134 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3135 # OS/2's system install, which has a completely different semantic
3136 # ./install, which can be erroneously created by make from ./install.sh.
3137 # Reject install programs that cannot install multiple files.
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3139 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3140 if test -z "$INSTALL"; then
3141 if test "${ac_cv_path_install+set}" = set; then :
3142 $as_echo_n "(cached) " >&6
3144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3148 test -z "$as_dir" && as_dir=.
3149 # Account for people who put trailing slashes in PATH elements.
3150 case $as_dir/ in #((
3151 ./ | .// | /[cC]/* | \
3152 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3153 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3156 # OSF1 and SCO ODT 3.0 have their own names for install.
3157 # Don't use installbsd from OSF since it installs stuff as root
3159 for ac_prog in ginstall scoinst install; do
3160 for ac_exec_ext in '' $ac_executable_extensions; do
3161 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3162 if test $ac_prog = install &&
3163 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3164 # AIX install. It has an incompatible calling convention.
3166 elif test $ac_prog = install &&
3167 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3168 # program-specific install script used by HP pwplus--don't use.
3171 rm -rf conftest.one conftest.two conftest.dir
3172 echo one > conftest.one
3173 echo two > conftest.two
3175 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3176 test -s conftest.one && test -s conftest.two &&
3177 test -s conftest.dir/conftest.one &&
3178 test -s conftest.dir/conftest.two
3180 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3193 rm -rf conftest.one conftest.two conftest.dir
3196 if test "${ac_cv_path_install+set}" = set; then
3197 INSTALL=$ac_cv_path_install
3199 # As a last resort, use the slow shell script. Don't cache a
3200 # value for INSTALL within a source directory, because that will
3201 # break other packages using the cache if that directory is
3202 # removed, or if the value is a relative name.
3203 INSTALL=$ac_install_sh
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3207 $as_echo "$INSTALL" >&6; }
3209 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3210 # It thinks the first close brace ends the variable substitution.
3211 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3213 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3215 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3218 $as_echo_n "checking whether build environment is sane... " >&6; }
3221 echo timestamp > conftest.file
3222 # Reject unsafe characters in $srcdir or the absolute working directory
3223 # name. Accept space and tab only in the latter.
3227 *[\\\"\#\$\&\'\`$am_lf]*)
3228 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
3231 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3232 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
3235 # Do `set' in a subshell so we don't clobber the current shell's
3236 # arguments. Must try -L first in case configure is actually a
3237 # symlink; some systems play weird games with the mod time of symlinks
3238 # (eg FreeBSD returns the mod time of the symlink's containing
3241 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3242 if test "$*" = "X"; then
3244 set X `ls -t "$srcdir/configure" conftest.file`
3247 if test "$*" != "X $srcdir/configure conftest.file" \
3248 && test "$*" != "X conftest.file $srcdir/configure"; then
3250 # If neither matched, then we have a broken ls. This can happen
3251 # if, for instance, CONFIG_SHELL is bash and it inherits a
3252 # broken ls alias from the environment. This has actually
3253 # happened. Such a system could not be considered "sane".
3254 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3255 alias in your environment" "$LINENO" 5
3258 test "$2" = conftest.file
3264 as_fn_error $? "newly created file is older than distributed files!
3265 Check your system clock" "$LINENO" 5
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3268 $as_echo "yes" >&6; }
3269 test "$program_prefix" != NONE &&
3270 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3271 # Use a double $ so make ignores it.
3272 test "$program_suffix" != NONE &&
3273 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3274 # Double any \ or $.
3275 # By default was `s,x,x', remove it if useless.
3276 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3277 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3279 # expand $ac_aux_dir to an absolute path
3280 am_aux_dir=`cd $ac_aux_dir && pwd`
3282 if test x"${MISSING+set}" != xset; then
3285 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3287 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3290 # Use eval to expand $SHELL
3291 if eval "$MISSING --run true"; then
3292 am_missing_run="$MISSING --run "
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3296 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3299 if test x"${install_sh}" != xset; then
3302 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3304 install_sh="\${SHELL} $am_aux_dir/install-sh"
3308 # Installed binaries are usually stripped using `strip' when the user
3309 # run `make install-strip'. However `strip' might not be the right
3310 # tool to use in cross-compilation environments, therefore Automake
3311 # will honor the `STRIP' environment variable to overrule this program.
3312 if test "$cross_compiling" != no; then
3313 if test -n "$ac_tool_prefix"; then
3314 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3315 set dummy ${ac_tool_prefix}strip; ac_word=$2
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3317 $as_echo_n "checking for $ac_word... " >&6; }
3318 if test "${ac_cv_prog_STRIP+set}" = set; then :
3319 $as_echo_n "(cached) " >&6
3321 if test -n "$STRIP"; then
3322 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3328 test -z "$as_dir" && as_dir=.
3329 for ac_exec_ext in '' $ac_executable_extensions; do
3330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3331 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3341 STRIP=$ac_cv_prog_STRIP
3342 if test -n "$STRIP"; then
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3344 $as_echo "$STRIP" >&6; }
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3347 $as_echo "no" >&6; }
3352 if test -z "$ac_cv_prog_STRIP"; then
3354 # Extract the first word of "strip", so it can be a program name with args.
3355 set dummy strip; ac_word=$2
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3357 $as_echo_n "checking for $ac_word... " >&6; }
3358 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3359 $as_echo_n "(cached) " >&6
3361 if test -n "$ac_ct_STRIP"; then
3362 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3368 test -z "$as_dir" && as_dir=.
3369 for ac_exec_ext in '' $ac_executable_extensions; do
3370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3371 ac_cv_prog_ac_ct_STRIP="strip"
3372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3381 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3382 if test -n "$ac_ct_STRIP"; then
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3384 $as_echo "$ac_ct_STRIP" >&6; }
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3387 $as_echo "no" >&6; }
3390 if test "x$ac_ct_STRIP" = x; then
3393 case $cross_compiling:$ac_tool_warned in
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3396 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3397 ac_tool_warned=yes ;;
3402 STRIP="$ac_cv_prog_STRIP"
3406 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3409 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3410 if test -z "$MKDIR_P"; then
3411 if test "${ac_cv_path_mkdir+set}" = set; then :
3412 $as_echo_n "(cached) " >&6
3414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3415 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3418 test -z "$as_dir" && as_dir=.
3419 for ac_prog in mkdir gmkdir; do
3420 for ac_exec_ext in '' $ac_executable_extensions; do
3421 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3422 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3423 'mkdir (GNU coreutils) '* | \
3424 'mkdir (coreutils) '* | \
3425 'mkdir (fileutils) '4.1*)
3426 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3436 test -d ./--version && rmdir ./--version
3437 if test "${ac_cv_path_mkdir+set}" = set; then
3438 MKDIR_P="$ac_cv_path_mkdir -p"
3440 # As a last resort, use the slow shell script. Don't cache a
3441 # value for MKDIR_P within a source directory, because that will
3442 # break other packages using the cache if that directory is
3443 # removed, or if the value is a relative name.
3444 MKDIR_P="$ac_install_sh -d"
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3448 $as_echo "$MKDIR_P" >&6; }
3452 [\\/$]* | ?:[\\/]*) ;;
3453 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3456 for ac_prog in gawk mawk nawk awk
3458 # Extract the first word of "$ac_prog", so it can be a program name with args.
3459 set dummy $ac_prog; ac_word=$2
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3461 $as_echo_n "checking for $ac_word... " >&6; }
3462 if test "${ac_cv_prog_AWK+set}" = set; then :
3463 $as_echo_n "(cached) " >&6
3465 if test -n "$AWK"; then
3466 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3472 test -z "$as_dir" && as_dir=.
3473 for ac_exec_ext in '' $ac_executable_extensions; do
3474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3475 ac_cv_prog_AWK="$ac_prog"
3476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3486 if test -n "$AWK"; then
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3488 $as_echo "$AWK" >&6; }
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3491 $as_echo "no" >&6; }
3495 test -n "$AWK" && break
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3499 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3501 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3502 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3503 $as_echo_n "(cached) " >&6
3505 cat >conftest.make <<\_ACEOF
3508 @echo '@@@%%%=$(MAKE)=@@@%%%'
3510 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3511 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3513 eval ac_cv_prog_make_${ac_make}_set=yes;;
3515 eval ac_cv_prog_make_${ac_make}_set=no;;
3519 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3521 $as_echo "yes" >&6; }
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3525 $as_echo "no" >&6; }
3526 SET_MAKE="MAKE=${MAKE-make}"
3529 rm -rf .tst 2>/dev/null
3530 mkdir .tst 2>/dev/null
3531 if test -d .tst; then
3536 rmdir .tst 2>/dev/null
3538 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3539 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3540 # is not polluted with repeated "-I."
3541 am__isrc=' -I$(srcdir)'
3542 # test to see if srcdir already configured
3543 if test -f $srcdir/config.status; then
3544 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3548 # test whether we have cygpath
3549 if test -z "$CYGPATH_W"; then
3550 if (cygpath --version) >/dev/null 2>/dev/null; then
3551 CYGPATH_W='cygpath -w'
3558 # Define the identity of the package.
3563 cat >>confdefs.h <<_ACEOF
3564 #define PACKAGE "$PACKAGE"
3568 cat >>confdefs.h <<_ACEOF
3569 #define VERSION "$VERSION"
3572 # Some tools Automake needs.
3574 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3577 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3580 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3583 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3586 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3588 # We need awk for the "check" target. The system "awk" is bad on
3590 # Always define AMTAR for backward compatibility.
3592 AMTAR=${AMTAR-"${am_missing_run}tar"}
3594 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3602 PACKAGE_VERSION_MAJOR=$(echo 0.10.34 | cut -d'.' -f1)
3603 PACKAGE_VERSION_MINOR=$(echo 0.10.34 | cut -d'.' -f2)
3604 PACKAGE_VERSION_MICRO=$(echo 0.10.34 | cut -d'.' -f3)
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking nano version" >&5
3613 $as_echo_n "checking nano version... " >&6; }
3615 NANO=$(echo 0.10.34 | cut -d'.' -f4)
3617 if test x"$NANO" = x || test "x$NANO" = "x0" ; then
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 0 (release)" >&5
3619 $as_echo "0 (release)" >&6; }
3621 PACKAGE_VERSION_RELEASE=1
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NANO" >&5
3625 $as_echo "$NANO" >&6; }
3626 PACKAGE_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S`
3627 if test "x$NANO" != "x1" ; then
3633 PACKAGE_VERSION_NANO=$NANO
3640 ac_config_headers="$ac_config_headers config.h"
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3645 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3646 # Check whether --enable-maintainer-mode was given.
3647 if test "${enable_maintainer_mode+set}" = set; then :
3648 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3650 USE_MAINTAINER_MODE=no
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3654 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3655 if test $USE_MAINTAINER_MODE = yes; then
3656 MAINTAINER_MODE_TRUE=
3657 MAINTAINER_MODE_FALSE='#'
3659 MAINTAINER_MODE_TRUE='#'
3660 MAINTAINER_MODE_FALSE=
3663 MAINT=$MAINTAINER_MODE_TRUE
3667 # Make sure we can run config.sub.
3668 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3669 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3672 $as_echo_n "checking build system type... " >&6; }
3673 if test "${ac_cv_build+set}" = set; then :
3674 $as_echo_n "(cached) " >&6
3676 ac_build_alias=$build_alias
3677 test "x$ac_build_alias" = x &&
3678 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3679 test "x$ac_build_alias" = x &&
3680 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3681 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3682 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3686 $as_echo "$ac_cv_build" >&6; }
3687 case $ac_cv_build in
3689 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
3692 ac_save_IFS=$IFS; IFS='-'
3698 # Remember, the first character of IFS is used to create $*,
3699 # except with old shells:
3702 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3706 $as_echo_n "checking host system type... " >&6; }
3707 if test "${ac_cv_host+set}" = set; then :
3708 $as_echo_n "(cached) " >&6
3710 if test "x$host_alias" = x; then
3711 ac_cv_host=$ac_cv_build
3713 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3714 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3719 $as_echo "$ac_cv_host" >&6; }
3722 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
3725 ac_save_IFS=$IFS; IFS='-'
3731 # Remember, the first character of IFS is used to create $*,
3732 # except with old shells:
3735 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3739 # Check whether --enable-silent-rules was given.
3740 if test "${enable_silent_rules+set}" = set; then :
3741 enableval=$enable_silent_rules;
3744 case $enable_silent_rules in
3745 yes) AM_DEFAULT_VERBOSITY=0;;
3746 no) AM_DEFAULT_VERBOSITY=1;;
3747 *) AM_DEFAULT_VERBOSITY=0;;
3752 GST_MAJORMINOR=$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR
3756 cat >>confdefs.h <<_ACEOF
3757 #define GST_MAJORMINOR "$GST_MAJORMINOR"
3765 GST_LIBVERSION=29:0:29
3771 GST_LT_LDFLAGS="$GST_LT_LDFLAGS -version-info $GST_LIBVERSION"
3774 GST_LT_LDFLAGS="$GST_LT_LDFLAGS -release "
3785 enable_win32_dll=yes
3788 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
3789 if test -n "$ac_tool_prefix"; then
3790 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3791 set dummy ${ac_tool_prefix}as; ac_word=$2
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3793 $as_echo_n "checking for $ac_word... " >&6; }
3794 if test "${ac_cv_prog_AS+set}" = set; then :
3795 $as_echo_n "(cached) " >&6
3797 if test -n "$AS"; then
3798 ac_cv_prog_AS="$AS" # Let the user override the test.
3800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3804 test -z "$as_dir" && as_dir=.
3805 for ac_exec_ext in '' $ac_executable_extensions; do
3806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3807 ac_cv_prog_AS="${ac_tool_prefix}as"
3808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3818 if test -n "$AS"; then
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3820 $as_echo "$AS" >&6; }
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3823 $as_echo "no" >&6; }
3828 if test -z "$ac_cv_prog_AS"; then
3830 # Extract the first word of "as", so it can be a program name with args.
3831 set dummy as; ac_word=$2
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3833 $as_echo_n "checking for $ac_word... " >&6; }
3834 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
3835 $as_echo_n "(cached) " >&6
3837 if test -n "$ac_ct_AS"; then
3838 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3844 test -z "$as_dir" && as_dir=.
3845 for ac_exec_ext in '' $ac_executable_extensions; do
3846 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3847 ac_cv_prog_ac_ct_AS="as"
3848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3857 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3858 if test -n "$ac_ct_AS"; then
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3860 $as_echo "$ac_ct_AS" >&6; }
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3863 $as_echo "no" >&6; }
3866 if test "x$ac_ct_AS" = x; then
3869 case $cross_compiling:$ac_tool_warned in
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3872 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3873 ac_tool_warned=yes ;;
3881 if test -n "$ac_tool_prefix"; then
3882 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3883 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3885 $as_echo_n "checking for $ac_word... " >&6; }
3886 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
3887 $as_echo_n "(cached) " >&6
3889 if test -n "$DLLTOOL"; then
3890 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3896 test -z "$as_dir" && as_dir=.
3897 for ac_exec_ext in '' $ac_executable_extensions; do
3898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3899 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3909 DLLTOOL=$ac_cv_prog_DLLTOOL
3910 if test -n "$DLLTOOL"; then
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3912 $as_echo "$DLLTOOL" >&6; }
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3915 $as_echo "no" >&6; }
3920 if test -z "$ac_cv_prog_DLLTOOL"; then
3921 ac_ct_DLLTOOL=$DLLTOOL
3922 # Extract the first word of "dlltool", so it can be a program name with args.
3923 set dummy dlltool; ac_word=$2
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3925 $as_echo_n "checking for $ac_word... " >&6; }
3926 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
3927 $as_echo_n "(cached) " >&6
3929 if test -n "$ac_ct_DLLTOOL"; then
3930 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3936 test -z "$as_dir" && as_dir=.
3937 for ac_exec_ext in '' $ac_executable_extensions; do
3938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3939 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3949 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3950 if test -n "$ac_ct_DLLTOOL"; then
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3952 $as_echo "$ac_ct_DLLTOOL" >&6; }
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3955 $as_echo "no" >&6; }
3958 if test "x$ac_ct_DLLTOOL" = x; then
3961 case $cross_compiling:$ac_tool_warned in
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3964 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3965 ac_tool_warned=yes ;;
3967 DLLTOOL=$ac_ct_DLLTOOL
3970 DLLTOOL="$ac_cv_prog_DLLTOOL"
3973 if test -n "$ac_tool_prefix"; then
3974 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3975 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3977 $as_echo_n "checking for $ac_word... " >&6; }
3978 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
3979 $as_echo_n "(cached) " >&6
3981 if test -n "$OBJDUMP"; then
3982 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3988 test -z "$as_dir" && as_dir=.
3989 for ac_exec_ext in '' $ac_executable_extensions; do
3990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3991 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4001 OBJDUMP=$ac_cv_prog_OBJDUMP
4002 if test -n "$OBJDUMP"; then
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4004 $as_echo "$OBJDUMP" >&6; }
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4007 $as_echo "no" >&6; }
4012 if test -z "$ac_cv_prog_OBJDUMP"; then
4013 ac_ct_OBJDUMP=$OBJDUMP
4014 # Extract the first word of "objdump", so it can be a program name with args.
4015 set dummy objdump; ac_word=$2
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4017 $as_echo_n "checking for $ac_word... " >&6; }
4018 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4019 $as_echo_n "(cached) " >&6
4021 if test -n "$ac_ct_OBJDUMP"; then
4022 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4028 test -z "$as_dir" && as_dir=.
4029 for ac_exec_ext in '' $ac_executable_extensions; do
4030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4031 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4041 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4042 if test -n "$ac_ct_OBJDUMP"; then
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4044 $as_echo "$ac_ct_OBJDUMP" >&6; }
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4047 $as_echo "no" >&6; }
4050 if test "x$ac_ct_OBJDUMP" = x; then
4053 case $cross_compiling:$ac_tool_warned in
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4056 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4057 ac_tool_warned=yes ;;
4059 OBJDUMP=$ac_ct_OBJDUMP
4062 OBJDUMP="$ac_cv_prog_OBJDUMP"
4068 test -z "$AS" && AS=as
4074 test -z "$DLLTOOL" && DLLTOOL=dlltool
4080 test -z "$OBJDUMP" && OBJDUMP=objdump
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4091 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4096 macro_version='2.2.6b'
4097 macro_revision='1.3017'
4111 ltmain="$ac_aux_dir/ltmain.sh"
4113 DEPDIR="${am__leading_dot}deps"
4115 ac_config_commands="$ac_config_commands depfiles"
4118 am_make=${MAKE-make}
4119 cat > confinc << 'END'
4121 @echo this is the am__doit target
4124 # If we don't find an include directive, just comment out the code.
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4126 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4130 # First try GNU make style include.
4131 echo "include confinc" > confmf
4132 # Ignore all kinds of additional output from `make'.
4133 case `$am_make -s -f confmf 2> /dev/null` in #(
4134 *the\ am__doit\ target*)
4140 # Now try BSD make style include.
4141 if test "$am__include" = "#"; then
4142 echo '.include "confinc"' > confmf
4143 case `$am_make -s -f confmf 2> /dev/null` in #(
4144 *the\ am__doit\ target*)
4145 am__include=.include
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4154 $as_echo "$_am_result" >&6; }
4155 rm -f confinc confmf
4157 # Check whether --enable-dependency-tracking was given.
4158 if test "${enable_dependency_tracking+set}" = set; then :
4159 enableval=$enable_dependency_tracking;
4162 if test "x$enable_dependency_tracking" != xno; then
4163 am_depcomp="$ac_aux_dir/depcomp"
4166 if test "x$enable_dependency_tracking" != xno; then
4176 ac_cpp='$CPP $CPPFLAGS'
4177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4180 if test -n "$ac_tool_prefix"; then
4181 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4182 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4184 $as_echo_n "checking for $ac_word... " >&6; }
4185 if test "${ac_cv_prog_CC+set}" = set; then :
4186 $as_echo_n "(cached) " >&6
4188 if test -n "$CC"; then
4189 ac_cv_prog_CC="$CC" # Let the user override the test.
4191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4195 test -z "$as_dir" && as_dir=.
4196 for ac_exec_ext in '' $ac_executable_extensions; do
4197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4198 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4209 if test -n "$CC"; then
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4211 $as_echo "$CC" >&6; }
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4214 $as_echo "no" >&6; }
4219 if test -z "$ac_cv_prog_CC"; then
4221 # Extract the first word of "gcc", so it can be a program name with args.
4222 set dummy gcc; ac_word=$2
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4224 $as_echo_n "checking for $ac_word... " >&6; }
4225 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4226 $as_echo_n "(cached) " >&6
4228 if test -n "$ac_ct_CC"; then
4229 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4235 test -z "$as_dir" && as_dir=.
4236 for ac_exec_ext in '' $ac_executable_extensions; do
4237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4238 ac_cv_prog_ac_ct_CC="gcc"
4239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4248 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4249 if test -n "$ac_ct_CC"; then
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4251 $as_echo "$ac_ct_CC" >&6; }
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4254 $as_echo "no" >&6; }
4257 if test "x$ac_ct_CC" = x; then
4260 case $cross_compiling:$ac_tool_warned in
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4263 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4264 ac_tool_warned=yes ;;
4272 if test -z "$CC"; then
4273 if test -n "$ac_tool_prefix"; then
4274 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4275 set dummy ${ac_tool_prefix}cc; ac_word=$2
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4277 $as_echo_n "checking for $ac_word... " >&6; }
4278 if test "${ac_cv_prog_CC+set}" = set; then :
4279 $as_echo_n "(cached) " >&6
4281 if test -n "$CC"; then
4282 ac_cv_prog_CC="$CC" # Let the user override the test.
4284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4288 test -z "$as_dir" && as_dir=.
4289 for ac_exec_ext in '' $ac_executable_extensions; do
4290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4291 ac_cv_prog_CC="${ac_tool_prefix}cc"
4292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4302 if test -n "$CC"; then
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4304 $as_echo "$CC" >&6; }
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4307 $as_echo "no" >&6; }
4313 if test -z "$CC"; then
4314 # Extract the first word of "cc", so it can be a program name with args.
4315 set dummy cc; ac_word=$2
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4317 $as_echo_n "checking for $ac_word... " >&6; }
4318 if test "${ac_cv_prog_CC+set}" = set; then :
4319 $as_echo_n "(cached) " >&6
4321 if test -n "$CC"; then
4322 ac_cv_prog_CC="$CC" # Let the user override the test.
4325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4329 test -z "$as_dir" && as_dir=.
4330 for ac_exec_ext in '' $ac_executable_extensions; do
4331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4332 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4333 ac_prog_rejected=yes
4337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4344 if test $ac_prog_rejected = yes; then
4345 # We found a bogon in the path, so make sure we never use it.
4346 set dummy $ac_cv_prog_CC
4348 if test $# != 0; then
4349 # We chose a different compiler from the bogus one.
4350 # However, it has the same basename, so the bogon will be chosen
4351 # first if we set CC to just the basename; use the full file name.
4353 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4359 if test -n "$CC"; then
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4361 $as_echo "$CC" >&6; }
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4364 $as_echo "no" >&6; }
4369 if test -z "$CC"; then
4370 if test -n "$ac_tool_prefix"; then
4371 for ac_prog in cl.exe
4373 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4374 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4376 $as_echo_n "checking for $ac_word... " >&6; }
4377 if test "${ac_cv_prog_CC+set}" = set; then :
4378 $as_echo_n "(cached) " >&6
4380 if test -n "$CC"; then
4381 ac_cv_prog_CC="$CC" # Let the user override the test.
4383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4387 test -z "$as_dir" && as_dir=.
4388 for ac_exec_ext in '' $ac_executable_extensions; do
4389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4390 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4401 if test -n "$CC"; then
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4403 $as_echo "$CC" >&6; }
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4406 $as_echo "no" >&6; }
4410 test -n "$CC" && break
4413 if test -z "$CC"; then
4415 for ac_prog in cl.exe
4417 # Extract the first word of "$ac_prog", so it can be a program name with args.
4418 set dummy $ac_prog; ac_word=$2
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4420 $as_echo_n "checking for $ac_word... " >&6; }
4421 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4422 $as_echo_n "(cached) " >&6
4424 if test -n "$ac_ct_CC"; then
4425 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4431 test -z "$as_dir" && as_dir=.
4432 for ac_exec_ext in '' $ac_executable_extensions; do
4433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4434 ac_cv_prog_ac_ct_CC="$ac_prog"
4435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4444 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4445 if test -n "$ac_ct_CC"; then
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4447 $as_echo "$ac_ct_CC" >&6; }
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4450 $as_echo "no" >&6; }
4454 test -n "$ac_ct_CC" && break
4457 if test "x$ac_ct_CC" = x; then
4460 case $cross_compiling:$ac_tool_warned in
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4463 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4464 ac_tool_warned=yes ;;
4473 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4474 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4475 as_fn_error $? "no acceptable C compiler found in \$PATH
4476 See \`config.log' for more details" "$LINENO" 5 ; }
4478 # Provide some information about the compiler.
4479 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4482 for ac_option in --version -v -V -qversion; do
4483 { { ac_try="$ac_compiler $ac_option >&5"
4485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4486 *) ac_try_echo=$ac_try;;
4488 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4489 $as_echo "$ac_try_echo"; } >&5
4490 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4492 if test -s conftest.err; then
4494 ... rest of stderr output deleted ...
4495 10q' conftest.err >conftest.er1
4496 cat conftest.er1 >&5
4498 rm -f conftest.er1 conftest.err
4499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4500 test $ac_status = 0; }
4503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4504 /* end confdefs.h. */
4514 ac_clean_files_save=$ac_clean_files
4515 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4516 # Try to create an executable without -o first, disregard a.out.
4517 # It will help us diagnose broken compilers, and finding out an intuition
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4520 $as_echo_n "checking whether the C compiler works... " >&6; }
4521 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4523 # The possible output files:
4524 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4527 for ac_file in $ac_files
4530 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4531 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4536 if { { ac_try="$ac_link_default"
4538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4539 *) ac_try_echo=$ac_try;;
4541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4542 $as_echo "$ac_try_echo"; } >&5
4543 (eval "$ac_link_default") 2>&5
4545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4546 test $ac_status = 0; }; then :
4547 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4548 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4549 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4550 # so that the user can short-circuit this test for compilers unknown to
4552 for ac_file in $ac_files ''
4554 test -f "$ac_file" || continue
4556 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4559 # We found the default executable, but exeext='' is most
4563 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4565 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4567 # We set ac_cv_exeext here because the later test for it is not
4568 # safe: cross compilers may not add the suffix if given an `-o'
4569 # argument, so we may need to know it at that point already.
4570 # Even if this section looks crufty: it has the advantage of
4577 test "$ac_cv_exeext" = no && ac_cv_exeext=
4582 if test -z "$ac_file"; then :
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4584 $as_echo "no" >&6; }
4585 $as_echo "$as_me: failed program was:" >&5
4586 sed 's/^/| /' conftest.$ac_ext >&5
4588 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4589 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4590 as_fn_error 77 "C compiler cannot create executables
4591 See \`config.log' for more details" "$LINENO" 5 ; }
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4594 $as_echo "yes" >&6; }
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4597 $as_echo_n "checking for C compiler default output file name... " >&6; }
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4599 $as_echo "$ac_file" >&6; }
4600 ac_exeext=$ac_cv_exeext
4602 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4603 ac_clean_files=$ac_clean_files_save
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4605 $as_echo_n "checking for suffix of executables... " >&6; }
4606 if { { ac_try="$ac_link"
4608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4609 *) ac_try_echo=$ac_try;;
4611 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4612 $as_echo "$ac_try_echo"; } >&5
4613 (eval "$ac_link") 2>&5
4615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4616 test $ac_status = 0; }; then :
4617 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4618 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4619 # work properly (i.e., refer to `conftest.exe'), while it won't with
4621 for ac_file in conftest.exe conftest conftest.*; do
4622 test -f "$ac_file" || continue
4624 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4625 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4631 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4632 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4633 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4634 See \`config.log' for more details" "$LINENO" 5 ; }
4636 rm -f conftest conftest$ac_cv_exeext
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4638 $as_echo "$ac_cv_exeext" >&6; }
4640 rm -f conftest.$ac_ext
4641 EXEEXT=$ac_cv_exeext
4643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4644 /* end confdefs.h. */
4649 FILE *f = fopen ("conftest.out", "w");
4650 return ferror (f) || fclose (f) != 0;
4656 ac_clean_files="$ac_clean_files conftest.out"
4657 # Check that the compiler produces executables we can run. If not, either
4658 # the compiler is broken, or we cross compile.
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4660 $as_echo_n "checking whether we are cross compiling... " >&6; }
4661 if test "$cross_compiling" != yes; then
4662 { { ac_try="$ac_link"
4664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4665 *) ac_try_echo=$ac_try;;
4667 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4668 $as_echo "$ac_try_echo"; } >&5
4669 (eval "$ac_link") 2>&5
4671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4672 test $ac_status = 0; }
4673 if { ac_try='./conftest$ac_cv_exeext'
4674 { { case "(($ac_try" in
4675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4676 *) ac_try_echo=$ac_try;;
4678 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4679 $as_echo "$ac_try_echo"; } >&5
4680 (eval "$ac_try") 2>&5
4682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4683 test $ac_status = 0; }; }; then
4686 if test "$cross_compiling" = maybe; then
4689 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4690 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4691 as_fn_error $? "cannot run C compiled programs.
4692 If you meant to cross compile, use \`--host'.
4693 See \`config.log' for more details" "$LINENO" 5 ; }
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4698 $as_echo "$cross_compiling" >&6; }
4700 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4701 ac_clean_files=$ac_clean_files_save
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4703 $as_echo_n "checking for suffix of object files... " >&6; }
4704 if test "${ac_cv_objext+set}" = set; then :
4705 $as_echo_n "(cached) " >&6
4707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4708 /* end confdefs.h. */
4718 rm -f conftest.o conftest.obj
4719 if { { ac_try="$ac_compile"
4721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4722 *) ac_try_echo=$ac_try;;
4724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4725 $as_echo "$ac_try_echo"; } >&5
4726 (eval "$ac_compile") 2>&5
4728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4729 test $ac_status = 0; }; then :
4730 for ac_file in conftest.o conftest.obj conftest.*; do
4731 test -f "$ac_file" || continue;
4733 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4734 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4739 $as_echo "$as_me: failed program was:" >&5
4740 sed 's/^/| /' conftest.$ac_ext >&5
4742 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4743 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4744 as_fn_error $? "cannot compute suffix of object files: cannot compile
4745 See \`config.log' for more details" "$LINENO" 5 ; }
4747 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4750 $as_echo "$ac_cv_objext" >&6; }
4751 OBJEXT=$ac_cv_objext
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4754 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4755 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4756 $as_echo_n "(cached) " >&6
4758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4759 /* end confdefs.h. */
4772 if ac_fn_c_try_compile "$LINENO"; then :
4777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4778 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4782 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4783 if test $ac_compiler_gnu = yes; then
4788 ac_test_CFLAGS=${CFLAGS+set}
4789 ac_save_CFLAGS=$CFLAGS
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4791 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4792 if test "${ac_cv_prog_cc_g+set}" = set; then :
4793 $as_echo_n "(cached) " >&6
4795 ac_save_c_werror_flag=$ac_c_werror_flag
4796 ac_c_werror_flag=yes
4799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4800 /* end confdefs.h. */
4810 if ac_fn_c_try_compile "$LINENO"; then :
4814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4815 /* end confdefs.h. */
4825 if ac_fn_c_try_compile "$LINENO"; then :
4828 ac_c_werror_flag=$ac_save_c_werror_flag
4830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4831 /* end confdefs.h. */
4841 if ac_fn_c_try_compile "$LINENO"; then :
4844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4849 ac_c_werror_flag=$ac_save_c_werror_flag
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4852 $as_echo "$ac_cv_prog_cc_g" >&6; }
4853 if test "$ac_test_CFLAGS" = set; then
4854 CFLAGS=$ac_save_CFLAGS
4855 elif test $ac_cv_prog_cc_g = yes; then
4856 if test "$GCC" = yes; then
4862 if test "$GCC" = yes; then
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4869 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4870 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4871 $as_echo_n "(cached) " >&6
4873 ac_cv_prog_cc_c89=no
4875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4876 /* end confdefs.h. */
4879 #include <sys/types.h>
4880 #include <sys/stat.h>
4881 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4882 struct buf { int x; };
4883 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4884 static char *e (p, i)
4890 static char *f (char * (*g) (char **, int), char **p, ...)
4895 s = g (p, va_arg (v,int));
4900 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4901 function prototypes and stuff, but not '\xHH' hex character constants.
4902 These don't provoke an error unfortunately, instead are silently treated
4903 as 'x'. The following induces an error, until -std is added to get
4904 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4905 array size at least. It's necessary to write '\x00'==0 to get something
4906 that's true only with -std. */
4907 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4909 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4910 inside strings and character constants. */
4912 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4914 int test (int i, double x);
4915 struct s1 {int (*f) (int a);};
4916 struct s2 {int (*f) (double a);};
4917 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4923 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4928 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4929 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4931 CC="$ac_save_CC $ac_arg"
4932 if ac_fn_c_try_compile "$LINENO"; then :
4933 ac_cv_prog_cc_c89=$ac_arg
4935 rm -f core conftest.err conftest.$ac_objext
4936 test "x$ac_cv_prog_cc_c89" != "xno" && break
4938 rm -f conftest.$ac_ext
4943 case "x$ac_cv_prog_cc_c89" in
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4946 $as_echo "none needed" >&6; } ;;
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4949 $as_echo "unsupported" >&6; } ;;
4951 CC="$CC $ac_cv_prog_cc_c89"
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4953 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4955 if test "x$ac_cv_prog_cc_c89" != xno; then :
4960 ac_cpp='$CPP $CPPFLAGS'
4961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4965 depcc="$CC" am_compiler_list=
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4968 $as_echo_n "checking dependency style of $depcc... " >&6; }
4969 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4970 $as_echo_n "(cached) " >&6
4972 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4973 # We make a subdir and do the tests there. Otherwise we can end up
4974 # making bogus files that we don't know about and never remove. For
4975 # instance it was reported that on HP-UX the gcc test will end up
4976 # making a dummy file named `D' -- because `-MD' means `put the output
4979 # Copy depcomp to subdir because otherwise we won't find it if we're
4980 # using a relative directory.
4981 cp "$am_depcomp" conftest.dir
4983 # We will build objects and dependencies in a subdirectory because
4984 # it helps to detect inapplicable dependency modes. For instance
4985 # both Tru64's cc and ICC support -MD to output dependencies as a
4986 # side effect of compilation, but ICC will put the dependencies in
4987 # the current directory while Tru64 will put them in the object
4991 am_cv_CC_dependencies_compiler_type=none
4992 if test "$am_compiler_list" = ""; then
4993 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4996 case " $depcc " in #(
4997 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5000 for depmode in $am_compiler_list; do
5001 # Setup a source with many dependencies, because some compilers
5002 # like to wrap large dependency lists on column 80 (with \), and
5003 # we should not choose a depcomp mode which is confused by this.
5005 # We need to recreate these files for each test, as the compiler may
5006 # overwrite some of them when testing with obscure command lines.
5007 # This happens at least with the AIX C compiler.
5009 for i in 1 2 3 4 5 6; do
5010 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5011 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5012 # Solaris 8's {/usr,}/bin/sh.
5013 touch sub/conftst$i.h
5015 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5017 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5018 # mode. It turns out that the SunPro C++ compiler does not properly
5019 # handle `-M -o', and we need to detect this. Also, some Intel
5020 # versions had trouble with output in subdirs
5021 am__obj=sub/conftest.${OBJEXT-o}
5022 am__minus_obj="-o $am__obj"
5025 # This depmode causes a compiler race in universal mode.
5026 test "$am__universal" = false || continue
5029 # after this tag, mechanisms are not by side-effect, so they'll
5030 # only be used when explicitly requested
5031 if test "x$enable_dependency_tracking" = xyes; then
5037 msvisualcpp | msvcmsys)
5038 # This compiler won't grok `-c -o', but also, the minuso test has
5039 # not run yet. These depmodes are late enough in the game, and
5040 # so weak that their functioning should not be impacted.
5041 am__obj=conftest.${OBJEXT-o}
5046 if depmode=$depmode \
5047 source=sub/conftest.c object=$am__obj \
5048 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5049 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5050 >/dev/null 2>conftest.err &&
5051 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5052 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5053 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5054 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5055 # icc doesn't choke on unknown options, it will just issue warnings
5056 # or remarks (even with -Werror). So we grep stderr for any message
5057 # that says an option was ignored or not supported.
5058 # When given -MP, icc 7.0 and 7.1 complain thusly:
5059 # icc: Command line warning: ignoring option '-M'; no argument required
5060 # The diagnosis changed in icc 8.0:
5061 # icc: Command line remark: option '-MP' not supported
5062 if (grep 'ignoring option' conftest.err ||
5063 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5064 am_cv_CC_dependencies_compiler_type=$depmode
5073 am_cv_CC_dependencies_compiler_type=none
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5078 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5079 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5082 test "x$enable_dependency_tracking" != xno \
5083 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5085 am__fastdepCC_FALSE='#'
5087 am__fastdepCC_TRUE='#'
5088 am__fastdepCC_FALSE=
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5093 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5094 if test "${ac_cv_path_SED+set}" = set; then :
5095 $as_echo_n "(cached) " >&6
5097 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5098 for ac_i in 1 2 3 4 5 6 7; do
5099 ac_script="$ac_script$as_nl$ac_script"
5101 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5102 { ac_script=; unset ac_script;}
5103 if test -z "$SED"; then
5104 ac_path_SED_found=false
5105 # Loop through the user's path and test for each of PROGNAME-LIST
5106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5110 test -z "$as_dir" && as_dir=.
5111 for ac_prog in sed gsed; do
5112 for ac_exec_ext in '' $ac_executable_extensions; do
5113 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5114 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5115 # Check for GNU ac_path_SED and select it if it is found.
5116 # Check for GNU $ac_path_SED
5117 case `"$ac_path_SED" --version 2>&1` in
5119 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5122 $as_echo_n 0123456789 >"conftest.in"
5125 cat "conftest.in" "conftest.in" >"conftest.tmp"
5126 mv "conftest.tmp" "conftest.in"
5127 cp "conftest.in" "conftest.nl"
5128 $as_echo '' >> "conftest.nl"
5129 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5130 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5131 as_fn_arith $ac_count + 1 && ac_count=$as_val
5132 if test $ac_count -gt ${ac_path_SED_max-0}; then
5133 # Best one so far, save it but keep looking for a better one
5134 ac_cv_path_SED="$ac_path_SED"
5135 ac_path_SED_max=$ac_count
5137 # 10*(2^10) chars as input seems more than enough
5138 test $ac_count -gt 10 && break
5140 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5143 $ac_path_SED_found && break 3
5148 if test -z "$ac_cv_path_SED"; then
5149 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5157 $as_echo "$ac_cv_path_SED" >&6; }
5158 SED="$ac_cv_path_SED"
5161 test -z "$SED" && SED=sed
5162 Xsed="$SED -e 1s/^X//"
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5175 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5176 if test "${ac_cv_path_GREP+set}" = set; then :
5177 $as_echo_n "(cached) " >&6
5179 if test -z "$GREP"; then
5180 ac_path_GREP_found=false
5181 # Loop through the user's path and test for each of PROGNAME-LIST
5182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5183 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5186 test -z "$as_dir" && as_dir=.
5187 for ac_prog in grep ggrep; do
5188 for ac_exec_ext in '' $ac_executable_extensions; do
5189 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5190 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5191 # Check for GNU ac_path_GREP and select it if it is found.
5192 # Check for GNU $ac_path_GREP
5193 case `"$ac_path_GREP" --version 2>&1` in
5195 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5198 $as_echo_n 0123456789 >"conftest.in"
5201 cat "conftest.in" "conftest.in" >"conftest.tmp"
5202 mv "conftest.tmp" "conftest.in"
5203 cp "conftest.in" "conftest.nl"
5204 $as_echo 'GREP' >> "conftest.nl"
5205 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5206 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5207 as_fn_arith $ac_count + 1 && ac_count=$as_val
5208 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5209 # Best one so far, save it but keep looking for a better one
5210 ac_cv_path_GREP="$ac_path_GREP"
5211 ac_path_GREP_max=$ac_count
5213 # 10*(2^10) chars as input seems more than enough
5214 test $ac_count -gt 10 && break
5216 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5219 $ac_path_GREP_found && break 3
5224 if test -z "$ac_cv_path_GREP"; then
5225 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5228 ac_cv_path_GREP=$GREP
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5233 $as_echo "$ac_cv_path_GREP" >&6; }
5234 GREP="$ac_cv_path_GREP"
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5238 $as_echo_n "checking for egrep... " >&6; }
5239 if test "${ac_cv_path_EGREP+set}" = set; then :
5240 $as_echo_n "(cached) " >&6
5242 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5243 then ac_cv_path_EGREP="$GREP -E"
5245 if test -z "$EGREP"; then
5246 ac_path_EGREP_found=false
5247 # Loop through the user's path and test for each of PROGNAME-LIST
5248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5249 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5252 test -z "$as_dir" && as_dir=.
5253 for ac_prog in egrep; do
5254 for ac_exec_ext in '' $ac_executable_extensions; do
5255 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5256 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5257 # Check for GNU ac_path_EGREP and select it if it is found.
5258 # Check for GNU $ac_path_EGREP
5259 case `"$ac_path_EGREP" --version 2>&1` in
5261 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5264 $as_echo_n 0123456789 >"conftest.in"
5267 cat "conftest.in" "conftest.in" >"conftest.tmp"
5268 mv "conftest.tmp" "conftest.in"
5269 cp "conftest.in" "conftest.nl"
5270 $as_echo 'EGREP' >> "conftest.nl"
5271 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5272 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5273 as_fn_arith $ac_count + 1 && ac_count=$as_val
5274 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5275 # Best one so far, save it but keep looking for a better one
5276 ac_cv_path_EGREP="$ac_path_EGREP"
5277 ac_path_EGREP_max=$ac_count
5279 # 10*(2^10) chars as input seems more than enough
5280 test $ac_count -gt 10 && break
5282 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5285 $ac_path_EGREP_found && break 3
5290 if test -z "$ac_cv_path_EGREP"; then
5291 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5294 ac_cv_path_EGREP=$EGREP
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5300 $as_echo "$ac_cv_path_EGREP" >&6; }
5301 EGREP="$ac_cv_path_EGREP"
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5305 $as_echo_n "checking for fgrep... " >&6; }
5306 if test "${ac_cv_path_FGREP+set}" = set; then :
5307 $as_echo_n "(cached) " >&6
5309 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5310 then ac_cv_path_FGREP="$GREP -F"
5312 if test -z "$FGREP"; then
5313 ac_path_FGREP_found=false
5314 # Loop through the user's path and test for each of PROGNAME-LIST
5315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5316 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5319 test -z "$as_dir" && as_dir=.
5320 for ac_prog in fgrep; do
5321 for ac_exec_ext in '' $ac_executable_extensions; do
5322 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5323 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5324 # Check for GNU ac_path_FGREP and select it if it is found.
5325 # Check for GNU $ac_path_FGREP
5326 case `"$ac_path_FGREP" --version 2>&1` in
5328 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5331 $as_echo_n 0123456789 >"conftest.in"
5334 cat "conftest.in" "conftest.in" >"conftest.tmp"
5335 mv "conftest.tmp" "conftest.in"
5336 cp "conftest.in" "conftest.nl"
5337 $as_echo 'FGREP' >> "conftest.nl"
5338 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5339 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5340 as_fn_arith $ac_count + 1 && ac_count=$as_val
5341 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5342 # Best one so far, save it but keep looking for a better one
5343 ac_cv_path_FGREP="$ac_path_FGREP"
5344 ac_path_FGREP_max=$ac_count
5346 # 10*(2^10) chars as input seems more than enough
5347 test $ac_count -gt 10 && break
5349 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5352 $ac_path_FGREP_found && break 3
5357 if test -z "$ac_cv_path_FGREP"; then
5358 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5361 ac_cv_path_FGREP=$FGREP
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5367 $as_echo "$ac_cv_path_FGREP" >&6; }
5368 FGREP="$ac_cv_path_FGREP"
5371 test -z "$GREP" && GREP=grep
5391 # Check whether --with-gnu-ld was given.
5392 if test "${with_gnu_ld+set}" = set; then :
5393 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5399 if test "$GCC" = yes; then
5400 # Check if gcc -print-prog-name=ld gives a path.
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5402 $as_echo_n "checking for ld used by $CC... " >&6; }
5405 # gcc leaves a trailing carriage return which upsets mingw
5406 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5408 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5411 # Accept absolute paths.
5413 re_direlt='/[^/][^/]*/\.\./'
5414 # Canonicalize the pathname of ld
5415 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5416 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5417 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5419 test -z "$LD" && LD="$ac_prog"
5422 # If it fails, then pretend we aren't using GCC.
5426 # If it is relative, then search for the first ld in PATH.
5430 elif test "$with_gnu_ld" = yes; then
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5432 $as_echo_n "checking for GNU ld... " >&6; }
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5435 $as_echo_n "checking for non-GNU ld... " >&6; }
5437 if test "${lt_cv_path_LD+set}" = set; then :
5438 $as_echo_n "(cached) " >&6
5440 if test -z "$LD"; then
5441 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5442 for ac_dir in $PATH; do
5444 test -z "$ac_dir" && ac_dir=.
5445 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5446 lt_cv_path_LD="$ac_dir/$ac_prog"
5447 # Check to see if the program is GNU ld. I'd rather use --version,
5448 # but apparently some variants of GNU ld only accept -v.
5449 # Break only if it was the GNU/non-GNU ld that we prefer.
5450 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5451 *GNU* | *'with BFD'*)
5452 test "$with_gnu_ld" != no && break
5455 test "$with_gnu_ld" != yes && break
5462 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5467 if test -n "$LD"; then
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5469 $as_echo "$LD" >&6; }
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5472 $as_echo "no" >&6; }
5474 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5476 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5477 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5478 $as_echo_n "(cached) " >&6
5480 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5481 case `$LD -v 2>&1 </dev/null` in
5482 *GNU* | *'with BFD'*)
5483 lt_cv_prog_gnu_ld=yes
5486 lt_cv_prog_gnu_ld=no
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5491 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5492 with_gnu_ld=$lt_cv_prog_gnu_ld
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5503 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5504 if test "${lt_cv_path_NM+set}" = set; then :
5505 $as_echo_n "(cached) " >&6
5507 if test -n "$NM"; then
5508 # Let the user override the test.
5511 lt_nm_to_check="${ac_tool_prefix}nm"
5512 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5513 lt_nm_to_check="$lt_nm_to_check nm"
5515 for lt_tmp_nm in $lt_nm_to_check; do
5516 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5517 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5519 test -z "$ac_dir" && ac_dir=.
5520 tmp_nm="$ac_dir/$lt_tmp_nm"
5521 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5522 # Check to see if the nm accepts a BSD-compat flag.
5523 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5524 # nm: unknown option "B" ignored
5525 # Tru64's nm complains that /dev/null is an invalid object file
5526 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5527 */dev/null* | *'Invalid file or object type'*)
5528 lt_cv_path_NM="$tmp_nm -B"
5532 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5534 lt_cv_path_NM="$tmp_nm -p"
5538 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5539 continue # so that we can try to find one that supports BSD flags
5548 : ${lt_cv_path_NM=no}
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5552 $as_echo "$lt_cv_path_NM" >&6; }
5553 if test "$lt_cv_path_NM" != "no"; then
5556 # Didn't find any BSD compatible name lister, look for dumpbin.
5557 if test -n "$ac_tool_prefix"; then
5558 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5560 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5561 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5563 $as_echo_n "checking for $ac_word... " >&6; }
5564 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5565 $as_echo_n "(cached) " >&6
5567 if test -n "$DUMPBIN"; then
5568 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5574 test -z "$as_dir" && as_dir=.
5575 for ac_exec_ext in '' $ac_executable_extensions; do
5576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5577 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5587 DUMPBIN=$ac_cv_prog_DUMPBIN
5588 if test -n "$DUMPBIN"; then
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5590 $as_echo "$DUMPBIN" >&6; }
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5593 $as_echo "no" >&6; }
5597 test -n "$DUMPBIN" && break
5600 if test -z "$DUMPBIN"; then
5601 ac_ct_DUMPBIN=$DUMPBIN
5602 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5604 # Extract the first word of "$ac_prog", so it can be a program name with args.
5605 set dummy $ac_prog; ac_word=$2
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5607 $as_echo_n "checking for $ac_word... " >&6; }
5608 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5609 $as_echo_n "(cached) " >&6
5611 if test -n "$ac_ct_DUMPBIN"; then
5612 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5618 test -z "$as_dir" && as_dir=.
5619 for ac_exec_ext in '' $ac_executable_extensions; do
5620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5621 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5631 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5632 if test -n "$ac_ct_DUMPBIN"; then
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5634 $as_echo "$ac_ct_DUMPBIN" >&6; }
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5637 $as_echo "no" >&6; }
5641 test -n "$ac_ct_DUMPBIN" && break
5644 if test "x$ac_ct_DUMPBIN" = x; then
5647 case $cross_compiling:$ac_tool_warned in
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5650 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5651 ac_tool_warned=yes ;;
5653 DUMPBIN=$ac_ct_DUMPBIN
5658 if test "$DUMPBIN" != ":"; then
5662 test -z "$NM" && NM=nm
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5670 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5671 if test "${lt_cv_nm_interface+set}" = set; then :
5672 $as_echo_n "(cached) " >&6
5674 lt_cv_nm_interface="BSD nm"
5675 echo "int some_variable = 0;" > conftest.$ac_ext
5676 (eval echo "\"\$as_me:5676: $ac_compile\"" >&5)
5677 (eval "$ac_compile" 2>conftest.err)
5678 cat conftest.err >&5
5679 (eval echo "\"\$as_me:5679: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5680 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5681 cat conftest.err >&5
5682 (eval echo "\"\$as_me:5682: output\"" >&5)
5683 cat conftest.out >&5
5684 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5685 lt_cv_nm_interface="MS dumpbin"
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5690 $as_echo "$lt_cv_nm_interface" >&6; }
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5693 $as_echo_n "checking whether ln -s works... " >&6; }
5695 if test "$LN_S" = "ln -s"; then
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5697 $as_echo "yes" >&6; }
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5700 $as_echo "no, using $LN_S" >&6; }
5703 # find the maximum length of command line arguments
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5705 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5706 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5707 $as_echo_n "(cached) " >&6
5714 # On DJGPP, this test can blow up pretty badly due to problems in libc
5715 # (any single argument exceeding 2000 bytes causes a buffer overrun
5716 # during glob expansion). Even if it were fixed, the result of this
5717 # check would be larger than it should be.
5718 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5722 # Under GNU Hurd, this test is not required because there is
5723 # no limit to the length of command line arguments.
5724 # Libtool will interpret -1 as no limit whatsoever
5725 lt_cv_sys_max_cmd_len=-1;
5728 cygwin* | mingw* | cegcc*)
5729 # On Win9x/ME, this test blows up -- it succeeds, but takes
5730 # about 5 minutes as the teststring grows exponentially.
5731 # Worse, since 9x/ME are not pre-emptively multitasking,
5732 # you end up with a "frozen" computer, even though with patience
5733 # the test eventually succeeds (with a max line length of 256k).
5734 # Instead, let's just punt: use the minimum linelength reported by
5735 # all of the supported platforms: 8192 (on NT/2K/XP).
5736 lt_cv_sys_max_cmd_len=8192;
5740 # On AmigaOS with pdksh, this test takes hours, literally.
5741 # So we just punt and use a minimum line length of 8192.
5742 lt_cv_sys_max_cmd_len=8192;
5745 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5746 # This has been around since 386BSD, at least. Likely further.
5747 if test -x /sbin/sysctl; then
5748 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5749 elif test -x /usr/sbin/sysctl; then
5750 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5752 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5754 # And add a safety zone
5755 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5756 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5760 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5761 lt_cv_sys_max_cmd_len=196608
5765 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5766 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5767 # nice to cause kernel panics so lets avoid the loop below.
5768 # First set a reasonable default.
5769 lt_cv_sys_max_cmd_len=16384
5771 if test -x /sbin/sysconfig; then
5772 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5773 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5778 lt_cv_sys_max_cmd_len=102400
5780 sysv5* | sco5v6* | sysv4.2uw2*)
5781 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5782 if test -n "$kargmax"; then
5783 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5785 lt_cv_sys_max_cmd_len=32768
5789 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5790 if test -n "$lt_cv_sys_max_cmd_len"; then
5791 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5792 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5794 # Make teststring a little bigger before we do anything with it.
5795 # a 1K string should be a reasonable start.
5796 for i in 1 2 3 4 5 6 7 8 ; do
5797 teststring=$teststring$teststring
5799 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5800 # If test is not a shell built-in, we'll probably end up computing a
5801 # maximum length that is only half of the actual maximum length, but
5803 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5804 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5805 test $i != 17 # 1/2 MB should be enough
5808 teststring=$teststring$teststring
5810 # Only check the string length outside the loop.
5811 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5813 # Add a significant safety factor because C++ compilers can tack on
5814 # massive amounts of additional arguments before passing them to the
5815 # linker. It appears as though 1/2 is a usable value.
5816 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5823 if test -n $lt_cv_sys_max_cmd_len ; then
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5825 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5828 $as_echo "none" >&6; }
5830 max_cmd_len=$lt_cv_sys_max_cmd_len
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5842 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5843 # Try some XSI features
5846 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5848 && eval 'test $(( 1 + 1 )) -eq 2 \
5849 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5852 $as_echo "$xsi_shell" >&6; }
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5856 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5858 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5860 && lt_shell_append=yes
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5862 $as_echo "$lt_shell_append" >&6; }
5865 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5875 # test EBCDIC or ASCII
5876 case `echo X|tr X '\101'` in
5877 A) # ASCII based system
5878 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5879 lt_SP2NL='tr \040 \012'
5880 lt_NL2SP='tr \015\012 \040\040'
5882 *) # EBCDIC based system
5883 lt_SP2NL='tr \100 \n'
5884 lt_NL2SP='tr \r\n \100\100'
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5897 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5898 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5899 $as_echo_n "(cached) " >&6
5901 lt_cv_ld_reload_flag='-r'
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5904 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5905 reload_flag=$lt_cv_ld_reload_flag
5906 case $reload_flag in
5908 *) reload_flag=" $reload_flag" ;;
5910 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5913 if test "$GCC" = yes; then
5914 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5916 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5929 if test -n "$ac_tool_prefix"; then
5930 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5931 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5933 $as_echo_n "checking for $ac_word... " >&6; }
5934 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5935 $as_echo_n "(cached) " >&6
5937 if test -n "$OBJDUMP"; then
5938 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5944 test -z "$as_dir" && as_dir=.
5945 for ac_exec_ext in '' $ac_executable_extensions; do
5946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5947 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5957 OBJDUMP=$ac_cv_prog_OBJDUMP
5958 if test -n "$OBJDUMP"; then
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5960 $as_echo "$OBJDUMP" >&6; }
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5963 $as_echo "no" >&6; }
5968 if test -z "$ac_cv_prog_OBJDUMP"; then
5969 ac_ct_OBJDUMP=$OBJDUMP
5970 # Extract the first word of "objdump", so it can be a program name with args.
5971 set dummy objdump; ac_word=$2
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5973 $as_echo_n "checking for $ac_word... " >&6; }
5974 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5975 $as_echo_n "(cached) " >&6
5977 if test -n "$ac_ct_OBJDUMP"; then
5978 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5984 test -z "$as_dir" && as_dir=.
5985 for ac_exec_ext in '' $ac_executable_extensions; do
5986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5987 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5997 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5998 if test -n "$ac_ct_OBJDUMP"; then
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6000 $as_echo "$ac_ct_OBJDUMP" >&6; }
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6003 $as_echo "no" >&6; }
6006 if test "x$ac_ct_OBJDUMP" = x; then
6009 case $cross_compiling:$ac_tool_warned in
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6012 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6013 ac_tool_warned=yes ;;
6015 OBJDUMP=$ac_ct_OBJDUMP
6018 OBJDUMP="$ac_cv_prog_OBJDUMP"
6021 test -z "$OBJDUMP" && OBJDUMP=objdump
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6029 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6030 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6031 $as_echo_n "(cached) " >&6
6033 lt_cv_file_magic_cmd='$MAGIC_CMD'
6034 lt_cv_file_magic_test_file=
6035 lt_cv_deplibs_check_method='unknown'
6036 # Need to set the preceding variable on all platforms that support
6037 # interlibrary dependencies.
6038 # 'none' -- dependencies not supported.
6039 # `unknown' -- same as none, but documents that we really don't know.
6040 # 'pass_all' -- all dependencies passed with no checks.
6041 # 'test_compile' -- check by making test program.
6042 # 'file_magic [[regex]]' -- check by looking for files in library path
6043 # which responds to the $file_magic_cmd with a given extended regex.
6044 # If you have `file' or equivalent on your system and you're not sure
6045 # whether `pass_all' will *always* work, you probably want this one.
6049 lt_cv_deplibs_check_method=pass_all
6053 lt_cv_deplibs_check_method=pass_all
6057 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6058 lt_cv_file_magic_cmd='/usr/bin/file -L'
6059 lt_cv_file_magic_test_file=/shlib/libc.so
6063 # func_win32_libid is a shell function defined in ltmain.sh
6064 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6065 lt_cv_file_magic_cmd='func_win32_libid'
6069 # Base MSYS/MinGW do not provide the 'file' command needed by
6070 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6071 # unless we find 'file', for example because we are cross-compiling.
6072 if ( file / ) >/dev/null 2>&1; then
6073 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6074 lt_cv_file_magic_cmd='func_win32_libid'
6076 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6077 lt_cv_file_magic_cmd='$OBJDUMP -f'
6082 # use the weaker test based on 'objdump'. See mingw*.
6083 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6084 lt_cv_file_magic_cmd='$OBJDUMP -f'
6087 darwin* | rhapsody*)
6088 lt_cv_deplibs_check_method=pass_all
6091 freebsd* | dragonfly*)
6092 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6095 # Not sure whether the presence of OpenBSD here was a mistake.
6096 # Let's accept both of them until this is cleared up.
6097 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6098 lt_cv_file_magic_cmd=/usr/bin/file
6099 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6103 lt_cv_deplibs_check_method=pass_all
6108 lt_cv_deplibs_check_method=pass_all
6111 hpux10.20* | hpux11*)
6112 lt_cv_file_magic_cmd=/usr/bin/file
6115 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6116 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6119 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
6120 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6123 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6124 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6130 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6131 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6134 irix5* | irix6* | nonstopux*)
6136 *-32|*"-32 ") libmagic=32-bit;;
6137 *-n32|*"-n32 ") libmagic=N32;;
6138 *-64|*"-64 ") libmagic=64-bit;;
6139 *) libmagic=never-match;;
6141 lt_cv_deplibs_check_method=pass_all
6144 # This must be Linux ELF.
6145 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6146 lt_cv_deplibs_check_method=pass_all
6149 netbsd* | netbsdelf*-gnu)
6150 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6151 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6153 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6158 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6159 lt_cv_file_magic_cmd=/usr/bin/file
6160 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6164 lt_cv_deplibs_check_method=pass_all
6168 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6169 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6171 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6175 osf3* | osf4* | osf5*)
6176 lt_cv_deplibs_check_method=pass_all
6180 lt_cv_deplibs_check_method=pass_all
6184 lt_cv_deplibs_check_method=pass_all
6187 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6188 lt_cv_deplibs_check_method=pass_all
6192 case $host_vendor in
6194 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]'
6195 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6198 lt_cv_deplibs_check_method=pass_all
6201 lt_cv_file_magic_cmd='/bin/file'
6202 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6205 lt_cv_file_magic_cmd='/bin/file'
6206 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6207 lt_cv_file_magic_test_file=/lib/libc.so
6210 lt_cv_deplibs_check_method=pass_all
6213 lt_cv_deplibs_check_method=pass_all
6219 lt_cv_deplibs_check_method=pass_all
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6225 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6226 file_magic_cmd=$lt_cv_file_magic_cmd
6227 deplibs_check_method=$lt_cv_deplibs_check_method
6228 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6241 if test -n "$ac_tool_prefix"; then
6242 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6243 set dummy ${ac_tool_prefix}ar; ac_word=$2
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6245 $as_echo_n "checking for $ac_word... " >&6; }
6246 if test "${ac_cv_prog_AR+set}" = set; then :
6247 $as_echo_n "(cached) " >&6
6249 if test -n "$AR"; then
6250 ac_cv_prog_AR="$AR" # Let the user override the test.
6252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6256 test -z "$as_dir" && as_dir=.
6257 for ac_exec_ext in '' $ac_executable_extensions; do
6258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6259 ac_cv_prog_AR="${ac_tool_prefix}ar"
6260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6270 if test -n "$AR"; then
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6272 $as_echo "$AR" >&6; }
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6275 $as_echo "no" >&6; }
6280 if test -z "$ac_cv_prog_AR"; then
6282 # Extract the first word of "ar", so it can be a program name with args.
6283 set dummy ar; ac_word=$2
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6285 $as_echo_n "checking for $ac_word... " >&6; }
6286 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6287 $as_echo_n "(cached) " >&6
6289 if test -n "$ac_ct_AR"; then
6290 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6296 test -z "$as_dir" && as_dir=.
6297 for ac_exec_ext in '' $ac_executable_extensions; do
6298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6299 ac_cv_prog_ac_ct_AR="ar"
6300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6309 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6310 if test -n "$ac_ct_AR"; then
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6312 $as_echo "$ac_ct_AR" >&6; }
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6315 $as_echo "no" >&6; }
6318 if test "x$ac_ct_AR" = x; then
6321 case $cross_compiling:$ac_tool_warned in
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6324 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6325 ac_tool_warned=yes ;;
6333 test -z "$AR" && AR=ar
6334 test -z "$AR_FLAGS" && AR_FLAGS=cru
6346 if test -n "$ac_tool_prefix"; then
6347 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6348 set dummy ${ac_tool_prefix}strip; ac_word=$2
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6350 $as_echo_n "checking for $ac_word... " >&6; }
6351 if test "${ac_cv_prog_STRIP+set}" = set; then :
6352 $as_echo_n "(cached) " >&6
6354 if test -n "$STRIP"; then
6355 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6361 test -z "$as_dir" && as_dir=.
6362 for ac_exec_ext in '' $ac_executable_extensions; do
6363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6364 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6374 STRIP=$ac_cv_prog_STRIP
6375 if test -n "$STRIP"; then
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6377 $as_echo "$STRIP" >&6; }
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6380 $as_echo "no" >&6; }
6385 if test -z "$ac_cv_prog_STRIP"; then
6387 # Extract the first word of "strip", so it can be a program name with args.
6388 set dummy strip; ac_word=$2
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6390 $as_echo_n "checking for $ac_word... " >&6; }
6391 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6392 $as_echo_n "(cached) " >&6
6394 if test -n "$ac_ct_STRIP"; then
6395 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6401 test -z "$as_dir" && as_dir=.
6402 for ac_exec_ext in '' $ac_executable_extensions; do
6403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6404 ac_cv_prog_ac_ct_STRIP="strip"
6405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6414 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6415 if test -n "$ac_ct_STRIP"; then
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6417 $as_echo "$ac_ct_STRIP" >&6; }
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6420 $as_echo "no" >&6; }
6423 if test "x$ac_ct_STRIP" = x; then
6426 case $cross_compiling:$ac_tool_warned in
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6430 ac_tool_warned=yes ;;
6435 STRIP="$ac_cv_prog_STRIP"
6438 test -z "$STRIP" && STRIP=:
6445 if test -n "$ac_tool_prefix"; then
6446 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6447 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6449 $as_echo_n "checking for $ac_word... " >&6; }
6450 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6451 $as_echo_n "(cached) " >&6
6453 if test -n "$RANLIB"; then
6454 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6460 test -z "$as_dir" && as_dir=.
6461 for ac_exec_ext in '' $ac_executable_extensions; do
6462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6463 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6473 RANLIB=$ac_cv_prog_RANLIB
6474 if test -n "$RANLIB"; then
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6476 $as_echo "$RANLIB" >&6; }
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6479 $as_echo "no" >&6; }
6484 if test -z "$ac_cv_prog_RANLIB"; then
6485 ac_ct_RANLIB=$RANLIB
6486 # Extract the first word of "ranlib", so it can be a program name with args.
6487 set dummy ranlib; ac_word=$2
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6489 $as_echo_n "checking for $ac_word... " >&6; }
6490 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6491 $as_echo_n "(cached) " >&6
6493 if test -n "$ac_ct_RANLIB"; then
6494 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6500 test -z "$as_dir" && as_dir=.
6501 for ac_exec_ext in '' $ac_executable_extensions; do
6502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6503 ac_cv_prog_ac_ct_RANLIB="ranlib"
6504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6513 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6514 if test -n "$ac_ct_RANLIB"; then
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6516 $as_echo "$ac_ct_RANLIB" >&6; }
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6519 $as_echo "no" >&6; }
6522 if test "x$ac_ct_RANLIB" = x; then
6525 case $cross_compiling:$ac_tool_warned in
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6528 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6529 ac_tool_warned=yes ;;
6531 RANLIB=$ac_ct_RANLIB
6534 RANLIB="$ac_cv_prog_RANLIB"
6537 test -z "$RANLIB" && RANLIB=:
6544 # Determine commands to create old-style static archives.
6545 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6546 old_postinstall_cmds='chmod 644 $oldlib'
6547 old_postuninstall_cmds=
6549 if test -n "$RANLIB"; then
6552 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6555 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6558 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6594 # If no C compiler was specified, use CC.
6597 # If no C compiler flags were specified, use CFLAGS.
6598 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6600 # Allow CC to be a program name with arguments.
6604 # Check for command to grab the raw symbol name followed by C symbol from nm.
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6606 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6607 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6608 $as_echo_n "(cached) " >&6
6611 # These are sane defaults that work on at least a few old systems.
6612 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6614 # Character class describing NM global symbol codes.
6615 symcode='[BCDEGRST]'
6617 # Regexp to match symbols that can be accessed directly from C.
6618 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6620 # Define system-specific variables.
6625 cygwin* | mingw* | pw32* | cegcc*)
6626 symcode='[ABCDGISTW]'
6629 if test "$host_cpu" = ia64; then
6630 symcode='[ABCDEGRST]'
6634 symcode='[BCDEGRST]'
6637 symcode='[BCDEGQRST]'
6648 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6656 # If we're using GNU nm, then use its standard symbol codes.
6657 case `$NM -V 2>&1` in
6658 *GNU* | *'with BFD'*)
6659 symcode='[ABCDGIRSTW]' ;;
6662 # Transform an extracted symbol line into a proper C declaration.
6663 # Some systems (esp. on ia64) link data and code symbols differently,
6664 # so use this general approach.
6665 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6667 # Transform an extracted symbol line into symbol name and symbol address
6668 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6669 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'"
6671 # Handle CRLF in mingw tool chain
6675 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6679 # Try without a prefix underscore, then with it.
6680 for ac_symprfx in "" "_"; do
6682 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6683 symxfrm="\\1 $ac_symprfx\\2 \\2"
6685 # Write the raw and C identifiers.
6686 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6687 # Fake it for dumpbin and say T for any non-static function
6688 # and D for any global variable.
6689 # Also find C++ and __fastcall symbols from MSVC++,
6690 # which start with @ or ?.
6691 lt_cv_sys_global_symbol_pipe="$AWK '"\
6692 " {last_section=section; section=\$ 3};"\
6693 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6694 " \$ 0!~/External *\|/{next};"\
6695 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6696 " {if(hide[section]) next};"\
6697 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6698 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6699 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6700 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6701 " ' prfx=^$ac_symprfx"
6703 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6706 # Check to see that the pipe works correctly.
6710 cat > conftest.$ac_ext <<_LT_EOF
6715 void nm_test_func(void);
6716 void nm_test_func(void){}
6720 int main(){nm_test_var='a';nm_test_func();return(0);}
6723 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6724 (eval $ac_compile) 2>&5
6726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6727 test $ac_status = 0; }; then
6728 # Now try to grab the symbols.
6730 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6731 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6734 test $ac_status = 0; } && test -s "$nlist"; then
6735 # Try sorting and uniquifying the output.
6736 if sort "$nlist" | uniq > "$nlist"T; then
6737 mv -f "$nlist"T "$nlist"
6742 # Make sure that we snagged all the symbols we need.
6743 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6744 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6745 cat <<_LT_EOF > conftest.$ac_ext
6751 # Now generate the symbol file.
6752 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6754 cat <<_LT_EOF >> conftest.$ac_ext
6756 /* The mapping between symbol names and symbols. */
6761 lt__PROGRAM__LTX_preloaded_symbols[] =
6763 { "@PROGRAM@", (void *) 0 },
6765 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6766 cat <<\_LT_EOF >> conftest.$ac_ext
6770 /* This works around a problem in FreeBSD linker */
6771 #ifdef FREEBSD_WORKAROUND
6772 static const void *lt_preloaded_setup() {
6773 return lt__PROGRAM__LTX_preloaded_symbols;
6781 # Now try linking the two files.
6782 mv conftest.$ac_objext conftstm.$ac_objext
6783 lt_save_LIBS="$LIBS"
6784 lt_save_CFLAGS="$CFLAGS"
6785 LIBS="conftstm.$ac_objext"
6786 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6787 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6788 (eval $ac_link) 2>&5
6790 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6791 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6794 LIBS="$lt_save_LIBS"
6795 CFLAGS="$lt_save_CFLAGS"
6797 echo "cannot find nm_test_func in $nlist" >&5
6800 echo "cannot find nm_test_var in $nlist" >&5
6803 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6806 echo "$progname: failed program was:" >&5
6807 cat conftest.$ac_ext >&5
6809 rm -rf conftest* conftst*
6811 # Do not use the global_symbol_pipe unless it works.
6812 if test "$pipe_works" = yes; then
6815 lt_cv_sys_global_symbol_pipe=
6821 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6822 lt_cv_sys_global_symbol_to_cdecl=
6824 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6826 $as_echo "failed" >&6; }
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6829 $as_echo "ok" >&6; }
6854 # Check whether --enable-libtool-lock was given.
6855 if test "${enable_libtool_lock+set}" = set; then :
6856 enableval=$enable_libtool_lock;
6859 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6861 # Some flags need to be propagated to the compiler or linker for good
6865 # Find out which ABI we are using.
6866 echo 'int i;' > conftest.$ac_ext
6867 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6868 (eval $ac_compile) 2>&5
6870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6871 test $ac_status = 0; }; then
6872 case `/usr/bin/file conftest.$ac_objext` in
6884 # Find out which ABI we are using.
6885 echo '#line 6885 "configure"' > conftest.$ac_ext
6886 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6887 (eval $ac_compile) 2>&5
6889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6890 test $ac_status = 0; }; then
6891 if test "$lt_cv_prog_gnu_ld" = yes; then
6892 case `/usr/bin/file conftest.$ac_objext` in
6894 LD="${LD-ld} -melf32bsmip"
6897 LD="${LD-ld} -melf32bmipn32"
6900 LD="${LD-ld} -melf64bmip"
6904 case `/usr/bin/file conftest.$ac_objext` in
6920 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6921 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6922 # Find out which ABI we are using.
6923 echo 'int i;' > conftest.$ac_ext
6924 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6925 (eval $ac_compile) 2>&5
6927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6928 test $ac_status = 0; }; then
6929 case `/usr/bin/file conftest.o` in
6932 x86_64-*kfreebsd*-gnu)
6933 LD="${LD-ld} -m elf_i386_fbsd"
6936 LD="${LD-ld} -m elf_i386"
6938 ppc64-*linux*|powerpc64-*linux*)
6939 LD="${LD-ld} -m elf32ppclinux"
6942 LD="${LD-ld} -m elf_s390"
6945 LD="${LD-ld} -m elf32_sparc"
6951 x86_64-*kfreebsd*-gnu)
6952 LD="${LD-ld} -m elf_x86_64_fbsd"
6955 LD="${LD-ld} -m elf_x86_64"
6957 ppc*-*linux*|powerpc*-*linux*)
6958 LD="${LD-ld} -m elf64ppc"
6960 s390*-*linux*|s390*-*tpf*)
6961 LD="${LD-ld} -m elf64_s390"
6964 LD="${LD-ld} -m elf64_sparc"
6974 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6975 SAVE_CFLAGS="$CFLAGS"
6976 CFLAGS="$CFLAGS -belf"
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6978 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6979 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6980 $as_echo_n "(cached) " >&6
6983 ac_cpp='$CPP $CPPFLAGS'
6984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6989 /* end confdefs.h. */
6999 if ac_fn_c_try_link "$LINENO"; then :
7000 lt_cv_cc_needs_belf=yes
7002 lt_cv_cc_needs_belf=no
7004 rm -f core conftest.err conftest.$ac_objext \
7005 conftest$ac_exeext conftest.$ac_ext
7007 ac_cpp='$CPP $CPPFLAGS'
7008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7014 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7015 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7016 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7017 CFLAGS="$SAVE_CFLAGS"
7021 # Find out which ABI we are using.
7022 echo 'int i;' > conftest.$ac_ext
7023 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7024 (eval $ac_compile) 2>&5
7026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7027 test $ac_status = 0; }; then
7028 case `/usr/bin/file conftest.o` in
7030 case $lt_cv_prog_gnu_ld in
7031 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7033 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7045 need_locks="$enable_libtool_lock"
7049 rhapsody* | darwin*)
7050 if test -n "$ac_tool_prefix"; then
7051 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7052 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7054 $as_echo_n "checking for $ac_word... " >&6; }
7055 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7056 $as_echo_n "(cached) " >&6
7058 if test -n "$DSYMUTIL"; then
7059 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7065 test -z "$as_dir" && as_dir=.
7066 for ac_exec_ext in '' $ac_executable_extensions; do
7067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7068 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7078 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7079 if test -n "$DSYMUTIL"; then
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7081 $as_echo "$DSYMUTIL" >&6; }
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7084 $as_echo "no" >&6; }
7089 if test -z "$ac_cv_prog_DSYMUTIL"; then
7090 ac_ct_DSYMUTIL=$DSYMUTIL
7091 # Extract the first word of "dsymutil", so it can be a program name with args.
7092 set dummy dsymutil; ac_word=$2
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7094 $as_echo_n "checking for $ac_word... " >&6; }
7095 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7096 $as_echo_n "(cached) " >&6
7098 if test -n "$ac_ct_DSYMUTIL"; then
7099 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7105 test -z "$as_dir" && as_dir=.
7106 for ac_exec_ext in '' $ac_executable_extensions; do
7107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7108 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7118 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7119 if test -n "$ac_ct_DSYMUTIL"; then
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7121 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7124 $as_echo "no" >&6; }
7127 if test "x$ac_ct_DSYMUTIL" = x; then
7130 case $cross_compiling:$ac_tool_warned in
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7133 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7134 ac_tool_warned=yes ;;
7136 DSYMUTIL=$ac_ct_DSYMUTIL
7139 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7142 if test -n "$ac_tool_prefix"; then
7143 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7144 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7146 $as_echo_n "checking for $ac_word... " >&6; }
7147 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7148 $as_echo_n "(cached) " >&6
7150 if test -n "$NMEDIT"; then
7151 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7157 test -z "$as_dir" && as_dir=.
7158 for ac_exec_ext in '' $ac_executable_extensions; do
7159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7160 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7170 NMEDIT=$ac_cv_prog_NMEDIT
7171 if test -n "$NMEDIT"; then
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7173 $as_echo "$NMEDIT" >&6; }
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7176 $as_echo "no" >&6; }
7181 if test -z "$ac_cv_prog_NMEDIT"; then
7182 ac_ct_NMEDIT=$NMEDIT
7183 # Extract the first word of "nmedit", so it can be a program name with args.
7184 set dummy nmedit; ac_word=$2
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7186 $as_echo_n "checking for $ac_word... " >&6; }
7187 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7188 $as_echo_n "(cached) " >&6
7190 if test -n "$ac_ct_NMEDIT"; then
7191 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7197 test -z "$as_dir" && as_dir=.
7198 for ac_exec_ext in '' $ac_executable_extensions; do
7199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7200 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7210 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7211 if test -n "$ac_ct_NMEDIT"; then
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7213 $as_echo "$ac_ct_NMEDIT" >&6; }
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7216 $as_echo "no" >&6; }
7219 if test "x$ac_ct_NMEDIT" = x; then
7222 case $cross_compiling:$ac_tool_warned in
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7225 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7226 ac_tool_warned=yes ;;
7228 NMEDIT=$ac_ct_NMEDIT
7231 NMEDIT="$ac_cv_prog_NMEDIT"
7234 if test -n "$ac_tool_prefix"; then
7235 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7236 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7238 $as_echo_n "checking for $ac_word... " >&6; }
7239 if test "${ac_cv_prog_LIPO+set}" = set; then :
7240 $as_echo_n "(cached) " >&6
7242 if test -n "$LIPO"; then
7243 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7249 test -z "$as_dir" && as_dir=.
7250 for ac_exec_ext in '' $ac_executable_extensions; do
7251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7252 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7262 LIPO=$ac_cv_prog_LIPO
7263 if test -n "$LIPO"; then
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7265 $as_echo "$LIPO" >&6; }
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7268 $as_echo "no" >&6; }
7273 if test -z "$ac_cv_prog_LIPO"; then
7275 # Extract the first word of "lipo", so it can be a program name with args.
7276 set dummy lipo; ac_word=$2
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7278 $as_echo_n "checking for $ac_word... " >&6; }
7279 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7280 $as_echo_n "(cached) " >&6
7282 if test -n "$ac_ct_LIPO"; then
7283 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7289 test -z "$as_dir" && as_dir=.
7290 for ac_exec_ext in '' $ac_executable_extensions; do
7291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7292 ac_cv_prog_ac_ct_LIPO="lipo"
7293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7302 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7303 if test -n "$ac_ct_LIPO"; then
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7305 $as_echo "$ac_ct_LIPO" >&6; }
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7308 $as_echo "no" >&6; }
7311 if test "x$ac_ct_LIPO" = x; then
7314 case $cross_compiling:$ac_tool_warned in
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7317 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7318 ac_tool_warned=yes ;;
7323 LIPO="$ac_cv_prog_LIPO"
7326 if test -n "$ac_tool_prefix"; then
7327 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7328 set dummy ${ac_tool_prefix}otool; ac_word=$2
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7330 $as_echo_n "checking for $ac_word... " >&6; }
7331 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7332 $as_echo_n "(cached) " >&6
7334 if test -n "$OTOOL"; then
7335 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7341 test -z "$as_dir" && as_dir=.
7342 for ac_exec_ext in '' $ac_executable_extensions; do
7343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7344 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7354 OTOOL=$ac_cv_prog_OTOOL
7355 if test -n "$OTOOL"; then
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7357 $as_echo "$OTOOL" >&6; }
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7360 $as_echo "no" >&6; }
7365 if test -z "$ac_cv_prog_OTOOL"; then
7367 # Extract the first word of "otool", so it can be a program name with args.
7368 set dummy otool; ac_word=$2
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7370 $as_echo_n "checking for $ac_word... " >&6; }
7371 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7372 $as_echo_n "(cached) " >&6
7374 if test -n "$ac_ct_OTOOL"; then
7375 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7381 test -z "$as_dir" && as_dir=.
7382 for ac_exec_ext in '' $ac_executable_extensions; do
7383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7384 ac_cv_prog_ac_ct_OTOOL="otool"
7385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7394 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7395 if test -n "$ac_ct_OTOOL"; then
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7397 $as_echo "$ac_ct_OTOOL" >&6; }
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7400 $as_echo "no" >&6; }
7403 if test "x$ac_ct_OTOOL" = x; then
7406 case $cross_compiling:$ac_tool_warned in
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7409 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7410 ac_tool_warned=yes ;;
7415 OTOOL="$ac_cv_prog_OTOOL"
7418 if test -n "$ac_tool_prefix"; then
7419 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7420 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7422 $as_echo_n "checking for $ac_word... " >&6; }
7423 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7424 $as_echo_n "(cached) " >&6
7426 if test -n "$OTOOL64"; then
7427 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7433 test -z "$as_dir" && as_dir=.
7434 for ac_exec_ext in '' $ac_executable_extensions; do
7435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7436 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7446 OTOOL64=$ac_cv_prog_OTOOL64
7447 if test -n "$OTOOL64"; then
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7449 $as_echo "$OTOOL64" >&6; }
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7452 $as_echo "no" >&6; }
7457 if test -z "$ac_cv_prog_OTOOL64"; then
7458 ac_ct_OTOOL64=$OTOOL64
7459 # Extract the first word of "otool64", so it can be a program name with args.
7460 set dummy otool64; ac_word=$2
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7462 $as_echo_n "checking for $ac_word... " >&6; }
7463 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7464 $as_echo_n "(cached) " >&6
7466 if test -n "$ac_ct_OTOOL64"; then
7467 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7473 test -z "$as_dir" && as_dir=.
7474 for ac_exec_ext in '' $ac_executable_extensions; do
7475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7476 ac_cv_prog_ac_ct_OTOOL64="otool64"
7477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7486 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7487 if test -n "$ac_ct_OTOOL64"; then
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7489 $as_echo "$ac_ct_OTOOL64" >&6; }
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7492 $as_echo "no" >&6; }
7495 if test "x$ac_ct_OTOOL64" = x; then
7498 case $cross_compiling:$ac_tool_warned in
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7502 ac_tool_warned=yes ;;
7504 OTOOL64=$ac_ct_OTOOL64
7507 OTOOL64="$ac_cv_prog_OTOOL64"
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7537 $as_echo_n "checking for -single_module linker flag... " >&6; }
7538 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7539 $as_echo_n "(cached) " >&6
7541 lt_cv_apple_cc_single_mod=no
7542 if test -z "${LT_MULTI_MODULE}"; then
7543 # By default we will add the -single_module flag. You can override
7544 # by either setting the environment variable LT_MULTI_MODULE
7545 # non-empty at configure time, or by adding -multi_module to the
7547 rm -rf libconftest.dylib*
7548 echo "int foo(void){return 1;}" > conftest.c
7549 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7550 -dynamiclib -Wl,-single_module conftest.c" >&5
7551 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7552 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7554 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7555 lt_cv_apple_cc_single_mod=yes
7557 cat conftest.err >&5
7559 rm -rf libconftest.dylib*
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7564 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7566 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7567 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7568 $as_echo_n "(cached) " >&6
7570 lt_cv_ld_exported_symbols_list=no
7571 save_LDFLAGS=$LDFLAGS
7572 echo "_main" > conftest.sym
7573 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7575 /* end confdefs.h. */
7585 if ac_fn_c_try_link "$LINENO"; then :
7586 lt_cv_ld_exported_symbols_list=yes
7588 lt_cv_ld_exported_symbols_list=no
7590 rm -f core conftest.err conftest.$ac_objext \
7591 conftest$ac_exeext conftest.$ac_ext
7592 LDFLAGS="$save_LDFLAGS"
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7596 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7598 rhapsody* | darwin1.[012])
7599 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7601 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7602 darwin*) # darwin 5.x on
7603 # if running on 10.5 or later, the deployment target defaults
7604 # to the OS version, if on x86, and 10.4, the deployment
7605 # target defaults to 10.4. Don't you love it?
7606 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7607 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7608 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7610 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7612 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7616 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7617 _lt_dar_single_mod='$single_module'
7619 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7620 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7622 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7624 if test "$DSYMUTIL" != ":"; then
7625 _lt_dsymutil='~$DSYMUTIL $lib || :'
7633 ac_cpp='$CPP $CPPFLAGS'
7634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7638 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7639 # On Suns, sometimes $CPP names a directory.
7640 if test -n "$CPP" && test -d "$CPP"; then
7643 if test -z "$CPP"; then
7644 if test "${ac_cv_prog_CPP+set}" = set; then :
7645 $as_echo_n "(cached) " >&6
7647 # Double quotes because CPP needs to be expanded
7648 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7651 for ac_c_preproc_warn_flag in '' yes
7653 # Use a header file that comes with gcc, so configuring glibc
7654 # with a fresh cross-compiler works.
7655 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7656 # <limits.h> exists even on freestanding compilers.
7657 # On the NeXT, cc -E runs the code through the compiler's parser,
7658 # not just through cpp. "Syntax error" is here to catch this case.
7659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7660 /* end confdefs.h. */
7662 # include <limits.h>
7664 # include <assert.h>
7668 if ac_fn_c_try_cpp "$LINENO"; then :
7671 # Broken: fails on valid input.
7674 rm -f conftest.err conftest.i conftest.$ac_ext
7676 # OK, works on sane cases. Now check whether nonexistent headers
7677 # can be detected and how.
7678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7679 /* end confdefs.h. */
7680 #include <ac_nonexistent.h>
7682 if ac_fn_c_try_cpp "$LINENO"; then :
7683 # Broken: success on invalid input.
7686 # Passes both tests.
7690 rm -f conftest.err conftest.i conftest.$ac_ext
7693 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7694 rm -f conftest.i conftest.err conftest.$ac_ext
7695 if $ac_preproc_ok; then :
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7708 $as_echo "$CPP" >&6; }
7710 for ac_c_preproc_warn_flag in '' yes
7712 # Use a header file that comes with gcc, so configuring glibc
7713 # with a fresh cross-compiler works.
7714 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7715 # <limits.h> exists even on freestanding compilers.
7716 # On the NeXT, cc -E runs the code through the compiler's parser,
7717 # not just through cpp. "Syntax error" is here to catch this case.
7718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7719 /* end confdefs.h. */
7721 # include <limits.h>
7723 # include <assert.h>
7727 if ac_fn_c_try_cpp "$LINENO"; then :
7730 # Broken: fails on valid input.
7733 rm -f conftest.err conftest.i conftest.$ac_ext
7735 # OK, works on sane cases. Now check whether nonexistent headers
7736 # can be detected and how.
7737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7738 /* end confdefs.h. */
7739 #include <ac_nonexistent.h>
7741 if ac_fn_c_try_cpp "$LINENO"; then :
7742 # Broken: success on invalid input.
7745 # Passes both tests.
7749 rm -f conftest.err conftest.i conftest.$ac_ext
7752 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7753 rm -f conftest.i conftest.err conftest.$ac_ext
7754 if $ac_preproc_ok; then :
7757 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7758 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7759 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7760 See \`config.log' for more details" "$LINENO" 5 ; }
7764 ac_cpp='$CPP $CPPFLAGS'
7765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7771 $as_echo_n "checking for ANSI C header files... " >&6; }
7772 if test "${ac_cv_header_stdc+set}" = set; then :
7773 $as_echo_n "(cached) " >&6
7775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7776 /* end confdefs.h. */
7790 if ac_fn_c_try_compile "$LINENO"; then :
7791 ac_cv_header_stdc=yes
7793 ac_cv_header_stdc=no
7795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7797 if test $ac_cv_header_stdc = yes; then
7798 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7800 /* end confdefs.h. */
7804 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7805 $EGREP "memchr" >/dev/null 2>&1; then :
7808 ac_cv_header_stdc=no
7814 if test $ac_cv_header_stdc = yes; then
7815 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7817 /* end confdefs.h. */
7821 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7822 $EGREP "free" >/dev/null 2>&1; then :
7825 ac_cv_header_stdc=no
7831 if test $ac_cv_header_stdc = yes; then
7832 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7833 if test "$cross_compiling" = yes; then :
7836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7837 /* end confdefs.h. */
7840 #if ((' ' & 0x0FF) == 0x020)
7841 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7842 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7844 # define ISLOWER(c) \
7845 (('a' <= (c) && (c) <= 'i') \
7846 || ('j' <= (c) && (c) <= 'r') \
7847 || ('s' <= (c) && (c) <= 'z'))
7848 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7851 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7856 for (i = 0; i < 256; i++)
7857 if (XOR (islower (i), ISLOWER (i))
7858 || toupper (i) != TOUPPER (i))
7863 if ac_fn_c_try_run "$LINENO"; then :
7866 ac_cv_header_stdc=no
7868 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7869 conftest.$ac_objext conftest.beam conftest.$ac_ext
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7875 $as_echo "$ac_cv_header_stdc" >&6; }
7876 if test $ac_cv_header_stdc = yes; then
7878 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7882 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7883 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7884 inttypes.h stdint.h unistd.h
7886 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7887 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7889 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7890 cat >>confdefs.h <<_ACEOF
7891 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7899 for ac_header in dlfcn.h
7901 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7903 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7904 cat >>confdefs.h <<_ACEOF
7905 #define HAVE_DLFCN_H 1
7920 # Check whether --enable-shared was given.
7921 if test "${enable_shared+set}" = set; then :
7922 enableval=$enable_shared; p=${PACKAGE-default}
7924 yes) enable_shared=yes ;;
7925 no) enable_shared=no ;;
7928 # Look at the argument we got. We use all the common list separators.
7929 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7930 for pkg in $enableval; do
7932 if test "X$pkg" = "X$p"; then
7951 # Check whether --enable-static was given.
7952 if test "${enable_static+set}" = set; then :
7953 enableval=$enable_static; p=${PACKAGE-default}
7955 yes) enable_static=yes ;;
7956 no) enable_static=no ;;
7959 # Look at the argument we got. We use all the common list separators.
7960 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7961 for pkg in $enableval; do
7963 if test "X$pkg" = "X$p"; then
7983 # Check whether --with-pic was given.
7984 if test "${with_pic+set}" = set; then :
7985 withval=$with_pic; pic_mode="$withval"
7991 test -z "$pic_mode" && pic_mode=default
7999 # Check whether --enable-fast-install was given.
8000 if test "${enable_fast_install+set}" = set; then :
8001 enableval=$enable_fast_install; p=${PACKAGE-default}
8003 yes) enable_fast_install=yes ;;
8004 no) enable_fast_install=no ;;
8006 enable_fast_install=no
8007 # Look at the argument we got. We use all the common list separators.
8008 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8009 for pkg in $enableval; do
8011 if test "X$pkg" = "X$p"; then
8012 enable_fast_install=yes
8019 enable_fast_install=yes
8032 # This can be used to rebuild libtool when needed
8033 LIBTOOL_DEPS="$ltmain"
8035 # Always use our own libtool.
8036 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8062 test -z "$LN_S" && LN_S="ln -s"
8077 if test -n "${ZSH_VERSION+set}" ; then
8078 setopt NO_GLOB_SUBST
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8082 $as_echo_n "checking for objdir... " >&6; }
8083 if test "${lt_cv_objdir+set}" = set; then :
8084 $as_echo_n "(cached) " >&6
8086 rm -f .libs 2>/dev/null
8087 mkdir .libs 2>/dev/null
8088 if test -d .libs; then
8091 # MS-DOS does not allow filenames that begin with a dot.
8094 rmdir .libs 2>/dev/null
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8097 $as_echo "$lt_cv_objdir" >&6; }
8098 objdir=$lt_cv_objdir
8104 cat >>confdefs.h <<_ACEOF
8105 #define LT_OBJDIR "$lt_cv_objdir/"
8126 # AIX sometimes has problems with the GCC collect2 program. For some
8127 # reason, if we set the COLLECT_NAMES environment variable, the problems
8128 # vanish in a puff of smoke.
8129 if test "X${COLLECT_NAMES+set}" != Xset; then
8131 export COLLECT_NAMES
8136 # Sed substitution that helps us do robust quoting. It backslashifies
8137 # metacharacters that are still active within double-quoted strings.
8138 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8140 # Same as above, but do not quote variable references.
8141 double_quote_subst='s/\(["`\\]\)/\\\1/g'
8143 # Sed substitution to delay expansion of an escaped shell variable in a
8144 # double_quote_subst'ed string.
8145 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8147 # Sed substitution to delay expansion of an escaped single quote.
8148 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8150 # Sed substitution to avoid accidental globbing in evaled expressions
8151 no_glob_subst='s/\*/\\\*/g'
8155 can_build_shared=yes
8157 # All known linkers require a `.a' archive for static linking (except MSVC,
8158 # which needs '.lib').
8161 with_gnu_ld="$lt_cv_prog_gnu_ld"
8164 old_CFLAGS="$CFLAGS"
8166 # Set sane defaults for various variables
8167 test -z "$CC" && CC=cc
8168 test -z "$LTCC" && LTCC=$CC
8169 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8170 test -z "$LD" && LD=ld
8171 test -z "$ac_objext" && ac_objext=o
8173 for cc_temp in $compiler""; do
8175 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8176 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8181 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8184 # Only perform the check for file, if the check method requires it
8185 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8186 case $deplibs_check_method in
8188 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8190 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8191 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8192 $as_echo_n "(cached) " >&6
8196 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8199 lt_save_MAGIC_CMD="$MAGIC_CMD"
8200 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8201 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8202 for ac_dir in $ac_dummy; do
8204 test -z "$ac_dir" && ac_dir=.
8205 if test -f $ac_dir/${ac_tool_prefix}file; then
8206 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8207 if test -n "$file_magic_test_file"; then
8208 case $deplibs_check_method in
8210 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8211 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8212 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8213 $EGREP "$file_magic_regex" > /dev/null; then
8218 *** Warning: the command libtool uses to detect shared libraries,
8219 *** $file_magic_cmd, produces output that libtool cannot recognize.
8220 *** The result is that libtool may fail to recognize shared libraries
8221 *** as such. This will affect the creation of libtool libraries that
8222 *** depend on shared libraries, but programs linked with such libtool
8223 *** libraries will work regardless of this problem. Nevertheless, you
8224 *** may want to report the problem to your system manager and/or to
8225 *** bug-libtool@gnu.org
8235 MAGIC_CMD="$lt_save_MAGIC_CMD"
8240 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8241 if test -n "$MAGIC_CMD"; then
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8243 $as_echo "$MAGIC_CMD" >&6; }
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8246 $as_echo "no" >&6; }
8253 if test -z "$lt_cv_path_MAGIC_CMD"; then
8254 if test -n "$ac_tool_prefix"; then
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8256 $as_echo_n "checking for file... " >&6; }
8257 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8258 $as_echo_n "(cached) " >&6
8262 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8265 lt_save_MAGIC_CMD="$MAGIC_CMD"
8266 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8267 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8268 for ac_dir in $ac_dummy; do
8270 test -z "$ac_dir" && ac_dir=.
8271 if test -f $ac_dir/file; then
8272 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8273 if test -n "$file_magic_test_file"; then
8274 case $deplibs_check_method in
8276 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8277 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8278 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8279 $EGREP "$file_magic_regex" > /dev/null; then
8284 *** Warning: the command libtool uses to detect shared libraries,
8285 *** $file_magic_cmd, produces output that libtool cannot recognize.
8286 *** The result is that libtool may fail to recognize shared libraries
8287 *** as such. This will affect the creation of libtool libraries that
8288 *** depend on shared libraries, but programs linked with such libtool
8289 *** libraries will work regardless of this problem. Nevertheless, you
8290 *** may want to report the problem to your system manager and/or to
8291 *** bug-libtool@gnu.org
8301 MAGIC_CMD="$lt_save_MAGIC_CMD"
8306 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8307 if test -n "$MAGIC_CMD"; then
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8309 $as_echo "$MAGIC_CMD" >&6; }
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8312 $as_echo "no" >&6; }
8325 # Use C for the default configuration in the libtool script
8329 ac_cpp='$CPP $CPPFLAGS'
8330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8335 # Source file extension for C test sources.
8338 # Object file extension for compiled C test sources.
8342 # Code to be used in simple compile tests
8343 lt_simple_compile_test_code="int some_variable = 0;"
8345 # Code to be used in simple link tests
8346 lt_simple_link_test_code='int main(){return(0);}'
8354 # If no C compiler was specified, use CC.
8357 # If no C compiler flags were specified, use CFLAGS.
8358 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8360 # Allow CC to be a program name with arguments.
8363 # Save the default compiler, since it gets overwritten when the other
8364 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8365 compiler_DEFAULT=$CC
8367 # save warnings/boilerplate of simple test code
8368 ac_outfile=conftest.$ac_objext
8369 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8370 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8371 _lt_compiler_boilerplate=`cat conftest.err`
8374 ac_outfile=conftest.$ac_objext
8375 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8376 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8377 _lt_linker_boilerplate=`cat conftest.err`
8382 ## There is no encapsulation within the following macros, do not change
8383 ## the running order or otherwise move them around unless you know exactly
8384 ## what you are doing...
8385 if test -n "$compiler"; then
8387 lt_prog_compiler_no_builtin_flag=
8389 if test "$GCC" = yes; then
8390 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8393 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8394 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8395 $as_echo_n "(cached) " >&6
8397 lt_cv_prog_compiler_rtti_exceptions=no
8398 ac_outfile=conftest.$ac_objext
8399 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8400 lt_compiler_flag="-fno-rtti -fno-exceptions"
8401 # Insert the option either (1) after the last *FLAGS variable, or
8402 # (2) before a word containing "conftest.", or (3) at the end.
8403 # Note that $ac_compile itself does not contain backslashes and begins
8404 # with a dollar sign (not a hyphen), so the echo should work correctly.
8405 # The option is referenced via a variable to avoid confusing sed.
8406 lt_compile=`echo "$ac_compile" | $SED \
8407 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8408 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8409 -e 's:$: $lt_compiler_flag:'`
8410 (eval echo "\"\$as_me:8410: $lt_compile\"" >&5)
8411 (eval "$lt_compile" 2>conftest.err)
8413 cat conftest.err >&5
8414 echo "$as_me:8414: \$? = $ac_status" >&5
8415 if (exit $ac_status) && test -s "$ac_outfile"; then
8416 # The compiler can only warn and ignore the option if not recognized
8417 # So say no if there are warnings other than the usual output.
8418 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8419 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8420 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8421 lt_cv_prog_compiler_rtti_exceptions=yes
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8428 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8430 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8431 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8443 lt_prog_compiler_wl=
8444 lt_prog_compiler_pic=
8445 lt_prog_compiler_static=
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8448 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8450 if test "$GCC" = yes; then
8451 lt_prog_compiler_wl='-Wl,'
8452 lt_prog_compiler_static='-static'
8456 # All AIX code is PIC.
8457 if test "$host_cpu" = ia64; then
8458 # AIX 5 now supports IA64 processor
8459 lt_prog_compiler_static='-Bstatic'
8466 # see comment about AmigaOS4 .so support
8467 lt_prog_compiler_pic='-fPIC'
8470 # FIXME: we need at least 68020 code to build shared libraries, but
8471 # adding the `-m68020' flag to GCC prevents building anything better,
8473 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8478 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8479 # PIC is the default for these OSes.
8482 mingw* | cygwin* | pw32* | os2* | cegcc*)
8483 # This hack is so that the source file can tell whether it is being
8484 # built for inclusion in a dll (and should export symbols for example).
8485 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8486 # (--disable-auto-import) libraries
8487 lt_prog_compiler_pic='-DDLL_EXPORT'
8490 darwin* | rhapsody*)
8491 # PIC is the default on this platform
8492 # Common symbols not allowed in MH_DYLIB files
8493 lt_prog_compiler_pic='-fno-common'
8497 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8498 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8499 # sets the default TLS model and affects inlining.
8505 lt_prog_compiler_pic='-fPIC'
8511 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8512 # Instead, we relocate shared libraries at runtime.
8516 # Just because we use GCC doesn't mean we suddenly get shared libraries
8517 # on systems that don't support them.
8518 lt_prog_compiler_can_build_shared=no
8523 # QNX uses GNU C++, but need to define -shared option too, otherwise
8525 lt_prog_compiler_pic='-fPIC -shared'
8529 if test -d /usr/nec; then
8530 lt_prog_compiler_pic=-Kconform_pic
8535 lt_prog_compiler_pic='-fPIC'
8539 # PORTME Check for flag to pass linker flags through the system compiler.
8542 lt_prog_compiler_wl='-Wl,'
8543 if test "$host_cpu" = ia64; then
8544 # AIX 5 now supports IA64 processor
8545 lt_prog_compiler_static='-Bstatic'
8547 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8551 mingw* | cygwin* | pw32* | os2* | cegcc*)
8552 # This hack is so that the source file can tell whether it is being
8553 # built for inclusion in a dll (and should export symbols for example).
8554 lt_prog_compiler_pic='-DDLL_EXPORT'
8557 hpux9* | hpux10* | hpux11*)
8558 lt_prog_compiler_wl='-Wl,'
8559 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8566 lt_prog_compiler_pic='+Z'
8569 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8570 lt_prog_compiler_static='${wl}-a ${wl}archive'
8573 irix5* | irix6* | nonstopux*)
8574 lt_prog_compiler_wl='-Wl,'
8575 # PIC (with -KPIC) is the default.
8576 lt_prog_compiler_static='-non_shared'
8579 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8580 case $cc_basename in
8581 # old Intel for x86_64 which still supported -KPIC.
8583 lt_prog_compiler_wl='-Wl,'
8584 lt_prog_compiler_pic='-KPIC'
8585 lt_prog_compiler_static='-static'
8587 # icc used to be incompatible with GCC.
8588 # ICC 10 doesn't accept -KPIC any more.
8590 lt_prog_compiler_wl='-Wl,'
8591 lt_prog_compiler_pic='-fPIC'
8592 lt_prog_compiler_static='-static'
8594 # Lahey Fortran 8.1.
8596 lt_prog_compiler_wl='-Wl,'
8597 lt_prog_compiler_pic='--shared'
8598 lt_prog_compiler_static='--static'
8600 pgcc* | pgf77* | pgf90* | pgf95*)
8601 # Portland Group compilers (*not* the Pentium gcc compiler,
8602 # which looks to be a dead project)
8603 lt_prog_compiler_wl='-Wl,'
8604 lt_prog_compiler_pic='-fpic'
8605 lt_prog_compiler_static='-Bstatic'
8608 lt_prog_compiler_wl='-Wl,'
8609 # All Alpha code is PIC.
8610 lt_prog_compiler_static='-non_shared'
8613 # IBM XL C 8.0/Fortran 10.1 on PPC
8614 lt_prog_compiler_wl='-Wl,'
8615 lt_prog_compiler_pic='-qpic'
8616 lt_prog_compiler_static='-qstaticlink'
8619 case `$CC -V 2>&1 | sed 5q` in
8622 lt_prog_compiler_pic='-KPIC'
8623 lt_prog_compiler_static='-Bstatic'
8624 lt_prog_compiler_wl='-Wl,'
8627 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8628 lt_prog_compiler_pic='-KPIC'
8629 lt_prog_compiler_static='-Bstatic'
8630 lt_prog_compiler_wl=''
8638 lt_prog_compiler_pic='-KPIC'
8639 lt_prog_compiler_static='-Bstatic'
8643 # QNX uses GNU C++, but need to define -shared option too, otherwise
8645 lt_prog_compiler_pic='-fPIC -shared'
8648 osf3* | osf4* | osf5*)
8649 lt_prog_compiler_wl='-Wl,'
8650 # All OSF/1 code is PIC.
8651 lt_prog_compiler_static='-non_shared'
8655 lt_prog_compiler_static='-non_shared'
8659 lt_prog_compiler_pic='-KPIC'
8660 lt_prog_compiler_static='-Bstatic'
8661 case $cc_basename in
8663 lt_prog_compiler_wl='-Qoption ld ';;
8665 lt_prog_compiler_wl='-Wl,';;
8670 lt_prog_compiler_wl='-Qoption ld '
8671 lt_prog_compiler_pic='-PIC'
8672 lt_prog_compiler_static='-Bstatic'
8675 sysv4 | sysv4.2uw2* | sysv4.3*)
8676 lt_prog_compiler_wl='-Wl,'
8677 lt_prog_compiler_pic='-KPIC'
8678 lt_prog_compiler_static='-Bstatic'
8682 if test -d /usr/nec ;then
8683 lt_prog_compiler_pic='-Kconform_pic'
8684 lt_prog_compiler_static='-Bstatic'
8688 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8689 lt_prog_compiler_wl='-Wl,'
8690 lt_prog_compiler_pic='-KPIC'
8691 lt_prog_compiler_static='-Bstatic'
8695 lt_prog_compiler_wl='-Wl,'
8696 lt_prog_compiler_can_build_shared=no
8700 lt_prog_compiler_pic='-pic'
8701 lt_prog_compiler_static='-Bstatic'
8705 lt_prog_compiler_can_build_shared=no
8711 # For platforms which do not support PIC, -DPIC is meaningless:
8713 lt_prog_compiler_pic=
8716 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8720 $as_echo "$lt_prog_compiler_pic" >&6; }
8728 # Check to make sure the PIC flag actually works.
8730 if test -n "$lt_prog_compiler_pic"; then
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8732 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8733 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8734 $as_echo_n "(cached) " >&6
8736 lt_cv_prog_compiler_pic_works=no
8737 ac_outfile=conftest.$ac_objext
8738 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8739 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8740 # Insert the option either (1) after the last *FLAGS variable, or
8741 # (2) before a word containing "conftest.", or (3) at the end.
8742 # Note that $ac_compile itself does not contain backslashes and begins
8743 # with a dollar sign (not a hyphen), so the echo should work correctly.
8744 # The option is referenced via a variable to avoid confusing sed.
8745 lt_compile=`echo "$ac_compile" | $SED \
8746 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8747 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8748 -e 's:$: $lt_compiler_flag:'`
8749 (eval echo "\"\$as_me:8749: $lt_compile\"" >&5)
8750 (eval "$lt_compile" 2>conftest.err)
8752 cat conftest.err >&5
8753 echo "$as_me:8753: \$? = $ac_status" >&5
8754 if (exit $ac_status) && test -s "$ac_outfile"; then
8755 # The compiler can only warn and ignore the option if not recognized
8756 # So say no if there are warnings other than the usual output.
8757 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8758 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8759 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8760 lt_cv_prog_compiler_pic_works=yes
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8767 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8769 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8770 case $lt_prog_compiler_pic in
8772 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8775 lt_prog_compiler_pic=
8776 lt_prog_compiler_can_build_shared=no
8787 # Check to make sure the static flag actually works.
8789 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8791 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8792 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8793 $as_echo_n "(cached) " >&6
8795 lt_cv_prog_compiler_static_works=no
8796 save_LDFLAGS="$LDFLAGS"
8797 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8798 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8799 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8800 # The linker can only warn and ignore the option if not recognized
8801 # So say no if there are warnings
8802 if test -s conftest.err; then
8803 # Append any errors to the config.log.
8804 cat conftest.err 1>&5
8805 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8806 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8807 if diff conftest.exp conftest.er2 >/dev/null; then
8808 lt_cv_prog_compiler_static_works=yes
8811 lt_cv_prog_compiler_static_works=yes
8815 LDFLAGS="$save_LDFLAGS"
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8819 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8821 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8824 lt_prog_compiler_static=
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8834 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8835 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8836 $as_echo_n "(cached) " >&6
8838 lt_cv_prog_compiler_c_o=no
8839 $RM -r conftest 2>/dev/null
8843 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8845 lt_compiler_flag="-o out/conftest2.$ac_objext"
8846 # Insert the option either (1) after the last *FLAGS variable, or
8847 # (2) before a word containing "conftest.", or (3) at the end.
8848 # Note that $ac_compile itself does not contain backslashes and begins
8849 # with a dollar sign (not a hyphen), so the echo should work correctly.
8850 lt_compile=`echo "$ac_compile" | $SED \
8851 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8852 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8853 -e 's:$: $lt_compiler_flag:'`
8854 (eval echo "\"\$as_me:8854: $lt_compile\"" >&5)
8855 (eval "$lt_compile" 2>out/conftest.err)
8857 cat out/conftest.err >&5
8858 echo "$as_me:8858: \$? = $ac_status" >&5
8859 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8861 # The compiler can only warn and ignore the option if not recognized
8862 # So say no if there are warnings
8863 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8864 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8865 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8866 lt_cv_prog_compiler_c_o=yes
8871 # SGI C++ compiler will create directory out/ii_files/ for
8872 # template instantiation
8873 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8874 $RM out/* && rmdir out
8880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8881 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8889 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8890 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8891 $as_echo_n "(cached) " >&6
8893 lt_cv_prog_compiler_c_o=no
8894 $RM -r conftest 2>/dev/null
8898 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8900 lt_compiler_flag="-o out/conftest2.$ac_objext"
8901 # Insert the option either (1) after the last *FLAGS variable, or
8902 # (2) before a word containing "conftest.", or (3) at the end.
8903 # Note that $ac_compile itself does not contain backslashes and begins
8904 # with a dollar sign (not a hyphen), so the echo should work correctly.
8905 lt_compile=`echo "$ac_compile" | $SED \
8906 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8907 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8908 -e 's:$: $lt_compiler_flag:'`
8909 (eval echo "\"\$as_me:8909: $lt_compile\"" >&5)
8910 (eval "$lt_compile" 2>out/conftest.err)
8912 cat out/conftest.err >&5
8913 echo "$as_me:8913: \$? = $ac_status" >&5
8914 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8916 # The compiler can only warn and ignore the option if not recognized
8917 # So say no if there are warnings
8918 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8919 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8920 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8921 lt_cv_prog_compiler_c_o=yes
8926 # SGI C++ compiler will create directory out/ii_files/ for
8927 # template instantiation
8928 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8929 $RM out/* && rmdir out
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8936 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8941 hard_links="nottested"
8942 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8943 # do not overwrite the value of need_locks provided by the user
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8945 $as_echo_n "checking if we can lock with hard links... " >&6; }
8948 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8950 ln conftest.a conftest.b 2>&5 || hard_links=no
8951 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8953 $as_echo "$hard_links" >&6; }
8954 if test "$hard_links" = no; then
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8956 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8969 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8972 allow_undefined_flag=
8973 always_export_symbols=no
8975 archive_expsym_cmds=
8976 compiler_needs_object=no
8977 enable_shared_with_static_runtimes=no
8978 export_dynamic_flag_spec=
8979 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8980 hardcode_automatic=no
8982 hardcode_direct_absolute=no
8983 hardcode_libdir_flag_spec=
8984 hardcode_libdir_flag_spec_ld=
8985 hardcode_libdir_separator=
8987 hardcode_shlibpath_var=unsupported
8989 link_all_deplibs=unknown
8992 old_archive_from_new_cmds=
8993 old_archive_from_expsyms_cmds=
8994 thread_safe_flag_spec=
8995 whole_archive_flag_spec=
8996 # include_expsyms should be a list of space-separated symbols to be *always*
8997 # included in the symbol list
8999 # exclude_expsyms can be an extended regexp of symbols to exclude
9000 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9001 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9002 # as well as any symbol that contains `d'.
9003 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9004 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9005 # platforms (ab)use it in PIC code, but their linkers get confused if
9006 # the symbol is explicitly referenced. Since portable code cannot
9007 # rely on this symbol name, it's probably fine to never include it in
9008 # preloaded symbol tables.
9009 # Exclude shared library initialization/finalization symbols.
9010 extract_expsyms_cmds=
9013 cygwin* | mingw* | pw32* | cegcc*)
9014 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9015 # When not using gcc, we currently assume that we are using
9016 # Microsoft Visual C++.
9017 if test "$GCC" != yes; then
9022 # we just hope/assume this is gcc and not c89 (= MSVC++)
9028 linux* | k*bsd*-gnu)
9034 if test "$with_gnu_ld" = yes; then
9035 # If archive_cmds runs LD, not CC, wlarc should be empty
9038 # Set some defaults for GNU ld with shared library support. These
9039 # are reset later if shared libraries are not supported. Putting them
9040 # here allows them to be overridden if necessary.
9041 runpath_var=LD_RUN_PATH
9042 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9043 export_dynamic_flag_spec='${wl}--export-dynamic'
9044 # ancient GNU ld didn't support --whole-archive et. al.
9045 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9046 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9048 whole_archive_flag_spec=
9050 supports_anon_versioning=no
9051 case `$LD -v 2>&1` in
9052 *GNU\ gold*) supports_anon_versioning=yes ;;
9053 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9054 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9055 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9056 *\ 2.11.*) ;; # other 2.11 versions
9057 *) supports_anon_versioning=yes ;;
9060 # See if GNU ld supports shared libraries.
9063 # On AIX/PPC, the GNU linker is very broken
9064 if test "$host_cpu" != ia64; then
9068 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9069 *** to be unable to reliably create shared libraries on AIX.
9070 *** Therefore, libtool is disabling shared libraries support. If you
9071 *** really care for shared libraries, you may want to modify your PATH
9072 *** so that a non-GNU linker is found, and then restart.
9081 # see comment about AmigaOS4 .so support
9082 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9083 archive_expsym_cmds=''
9086 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)'
9087 hardcode_libdir_flag_spec='-L$libdir'
9088 hardcode_minus_L=yes
9094 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9095 allow_undefined_flag=unsupported
9096 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9097 # support --undefined. This deserves some investigation. FIXME
9098 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9104 cygwin* | mingw* | pw32* | cegcc*)
9105 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9106 # as there is no search path for DLLs.
9107 hardcode_libdir_flag_spec='-L$libdir'
9108 allow_undefined_flag=unsupported
9109 always_export_symbols=no
9110 enable_shared_with_static_runtimes=yes
9111 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9113 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9114 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9115 # If the export-symbols file already is a .def file (1st line
9116 # is EXPORTS), use it as is; otherwise, prepend...
9117 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9118 cp $export_symbols $output_objdir/$soname.def;
9120 echo EXPORTS > $output_objdir/$soname.def;
9121 cat $export_symbols >> $output_objdir/$soname.def;
9123 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9131 hardcode_shlibpath_var=no
9132 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9133 export_dynamic_flag_spec='${wl}-E'
9134 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9135 # Instead, shared libraries are loaded at an image base (0x10000000 by
9136 # default) and relocated if they conflict, which is a slow very memory
9137 # consuming and fragmenting process. To avoid this, we pick a random,
9138 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9139 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9140 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9141 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'
9144 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9146 if test "$host_os" = linux-dietlibc; then
9147 case $cc_basename in
9148 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9151 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9152 && test "$tmp_diet" = no
9155 tmp_sharedflag='-shared'
9156 case $cc_basename,$host_cpu in
9157 pgcc*) # Portland Group C compiler
9158 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9159 tmp_addflag=' $pic_flag'
9161 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9162 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9163 tmp_addflag=' $pic_flag -Mnomain' ;;
9164 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9165 tmp_addflag=' -i_dynamic' ;;
9166 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9167 tmp_addflag=' -i_dynamic -nofor_main' ;;
9168 ifc* | ifort*) # Intel Fortran compiler
9169 tmp_addflag=' -nofor_main' ;;
9170 lf95*) # Lahey Fortran 8.1
9171 whole_archive_flag_spec=
9172 tmp_sharedflag='--shared' ;;
9173 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9174 tmp_sharedflag='-qmkshrobj'
9177 case `$CC -V 2>&1 | sed 5q` in
9178 *Sun\ C*) # Sun C 5.9
9179 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9180 compiler_needs_object=yes
9181 tmp_sharedflag='-G' ;;
9182 *Sun\ F*) # Sun Fortran 8.3
9183 tmp_sharedflag='-G' ;;
9185 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9187 if test "x$supports_anon_versioning" = xyes; then
9188 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9189 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9190 echo "local: *; };" >> $output_objdir/$libname.ver~
9191 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9194 case $cc_basename in
9196 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9197 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9198 hardcode_libdir_flag_spec=
9199 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9200 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9201 if test "x$supports_anon_versioning" = xyes; then
9202 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9203 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9204 echo "local: *; };" >> $output_objdir/$libname.ver~
9205 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9214 netbsd* | netbsdelf*-gnu)
9215 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9216 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9219 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9220 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9225 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9229 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9230 *** create shared libraries on Solaris systems. Therefore, libtool
9231 *** is disabling shared libraries support. We urge you to upgrade GNU
9232 *** binutils to release 2.9.1 or newer. Another option is to modify
9233 *** your PATH or compiler configuration so that the native linker is
9234 *** used, and then restart.
9237 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9238 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9239 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9245 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9246 case `$LD -v 2>&1` in
9247 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9251 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9252 *** reliably create shared libraries on SCO systems. Therefore, libtool
9253 *** is disabling shared libraries support. We urge you to upgrade GNU
9254 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9255 *** your PATH or compiler configuration so that the native linker is
9256 *** used, and then restart.
9261 # For security reasons, it is highly recommended that you always
9262 # use absolute paths for naming shared libraries, and exclude the
9263 # DT_RUNPATH tag from executables and libraries. But doing so
9264 # requires that you compile everything twice, which is a pain.
9265 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9266 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9267 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9268 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9277 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9280 hardcode_shlibpath_var=no
9284 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9285 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9286 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9293 if test "$ld_shlibs" = no; then
9295 hardcode_libdir_flag_spec=
9296 export_dynamic_flag_spec=
9297 whole_archive_flag_spec=
9300 # PORTME fill in a description of your system's linker (not GNU ld)
9303 allow_undefined_flag=unsupported
9304 always_export_symbols=yes
9305 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'
9306 # Note: this linker hardcodes the directories in LIBPATH if there
9307 # are no directories specified by -L.
9308 hardcode_minus_L=yes
9309 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9310 # Neither direct hardcoding nor static linking is supported with a
9312 hardcode_direct=unsupported
9317 if test "$host_cpu" = ia64; then
9318 # On IA64, the linker does run time linking by default, so we don't
9319 # have to do anything special.
9320 aix_use_runtimelinking=no
9321 exp_sym_flag='-Bexport'
9324 # If we're using GNU nm, then we don't want the "-C" option.
9325 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9326 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9327 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9329 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'
9331 aix_use_runtimelinking=no
9333 # Test if we are trying to use run time linking or normal
9334 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9335 # need to do runtime linking.
9336 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9337 for ld_flag in $LDFLAGS; do
9338 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9339 aix_use_runtimelinking=yes
9346 exp_sym_flag='-bexport'
9347 no_entry_flag='-bnoentry'
9350 # When large executables or shared objects are built, AIX ld can
9351 # have problems creating the table of contents. If linking a library
9352 # or program results in "error TOC overflow" add -mminimal-toc to
9353 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9354 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9358 hardcode_direct_absolute=yes
9359 hardcode_libdir_separator=':'
9360 link_all_deplibs=yes
9361 file_list_spec='${wl}-f,'
9363 if test "$GCC" = yes; then
9364 case $host_os in aix4.[012]|aix4.[012].*)
9365 # We only want to do this on AIX 4.2 and lower, the check
9366 # below for broken collect2 doesn't work under 4.3+
9367 collect2name=`${CC} -print-prog-name=collect2`
9368 if test -f "$collect2name" &&
9369 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9371 # We have reworked collect2
9374 # We have old collect2
9375 hardcode_direct=unsupported
9376 # It fails to find uninstalled libraries when the uninstalled
9377 # path is not listed in the libpath. Setting hardcode_minus_L
9378 # to unsupported forces relinking
9379 hardcode_minus_L=yes
9380 hardcode_libdir_flag_spec='-L$libdir'
9381 hardcode_libdir_separator=
9385 shared_flag='-shared'
9386 if test "$aix_use_runtimelinking" = yes; then
9387 shared_flag="$shared_flag "'${wl}-G'
9392 if test "$host_cpu" = ia64; then
9393 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9394 # chokes on -Wl,-G. The following line is correct:
9397 if test "$aix_use_runtimelinking" = yes; then
9398 shared_flag='${wl}-G'
9400 shared_flag='${wl}-bM:SRE'
9405 export_dynamic_flag_spec='${wl}-bexpall'
9406 # It seems that -bexpall does not export symbols beginning with
9407 # underscore (_), so it is better to generate a list of symbols to export.
9408 always_export_symbols=yes
9409 if test "$aix_use_runtimelinking" = yes; then
9410 # Warning - without using the other runtime loading flags (-brtl),
9411 # -berok will link without error, but may produce a broken library.
9412 allow_undefined_flag='-berok'
9413 # Determine the default libpath from the value encoded in an
9415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9416 /* end confdefs.h. */
9426 if ac_fn_c_try_link "$LINENO"; then :
9428 lt_aix_libpath_sed='
9429 /Import File Strings/,/^$/ {
9435 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9436 # Check for a 64-bit object if we didn't find anything.
9437 if test -z "$aix_libpath"; then
9438 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9441 rm -f core conftest.err conftest.$ac_objext \
9442 conftest$ac_exeext conftest.$ac_ext
9443 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9445 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9446 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9448 if test "$host_cpu" = ia64; then
9449 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9450 allow_undefined_flag="-z nodefs"
9451 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"
9453 # Determine the default libpath from the value encoded in an
9455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9456 /* end confdefs.h. */
9466 if ac_fn_c_try_link "$LINENO"; then :
9468 lt_aix_libpath_sed='
9469 /Import File Strings/,/^$/ {
9475 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9476 # Check for a 64-bit object if we didn't find anything.
9477 if test -z "$aix_libpath"; then
9478 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9481 rm -f core conftest.err conftest.$ac_objext \
9482 conftest$ac_exeext conftest.$ac_ext
9483 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9485 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9486 # Warning - without using the other run time loading flags,
9487 # -berok will link without error, but may produce a broken library.
9488 no_undefined_flag=' ${wl}-bernotok'
9489 allow_undefined_flag=' ${wl}-berok'
9490 # Exported symbols can be pulled into shared objects from archives
9491 whole_archive_flag_spec='$convenience'
9492 archive_cmds_need_lc=yes
9493 # This is similar to how AIX traditionally builds its shared libraries.
9494 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'
9502 # see comment about AmigaOS4 .so support
9503 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9504 archive_expsym_cmds=''
9507 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)'
9508 hardcode_libdir_flag_spec='-L$libdir'
9509 hardcode_minus_L=yes
9515 export_dynamic_flag_spec=-rdynamic
9518 cygwin* | mingw* | pw32* | cegcc*)
9519 # When not using gcc, we currently assume that we are using
9520 # Microsoft Visual C++.
9521 # hardcode_libdir_flag_spec is actually meaningless, as there is
9522 # no search path for DLLs.
9523 hardcode_libdir_flag_spec=' '
9524 allow_undefined_flag=unsupported
9525 # Tell ltmain to make .lib files, not .a files.
9527 # Tell ltmain to make .dll files, not .so files.
9529 # FIXME: Setting linknames here is a bad hack.
9530 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9531 # The linker will automatically build a .lib file if we build a DLL.
9532 old_archive_from_new_cmds='true'
9533 # FIXME: Should let the user specify the lib program.
9534 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9535 fix_srcfile_path='`cygpath -w "$srcfile"`'
9536 enable_shared_with_static_runtimes=yes
9539 darwin* | rhapsody*)
9542 archive_cmds_need_lc=no
9544 hardcode_automatic=yes
9545 hardcode_shlibpath_var=unsupported
9546 whole_archive_flag_spec=''
9547 link_all_deplibs=yes
9548 allow_undefined_flag="$_lt_dar_allow_undefined"
9549 case $cc_basename in
9550 ifort*) _lt_dar_can_shared=yes ;;
9551 *) _lt_dar_can_shared=$GCC ;;
9553 if test "$_lt_dar_can_shared" = "yes"; then
9554 output_verbose_link_cmd=echo
9555 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9556 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9557 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}"
9558 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}"
9567 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9568 hardcode_libdir_flag_spec='-L$libdir'
9569 hardcode_shlibpath_var=no
9576 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9577 # support. Future versions do this automatically, but an explicit c++rt0.o
9578 # does not break anything, and helps significantly (at the cost of a little
9581 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9582 hardcode_libdir_flag_spec='-R$libdir'
9584 hardcode_shlibpath_var=no
9587 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9589 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9591 hardcode_minus_L=yes
9592 hardcode_shlibpath_var=no
9595 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9596 freebsd* | dragonfly*)
9597 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9598 hardcode_libdir_flag_spec='-R$libdir'
9600 hardcode_shlibpath_var=no
9604 if test "$GCC" = yes; then
9605 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9607 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'
9609 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9610 hardcode_libdir_separator=:
9613 # hardcode_minus_L: Not really in the search PATH,
9614 # but as the default location of the library.
9615 hardcode_minus_L=yes
9616 export_dynamic_flag_spec='${wl}-E'
9620 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9621 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9623 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9625 if test "$with_gnu_ld" = no; then
9626 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9627 hardcode_libdir_flag_spec_ld='+b $libdir'
9628 hardcode_libdir_separator=:
9630 hardcode_direct_absolute=yes
9631 export_dynamic_flag_spec='${wl}-E'
9632 # hardcode_minus_L: Not really in the search PATH,
9633 # but as the default location of the library.
9634 hardcode_minus_L=yes
9639 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9642 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9645 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9648 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9654 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9657 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9660 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9664 if test "$with_gnu_ld" = no; then
9665 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9666 hardcode_libdir_separator=:
9671 hardcode_shlibpath_var=no
9675 hardcode_direct_absolute=yes
9676 export_dynamic_flag_spec='${wl}-E'
9678 # hardcode_minus_L: Not really in the search PATH,
9679 # but as the default location of the library.
9680 hardcode_minus_L=yes
9686 irix5* | irix6* | nonstopux*)
9687 if test "$GCC" = yes; then
9688 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9689 # Try to use the -exported_symbol ld option, if it does not
9690 # work, assume that -exports_file does not work either and
9691 # implicitly export all symbols.
9692 save_LDFLAGS="$LDFLAGS"
9693 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9695 /* end confdefs.h. */
9698 if ac_fn_c_try_link "$LINENO"; then :
9699 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9702 rm -f core conftest.err conftest.$ac_objext \
9703 conftest$ac_exeext conftest.$ac_ext
9704 LDFLAGS="$save_LDFLAGS"
9706 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9707 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9709 archive_cmds_need_lc='no'
9710 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9711 hardcode_libdir_separator=:
9713 link_all_deplibs=yes
9716 netbsd* | netbsdelf*-gnu)
9717 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9718 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9720 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9722 hardcode_libdir_flag_spec='-R$libdir'
9724 hardcode_shlibpath_var=no
9728 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9730 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9731 hardcode_libdir_separator=:
9732 hardcode_shlibpath_var=no
9739 if test -f /usr/libexec/ld.so; then
9741 hardcode_shlibpath_var=no
9742 hardcode_direct_absolute=yes
9743 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9744 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9745 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9746 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9747 export_dynamic_flag_spec='${wl}-E'
9750 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9751 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9752 hardcode_libdir_flag_spec='-R$libdir'
9755 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9756 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9766 hardcode_libdir_flag_spec='-L$libdir'
9767 hardcode_minus_L=yes
9768 allow_undefined_flag=unsupported
9769 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'
9770 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9774 if test "$GCC" = yes; then
9775 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9776 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9778 allow_undefined_flag=' -expect_unresolved \*'
9779 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9781 archive_cmds_need_lc='no'
9782 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9783 hardcode_libdir_separator=:
9786 osf4* | osf5*) # as osf3* with the addition of -msym flag
9787 if test "$GCC" = yes; then
9788 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9789 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9790 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9792 allow_undefined_flag=' -expect_unresolved \*'
9793 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9794 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~
9795 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9797 # Both c and cxx compiler support -rpath directly
9798 hardcode_libdir_flag_spec='-rpath $libdir'
9800 archive_cmds_need_lc='no'
9801 hardcode_libdir_separator=:
9805 no_undefined_flag=' -z defs'
9806 if test "$GCC" = yes; then
9808 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9809 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9810 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9812 case `$CC -V 2>&1` in
9815 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9816 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9817 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9821 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9822 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9823 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9827 hardcode_libdir_flag_spec='-R$libdir'
9828 hardcode_shlibpath_var=no
9830 solaris2.[0-5] | solaris2.[0-5].*) ;;
9832 # The compiler driver will combine and reorder linker options,
9833 # but understands `-z linker_flag'. GCC discards it without `$wl',
9834 # but is careful enough not to reorder.
9835 # Supported since Solaris 2.6 (maybe 2.5.1?)
9836 if test "$GCC" = yes; then
9837 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9839 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9843 link_all_deplibs=yes
9847 if test "x$host_vendor" = xsequent; then
9848 # Use $CC to link under sequent, because it throws in some extra .o
9849 # files that make .init and .fini sections work.
9850 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9852 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9854 hardcode_libdir_flag_spec='-L$libdir'
9856 hardcode_minus_L=yes
9857 hardcode_shlibpath_var=no
9861 case $host_vendor in
9863 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9864 hardcode_direct=yes # is this really true???
9867 ## LD is ld it makes a PLAMLIB
9868 ## CC just makes a GrossModule.
9869 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9870 reload_cmds='$CC -r -o $output$reload_objs'
9874 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9875 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9878 runpath_var='LD_RUN_PATH'
9879 hardcode_shlibpath_var=no
9883 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9884 hardcode_shlibpath_var=no
9885 export_dynamic_flag_spec='-Bexport'
9889 if test -d /usr/nec; then
9890 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9891 hardcode_shlibpath_var=no
9892 runpath_var=LD_RUN_PATH
9893 hardcode_runpath_var=yes
9898 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9899 no_undefined_flag='${wl}-z,text'
9900 archive_cmds_need_lc=no
9901 hardcode_shlibpath_var=no
9902 runpath_var='LD_RUN_PATH'
9904 if test "$GCC" = yes; then
9905 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9906 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9908 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9909 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9913 sysv5* | sco3.2v5* | sco5v6*)
9914 # Note: We can NOT use -z defs as we might desire, because we do not
9915 # link with -lc, and that would cause any symbols used from libc to
9916 # always be unresolved, which means just about no library would
9917 # ever link correctly. If we're not using GNU ld we use -z text
9918 # though, which does catch some bad symbols but isn't as heavy-handed
9920 no_undefined_flag='${wl}-z,text'
9921 allow_undefined_flag='${wl}-z,nodefs'
9922 archive_cmds_need_lc=no
9923 hardcode_shlibpath_var=no
9924 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9925 hardcode_libdir_separator=':'
9926 link_all_deplibs=yes
9927 export_dynamic_flag_spec='${wl}-Bexport'
9928 runpath_var='LD_RUN_PATH'
9930 if test "$GCC" = yes; then
9931 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9932 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9934 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9935 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9940 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9941 hardcode_libdir_flag_spec='-L$libdir'
9942 hardcode_shlibpath_var=no
9950 if test x$host_vendor = xsni; then
9952 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9953 export_dynamic_flag_spec='${wl}-Blargedynsym'
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9960 $as_echo "$ld_shlibs" >&6; }
9961 test "$ld_shlibs" = no && can_build_shared=no
9963 with_gnu_ld=$with_gnu_ld
9980 # Do we need to explicitly link libc?
9982 case "x$archive_cmds_need_lc" in
9984 # Assume -lc should be added
9985 archive_cmds_need_lc=yes
9987 if test "$enable_shared" = yes && test "$GCC" = yes; then
9988 case $archive_cmds in
9990 # FIXME: we may have to deal with multi-command sequences.
9993 # Test whether the compiler implicitly links with -lc since on some
9994 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9995 # to ld, don't add -lc before -lgcc.
9996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9997 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9999 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10001 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10002 (eval $ac_compile) 2>&5
10004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10005 test $ac_status = 0; } 2>conftest.err; then
10008 libobjs=conftest.$ac_objext
10010 wl=$lt_prog_compiler_wl
10011 pic_flag=$lt_prog_compiler_pic
10017 lt_save_allow_undefined_flag=$allow_undefined_flag
10018 allow_undefined_flag=
10019 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10020 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10023 test $ac_status = 0; }
10025 archive_cmds_need_lc=no
10027 archive_cmds_need_lc=yes
10029 allow_undefined_flag=$lt_save_allow_undefined_flag
10031 cat conftest.err 1>&5
10034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10035 $as_echo "$archive_cmds_need_lc" >&6; }
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10199 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10201 if test "$GCC" = yes; then
10203 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10204 *) lt_awk_arg="/^libraries:/" ;;
10206 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10207 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10208 # if the path contains ";" then we assume it to be the separator
10209 # otherwise default to the standard path separator (i.e. ":") - it is
10210 # assumed that no part of a normal pathname contains ";" but that should
10211 # okay in the real world where ";" in dirpaths is itself problematic.
10212 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10214 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10216 # Ok, now we have the path, separated by spaces, we can step through it
10217 # and add multilib dir if necessary.
10218 lt_tmp_lt_search_path_spec=
10219 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10220 for lt_sys_path in $lt_search_path_spec; do
10221 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10222 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10224 test -d "$lt_sys_path" && \
10225 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10228 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10229 BEGIN {RS=" "; FS="/|\n";} {
10232 for (lt_i = NF; lt_i > 0; lt_i--) {
10233 if ($lt_i != "" && $lt_i != ".") {
10234 if ($lt_i == "..") {
10237 if (lt_count == 0) {
10238 lt_foo="/" $lt_i lt_foo;
10245 if (lt_foo != "") { lt_freq[lt_foo]++; }
10246 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10248 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10250 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10252 library_names_spec=
10253 libname_spec='lib$name'
10257 postuninstall_cmds=
10261 shlibpath_overrides_runpath=unknown
10263 dynamic_linker="$host_os ld.so"
10264 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10265 need_lib_prefix=unknown
10266 hardcode_into_libs=no
10268 # when you set need_version to no, make sure it does not cause -set_version
10269 # flags to be left without arguments
10270 need_version=unknown
10275 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10276 shlibpath_var=LIBPATH
10278 # AIX 3 has no versioning support, so we append a major version to the name.
10279 soname_spec='${libname}${release}${shared_ext}$major'
10286 hardcode_into_libs=yes
10287 if test "$host_cpu" = ia64; then
10288 # AIX 5 supports IA64
10289 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10290 shlibpath_var=LD_LIBRARY_PATH
10292 # With GCC up to 2.95.x, collect2 would create an import file
10293 # for dependence libraries. The import file would start with
10294 # the line `#! .'. This would cause the generated library to
10295 # depend on `.', always an invalid library. This was fixed in
10296 # development snapshots of GCC prior to 3.0.
10298 aix4 | aix4.[01] | aix4.[01].*)
10299 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10301 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10304 can_build_shared=no
10308 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10309 # soname into executable. Probably we can add versioning support to
10310 # collect2, so additional links can be useful in future.
10311 if test "$aix_use_runtimelinking" = yes; then
10312 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10313 # instead of lib<name>.a to let people know that these are not
10314 # typical AIX shared libraries.
10315 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10317 # We preserve .a as extension for shared libraries through AIX4.2
10318 # and later when we are not doing run time linking.
10319 library_names_spec='${libname}${release}.a $libname.a'
10320 soname_spec='${libname}${release}${shared_ext}$major'
10322 shlibpath_var=LIBPATH
10329 # Since July 2007 AmigaOS4 officially supports .so libraries.
10330 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10331 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10334 library_names_spec='$libname.ixlibrary $libname.a'
10335 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10336 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10342 library_names_spec='${libname}${shared_ext}'
10343 dynamic_linker="$host_os ld.so"
10344 shlibpath_var=LIBRARY_PATH
10350 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10351 soname_spec='${libname}${release}${shared_ext}$major'
10352 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10353 shlibpath_var=LD_LIBRARY_PATH
10354 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10355 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10356 # the default ld.so.conf also contains /usr/contrib/lib and
10357 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10358 # libtool to hard-code these into programs
10361 cygwin* | mingw* | pw32* | cegcc*)
10362 version_type=windows
10367 case $GCC,$host_os in
10368 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10369 library_names_spec='$libname.dll.a'
10370 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10371 postinstall_cmds='base_file=`basename \${file}`~
10372 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10373 dldir=$destdir/`dirname \$dlpath`~
10374 test -d \$dldir || mkdir -p \$dldir~
10375 $install_prog $dir/$dlname \$dldir/$dlname~
10376 chmod a+x \$dldir/$dlname~
10377 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10378 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10380 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10381 dlpath=$dir/\$dldll~
10383 shlibpath_overrides_runpath=yes
10387 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10388 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10389 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10392 # MinGW DLLs use traditional 'lib' prefix
10393 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10394 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10395 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10396 # It is most probably a Windows format PATH printed by
10397 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10398 # path with ; separators, and with drive letters. We can handle the
10399 # drive letters (cygwin fileutils understands them), so leave them,
10400 # especially as we might pass files found there to a mingw objdump,
10401 # which wouldn't understand a cygwinified path. Ahh.
10402 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10404 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10408 # pw32 DLLs use 'pw' prefix rather than 'lib'
10409 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10415 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10418 dynamic_linker='Win32 ld.exe'
10419 # FIXME: first we should search . and the directory the executable is in
10423 darwin* | rhapsody*)
10424 dynamic_linker="$host_os dyld"
10425 version_type=darwin
10428 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10429 soname_spec='${libname}${release}${major}$shared_ext'
10430 shlibpath_overrides_runpath=yes
10431 shlibpath_var=DYLD_LIBRARY_PATH
10432 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10434 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10435 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10442 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10443 soname_spec='${libname}${release}${shared_ext}$major'
10444 shlibpath_var=LD_LIBRARY_PATH
10451 freebsd* | dragonfly*)
10452 # DragonFly does not have aout. When/if they implement a new
10453 # versioning mechanism, adjust this.
10454 if test -x /usr/bin/objformat; then
10455 objformat=`/usr/bin/objformat`
10458 freebsd[123]*) objformat=aout ;;
10459 *) objformat=elf ;;
10462 version_type=freebsd-$objformat
10463 case $version_type in
10465 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10470 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10474 shlibpath_var=LD_LIBRARY_PATH
10477 shlibpath_overrides_runpath=yes
10479 freebsd3.[01]* | freebsdelf3.[01]*)
10480 shlibpath_overrides_runpath=yes
10481 hardcode_into_libs=yes
10483 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10484 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10485 shlibpath_overrides_runpath=no
10486 hardcode_into_libs=yes
10488 *) # from 4.6 on, and DragonFly
10489 shlibpath_overrides_runpath=yes
10490 hardcode_into_libs=yes
10499 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10500 soname_spec='${libname}${release}${shared_ext}$major'
10501 shlibpath_var=LD_LIBRARY_PATH
10502 hardcode_into_libs=yes
10505 hpux9* | hpux10* | hpux11*)
10506 # Give a soname corresponding to the major version so that dld.sl refuses to
10507 # link against other versions.
10514 hardcode_into_libs=yes
10515 dynamic_linker="$host_os dld.so"
10516 shlibpath_var=LD_LIBRARY_PATH
10517 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10519 soname_spec='${libname}${release}${shared_ext}$major'
10520 if test "X$HPUX_IA64_MODE" = X32; then
10521 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10523 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10525 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10529 hardcode_into_libs=yes
10530 dynamic_linker="$host_os dld.sl"
10531 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10532 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10533 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10534 soname_spec='${libname}${release}${shared_ext}$major'
10535 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10536 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10540 dynamic_linker="$host_os dld.sl"
10541 shlibpath_var=SHLIB_PATH
10542 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10543 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10544 soname_spec='${libname}${release}${shared_ext}$major'
10547 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10548 postinstall_cmds='chmod 555 $lib'
10555 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10556 soname_spec='${libname}${release}${shared_ext}$major'
10557 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10558 shlibpath_var=LD_LIBRARY_PATH
10559 shlibpath_overrides_runpath=no
10560 hardcode_into_libs=yes
10563 irix5* | irix6* | nonstopux*)
10565 nonstopux*) version_type=nonstopux ;;
10567 if test "$lt_cv_prog_gnu_ld" = yes; then
10575 soname_spec='${libname}${release}${shared_ext}$major'
10576 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10578 irix5* | nonstopux*)
10579 libsuff= shlibsuff=
10582 case $LD in # libtool.m4 will add one of these switches to LD
10583 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10584 libsuff= shlibsuff= libmagic=32-bit;;
10585 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10586 libsuff=32 shlibsuff=N32 libmagic=N32;;
10587 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10588 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10589 *) libsuff= shlibsuff= libmagic=never-match;;
10593 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10594 shlibpath_overrides_runpath=no
10595 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10596 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10597 hardcode_into_libs=yes
10600 # No shared lib support for Linux oldld, aout, or coff.
10601 linux*oldld* | linux*aout* | linux*coff*)
10605 # This must be Linux ELF.
10606 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10610 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10611 soname_spec='${libname}${release}${shared_ext}$major'
10612 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10613 shlibpath_var=LD_LIBRARY_PATH
10614 shlibpath_overrides_runpath=no
10615 # Some binutils ld are patched to set DT_RUNPATH
10616 save_LDFLAGS=$LDFLAGS
10617 save_libdir=$libdir
10618 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10619 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10621 /* end confdefs.h. */
10631 if ac_fn_c_try_link "$LINENO"; then :
10632 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10633 shlibpath_overrides_runpath=yes
10636 rm -f core conftest.err conftest.$ac_objext \
10637 conftest$ac_exeext conftest.$ac_ext
10638 LDFLAGS=$save_LDFLAGS
10639 libdir=$save_libdir
10641 # This implies no fast_install, which is unacceptable.
10642 # Some rework will be needed to allow for fast_install
10643 # before this can be enabled.
10644 hardcode_into_libs=yes
10646 # Append ld.so.conf contents to the search path
10647 if test -f /etc/ld.so.conf; then
10648 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10649 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10652 # We used to test for /lib/ld.so.1 and disable shared libraries on
10653 # powerpc, because MkLinux only supported shared libraries with the
10654 # GNU dynamic linker. Since this was broken with cross compilers,
10655 # most powerpc-linux boxes support dynamic linking these days and
10656 # people can always --disable-shared, the test was removed, and we
10657 # assume the GNU/Linux dynamic linker is in use.
10658 dynamic_linker='GNU/Linux ld.so'
10665 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10666 soname_spec='${libname}${release}${shared_ext}$major'
10667 shlibpath_var=LD_LIBRARY_PATH
10668 shlibpath_overrides_runpath=no
10669 hardcode_into_libs=yes
10670 dynamic_linker='NetBSD ld.elf_so'
10677 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10678 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10679 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10680 dynamic_linker='NetBSD (a.out) ld.so'
10682 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10683 soname_spec='${libname}${release}${shared_ext}$major'
10684 dynamic_linker='NetBSD ld.elf_so'
10686 shlibpath_var=LD_LIBRARY_PATH
10687 shlibpath_overrides_runpath=yes
10688 hardcode_into_libs=yes
10693 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10694 shlibpath_var=LD_LIBRARY_PATH
10695 shlibpath_overrides_runpath=yes
10702 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10703 soname_spec='${libname}${release}${shared_ext}$major'
10704 shlibpath_var=LD_LIBRARY_PATH
10705 shlibpath_overrides_runpath=no
10706 hardcode_into_libs=yes
10707 dynamic_linker='ldqnx.so'
10712 sys_lib_dlsearch_path_spec="/usr/lib"
10714 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10716 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10717 *) need_version=no ;;
10719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10720 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10721 shlibpath_var=LD_LIBRARY_PATH
10722 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10724 openbsd2.[89] | openbsd2.[89].*)
10725 shlibpath_overrides_runpath=no
10728 shlibpath_overrides_runpath=yes
10732 shlibpath_overrides_runpath=yes
10737 libname_spec='$name'
10740 library_names_spec='$libname${shared_ext} $libname.a'
10741 dynamic_linker='OS/2 ld.exe'
10742 shlibpath_var=LIBPATH
10745 osf3* | osf4* | osf5*)
10749 soname_spec='${libname}${release}${shared_ext}$major'
10750 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10751 shlibpath_var=LD_LIBRARY_PATH
10752 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10753 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10764 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10765 soname_spec='${libname}${release}${shared_ext}$major'
10766 shlibpath_var=LD_LIBRARY_PATH
10767 shlibpath_overrides_runpath=yes
10768 hardcode_into_libs=yes
10769 # ldd complains unless libraries are executable
10770 postinstall_cmds='chmod +x $lib'
10775 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10776 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10777 shlibpath_var=LD_LIBRARY_PATH
10778 shlibpath_overrides_runpath=yes
10779 if test "$with_gnu_ld" = yes; then
10787 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10788 soname_spec='${libname}${release}${shared_ext}$major'
10789 shlibpath_var=LD_LIBRARY_PATH
10790 case $host_vendor in
10792 shlibpath_overrides_runpath=no
10794 runpath_var=LD_RUN_PATH
10802 shlibpath_overrides_runpath=no
10803 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10809 if test -d /usr/nec ;then
10811 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10812 soname_spec='$libname${shared_ext}.$major'
10813 shlibpath_var=LD_LIBRARY_PATH
10817 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10818 version_type=freebsd-elf
10821 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10822 soname_spec='${libname}${release}${shared_ext}$major'
10823 shlibpath_var=LD_LIBRARY_PATH
10824 shlibpath_overrides_runpath=yes
10825 hardcode_into_libs=yes
10826 if test "$with_gnu_ld" = yes; then
10827 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10829 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10832 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10836 sys_lib_dlsearch_path_spec='/usr/lib'
10840 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10844 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10845 shlibpath_var=LD_LIBRARY_PATH
10846 shlibpath_overrides_runpath=no
10847 hardcode_into_libs=yes
10852 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10853 soname_spec='${libname}${release}${shared_ext}$major'
10854 shlibpath_var=LD_LIBRARY_PATH
10861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10862 $as_echo "$dynamic_linker" >&6; }
10863 test "$dynamic_linker" = no && can_build_shared=no
10865 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10866 if test "$GCC" = yes; then
10867 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10870 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10871 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10873 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10874 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10964 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10966 if test -n "$hardcode_libdir_flag_spec" ||
10967 test -n "$runpath_var" ||
10968 test "X$hardcode_automatic" = "Xyes" ; then
10970 # We can hardcode non-existent directories.
10971 if test "$hardcode_direct" != no &&
10972 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10973 # have to relink, otherwise we might link with an installed library
10974 # when we should be linking with a yet-to-be-installed one
10975 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10976 test "$hardcode_minus_L" != no; then
10977 # Linking always hardcodes the temporary library directory.
10978 hardcode_action=relink
10980 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10981 hardcode_action=immediate
10984 # We cannot hardcode anything, or else we can only hardcode existing
10986 hardcode_action=unsupported
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10989 $as_echo "$hardcode_action" >&6; }
10991 if test "$hardcode_action" = relink ||
10992 test "$inherit_rpath" = yes; then
10993 # Fast installation is not supported
10994 enable_fast_install=no
10995 elif test "$shlibpath_overrides_runpath" = yes ||
10996 test "$enable_shared" = no; then
10997 # Fast installation is not necessary
10998 enable_fast_install=needless
11006 if test "x$enable_dlopen" != xyes; then
11007 enable_dlopen=unknown
11008 enable_dlopen_self=unknown
11009 enable_dlopen_self_static=unknown
11016 lt_cv_dlopen="load_add_on"
11018 lt_cv_dlopen_self=yes
11021 mingw* | pw32* | cegcc*)
11022 lt_cv_dlopen="LoadLibrary"
11027 lt_cv_dlopen="dlopen"
11032 # if libdl is installed we need to link against it
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11034 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11035 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11036 $as_echo_n "(cached) " >&6
11038 ac_check_lib_save_LIBS=$LIBS
11040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11041 /* end confdefs.h. */
11043 /* Override any GCC internal prototype to avoid an error.
11044 Use char because int might match the return type of a GCC
11045 builtin and then its argument prototype would still apply. */
11058 if ac_fn_c_try_link "$LINENO"; then :
11059 ac_cv_lib_dl_dlopen=yes
11061 ac_cv_lib_dl_dlopen=no
11063 rm -f core conftest.err conftest.$ac_objext \
11064 conftest$ac_exeext conftest.$ac_ext
11065 LIBS=$ac_check_lib_save_LIBS
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11068 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11069 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11070 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11073 lt_cv_dlopen="dyld"
11075 lt_cv_dlopen_self=yes
11082 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11083 if test "x$ac_cv_func_shl_load" = x""yes; then :
11084 lt_cv_dlopen="shl_load"
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11087 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11088 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11089 $as_echo_n "(cached) " >&6
11091 ac_check_lib_save_LIBS=$LIBS
11093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11094 /* end confdefs.h. */
11096 /* Override any GCC internal prototype to avoid an error.
11097 Use char because int might match the return type of a GCC
11098 builtin and then its argument prototype would still apply. */
11106 return shl_load ();
11111 if ac_fn_c_try_link "$LINENO"; then :
11112 ac_cv_lib_dld_shl_load=yes
11114 ac_cv_lib_dld_shl_load=no
11116 rm -f core conftest.err conftest.$ac_objext \
11117 conftest$ac_exeext conftest.$ac_ext
11118 LIBS=$ac_check_lib_save_LIBS
11120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11121 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11122 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11123 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11125 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11126 if test "x$ac_cv_func_dlopen" = x""yes; then :
11127 lt_cv_dlopen="dlopen"
11129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11130 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11131 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11132 $as_echo_n "(cached) " >&6
11134 ac_check_lib_save_LIBS=$LIBS
11136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11137 /* end confdefs.h. */
11139 /* Override any GCC internal prototype to avoid an error.
11140 Use char because int might match the return type of a GCC
11141 builtin and then its argument prototype would still apply. */
11154 if ac_fn_c_try_link "$LINENO"; then :
11155 ac_cv_lib_dl_dlopen=yes
11157 ac_cv_lib_dl_dlopen=no
11159 rm -f core conftest.err conftest.$ac_objext \
11160 conftest$ac_exeext conftest.$ac_ext
11161 LIBS=$ac_check_lib_save_LIBS
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11164 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11165 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11166 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11169 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11170 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11171 $as_echo_n "(cached) " >&6
11173 ac_check_lib_save_LIBS=$LIBS
11174 LIBS="-lsvld $LIBS"
11175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11176 /* end confdefs.h. */
11178 /* Override any GCC internal prototype to avoid an error.
11179 Use char because int might match the return type of a GCC
11180 builtin and then its argument prototype would still apply. */
11193 if ac_fn_c_try_link "$LINENO"; then :
11194 ac_cv_lib_svld_dlopen=yes
11196 ac_cv_lib_svld_dlopen=no
11198 rm -f core conftest.err conftest.$ac_objext \
11199 conftest$ac_exeext conftest.$ac_ext
11200 LIBS=$ac_check_lib_save_LIBS
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11203 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11204 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11205 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11208 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11209 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11210 $as_echo_n "(cached) " >&6
11212 ac_check_lib_save_LIBS=$LIBS
11214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11215 /* end confdefs.h. */
11217 /* Override any GCC internal prototype to avoid an error.
11218 Use char because int might match the return type of a GCC
11219 builtin and then its argument prototype would still apply. */
11227 return dld_link ();
11232 if ac_fn_c_try_link "$LINENO"; then :
11233 ac_cv_lib_dld_dld_link=yes
11235 ac_cv_lib_dld_dld_link=no
11237 rm -f core conftest.err conftest.$ac_objext \
11238 conftest$ac_exeext conftest.$ac_ext
11239 LIBS=$ac_check_lib_save_LIBS
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11242 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11243 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11244 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11265 if test "x$lt_cv_dlopen" != xno; then
11271 case $lt_cv_dlopen in
11273 save_CPPFLAGS="$CPPFLAGS"
11274 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11276 save_LDFLAGS="$LDFLAGS"
11277 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11280 LIBS="$lt_cv_dlopen_libs $LIBS"
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11283 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11284 if test "${lt_cv_dlopen_self+set}" = set; then :
11285 $as_echo_n "(cached) " >&6
11287 if test "$cross_compiling" = yes; then :
11288 lt_cv_dlopen_self=cross
11290 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11291 lt_status=$lt_dlunknown
11292 cat > conftest.$ac_ext <<_LT_EOF
11293 #line 11293 "configure"
11294 #include "confdefs.h"
11303 # define LT_DLGLOBAL RTLD_GLOBAL
11306 # define LT_DLGLOBAL DL_GLOBAL
11308 # define LT_DLGLOBAL 0
11312 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11313 find out it does not work in some platform. */
11314 #ifndef LT_DLLAZY_OR_NOW
11316 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11319 # define LT_DLLAZY_OR_NOW DL_LAZY
11322 # define LT_DLLAZY_OR_NOW RTLD_NOW
11325 # define LT_DLLAZY_OR_NOW DL_NOW
11327 # define LT_DLLAZY_OR_NOW 0
11334 void fnord() { int i=42;}
11337 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11338 int status = $lt_dlunknown;
11342 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11343 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11344 /* dlclose (self); */
11352 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11353 (eval $ac_link) 2>&5
11355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11356 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11357 (./conftest; exit; ) >&5 2>/dev/null
11359 case x$lt_status in
11360 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11361 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11362 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11365 # compilation failed
11366 lt_cv_dlopen_self=no
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11374 $as_echo "$lt_cv_dlopen_self" >&6; }
11376 if test "x$lt_cv_dlopen_self" = xyes; then
11377 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11379 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11380 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11381 $as_echo_n "(cached) " >&6
11383 if test "$cross_compiling" = yes; then :
11384 lt_cv_dlopen_self_static=cross
11386 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11387 lt_status=$lt_dlunknown
11388 cat > conftest.$ac_ext <<_LT_EOF
11389 #line 11389 "configure"
11390 #include "confdefs.h"
11399 # define LT_DLGLOBAL RTLD_GLOBAL
11402 # define LT_DLGLOBAL DL_GLOBAL
11404 # define LT_DLGLOBAL 0
11408 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11409 find out it does not work in some platform. */
11410 #ifndef LT_DLLAZY_OR_NOW
11412 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11415 # define LT_DLLAZY_OR_NOW DL_LAZY
11418 # define LT_DLLAZY_OR_NOW RTLD_NOW
11421 # define LT_DLLAZY_OR_NOW DL_NOW
11423 # define LT_DLLAZY_OR_NOW 0
11430 void fnord() { int i=42;}
11433 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11434 int status = $lt_dlunknown;
11438 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11439 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11440 /* dlclose (self); */
11448 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11449 (eval $ac_link) 2>&5
11451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11452 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11453 (./conftest; exit; ) >&5 2>/dev/null
11455 case x$lt_status in
11456 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11457 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11458 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11461 # compilation failed
11462 lt_cv_dlopen_self_static=no
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11470 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11473 CPPFLAGS="$save_CPPFLAGS"
11474 LDFLAGS="$save_LDFLAGS"
11479 case $lt_cv_dlopen_self in
11480 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11481 *) enable_dlopen_self=unknown ;;
11484 case $lt_cv_dlopen_self_static in
11485 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11486 *) enable_dlopen_self_static=unknown ;;
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11509 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11510 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11511 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11512 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11514 $as_echo "yes" >&6; }
11516 # FIXME - insert some real tests, host_os isn't really good enough
11519 if test -n "$STRIP" ; then
11520 striplib="$STRIP -x"
11521 old_striplib="$STRIP -S"
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11523 $as_echo "yes" >&6; }
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11526 $as_echo "no" >&6; }
11530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11531 $as_echo "no" >&6; }
11547 # Report which library types will actually be built
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11549 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11551 $as_echo "$can_build_shared" >&6; }
11553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11554 $as_echo_n "checking whether to build shared libraries... " >&6; }
11555 test "$can_build_shared" = "no" && enable_shared=no
11557 # On AIX, shared libraries and static libraries use the same namespace, and
11558 # are all built from PIC.
11561 test "$enable_shared" = yes && enable_static=no
11562 if test -n "$RANLIB"; then
11563 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11564 postinstall_cmds='$RANLIB $lib'
11569 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11570 test "$enable_shared" = yes && enable_static=no
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11575 $as_echo "$enable_shared" >&6; }
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11578 $as_echo_n "checking whether to build static libraries... " >&6; }
11579 # Make sure either enable_shared or enable_static is yes.
11580 test "$enable_shared" = yes || enable_static=yes
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11582 $as_echo "$enable_static" >&6; }
11589 ac_cpp='$CPP $CPPFLAGS'
11590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11608 ac_config_commands="$ac_config_commands libtool"
11613 # Only expand once:
11620 # Check whether --with-autoconf was given.
11621 if test "${with_autoconf+set}" = set; then :
11622 withval=$with_autoconf;
11625 AUTOCONF=${AUTOCONF-"${am_missing_run}${withval}"}
11627 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOCONF as autoconf" >&5
11628 $as_echo "$as_me: Using $AUTOCONF as autoconf" >&6;}
11634 # Check whether --with-autoheader was given.
11635 if test "${with_autoheader+set}" = set; then :
11636 withval=$with_autoheader;
11639 AUTOHEADER=${AUTOHEADER-"${am_missing_run}${withval}"}
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOHEADER as autoheader" >&5
11642 $as_echo "$as_me: Using $AUTOHEADER as autoheader" >&6;}
11648 # Check whether --with-automake was given.
11649 if test "${with_automake+set}" = set; then :
11650 withval=$with_automake;
11653 AUTOMAKE=${AUTOMAKE-"${am_missing_run}${withval}"}
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOMAKE as automake" >&5
11656 $as_echo "$as_me: Using $AUTOMAKE as automake" >&6;}
11662 # Check whether --with-aclocal was given.
11663 if test "${with_aclocal+set}" = set; then :
11664 withval=$with_aclocal;
11667 ACLOCAL=${ACLOCAL-"${am_missing_run}${withval}"}
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $ACLOCAL as aclocal" >&5
11670 $as_echo "$as_me: Using $ACLOCAL as aclocal" >&6;}
11676 ACLOCAL_AMFLAGS="-I m4 -I common/m4"
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11682 $as_echo_n "checking whether NLS is requested... " >&6; }
11683 # Check whether --enable-nls was given.
11684 if test "${enable_nls+set}" = set; then :
11685 enableval=$enable_nls; USE_NLS=$enableval
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
11691 $as_echo "$USE_NLS" >&6; }
11696 GETTEXT_MACRO_VERSION=0.17
11701 # Prepare PATH_SEPARATOR.
11702 # The user is always right.
11703 if test "${PATH_SEPARATOR+set}" != set; then
11704 echo "#! /bin/sh" >conf$$.sh
11705 echo "exit 0" >>conf$$.sh
11707 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11715 # Find out how to test for executable files. Don't use a zero-byte file,
11716 # as systems may use methods other than mode bits to determine executability.
11717 cat >conf$$.file <<_ASEOF
11721 chmod +x conf$$.file
11722 if test -x conf$$.file >/dev/null 2>&1; then
11723 ac_executable_p="test -x"
11725 ac_executable_p="test -f"
11729 # Extract the first word of "msgfmt", so it can be a program name with args.
11730 set dummy msgfmt; ac_word=$2
11731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11732 $as_echo_n "checking for $ac_word... " >&6; }
11733 if test "${ac_cv_path_MSGFMT+set}" = set; then :
11734 $as_echo_n "(cached) " >&6
11738 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
11741 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11742 for ac_dir in $PATH; do
11744 test -z "$ac_dir" && ac_dir=.
11745 for ac_exec_ext in '' $ac_executable_extensions; do
11746 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11747 echo "$as_me: trying $ac_dir/$ac_word..." >&5
11748 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
11749 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11750 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
11757 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
11761 MSGFMT="$ac_cv_path_MSGFMT"
11762 if test "$MSGFMT" != ":"; then
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11764 $as_echo "$MSGFMT" >&6; }
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11767 $as_echo "no" >&6; }
11770 # Extract the first word of "gmsgfmt", so it can be a program name with args.
11771 set dummy gmsgfmt; ac_word=$2
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11773 $as_echo_n "checking for $ac_word... " >&6; }
11774 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
11775 $as_echo_n "(cached) " >&6
11779 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
11782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11783 for as_dir in $PATH
11786 test -z "$as_dir" && as_dir=.
11787 for ac_exec_ext in '' $ac_executable_extensions; do
11788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11789 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
11790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11797 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
11801 GMSGFMT=$ac_cv_path_GMSGFMT
11802 if test -n "$GMSGFMT"; then
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11804 $as_echo "$GMSGFMT" >&6; }
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11807 $as_echo "no" >&6; }
11812 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
11813 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
11814 *) MSGFMT_015=$MSGFMT ;;
11817 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
11818 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
11819 *) GMSGFMT_015=$GMSGFMT ;;
11824 # Prepare PATH_SEPARATOR.
11825 # The user is always right.
11826 if test "${PATH_SEPARATOR+set}" != set; then
11827 echo "#! /bin/sh" >conf$$.sh
11828 echo "exit 0" >>conf$$.sh
11830 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11838 # Find out how to test for executable files. Don't use a zero-byte file,
11839 # as systems may use methods other than mode bits to determine executability.
11840 cat >conf$$.file <<_ASEOF
11844 chmod +x conf$$.file
11845 if test -x conf$$.file >/dev/null 2>&1; then
11846 ac_executable_p="test -x"
11848 ac_executable_p="test -f"
11852 # Extract the first word of "xgettext", so it can be a program name with args.
11853 set dummy xgettext; ac_word=$2
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11855 $as_echo_n "checking for $ac_word... " >&6; }
11856 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
11857 $as_echo_n "(cached) " >&6
11859 case "$XGETTEXT" in
11861 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
11864 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11865 for ac_dir in $PATH; do
11867 test -z "$ac_dir" && ac_dir=.
11868 for ac_exec_ext in '' $ac_executable_extensions; do
11869 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11870 echo "$as_me: trying $ac_dir/$ac_word..." >&5
11871 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
11872 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11873 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
11880 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
11884 XGETTEXT="$ac_cv_path_XGETTEXT"
11885 if test "$XGETTEXT" != ":"; then
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
11887 $as_echo "$XGETTEXT" >&6; }
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11890 $as_echo "no" >&6; }
11895 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
11896 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
11897 *) XGETTEXT_015=$XGETTEXT ;;
11902 # Prepare PATH_SEPARATOR.
11903 # The user is always right.
11904 if test "${PATH_SEPARATOR+set}" != set; then
11905 echo "#! /bin/sh" >conf$$.sh
11906 echo "exit 0" >>conf$$.sh
11908 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11916 # Find out how to test for executable files. Don't use a zero-byte file,
11917 # as systems may use methods other than mode bits to determine executability.
11918 cat >conf$$.file <<_ASEOF
11922 chmod +x conf$$.file
11923 if test -x conf$$.file >/dev/null 2>&1; then
11924 ac_executable_p="test -x"
11926 ac_executable_p="test -f"
11930 # Extract the first word of "msgmerge", so it can be a program name with args.
11931 set dummy msgmerge; ac_word=$2
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11933 $as_echo_n "checking for $ac_word... " >&6; }
11934 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
11935 $as_echo_n "(cached) " >&6
11937 case "$MSGMERGE" in
11939 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
11942 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11943 for ac_dir in $PATH; do
11945 test -z "$ac_dir" && ac_dir=.
11946 for ac_exec_ext in '' $ac_executable_extensions; do
11947 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11948 echo "$as_me: trying $ac_dir/$ac_word..." >&5
11949 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
11950 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
11957 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
11961 MSGMERGE="$ac_cv_path_MSGMERGE"
11962 if test "$MSGMERGE" != ":"; then
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
11964 $as_echo "$MSGMERGE" >&6; }
11966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11967 $as_echo "no" >&6; }
11971 test -n "$localedir" || localedir='${datadir}/locale'
11974 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
11977 ac_config_commands="$ac_config_commands po-directories"
11981 if test "X$prefix" = "XNONE"; then
11982 acl_final_prefix="$ac_default_prefix"
11984 acl_final_prefix="$prefix"
11986 if test "X$exec_prefix" = "XNONE"; then
11987 acl_final_exec_prefix='${prefix}'
11989 acl_final_exec_prefix="$exec_prefix"
11991 acl_save_prefix="$prefix"
11992 prefix="$acl_final_prefix"
11993 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
11994 prefix="$acl_save_prefix"
11997 # Check whether --with-gnu-ld was given.
11998 if test "${with_gnu_ld+set}" = set; then :
11999 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12004 # Prepare PATH_SEPARATOR.
12005 # The user is always right.
12006 if test "${PATH_SEPARATOR+set}" != set; then
12007 echo "#! /bin/sh" >conf$$.sh
12008 echo "exit 0" >>conf$$.sh
12010 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12018 if test "$GCC" = yes; then
12019 # Check if gcc -print-prog-name=ld gives a path.
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
12021 $as_echo_n "checking for ld used by GCC... " >&6; }
12024 # gcc leaves a trailing carriage return which upsets mingw
12025 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12027 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12030 # Accept absolute paths.
12031 [\\/]* | [A-Za-z]:[\\/]*)
12032 re_direlt='/[^/][^/]*/\.\./'
12033 # Canonicalize the path of ld
12034 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
12035 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12036 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
12038 test -z "$LD" && LD="$ac_prog"
12041 # If it fails, then pretend we aren't using GCC.
12045 # If it is relative, then search for the first ld in PATH.
12046 with_gnu_ld=unknown
12049 elif test "$with_gnu_ld" = yes; then
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12051 $as_echo_n "checking for GNU ld... " >&6; }
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12054 $as_echo_n "checking for non-GNU ld... " >&6; }
12056 if test "${acl_cv_path_LD+set}" = set; then :
12057 $as_echo_n "(cached) " >&6
12059 if test -z "$LD"; then
12060 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
12061 for ac_dir in $PATH; do
12062 test -z "$ac_dir" && ac_dir=.
12063 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12064 acl_cv_path_LD="$ac_dir/$ac_prog"
12065 # Check to see if the program is GNU ld. I'd rather use --version,
12066 # but apparently some GNU ld's only accept -v.
12067 # Break only if it was the GNU/non-GNU ld that we prefer.
12068 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
12069 *GNU* | *'with BFD'*)
12070 test "$with_gnu_ld" != no && break ;;
12072 test "$with_gnu_ld" != yes && break ;;
12078 acl_cv_path_LD="$LD" # Let the user override the test with a path.
12082 LD="$acl_cv_path_LD"
12083 if test -n "$LD"; then
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12085 $as_echo "$LD" >&6; }
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12088 $as_echo "no" >&6; }
12090 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12092 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12093 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
12094 $as_echo_n "(cached) " >&6
12096 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
12097 case `$LD -v 2>&1 </dev/null` in
12098 *GNU* | *'with BFD'*)
12099 acl_cv_prog_gnu_ld=yes ;;
12101 acl_cv_prog_gnu_ld=no ;;
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
12105 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
12106 with_gnu_ld=$acl_cv_prog_gnu_ld
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
12112 $as_echo_n "checking for shared library run path origin... " >&6; }
12113 if test "${acl_cv_rpath+set}" = set; then :
12114 $as_echo_n "(cached) " >&6
12117 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
12118 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
12120 rm -f ./conftest.sh
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
12125 $as_echo "$acl_cv_rpath" >&6; }
12127 acl_libext="$acl_cv_libext"
12128 acl_shlibext="$acl_cv_shlibext"
12129 acl_libname_spec="$acl_cv_libname_spec"
12130 acl_library_names_spec="$acl_cv_library_names_spec"
12131 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
12132 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
12133 acl_hardcode_direct="$acl_cv_hardcode_direct"
12134 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
12135 # Check whether --enable-rpath was given.
12136 if test "${enable_rpath+set}" = set; then :
12137 enableval=$enable_rpath; :
12145 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
12146 if test -n "$searchpath"; then
12147 acl_save_IFS="${IFS= }"; IFS=":"
12148 for searchdir in $searchpath; do
12149 if test -d "$searchdir"; then
12150 case "$searchdir" in
12151 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
12152 *) searchdir=`cd "$searchdir" && pwd`
12153 case "$searchdir" in
12154 */lib64 ) acl_libdirstem=lib64 ;;
12159 IFS="$acl_save_IFS"
12172 acl_save_prefix="$prefix"
12173 prefix="$acl_final_prefix"
12174 acl_save_exec_prefix="$exec_prefix"
12175 exec_prefix="$acl_final_exec_prefix"
12177 eval additional_includedir=\"$includedir\"
12178 eval additional_libdir=\"$libdir\"
12180 exec_prefix="$acl_save_exec_prefix"
12181 prefix="$acl_save_prefix"
12184 # Check whether --with-libiconv-prefix was given.
12185 if test "${with_libiconv_prefix+set}" = set; then :
12186 withval=$with_libiconv_prefix;
12187 if test "X$withval" = "Xno"; then
12190 if test "X$withval" = "X"; then
12192 acl_save_prefix="$prefix"
12193 prefix="$acl_final_prefix"
12194 acl_save_exec_prefix="$exec_prefix"
12195 exec_prefix="$acl_final_exec_prefix"
12197 eval additional_includedir=\"$includedir\"
12198 eval additional_libdir=\"$libdir\"
12200 exec_prefix="$acl_save_exec_prefix"
12201 prefix="$acl_save_prefix"
12204 additional_includedir="$withval/include"
12205 additional_libdir="$withval/$acl_libdirstem"
12217 names_already_handled=
12218 names_next_round='iconv '
12219 while test -n "$names_next_round"; do
12220 names_this_round="$names_next_round"
12222 for name in $names_this_round; do
12224 for n in $names_already_handled; do
12225 if test "$n" = "$name"; then
12226 already_handled=yes
12230 if test -z "$already_handled"; then
12231 names_already_handled="$names_already_handled $name"
12232 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
12233 eval value=\"\$HAVE_LIB$uppername\"
12234 if test -n "$value"; then
12235 if test "$value" = yes; then
12236 eval value=\"\$LIB$uppername\"
12237 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
12238 eval value=\"\$LTLIB$uppername\"
12239 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
12248 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
12249 if test -n "$acl_shlibext"; then
12250 shrext=".$acl_shlibext" # typically: shrext=.so
12254 if test $use_additional = yes; then
12255 dir="$additional_libdir"
12256 if test -n "$acl_shlibext"; then
12257 if test -f "$dir/$libname$shrext"; then
12259 found_so="$dir/$libname$shrext"
12261 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
12262 ver=`(cd "$dir" && \
12263 for f in "$libname$shrext".*; do echo "$f"; done \
12264 | sed -e "s,^$libname$shrext\\\\.,," \
12265 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
12266 | sed 1q ) 2>/dev/null`
12267 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
12269 found_so="$dir/$libname$shrext.$ver"
12272 eval library_names=\"$acl_library_names_spec\"
12273 for f in $library_names; do
12274 if test -f "$dir/$f"; then
12283 if test "X$found_dir" = "X"; then
12284 if test -f "$dir/$libname.$acl_libext"; then
12286 found_a="$dir/$libname.$acl_libext"
12289 if test "X$found_dir" != "X"; then
12290 if test -f "$dir/$libname.la"; then
12291 found_la="$dir/$libname.la"
12295 if test "X$found_dir" = "X"; then
12296 for x in $LDFLAGS $LTLIBICONV; do
12298 acl_save_prefix="$prefix"
12299 prefix="$acl_final_prefix"
12300 acl_save_exec_prefix="$exec_prefix"
12301 exec_prefix="$acl_final_exec_prefix"
12303 exec_prefix="$acl_save_exec_prefix"
12304 prefix="$acl_save_prefix"
12308 dir=`echo "X$x" | sed -e 's/^X-L//'`
12309 if test -n "$acl_shlibext"; then
12310 if test -f "$dir/$libname$shrext"; then
12312 found_so="$dir/$libname$shrext"
12314 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
12315 ver=`(cd "$dir" && \
12316 for f in "$libname$shrext".*; do echo "$f"; done \
12317 | sed -e "s,^$libname$shrext\\\\.,," \
12318 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
12319 | sed 1q ) 2>/dev/null`
12320 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
12322 found_so="$dir/$libname$shrext.$ver"
12325 eval library_names=\"$acl_library_names_spec\"
12326 for f in $library_names; do
12327 if test -f "$dir/$f"; then
12336 if test "X$found_dir" = "X"; then
12337 if test -f "$dir/$libname.$acl_libext"; then
12339 found_a="$dir/$libname.$acl_libext"
12342 if test "X$found_dir" != "X"; then
12343 if test -f "$dir/$libname.la"; then
12344 found_la="$dir/$libname.la"
12349 if test "X$found_dir" != "X"; then
12354 if test "X$found_dir" != "X"; then
12355 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
12356 if test "X$found_so" != "X"; then
12357 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
12358 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12361 for x in $ltrpathdirs; do
12362 if test "X$x" = "X$found_dir"; then
12367 if test -z "$haveit"; then
12368 ltrpathdirs="$ltrpathdirs $found_dir"
12370 if test "$acl_hardcode_direct" = yes; then
12371 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12373 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
12374 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12376 for x in $rpathdirs; do
12377 if test "X$x" = "X$found_dir"; then
12382 if test -z "$haveit"; then
12383 rpathdirs="$rpathdirs $found_dir"
12387 for x in $LDFLAGS $LIBICONV; do
12389 acl_save_prefix="$prefix"
12390 prefix="$acl_final_prefix"
12391 acl_save_exec_prefix="$exec_prefix"
12392 exec_prefix="$acl_final_exec_prefix"
12394 exec_prefix="$acl_save_exec_prefix"
12395 prefix="$acl_save_prefix"
12397 if test "X$x" = "X-L$found_dir"; then
12402 if test -z "$haveit"; then
12403 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
12405 if test "$acl_hardcode_minus_L" != no; then
12406 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12408 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
12414 if test "X$found_a" != "X"; then
12415 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
12417 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
12420 additional_includedir=
12421 case "$found_dir" in
12422 */$acl_libdirstem | */$acl_libdirstem/)
12423 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
12424 LIBICONV_PREFIX="$basedir"
12425 additional_includedir="$basedir/include"
12428 if test "X$additional_includedir" != "X"; then
12429 if test "X$additional_includedir" != "X/usr/include"; then
12431 if test "X$additional_includedir" = "X/usr/local/include"; then
12432 if test -n "$GCC"; then
12434 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
12438 if test -z "$haveit"; then
12439 for x in $CPPFLAGS $INCICONV; do
12441 acl_save_prefix="$prefix"
12442 prefix="$acl_final_prefix"
12443 acl_save_exec_prefix="$exec_prefix"
12444 exec_prefix="$acl_final_exec_prefix"
12446 exec_prefix="$acl_save_exec_prefix"
12447 prefix="$acl_save_prefix"
12449 if test "X$x" = "X-I$additional_includedir"; then
12454 if test -z "$haveit"; then
12455 if test -d "$additional_includedir"; then
12456 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
12462 if test -n "$found_la"; then
12463 save_libdir="$libdir"
12464 case "$found_la" in
12465 */* | *\\*) . "$found_la" ;;
12466 *) . "./$found_la" ;;
12468 libdir="$save_libdir"
12469 for dep in $dependency_libs; do
12472 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
12473 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
12475 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
12476 if test -n "$GCC"; then
12478 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
12482 if test -z "$haveit"; then
12484 for x in $LDFLAGS $LIBICONV; do
12486 acl_save_prefix="$prefix"
12487 prefix="$acl_final_prefix"
12488 acl_save_exec_prefix="$exec_prefix"
12489 exec_prefix="$acl_final_exec_prefix"
12491 exec_prefix="$acl_save_exec_prefix"
12492 prefix="$acl_save_prefix"
12494 if test "X$x" = "X-L$additional_libdir"; then
12499 if test -z "$haveit"; then
12500 if test -d "$additional_libdir"; then
12501 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
12505 for x in $LDFLAGS $LTLIBICONV; do
12507 acl_save_prefix="$prefix"
12508 prefix="$acl_final_prefix"
12509 acl_save_exec_prefix="$exec_prefix"
12510 exec_prefix="$acl_final_exec_prefix"
12512 exec_prefix="$acl_save_exec_prefix"
12513 prefix="$acl_save_prefix"
12515 if test "X$x" = "X-L$additional_libdir"; then
12520 if test -z "$haveit"; then
12521 if test -d "$additional_libdir"; then
12522 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
12529 dir=`echo "X$dep" | sed -e 's/^X-R//'`
12530 if test "$enable_rpath" != no; then
12532 for x in $rpathdirs; do
12533 if test "X$x" = "X$dir"; then
12538 if test -z "$haveit"; then
12539 rpathdirs="$rpathdirs $dir"
12542 for x in $ltrpathdirs; do
12543 if test "X$x" = "X$dir"; then
12548 if test -z "$haveit"; then
12549 ltrpathdirs="$ltrpathdirs $dir"
12554 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
12557 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
12560 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
12561 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
12567 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
12568 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
12574 if test "X$rpathdirs" != "X"; then
12575 if test -n "$acl_hardcode_libdir_separator"; then
12577 for found_dir in $rpathdirs; do
12578 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
12580 acl_save_libdir="$libdir"
12582 eval flag=\"$acl_hardcode_libdir_flag_spec\"
12583 libdir="$acl_save_libdir"
12584 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
12586 for found_dir in $rpathdirs; do
12587 acl_save_libdir="$libdir"
12588 libdir="$found_dir"
12589 eval flag=\"$acl_hardcode_libdir_flag_spec\"
12590 libdir="$acl_save_libdir"
12591 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
12595 if test "X$ltrpathdirs" != "X"; then
12596 for found_dir in $ltrpathdirs; do
12597 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
12626 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
12627 if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
12628 $as_echo_n "(cached) " >&6
12630 gt_save_LIBS="$LIBS"
12631 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
12632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12633 /* end confdefs.h. */
12634 #include <CoreFoundation/CFPreferences.h>
12638 CFPreferencesCopyAppValue(NULL, NULL)
12643 if ac_fn_c_try_link "$LINENO"; then :
12644 gt_cv_func_CFPreferencesCopyAppValue=yes
12646 gt_cv_func_CFPreferencesCopyAppValue=no
12648 rm -f core conftest.err conftest.$ac_objext \
12649 conftest$ac_exeext conftest.$ac_ext
12650 LIBS="$gt_save_LIBS"
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
12653 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
12654 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
12656 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
12659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
12660 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
12661 if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
12662 $as_echo_n "(cached) " >&6
12664 gt_save_LIBS="$LIBS"
12665 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
12666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12667 /* end confdefs.h. */
12668 #include <CoreFoundation/CFLocale.h>
12672 CFLocaleCopyCurrent();
12677 if ac_fn_c_try_link "$LINENO"; then :
12678 gt_cv_func_CFLocaleCopyCurrent=yes
12680 gt_cv_func_CFLocaleCopyCurrent=no
12682 rm -f core conftest.err conftest.$ac_objext \
12683 conftest$ac_exeext conftest.$ac_ext
12684 LIBS="$gt_save_LIBS"
12686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
12687 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
12688 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
12690 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
12694 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
12695 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
12707 case " $gt_needs " in
12708 *" need-formatstring-macros "*) gt_api_version=3 ;;
12709 *" need-ngettext "*) gt_api_version=2 ;;
12710 *) gt_api_version=1 ;;
12712 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
12713 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
12715 if test "$USE_NLS" = "yes"; then
12716 gt_use_preinstalled_gnugettext=no
12719 if test $gt_api_version -ge 3; then
12720 gt_revision_test_code='
12721 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
12722 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
12724 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
12727 gt_revision_test_code=
12729 if test $gt_api_version -ge 2; then
12730 gt_expression_test_code=' + * ngettext ("", "", 0)'
12732 gt_expression_test_code=
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
12736 $as_echo_n "checking for GNU gettext in libc... " >&6; }
12737 if eval "test \"\${$gt_func_gnugettext_libc+set}\"" = set; then :
12738 $as_echo_n "(cached) " >&6
12740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12741 /* end confdefs.h. */
12742 #include <libintl.h>
12743 $gt_revision_test_code
12744 extern int _nl_msg_cat_cntr;
12745 extern int *_nl_domain_bindings;
12749 bindtextdomain ("", "");
12750 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
12755 if ac_fn_c_try_link "$LINENO"; then :
12756 eval "$gt_func_gnugettext_libc=yes"
12758 eval "$gt_func_gnugettext_libc=no"
12760 rm -f core conftest.err conftest.$ac_objext \
12761 conftest$ac_exeext conftest.$ac_ext
12763 eval ac_res=\$$gt_func_gnugettext_libc
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12765 $as_echo "$ac_res" >&6; }
12767 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
12773 am_save_CPPFLAGS="$CPPFLAGS"
12775 for element in $INCICONV; do
12777 for x in $CPPFLAGS; do
12779 acl_save_prefix="$prefix"
12780 prefix="$acl_final_prefix"
12781 acl_save_exec_prefix="$exec_prefix"
12782 exec_prefix="$acl_final_exec_prefix"
12784 exec_prefix="$acl_save_exec_prefix"
12785 prefix="$acl_save_prefix"
12787 if test "X$x" = "X$element"; then
12792 if test -z "$haveit"; then
12793 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
12799 $as_echo_n "checking for iconv... " >&6; }
12800 if test "${am_cv_func_iconv+set}" = set; then :
12801 $as_echo_n "(cached) " >&6
12804 am_cv_func_iconv="no, consider installing GNU libiconv"
12806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12807 /* end confdefs.h. */
12808 #include <stdlib.h>
12813 iconv_t cd = iconv_open("","");
12814 iconv(cd,NULL,NULL,NULL,NULL);
12820 if ac_fn_c_try_link "$LINENO"; then :
12821 am_cv_func_iconv=yes
12823 rm -f core conftest.err conftest.$ac_objext \
12824 conftest$ac_exeext conftest.$ac_ext
12825 if test "$am_cv_func_iconv" != yes; then
12826 am_save_LIBS="$LIBS"
12827 LIBS="$LIBS $LIBICONV"
12828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12829 /* end confdefs.h. */
12830 #include <stdlib.h>
12835 iconv_t cd = iconv_open("","");
12836 iconv(cd,NULL,NULL,NULL,NULL);
12842 if ac_fn_c_try_link "$LINENO"; then :
12843 am_cv_lib_iconv=yes
12844 am_cv_func_iconv=yes
12846 rm -f core conftest.err conftest.$ac_objext \
12847 conftest$ac_exeext conftest.$ac_ext
12848 LIBS="$am_save_LIBS"
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
12853 $as_echo "$am_cv_func_iconv" >&6; }
12854 if test "$am_cv_func_iconv" = yes; then
12855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
12856 $as_echo_n "checking for working iconv... " >&6; }
12857 if test "${am_cv_func_iconv_works+set}" = set; then :
12858 $as_echo_n "(cached) " >&6
12861 am_save_LIBS="$LIBS"
12862 if test $am_cv_lib_iconv = yes; then
12863 LIBS="$LIBS $LIBICONV"
12865 if test "$cross_compiling" = yes; then :
12867 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
12868 *) am_cv_func_iconv_works="guessing yes" ;;
12871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12872 /* end confdefs.h. */
12875 #include <string.h>
12878 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
12881 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
12882 if (cd_utf8_to_88591 != (iconv_t)(-1))
12884 static const char input[] = "\342\202\254"; /* EURO SIGN */
12886 const char *inptr = input;
12887 size_t inbytesleft = strlen (input);
12888 char *outptr = buf;
12889 size_t outbytesleft = sizeof (buf);
12890 size_t res = iconv (cd_utf8_to_88591,
12891 (char **) &inptr, &inbytesleft,
12892 &outptr, &outbytesleft);
12897 #if 0 /* This bug could be worked around by the caller. */
12898 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
12900 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
12901 if (cd_88591_to_utf8 != (iconv_t)(-1))
12903 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
12905 const char *inptr = input;
12906 size_t inbytesleft = strlen (input);
12907 char *outptr = buf;
12908 size_t outbytesleft = sizeof (buf);
12909 size_t res = iconv (cd_88591_to_utf8,
12910 (char **) &inptr, &inbytesleft,
12911 &outptr, &outbytesleft);
12917 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
12919 if (/* Try standardized names. */
12920 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
12921 /* Try IRIX, OSF/1 names. */
12922 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
12923 /* Try AIX names. */
12924 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
12925 /* Try HP-UX names. */
12926 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
12931 if ac_fn_c_try_run "$LINENO"; then :
12932 am_cv_func_iconv_works=yes
12934 am_cv_func_iconv_works=no
12936 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12937 conftest.$ac_objext conftest.beam conftest.$ac_ext
12940 LIBS="$am_save_LIBS"
12943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
12944 $as_echo "$am_cv_func_iconv_works" >&6; }
12945 case "$am_cv_func_iconv_works" in
12946 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
12947 *) am_func_iconv=yes ;;
12950 am_func_iconv=no am_cv_lib_iconv=no
12952 if test "$am_func_iconv" = yes; then
12954 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
12957 if test "$am_cv_lib_iconv" = yes; then
12958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
12959 $as_echo_n "checking how to link with libiconv... " >&6; }
12960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
12961 $as_echo "$LIBICONV" >&6; }
12963 CPPFLAGS="$am_save_CPPFLAGS"
12977 acl_save_prefix="$prefix"
12978 prefix="$acl_final_prefix"
12979 acl_save_exec_prefix="$exec_prefix"
12980 exec_prefix="$acl_final_exec_prefix"
12982 eval additional_includedir=\"$includedir\"
12983 eval additional_libdir=\"$libdir\"
12985 exec_prefix="$acl_save_exec_prefix"
12986 prefix="$acl_save_prefix"
12989 # Check whether --with-libintl-prefix was given.
12990 if test "${with_libintl_prefix+set}" = set; then :
12991 withval=$with_libintl_prefix;
12992 if test "X$withval" = "Xno"; then
12995 if test "X$withval" = "X"; then
12997 acl_save_prefix="$prefix"
12998 prefix="$acl_final_prefix"
12999 acl_save_exec_prefix="$exec_prefix"
13000 exec_prefix="$acl_final_exec_prefix"
13002 eval additional_includedir=\"$includedir\"
13003 eval additional_libdir=\"$libdir\"
13005 exec_prefix="$acl_save_exec_prefix"
13006 prefix="$acl_save_prefix"
13009 additional_includedir="$withval/include"
13010 additional_libdir="$withval/$acl_libdirstem"
13022 names_already_handled=
13023 names_next_round='intl '
13024 while test -n "$names_next_round"; do
13025 names_this_round="$names_next_round"
13027 for name in $names_this_round; do
13029 for n in $names_already_handled; do
13030 if test "$n" = "$name"; then
13031 already_handled=yes
13035 if test -z "$already_handled"; then
13036 names_already_handled="$names_already_handled $name"
13037 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13038 eval value=\"\$HAVE_LIB$uppername\"
13039 if test -n "$value"; then
13040 if test "$value" = yes; then
13041 eval value=\"\$LIB$uppername\"
13042 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
13043 eval value=\"\$LTLIB$uppername\"
13044 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
13053 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
13054 if test -n "$acl_shlibext"; then
13055 shrext=".$acl_shlibext" # typically: shrext=.so
13059 if test $use_additional = yes; then
13060 dir="$additional_libdir"
13061 if test -n "$acl_shlibext"; then
13062 if test -f "$dir/$libname$shrext"; then
13064 found_so="$dir/$libname$shrext"
13066 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13067 ver=`(cd "$dir" && \
13068 for f in "$libname$shrext".*; do echo "$f"; done \
13069 | sed -e "s,^$libname$shrext\\\\.,," \
13070 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13071 | sed 1q ) 2>/dev/null`
13072 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13074 found_so="$dir/$libname$shrext.$ver"
13077 eval library_names=\"$acl_library_names_spec\"
13078 for f in $library_names; do
13079 if test -f "$dir/$f"; then
13088 if test "X$found_dir" = "X"; then
13089 if test -f "$dir/$libname.$acl_libext"; then
13091 found_a="$dir/$libname.$acl_libext"
13094 if test "X$found_dir" != "X"; then
13095 if test -f "$dir/$libname.la"; then
13096 found_la="$dir/$libname.la"
13100 if test "X$found_dir" = "X"; then
13101 for x in $LDFLAGS $LTLIBINTL; do
13103 acl_save_prefix="$prefix"
13104 prefix="$acl_final_prefix"
13105 acl_save_exec_prefix="$exec_prefix"
13106 exec_prefix="$acl_final_exec_prefix"
13108 exec_prefix="$acl_save_exec_prefix"
13109 prefix="$acl_save_prefix"
13113 dir=`echo "X$x" | sed -e 's/^X-L//'`
13114 if test -n "$acl_shlibext"; then
13115 if test -f "$dir/$libname$shrext"; then
13117 found_so="$dir/$libname$shrext"
13119 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13120 ver=`(cd "$dir" && \
13121 for f in "$libname$shrext".*; do echo "$f"; done \
13122 | sed -e "s,^$libname$shrext\\\\.,," \
13123 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13124 | sed 1q ) 2>/dev/null`
13125 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13127 found_so="$dir/$libname$shrext.$ver"
13130 eval library_names=\"$acl_library_names_spec\"
13131 for f in $library_names; do
13132 if test -f "$dir/$f"; then
13141 if test "X$found_dir" = "X"; then
13142 if test -f "$dir/$libname.$acl_libext"; then
13144 found_a="$dir/$libname.$acl_libext"
13147 if test "X$found_dir" != "X"; then
13148 if test -f "$dir/$libname.la"; then
13149 found_la="$dir/$libname.la"
13154 if test "X$found_dir" != "X"; then
13159 if test "X$found_dir" != "X"; then
13160 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
13161 if test "X$found_so" != "X"; then
13162 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
13163 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13166 for x in $ltrpathdirs; do
13167 if test "X$x" = "X$found_dir"; then
13172 if test -z "$haveit"; then
13173 ltrpathdirs="$ltrpathdirs $found_dir"
13175 if test "$acl_hardcode_direct" = yes; then
13176 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13178 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
13179 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13181 for x in $rpathdirs; do
13182 if test "X$x" = "X$found_dir"; then
13187 if test -z "$haveit"; then
13188 rpathdirs="$rpathdirs $found_dir"
13192 for x in $LDFLAGS $LIBINTL; do
13194 acl_save_prefix="$prefix"
13195 prefix="$acl_final_prefix"
13196 acl_save_exec_prefix="$exec_prefix"
13197 exec_prefix="$acl_final_exec_prefix"
13199 exec_prefix="$acl_save_exec_prefix"
13200 prefix="$acl_save_prefix"
13202 if test "X$x" = "X-L$found_dir"; then
13207 if test -z "$haveit"; then
13208 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
13210 if test "$acl_hardcode_minus_L" != no; then
13211 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13213 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
13219 if test "X$found_a" != "X"; then
13220 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
13222 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
13225 additional_includedir=
13226 case "$found_dir" in
13227 */$acl_libdirstem | */$acl_libdirstem/)
13228 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
13229 LIBINTL_PREFIX="$basedir"
13230 additional_includedir="$basedir/include"
13233 if test "X$additional_includedir" != "X"; then
13234 if test "X$additional_includedir" != "X/usr/include"; then
13236 if test "X$additional_includedir" = "X/usr/local/include"; then
13237 if test -n "$GCC"; then
13239 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13243 if test -z "$haveit"; then
13244 for x in $CPPFLAGS $INCINTL; do
13246 acl_save_prefix="$prefix"
13247 prefix="$acl_final_prefix"
13248 acl_save_exec_prefix="$exec_prefix"
13249 exec_prefix="$acl_final_exec_prefix"
13251 exec_prefix="$acl_save_exec_prefix"
13252 prefix="$acl_save_prefix"
13254 if test "X$x" = "X-I$additional_includedir"; then
13259 if test -z "$haveit"; then
13260 if test -d "$additional_includedir"; then
13261 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
13267 if test -n "$found_la"; then
13268 save_libdir="$libdir"
13269 case "$found_la" in
13270 */* | *\\*) . "$found_la" ;;
13271 *) . "./$found_la" ;;
13273 libdir="$save_libdir"
13274 for dep in $dependency_libs; do
13277 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
13278 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
13280 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
13281 if test -n "$GCC"; then
13283 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13287 if test -z "$haveit"; then
13289 for x in $LDFLAGS $LIBINTL; do
13291 acl_save_prefix="$prefix"
13292 prefix="$acl_final_prefix"
13293 acl_save_exec_prefix="$exec_prefix"
13294 exec_prefix="$acl_final_exec_prefix"
13296 exec_prefix="$acl_save_exec_prefix"
13297 prefix="$acl_save_prefix"
13299 if test "X$x" = "X-L$additional_libdir"; then
13304 if test -z "$haveit"; then
13305 if test -d "$additional_libdir"; then
13306 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
13310 for x in $LDFLAGS $LTLIBINTL; do
13312 acl_save_prefix="$prefix"
13313 prefix="$acl_final_prefix"
13314 acl_save_exec_prefix="$exec_prefix"
13315 exec_prefix="$acl_final_exec_prefix"
13317 exec_prefix="$acl_save_exec_prefix"
13318 prefix="$acl_save_prefix"
13320 if test "X$x" = "X-L$additional_libdir"; then
13325 if test -z "$haveit"; then
13326 if test -d "$additional_libdir"; then
13327 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
13334 dir=`echo "X$dep" | sed -e 's/^X-R//'`
13335 if test "$enable_rpath" != no; then
13337 for x in $rpathdirs; do
13338 if test "X$x" = "X$dir"; then
13343 if test -z "$haveit"; then
13344 rpathdirs="$rpathdirs $dir"
13347 for x in $ltrpathdirs; do
13348 if test "X$x" = "X$dir"; then
13353 if test -z "$haveit"; then
13354 ltrpathdirs="$ltrpathdirs $dir"
13359 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13362 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13365 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
13366 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
13372 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
13373 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
13379 if test "X$rpathdirs" != "X"; then
13380 if test -n "$acl_hardcode_libdir_separator"; then
13382 for found_dir in $rpathdirs; do
13383 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
13385 acl_save_libdir="$libdir"
13387 eval flag=\"$acl_hardcode_libdir_flag_spec\"
13388 libdir="$acl_save_libdir"
13389 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
13391 for found_dir in $rpathdirs; do
13392 acl_save_libdir="$libdir"
13393 libdir="$found_dir"
13394 eval flag=\"$acl_hardcode_libdir_flag_spec\"
13395 libdir="$acl_save_libdir"
13396 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
13400 if test "X$ltrpathdirs" != "X"; then
13401 for found_dir in $ltrpathdirs; do
13402 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
13406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
13407 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
13408 if eval "test \"\${$gt_func_gnugettext_libintl+set}\"" = set; then :
13409 $as_echo_n "(cached) " >&6
13411 gt_save_CPPFLAGS="$CPPFLAGS"
13412 CPPFLAGS="$CPPFLAGS $INCINTL"
13413 gt_save_LIBS="$LIBS"
13414 LIBS="$LIBS $LIBINTL"
13415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13416 /* end confdefs.h. */
13417 #include <libintl.h>
13418 $gt_revision_test_code
13419 extern int _nl_msg_cat_cntr;
13424 const char *_nl_expand_alias (const char *);
13428 bindtextdomain ("", "");
13429 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
13434 if ac_fn_c_try_link "$LINENO"; then :
13435 eval "$gt_func_gnugettext_libintl=yes"
13437 eval "$gt_func_gnugettext_libintl=no"
13439 rm -f core conftest.err conftest.$ac_objext \
13440 conftest$ac_exeext conftest.$ac_ext
13441 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
13442 LIBS="$LIBS $LIBICONV"
13443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13444 /* end confdefs.h. */
13445 #include <libintl.h>
13446 $gt_revision_test_code
13447 extern int _nl_msg_cat_cntr;
13452 const char *_nl_expand_alias (const char *);
13456 bindtextdomain ("", "");
13457 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
13462 if ac_fn_c_try_link "$LINENO"; then :
13463 LIBINTL="$LIBINTL $LIBICONV"
13464 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
13465 eval "$gt_func_gnugettext_libintl=yes"
13468 rm -f core conftest.err conftest.$ac_objext \
13469 conftest$ac_exeext conftest.$ac_ext
13471 CPPFLAGS="$gt_save_CPPFLAGS"
13472 LIBS="$gt_save_LIBS"
13474 eval ac_res=\$$gt_func_gnugettext_libintl
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13476 $as_echo "$ac_res" >&6; }
13479 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
13480 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
13481 && test "$PACKAGE" != gettext-runtime \
13482 && test "$PACKAGE" != gettext-tools; }; then
13483 gt_use_preinstalled_gnugettext=yes
13492 if test -n "$INTL_MACOSX_LIBS"; then
13493 if test "$gt_use_preinstalled_gnugettext" = "yes" \
13494 || test "$nls_cv_use_gnu_gettext" = "yes"; then
13495 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
13496 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
13500 if test "$gt_use_preinstalled_gnugettext" = "yes" \
13501 || test "$nls_cv_use_gnu_gettext" = "yes"; then
13503 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
13510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
13511 $as_echo_n "checking whether to use NLS... " >&6; }
13512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13513 $as_echo "$USE_NLS" >&6; }
13514 if test "$USE_NLS" = "yes"; then
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
13516 $as_echo_n "checking where the gettext function comes from... " >&6; }
13517 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13518 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
13519 gt_source="external libintl"
13524 gt_source="included intl directory"
13526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
13527 $as_echo "$gt_source" >&6; }
13530 if test "$USE_NLS" = "yes"; then
13532 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13533 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
13535 $as_echo_n "checking how to link with libintl... " >&6; }
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
13537 $as_echo "$LIBINTL" >&6; }
13539 for element in $INCINTL; do
13541 for x in $CPPFLAGS; do
13543 acl_save_prefix="$prefix"
13544 prefix="$acl_final_prefix"
13545 acl_save_exec_prefix="$exec_prefix"
13546 exec_prefix="$acl_final_exec_prefix"
13548 exec_prefix="$acl_save_exec_prefix"
13549 prefix="$acl_save_prefix"
13551 if test "X$x" = "X$element"; then
13556 if test -z "$haveit"; then
13557 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
13564 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
13567 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
13576 INTLLIBS="$LIBINTL"
13584 if test "$USE_NLS" = "yes"; then
13585 GETTEXT_PACKAGE=gstreamer-$GST_MAJORMINOR
13587 GETTEXT_PACKAGE=NULL
13591 cat >>confdefs.h <<_ACEOF
13592 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
13598 FROM_VAR=$datadir/locale
13600 prefix_save=$prefix
13601 exec_prefix_save=$exec_prefix
13603 if test "x$prefix" = "xNONE"; then
13604 prefix="$ac_default_prefix"
13606 if test "x$exec_prefix" = "xNONE"; then
13607 exec_prefix=$prefix
13610 full_var="$FROM_VAR"
13612 new_full_var="`eval echo $full_var`"
13613 if test "x$new_full_var" = "x$full_var"; then break; fi
13614 full_var=$new_full_var
13617 full_var=$new_full_var
13618 LOCALEDIR="$full_var"
13621 prefix=$prefix_save
13622 exec_prefix=$exec_prefix_save
13625 cat >>confdefs.h <<_ACEOF
13626 #define LOCALEDIR "$LOCALEDIR"
13635 # Check whether --enable-gst-debug was given.
13636 if test "${enable_gst_debug+set}" = set; then :
13637 enableval=$enable_gst_debug;
13638 case "${enableval}" in
13639 yes) GST_DISABLE_GST_DEBUG=no ;;
13640 no) GST_DISABLE_GST_DEBUG=yes ;;
13641 *) as_fn_error $? "bad value ${enableval} for --enable-gst-debug" "$LINENO" 5 ;;
13645 GST_DISABLE_GST_DEBUG=no
13648 if test x$GST_DISABLE_GST_DEBUG = xyes; then
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: disabled subsystem debugging subsystem" >&5
13650 $as_echo "$as_me: disabled subsystem debugging subsystem" >&6;}
13651 GST_DISABLE_GST_DEBUG_DEFINE="#define GST_DISABLE_GST_DEBUG 1"
13653 GST_DISABLE_GST_DEBUG_DEFINE="/* #undef GST_DISABLE_GST_DEBUG */"
13658 if test "x$GST_DISABLE_GST_DEBUG" = "xyes"; then
13659 GST_DISABLE_GST_DEBUG_TRUE=
13660 GST_DISABLE_GST_DEBUG_FALSE='#'
13662 GST_DISABLE_GST_DEBUG_TRUE='#'
13663 GST_DISABLE_GST_DEBUG_FALSE=
13669 # Check whether --enable-loadsave was given.
13670 if test "${enable_loadsave+set}" = set; then :
13671 enableval=$enable_loadsave;
13672 case "${enableval}" in
13673 yes) GST_DISABLE_LOADSAVE=no ;;
13674 no) GST_DISABLE_LOADSAVE=yes ;;
13675 *) as_fn_error $? "bad value ${enableval} for --enable-loadsave" "$LINENO" 5 ;;
13679 GST_DISABLE_LOADSAVE=no
13682 if test x$GST_DISABLE_LOADSAVE = xyes; then
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: disabled subsystem pipeline XML load/save" >&5
13684 $as_echo "$as_me: disabled subsystem pipeline XML load/save" >&6;}
13685 GST_DISABLE_LOADSAVE_DEFINE="#define GST_DISABLE_LOADSAVE 1"
13687 GST_DISABLE_LOADSAVE_DEFINE="/* #undef GST_DISABLE_LOADSAVE */"
13692 if test "x$GST_DISABLE_LOADSAVE" = "xyes"; then
13693 GST_DISABLE_LOADSAVE_TRUE=
13694 GST_DISABLE_LOADSAVE_FALSE='#'
13696 GST_DISABLE_LOADSAVE_TRUE='#'
13697 GST_DISABLE_LOADSAVE_FALSE=
13700 if test "x$GST_DISABLE_LOADSAVE" = "xyes"
13702 GST_LOADSAVE_DOC_TYPES="%"
13704 GST_LOADSAVE_DOC_TYPES=
13710 # Check whether --enable-parse was given.
13711 if test "${enable_parse+set}" = set; then :
13712 enableval=$enable_parse;
13713 case "${enableval}" in
13714 yes) GST_DISABLE_PARSE=no ;;
13715 no) GST_DISABLE_PARSE=yes ;;
13716 *) as_fn_error $? "bad value ${enableval} for --enable-parse" "$LINENO" 5 ;;
13720 GST_DISABLE_PARSE=no
13723 if test x$GST_DISABLE_PARSE = xyes; then
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: disabled subsystem command-line parser" >&5
13725 $as_echo "$as_me: disabled subsystem command-line parser" >&6;}
13726 GST_DISABLE_PARSE_DEFINE="#define GST_DISABLE_PARSE 1"
13728 GST_DISABLE_PARSE_DEFINE="/* #undef GST_DISABLE_PARSE */"
13733 if test "x$GST_DISABLE_PARSE" = "xyes"; then
13734 GST_DISABLE_PARSE_TRUE=
13735 GST_DISABLE_PARSE_FALSE='#'
13737 GST_DISABLE_PARSE_TRUE='#'
13738 GST_DISABLE_PARSE_FALSE=
13741 if test "x$GST_DISABLE_PARSE" = xyes; then
13743 $as_echo "#define GST_DISABLE_PARSE 1" >>confdefs.h
13749 # Check whether --enable-option-parsing was given.
13750 if test "${enable_option_parsing+set}" = set; then :
13751 enableval=$enable_option_parsing;
13752 case "${enableval}" in
13753 yes) GST_DISABLE_OPTION_PARSING=no ;;
13754 no) GST_DISABLE_OPTION_PARSING=yes ;;
13755 *) as_fn_error $? "bad value ${enableval} for --enable-option-parsing" "$LINENO" 5 ;;
13759 GST_DISABLE_OPTION_PARSING=no
13762 if test x$GST_DISABLE_OPTION_PARSING = xyes; then
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: disabled subsystem option parsing when gst_init" >&5
13764 $as_echo "$as_me: disabled subsystem option parsing when gst_init" >&6;}
13765 GST_DISABLE_OPTION_PARSING_DEFINE="#define GST_DISABLE_OPTION_PARSING 1"
13767 GST_DISABLE_OPTION_PARSING_DEFINE="/* #undef GST_DISABLE_OPTION_PARSING */"
13772 if test "x$GST_DISABLE_OPTION_PARSING" = "xyes"; then
13773 GST_DISABLE_OPTION_PARSING_TRUE=
13774 GST_DISABLE_OPTION_PARSING_FALSE='#'
13776 GST_DISABLE_OPTION_PARSING_TRUE='#'
13777 GST_DISABLE_OPTION_PARSING_FALSE=
13780 if test "x$GST_DISABLE_OPTION_PARSING" = xyes; then
13782 $as_echo "#define GST_DISABLE_OPTION_PARSING 1" >>confdefs.h
13788 # Check whether --enable-trace was given.
13789 if test "${enable_trace+set}" = set; then :
13790 enableval=$enable_trace;
13791 case "${enableval}" in
13792 yes) GST_DISABLE_TRACE=no ;;
13793 no) GST_DISABLE_TRACE=yes ;;
13794 *) as_fn_error $? "bad value ${enableval} for --enable-trace" "$LINENO" 5 ;;
13798 GST_DISABLE_TRACE=no
13801 if test x$GST_DISABLE_TRACE = xyes; then
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: disabled subsystem tracing subsystem" >&5
13803 $as_echo "$as_me: disabled subsystem tracing subsystem" >&6;}
13804 GST_DISABLE_TRACE_DEFINE="#define GST_DISABLE_TRACE 1"
13806 GST_DISABLE_TRACE_DEFINE="/* #undef GST_DISABLE_TRACE */"
13811 if test "x$GST_DISABLE_TRACE" = "xyes"; then
13812 GST_DISABLE_TRACE_TRUE=
13813 GST_DISABLE_TRACE_FALSE='#'
13815 GST_DISABLE_TRACE_TRUE='#'
13816 GST_DISABLE_TRACE_FALSE=
13822 # Check whether --enable-alloc-trace was given.
13823 if test "${enable_alloc_trace+set}" = set; then :
13824 enableval=$enable_alloc_trace;
13825 case "${enableval}" in
13826 yes) GST_DISABLE_ALLOC_TRACE=no ;;
13827 no) GST_DISABLE_ALLOC_TRACE=yes ;;
13828 *) as_fn_error $? "bad value ${enableval} for --enable-alloc-trace" "$LINENO" 5 ;;
13832 GST_DISABLE_ALLOC_TRACE=no
13835 if test x$GST_DISABLE_ALLOC_TRACE = xyes; then
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: disabled subsystem allocation tracing" >&5
13837 $as_echo "$as_me: disabled subsystem allocation tracing" >&6;}
13838 GST_DISABLE_ALLOC_TRACE_DEFINE="#define GST_DISABLE_ALLOC_TRACE 1"
13840 GST_DISABLE_ALLOC_TRACE_DEFINE="/* #undef GST_DISABLE_ALLOC_TRACE */"
13845 if test "x$GST_DISABLE_ALLOC_TRACE" = "xyes"; then
13846 GST_DISABLE_ALLOC_TRACE_TRUE=
13847 GST_DISABLE_ALLOC_TRACE_FALSE='#'
13849 GST_DISABLE_ALLOC_TRACE_TRUE='#'
13850 GST_DISABLE_ALLOC_TRACE_FALSE=
13856 # Check whether --enable-registry was given.
13857 if test "${enable_registry+set}" = set; then :
13858 enableval=$enable_registry;
13859 case "${enableval}" in
13860 yes) GST_DISABLE_REGISTRY=no ;;
13861 no) GST_DISABLE_REGISTRY=yes ;;
13862 *) as_fn_error $? "bad value ${enableval} for --enable-registry" "$LINENO" 5 ;;
13866 GST_DISABLE_REGISTRY=no
13869 if test x$GST_DISABLE_REGISTRY = xyes; then
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: disabled subsystem plugin registry" >&5
13871 $as_echo "$as_me: disabled subsystem plugin registry" >&6;}
13872 GST_DISABLE_REGISTRY_DEFINE="#define GST_DISABLE_REGISTRY 1"
13874 GST_DISABLE_REGISTRY_DEFINE="/* #undef GST_DISABLE_REGISTRY */"
13879 if test "x$GST_DISABLE_REGISTRY" = "xyes"; then
13880 GST_DISABLE_REGISTRY_TRUE=
13881 GST_DISABLE_REGISTRY_FALSE='#'
13883 GST_DISABLE_REGISTRY_TRUE='#'
13884 GST_DISABLE_REGISTRY_FALSE=
13887 if test "x$GST_DISABLE_REGISTRY" = "xyes"
13889 GST_REGISTRY_DOC_TYPES="%"
13891 GST_REGISTRY_DOC_TYPES=
13897 # Check whether --enable-net was given.
13898 if test "${enable_net+set}" = set; then :
13899 enableval=$enable_net;
13900 case "${enableval}" in
13901 yes) GST_DISABLE_NET=no ;;
13902 no) GST_DISABLE_NET=yes ;;
13903 *) as_fn_error $? "bad value ${enableval} for --enable-net" "$LINENO" 5 ;;
13910 if test x$GST_DISABLE_NET = xyes; then
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: disabled subsystem network distribution" >&5
13912 $as_echo "$as_me: disabled subsystem network distribution" >&6;}
13913 GST_DISABLE_NET_DEFINE="#define GST_DISABLE_NET 1"
13915 GST_DISABLE_NET_DEFINE="/* #undef GST_DISABLE_NET */"
13920 if test "x$GST_DISABLE_NET" = "xyes"; then
13921 GST_DISABLE_NET_TRUE=
13922 GST_DISABLE_NET_FALSE='#'
13924 GST_DISABLE_NET_TRUE='#'
13925 GST_DISABLE_NET_FALSE=
13931 # Check whether --enable-plugin was given.
13932 if test "${enable_plugin+set}" = set; then :
13933 enableval=$enable_plugin;
13934 case "${enableval}" in
13935 yes) GST_DISABLE_PLUGIN=no ;;
13936 no) GST_DISABLE_PLUGIN=yes ;;
13937 *) as_fn_error $? "bad value ${enableval} for --enable-plugin" "$LINENO" 5 ;;
13941 GST_DISABLE_PLUGIN=no
13944 if test x$GST_DISABLE_PLUGIN = xyes; then
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: disabled subsystem plugin" >&5
13946 $as_echo "$as_me: disabled subsystem plugin" >&6;}
13947 GST_DISABLE_PLUGIN_DEFINE="#define GST_DISABLE_PLUGIN 1"
13949 GST_DISABLE_PLUGIN_DEFINE="/* #undef GST_DISABLE_PLUGIN */"
13954 if test "x$GST_DISABLE_PLUGIN" = "xyes"; then
13955 GST_DISABLE_PLUGIN_TRUE=
13956 GST_DISABLE_PLUGIN_FALSE='#'
13958 GST_DISABLE_PLUGIN_TRUE='#'
13959 GST_DISABLE_PLUGIN_FALSE=
13964 # Check whether --enable-debug was given.
13965 if test "${enable_debug+set}" = set; then :
13966 enableval=$enable_debug;
13967 case "${enableval}" in
13968 yes) USE_DEBUG=yes ;;
13969 no) USE_DEBUG=no ;;
13970 *) as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
13978 # Check whether --enable-profiling was given.
13979 if test "${enable_profiling+set}" = set; then :
13980 enableval=$enable_profiling;
13981 case "${enableval}" in
13982 yes) USE_PROFILING=yes ;;
13983 no) USE_PROFILING=no ;;
13984 *) as_fn_error $? "bad value ${enableval} for --enable-profiling" "$LINENO" 5 ;;
13993 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13994 if test -n "$ac_tool_prefix"; then
13995 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13996 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13998 $as_echo_n "checking for $ac_word... " >&6; }
13999 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
14000 $as_echo_n "(cached) " >&6
14002 case $PKG_CONFIG in
14004 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14008 for as_dir in $PATH
14011 test -z "$as_dir" && as_dir=.
14012 for ac_exec_ext in '' $ac_executable_extensions; do
14013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14014 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14025 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14026 if test -n "$PKG_CONFIG"; then
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14028 $as_echo "$PKG_CONFIG" >&6; }
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14031 $as_echo "no" >&6; }
14036 if test -z "$ac_cv_path_PKG_CONFIG"; then
14037 ac_pt_PKG_CONFIG=$PKG_CONFIG
14038 # Extract the first word of "pkg-config", so it can be a program name with args.
14039 set dummy pkg-config; ac_word=$2
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14041 $as_echo_n "checking for $ac_word... " >&6; }
14042 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
14043 $as_echo_n "(cached) " >&6
14045 case $ac_pt_PKG_CONFIG in
14047 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14051 for as_dir in $PATH
14054 test -z "$as_dir" && as_dir=.
14055 for ac_exec_ext in '' $ac_executable_extensions; do
14056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14057 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14068 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14069 if test -n "$ac_pt_PKG_CONFIG"; then
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14071 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14074 $as_echo "no" >&6; }
14077 if test "x$ac_pt_PKG_CONFIG" = x; then
14080 case $cross_compiling:$ac_tool_warned in
14082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14083 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14084 ac_tool_warned=yes ;;
14086 PKG_CONFIG=$ac_pt_PKG_CONFIG
14089 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14093 if test -n "$PKG_CONFIG"; then
14094 _pkg_min_version=0.9.0
14095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14096 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14097 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14099 $as_echo "yes" >&6; }
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14102 $as_echo "no" >&6; }
14108 # Check whether --enable-valgrind was given.
14109 if test "${enable_valgrind+set}" = set; then :
14110 enableval=$enable_valgrind;
14111 case "${enableval}" in
14112 yes) USE_VALGRIND="$USE_DEBUG" ;;
14113 no) USE_VALGRIND=no ;;
14114 *) as_fn_error $? "bad value ${enableval} for --enable-valgrind" "$LINENO" 5 ;;
14118 USE_VALGRIND="$USE_DEBUG"
14121 if test "x$USE_VALGRIND" = xyes; then
14124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
14125 $as_echo_n "checking for VALGRIND... " >&6; }
14127 if test -n "$PKG_CONFIG"; then
14128 if test -n "$VALGRIND_CFLAGS"; then
14129 pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS"
14131 if test -n "$PKG_CONFIG" && \
14132 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
14133 ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
14135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14136 test $ac_status = 0; }; then
14137 pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind >= $VALGRIND_REQ" 2>/dev/null`
14145 if test -n "$PKG_CONFIG"; then
14146 if test -n "$VALGRIND_LIBS"; then
14147 pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS"
14149 if test -n "$PKG_CONFIG" && \
14150 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
14151 ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
14153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14154 test $ac_status = 0; }; then
14155 pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind >= $VALGRIND_REQ" 2>/dev/null`
14166 if test $pkg_failed = yes; then
14168 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14169 _pkg_short_errors_supported=yes
14171 _pkg_short_errors_supported=no
14173 if test $_pkg_short_errors_supported = yes; then
14174 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
14176 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
14178 # Put the nasty error message in config.log where it belongs
14179 echo "$VALGRIND_PKG_ERRORS" >&5
14181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14182 $as_echo "no" >&6; }
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14186 $as_echo "no" >&6; }
14188 elif test $pkg_failed = untried; then
14191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14192 $as_echo "no" >&6; }
14195 VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS
14196 VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS
14197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14198 $as_echo "yes" >&6; }
14202 if test "x$USE_VALGRIND" = xyes; then
14204 $as_echo "#define HAVE_VALGRIND 1" >>confdefs.h
14206 { $as_echo "$as_me:${as_lineno-$LINENO}: Using extra code paths for valgrind" >&5
14207 $as_echo "$as_me: Using extra code paths for valgrind" >&6;}
14211 # Check whether --enable-gcov was given.
14212 if test "${enable_gcov+set}" = set; then :
14213 enableval=$enable_gcov; enable_gcov=$enableval
14218 if test x$enable_gcov = xyes ; then
14219 if test "x$GCC" != "xyes"
14221 as_fn_error $? "gcov only works if gcc is used" "$LINENO" 5
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-fprofile-arcs\"" >&5
14226 $as_echo_n "checking to see if compiler understands \"-fprofile-arcs\"... " >&6; }
14228 save_CFLAGS="$CFLAGS"
14229 CFLAGS="$CFLAGS "-fprofile-arcs""
14231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14232 /* end confdefs.h. */
14242 if ac_fn_c_try_compile "$LINENO"; then :
14247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14248 CFLAGS="$save_CFLAGS"
14250 if test "X$flag_ok" = Xyes ; then
14251 GCOV_CFLAGS="$GCOV_CFLAGS -fprofile-arcs"
14257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
14258 $as_echo "$flag_ok" >&6; }
14261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-ftest-coverage\"" >&5
14262 $as_echo_n "checking to see if compiler understands \"-ftest-coverage\"... " >&6; }
14264 save_CFLAGS="$CFLAGS"
14265 CFLAGS="$CFLAGS "-ftest-coverage""
14267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14268 /* end confdefs.h. */
14278 if ac_fn_c_try_compile "$LINENO"; then :
14283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14284 CFLAGS="$save_CFLAGS"
14286 if test "X$flag_ok" = Xyes ; then
14287 GCOV_CFLAGS="$GCOV_CFLAGS -ftest-coverage"
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
14294 $as_echo "$flag_ok" >&6; }
14296 GCOV_CFLAGS=`echo "$GCOV_CFLAGS" | sed -e 's/-O[0-9]*//g'`
14300 GCOV=`echo $CC | sed s/gcc/gcov/g`
14303 GST_GCOV_ENABLED=yes
14305 cat >>confdefs.h <<_ACEOF
14306 #define GST_GCOV_ENABLED 1
14309 if test "x$GST_GCOV_ENABLED" = "xyes"
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&5
14320 $as_echo "$as_me: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&6;}
14323 if test x$enable_gcov = xyes; then
14324 GST_GCOV_ENABLED_TRUE=
14325 GST_GCOV_ENABLED_FALSE='#'
14327 GST_GCOV_ENABLED_TRUE='#'
14328 GST_GCOV_ENABLED_FALSE=
14334 # Check whether --enable-examples was given.
14335 if test "${enable_examples+set}" = set; then :
14336 enableval=$enable_examples;
14337 case "${enableval}" in
14338 yes) BUILD_EXAMPLES=yes ;;
14339 no) BUILD_EXAMPLES=no ;;
14340 *) as_fn_error $? "bad value ${enableval} for --disable-examples" "$LINENO" 5 ;;
14346 if test "x$BUILD_EXAMPLES" = "xyes"; then
14347 BUILD_EXAMPLES_TRUE=
14348 BUILD_EXAMPLES_FALSE='#'
14350 BUILD_EXAMPLES_TRUE='#'
14351 BUILD_EXAMPLES_FALSE=
14358 # Check whether --with-pkg-config-path was given.
14359 if test "${with_pkg_config_path+set}" = set; then :
14360 withval=$with_pkg_config_path;
14361 export PKG_CONFIG_PATH=${withval}
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&5
14363 $as_echo "$as_me: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&6;}
14370 # Check whether --with-package-name was given.
14371 if test "${with_package_name+set}" = set; then :
14372 withval=$with_package_name;
14373 case "${withval}" in
14374 yes) as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5 ;;
14375 no) as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5 ;;
14376 *) GST_PACKAGE_NAME="${withval}" ;;
14382 if test "x$P" = "x"
14387 if test "x$PACKAGE_VERSION_NANO" = "x0"
14389 GST_PACKAGE_NAME="$P source release"
14391 if test "x$PACKAGE_VERSION_NANO" = "x1"
14393 GST_PACKAGE_NAME="$P git"
14395 GST_PACKAGE_NAME="$P prerelease"
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_NAME as package name" >&5
14403 $as_echo "$as_me: Using $GST_PACKAGE_NAME as package name" >&6;}
14405 cat >>confdefs.h <<_ACEOF
14406 #define GST_PACKAGE_NAME "$GST_PACKAGE_NAME"
14413 # Check whether --with-package-origin was given.
14414 if test "${with_package_origin+set}" = set; then :
14415 withval=$with_package_origin;
14416 case "${withval}" in
14417 yes) as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5 ;;
14418 no) as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5 ;;
14419 *) GST_PACKAGE_ORIGIN="${withval}" ;;
14423 GST_PACKAGE_ORIGIN="Unknown package origin"
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_ORIGIN as package origin" >&5
14427 $as_echo "$as_me: Using $GST_PACKAGE_ORIGIN as package origin" >&6;}
14429 cat >>confdefs.h <<_ACEOF
14430 #define GST_PACKAGE_ORIGIN "$GST_PACKAGE_ORIGIN"
14437 GST_PKG_CONFIG_PATH="\$(top_builddir)/pkgconfig"
14438 if test "x$PKG_CONFIG_PATH" != "x"; then
14439 GST_PKG_CONFIG_PATH="$GST_PKG_CONFIG_PATH:$PKG_CONFIG_PATH"
14442 { $as_echo "$as_me:${as_lineno-$LINENO}: Using GST_PKG_CONFIG_PATH = $GST_PKG_CONFIG_PATH" >&5
14443 $as_echo "$as_me: Using GST_PKG_CONFIG_PATH = $GST_PKG_CONFIG_PATH" >&6;}
14447 if test "x$PACKAGE_VERSION_NANO" = "x0"; then
14449 if test "xyes" = "xno" -o "xyes" = "x"; then
14450 GST_PACKAGE_RELEASE_DATETIME=`date -u "+%Y-%m-%dT%H:%MZ"`
14451 elif test "xyes" = "xyes"; then
14452 if ( echo yes | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
14453 GST_PACKAGE_RELEASE_DATETIME=yes
14455 YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file" $PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO "${srcdir}/gstreamer.doap" `;
14456 if test "x$YYYY_MM_DD" != "x"; then
14457 GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
14459 as_fn_error $? "SET_PACKAGE_RELEASE_DATETIME: could not extract
14460 release date for release version $PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO from \"${srcdir}/gstreamer.doap\" " "$LINENO" 5
14461 GST_PACKAGE_RELEASE_DATETIME=""
14464 elif ( echo yes | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
14465 GST_PACKAGE_RELEASE_DATETIME=yes
14467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&5
14468 $as_echo "$as_me: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&2;}
14469 GST_PACKAGE_RELEASE_DATETIME=""
14472 if test "x$GST_PACKAGE_RELEASE_DATETIME" = "x"; then
14473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&5
14474 $as_echo "$as_me: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&2;}
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&5
14477 $as_echo "$as_me: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&6;}
14480 cat >>confdefs.h <<_ACEOF
14481 #define GST_PACKAGE_RELEASE_DATETIME "$GST_PACKAGE_RELEASE_DATETIME"
14488 if test "xno" = "xno" -o "xno" = "x"; then
14489 GST_PACKAGE_RELEASE_DATETIME=`date -u "+%Y-%m-%dT%H:%MZ"`
14490 elif test "xno" = "xyes"; then
14491 if ( echo no | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
14492 GST_PACKAGE_RELEASE_DATETIME=no
14494 YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file" `;
14495 if test "x$YYYY_MM_DD" != "x"; then
14496 GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
14498 as_fn_error $? "SET_PACKAGE_RELEASE_DATETIME: could not extract
14499 release date for release version from " "$LINENO" 5
14500 GST_PACKAGE_RELEASE_DATETIME=""
14503 elif ( echo no | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
14504 GST_PACKAGE_RELEASE_DATETIME=no
14506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&5
14507 $as_echo "$as_me: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&2;}
14508 GST_PACKAGE_RELEASE_DATETIME=""
14511 if test "x$GST_PACKAGE_RELEASE_DATETIME" = "x"; then
14512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&5
14513 $as_echo "$as_me: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&2;}
14515 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&5
14516 $as_echo "$as_me: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&6;}
14519 cat >>confdefs.h <<_ACEOF
14520 #define GST_PACKAGE_RELEASE_DATETIME "$GST_PACKAGE_RELEASE_DATETIME"
14528 # Check whether --enable-tests was given.
14529 if test "${enable_tests+set}" = set; then :
14530 enableval=$enable_tests;
14531 case "${enableval}" in
14532 yes) BUILD_TESTS=yes ;;
14533 no) BUILD_TESTS=no ;;
14534 *) as_fn_error $? "bad value ${enableval} for --disable-tests" "$LINENO" 5 ;;
14540 if test "x$BUILD_TESTS" = "xyes"; then
14542 BUILD_TESTS_FALSE='#'
14544 BUILD_TESTS_TRUE='#'
14549 # Check whether --enable-failing-tests was given.
14550 if test "${enable_failing_tests+set}" = set; then :
14551 enableval=$enable_failing_tests;
14552 case "${enableval}" in
14553 yes) BUILD_FAILING_TESTS=yes ;;
14554 no) BUILD_FAILING_TESTS=no ;;
14555 *) as_fn_error $? "bad value ${enableval} for --disable-failing-tests" "$LINENO" 5 ;;
14559 BUILD_FAILING_TESTS=no
14561 if test "x$BUILD_FAILING_TESTS" = "xyes"; then
14562 BUILD_FAILING_TESTS_TRUE=
14563 BUILD_FAILING_TESTS_FALSE='#'
14565 BUILD_FAILING_TESTS_TRUE='#'
14566 BUILD_FAILING_TESTS_FALSE=
14569 if test x$BUILD_FAILING_TESTS = xyes; then
14570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: building tests known to fail, use --disable-failing-tests to disable" >&5
14571 $as_echo "$as_me: WARNING: building tests known to fail, use --disable-failing-tests to disable" >&2;}
14573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sissy ! By asking to not build the tests known to fail, you hereby waive your right to customer support. If you do not agree with this EULA, please press Ctrl-C before the next line is printed. By allowing the next line to be printed, you expressly acknowledge your acceptance of this EULA." >&5
14574 $as_echo "$as_me: WARNING: Sissy ! By asking to not build the tests known to fail, you hereby waive your right to customer support. If you do not agree with this EULA, please press Ctrl-C before the next line is printed. By allowing the next line to be printed, you expressly acknowledge your acceptance of this EULA." >&2;}
14577 # Check whether --enable-poisoning was given.
14578 if test "${enable_poisoning+set}" = set; then :
14579 enableval=$enable_poisoning;
14580 case "${enableval}" in
14581 yes) USE_POISONING=yes ;;
14582 no) USE_POISONING=no ;;
14583 *) as_fn_error $? "bad value ${enableval} for --enable-poisoning" "$LINENO" 5 ;;
14589 if test "x$USE_POISONING" = xyes; then
14591 $as_echo "#define USE_POISONING 1" >>confdefs.h
14599 case "x${host_cpu}" in
14600 xi?86 | xk? | xi?86_64)
14603 ac_fn_c_check_decl "$LINENO" "__i386" "ac_cv_have_decl___i386" "$ac_includes_default"
14604 if test "x$ac_cv_have_decl___i386" = x""yes; then :
14610 ac_fn_c_check_decl "$LINENO" "__amd64" "ac_cv_have_decl___amd64" "$ac_includes_default"
14611 if test "x$ac_cv_have_decl___amd64" = x""yes; then :
14618 if test "x$I386_ABI" = "xyes" ; then
14621 $as_echo "#define HAVE_CPU_I386 1" >>confdefs.h
14624 if test "x$AMD64_ABI" = "xyes" ; then
14625 HAVE_CPU_X86_64=yes
14627 $as_echo "#define HAVE_CPU_X86_64 1" >>confdefs.h
14634 $as_echo "#define HAVE_CPU_I386 1" >>confdefs.h
14637 case "x${host_cpu}" in
14641 $as_echo "#define HAVE_RDTSC 1" >>confdefs.h
14650 $as_echo "#define HAVE_CPU_PPC 1" >>confdefs.h
14655 $as_echo "#define HAVE_CPU_PPC64 1" >>confdefs.h
14660 $as_echo "#define HAVE_CPU_ALPHA 1" >>confdefs.h
14665 $as_echo "#define HAVE_CPU_ARM 1" >>confdefs.h
14670 $as_echo "#define HAVE_CPU_SPARC 1" >>confdefs.h
14675 $as_echo "#define HAVE_CPU_MIPS 1" >>confdefs.h
14680 $as_echo "#define HAVE_CPU_HPPA 1" >>confdefs.h
14685 $as_echo "#define HAVE_CPU_S390 1" >>confdefs.h
14690 $as_echo "#define HAVE_CPU_IA64 1" >>confdefs.h
14695 $as_echo "#define HAVE_CPU_M68K 1" >>confdefs.h
14698 HAVE_CPU_X86_64=yes
14700 $as_echo "#define HAVE_CPU_X86_64 1" >>confdefs.h
14705 $as_echo "#define HAVE_CPU_CRIS 1" >>confdefs.h
14708 HAVE_CPU_CRISV32=yes
14710 $as_echo "#define HAVE_CPU_CRISV32 1" >>confdefs.h
14714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
14715 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
14716 if test "${ac_cv_c_bigendian+set}" = set; then :
14717 $as_echo_n "(cached) " >&6
14719 ac_cv_c_bigendian=unknown
14720 # See if we're dealing with a universal compiler.
14721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14722 /* end confdefs.h. */
14723 #ifndef __APPLE_CC__
14724 not a universal capable compiler
14729 if ac_fn_c_try_compile "$LINENO"; then :
14731 # Check for potential -arch flags. It is not universal unless
14732 # there are at least two -arch flags with different values.
14735 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
14736 if test -n "$ac_prev"; then
14738 i?86 | x86_64 | ppc | ppc64)
14739 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
14742 ac_cv_c_bigendian=universal
14748 elif test "x$ac_word" = "x-arch"; then
14753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14754 if test $ac_cv_c_bigendian = unknown; then
14755 # See if sys/param.h defines the BYTE_ORDER macro.
14756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14757 /* end confdefs.h. */
14758 #include <sys/types.h>
14759 #include <sys/param.h>
14764 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
14765 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
14767 bogus endian macros
14774 if ac_fn_c_try_compile "$LINENO"; then :
14775 # It does; now see whether it defined to BIG_ENDIAN or not.
14776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14777 /* end confdefs.h. */
14778 #include <sys/types.h>
14779 #include <sys/param.h>
14784 #if BYTE_ORDER != BIG_ENDIAN
14792 if ac_fn_c_try_compile "$LINENO"; then :
14793 ac_cv_c_bigendian=yes
14795 ac_cv_c_bigendian=no
14797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14801 if test $ac_cv_c_bigendian = unknown; then
14802 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
14803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14804 /* end confdefs.h. */
14805 #include <limits.h>
14810 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
14811 bogus endian macros
14818 if ac_fn_c_try_compile "$LINENO"; then :
14819 # It does; now see whether it defined to _BIG_ENDIAN or not.
14820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14821 /* end confdefs.h. */
14822 #include <limits.h>
14827 #ifndef _BIG_ENDIAN
14835 if ac_fn_c_try_compile "$LINENO"; then :
14836 ac_cv_c_bigendian=yes
14838 ac_cv_c_bigendian=no
14840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14844 if test $ac_cv_c_bigendian = unknown; then
14845 # Compile a test program.
14846 if test "$cross_compiling" = yes; then :
14847 # Try to guess by grepping values from an object file.
14848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14849 /* end confdefs.h. */
14850 short int ascii_mm[] =
14851 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
14852 short int ascii_ii[] =
14853 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
14854 int use_ascii (int i) {
14855 return ascii_mm[i] + ascii_ii[i];
14857 short int ebcdic_ii[] =
14858 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
14859 short int ebcdic_mm[] =
14860 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
14861 int use_ebcdic (int i) {
14862 return ebcdic_mm[i] + ebcdic_ii[i];
14869 return use_ascii (foo) == use_ebcdic (foo);
14874 if ac_fn_c_try_compile "$LINENO"; then :
14875 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
14876 ac_cv_c_bigendian=yes
14878 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
14879 if test "$ac_cv_c_bigendian" = unknown; then
14880 ac_cv_c_bigendian=no
14882 # finding both strings is unlikely to happen, but who knows?
14883 ac_cv_c_bigendian=unknown
14887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14890 /* end confdefs.h. */
14891 $ac_includes_default
14896 /* Are we little or big endian? From Harbison&Steele. */
14900 char c[sizeof (long int)];
14903 return u.c[sizeof (long int) - 1] == 1;
14909 if ac_fn_c_try_run "$LINENO"; then :
14910 ac_cv_c_bigendian=no
14912 ac_cv_c_bigendian=yes
14914 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14915 conftest.$ac_objext conftest.beam conftest.$ac_ext
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
14921 $as_echo "$ac_cv_c_bigendian" >&6; }
14922 case $ac_cv_c_bigendian in #(
14924 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
14930 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
14934 as_fn_error $? "unknown endianness
14935 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
14939 if test "x$HAVE_CPU_I386" = "xyes"; then
14940 HAVE_CPU_I386_TRUE=
14941 HAVE_CPU_I386_FALSE='#'
14943 HAVE_CPU_I386_TRUE='#'
14944 HAVE_CPU_I386_FALSE=
14947 if test "x$HAVE_CPU_PPC" = "xyes"; then
14949 HAVE_CPU_PPC_FALSE='#'
14951 HAVE_CPU_PPC_TRUE='#'
14952 HAVE_CPU_PPC_FALSE=
14955 if test "x$HAVE_CPU_PPC64" = "xyes"; then
14956 HAVE_CPU_PPC64_TRUE=
14957 HAVE_CPU_PPC64_FALSE='#'
14959 HAVE_CPU_PPC64_TRUE='#'
14960 HAVE_CPU_PPC64_FALSE=
14963 if test "x$HAVE_CPU_ALPHA" = "xyes"; then
14964 HAVE_CPU_ALPHA_TRUE=
14965 HAVE_CPU_ALPHA_FALSE='#'
14967 HAVE_CPU_ALPHA_TRUE='#'
14968 HAVE_CPU_ALPHA_FALSE=
14971 if test "x$HAVE_CPU_ARM" = "xyes"; then
14973 HAVE_CPU_ARM_FALSE='#'
14975 HAVE_CPU_ARM_TRUE='#'
14976 HAVE_CPU_ARM_FALSE=
14979 if test "x$HAVE_CPU_SPARC" = "xyes"; then
14980 HAVE_CPU_SPARC_TRUE=
14981 HAVE_CPU_SPARC_FALSE='#'
14983 HAVE_CPU_SPARC_TRUE='#'
14984 HAVE_CPU_SPARC_FALSE=
14987 if test "x$HAVE_CPU_HPPA" = "xyes"; then
14988 HAVE_CPU_HPPA_TRUE=
14989 HAVE_CPU_HPPA_FALSE='#'
14991 HAVE_CPU_HPPA_TRUE='#'
14992 HAVE_CPU_HPPA_FALSE=
14995 if test "x$HAVE_CPU_MIPS" = "xyes"; then
14996 HAVE_CPU_MIPS_TRUE=
14997 HAVE_CPU_MIPS_FALSE='#'
14999 HAVE_CPU_MIPS_TRUE='#'
15000 HAVE_CPU_MIPS_FALSE=
15003 if test "x$HAVE_CPU_S390" = "xyes"; then
15004 HAVE_CPU_S390_TRUE=
15005 HAVE_CPU_S390_FALSE='#'
15007 HAVE_CPU_S390_TRUE='#'
15008 HAVE_CPU_S390_FALSE=
15011 if test "x$HAVE_CPU_IA64" = "xyes"; then
15012 HAVE_CPU_IA64_TRUE=
15013 HAVE_CPU_IA64_FALSE='#'
15015 HAVE_CPU_IA64_TRUE='#'
15016 HAVE_CPU_IA64_FALSE=
15019 if test "x$HAVE_CPU_M68K" = "xyes"; then
15020 HAVE_CPU_M68K_TRUE=
15021 HAVE_CPU_M68K_FALSE='#'
15023 HAVE_CPU_M68K_TRUE='#'
15024 HAVE_CPU_M68K_FALSE=
15027 if test "x$HAVE_CPU_X86_64" = "xyes"; then
15028 HAVE_CPU_X86_64_TRUE=
15029 HAVE_CPU_X86_64_FALSE='#'
15031 HAVE_CPU_X86_64_TRUE='#'
15032 HAVE_CPU_X86_64_FALSE=
15035 if test "x$HAVE_CPU_CRIS" = "xyes"; then
15036 HAVE_CPU_CRIS_TRUE=
15037 HAVE_CPU_CRIS_FALSE='#'
15039 HAVE_CPU_CRIS_TRUE='#'
15040 HAVE_CPU_CRIS_FALSE=
15043 if test "x$HAVE_CPU_CRISV32" = "xyes"; then
15044 HAVE_CPU_CRISV32_TRUE=
15045 HAVE_CPU_CRISV32_FALSE='#'
15047 HAVE_CPU_CRISV32_TRUE='#'
15048 HAVE_CPU_CRISV32_FALSE=
15053 cat >>confdefs.h <<_ACEOF
15054 #define HOST_CPU "$host_cpu"
15062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if unaligned memory access works correctly" >&5
15063 $as_echo_n "checking if unaligned memory access works correctly... " >&6; }
15064 if test x"$as_cv_unaligned_access" = x ; then
15066 alpha*|arm*|hp*|mips*|sh*|sparc*|ia64*)
15067 $as_echo_n "(blacklisted) " >&6
15068 as_cv_unaligned_access=no
15070 i?86*|x86_64*|amd64*|powerpc*|m68k*|cris*)
15071 $as_echo_n "(whitelisted) " >&6
15072 as_cv_unaligned_access=yes
15076 $as_echo_n "(cached) " >&6
15078 if test x"$as_cv_unaligned_access" = x ; then
15079 if test "$cross_compiling" = yes; then :
15080 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15081 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15082 as_fn_error $? "cannot run test program while cross compiling
15083 See \`config.log' for more details" "$LINENO" 5 ; }
15085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15086 /* end confdefs.h. */
15088 int main(int argc, char **argv)
15090 char array[] = "ABCDEFGH";
15091 unsigned int iarray[2];
15092 memcpy(iarray,array,8);
15093 #define GET(x) (*(unsigned int *)((char *)iarray + (x)))
15094 if(GET(0) != 0x41424344 && GET(0) != 0x44434241) return 1;
15095 if(GET(1) != 0x42434445 && GET(1) != 0x45444342) return 1;
15096 if(GET(2) != 0x43444546 && GET(2) != 0x46454443) return 1;
15097 if(GET(3) != 0x44454647 && GET(3) != 0x47464544) return 1;
15102 if ac_fn_c_try_run "$LINENO"; then :
15103 as_cv_unaligned_access="yes"
15105 as_cv_unaligned_access="no"
15107 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15108 conftest.$ac_objext conftest.beam conftest.$ac_ext
15112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $as_cv_unaligned_access" >&5
15113 $as_echo "$as_cv_unaligned_access" >&6; }
15114 if test "$as_cv_unaligned_access" = "yes"; then
15116 cat >>confdefs.h <<_ACEOF
15117 #define HAVE_UNALIGNED_ACCESS 1
15122 if test x${as_cv_unaligned_access} = xyes ; then
15123 GST_HAVE_UNALIGNED_ACCESS_DEFINE="#define GST_HAVE_UNALIGNED_ACCESS 1"
15125 GST_HAVE_UNALIGNED_ACCESS_DEFINE="#define GST_HAVE_UNALIGNED_ACCESS 0"
15135 cat >>confdefs.h <<_ACEOF
15136 #define GST_EXTRA_MODULE_SUFFIX ".dylib"
15142 cat >>confdefs.h <<_ACEOF
15143 #define GST_EXTRA_MODULE_SUFFIX ".dylib"
15147 cat >>confdefs.h <<_ACEOF
15154 cat >>confdefs.h <<_ACEOF
15155 #define GST_HAVE_UNSAFE_FORK 1
15159 mingw* | msvc* | mks*)
15161 cat >>confdefs.h <<_ACEOF
15162 #define HAVE_WIN32 1
15166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15167 /* end confdefs.h. */
15172 return __MSVCRT_VERSION__;
15177 if ac_fn_c_try_compile "$LINENO"; then :
15179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15180 /* end confdefs.h. */
15186 #if __MSVCRT_VERSION__ < 0x0601
15187 #error "MSVCRT too old"
15194 if ac_fn_c_try_compile "$LINENO"; then :
15196 { $as_echo "$as_me:${as_lineno-$LINENO}: MSVCRT version looks ok" >&5
15197 $as_echo "$as_me: MSVCRT version looks ok" >&6;}
15201 as_fn_error $? "MSVCRT version too old, need at least WinXP SP2" "$LINENO" 5
15204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15208 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting MSVCRT version to 0x0601" >&5
15209 $as_echo "$as_me: Setting MSVCRT version to 0x0601" >&6;}
15211 cat >>confdefs.h <<_ACEOF
15212 #define __MSVCRT_VERSION__ 0x0601
15217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15225 # Check whether --enable-largefile was given.
15226 if test "${enable_largefile+set}" = set; then :
15227 enableval=$enable_largefile;
15230 if test "$enable_largefile" != no; then
15232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15233 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15234 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
15235 $as_echo_n "(cached) " >&6
15237 ac_cv_sys_largefile_CC=no
15238 if test "$GCC" != yes; then
15241 # IRIX 6.2 and later do not support large files by default,
15242 # so use the C compiler's -n32 option if that helps.
15243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15244 /* end confdefs.h. */
15245 #include <sys/types.h>
15246 /* Check that off_t can represent 2**63 - 1 correctly.
15247 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15248 since some C++ compilers masquerading as C compilers
15249 incorrectly reject 9223372036854775807. */
15250 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15251 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15252 && LARGE_OFF_T % 2147483647 == 1)
15262 if ac_fn_c_try_compile "$LINENO"; then :
15265 rm -f core conftest.err conftest.$ac_objext
15267 if ac_fn_c_try_compile "$LINENO"; then :
15268 ac_cv_sys_largefile_CC=' -n32'; break
15270 rm -f core conftest.err conftest.$ac_objext
15274 rm -f conftest.$ac_ext
15277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15278 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15279 if test "$ac_cv_sys_largefile_CC" != no; then
15280 CC=$CC$ac_cv_sys_largefile_CC
15283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15284 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15285 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
15286 $as_echo_n "(cached) " >&6
15289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15290 /* end confdefs.h. */
15291 #include <sys/types.h>
15292 /* Check that off_t can represent 2**63 - 1 correctly.
15293 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15294 since some C++ compilers masquerading as C compilers
15295 incorrectly reject 9223372036854775807. */
15296 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15297 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15298 && LARGE_OFF_T % 2147483647 == 1)
15308 if ac_fn_c_try_compile "$LINENO"; then :
15309 ac_cv_sys_file_offset_bits=no; break
15311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15313 /* end confdefs.h. */
15314 #define _FILE_OFFSET_BITS 64
15315 #include <sys/types.h>
15316 /* Check that off_t can represent 2**63 - 1 correctly.
15317 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15318 since some C++ compilers masquerading as C compilers
15319 incorrectly reject 9223372036854775807. */
15320 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15321 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15322 && LARGE_OFF_T % 2147483647 == 1)
15332 if ac_fn_c_try_compile "$LINENO"; then :
15333 ac_cv_sys_file_offset_bits=64; break
15335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15336 ac_cv_sys_file_offset_bits=unknown
15340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15341 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15342 case $ac_cv_sys_file_offset_bits in #(
15345 cat >>confdefs.h <<_ACEOF
15346 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15351 if test $ac_cv_sys_file_offset_bits = unknown; then
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15353 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15354 if test "${ac_cv_sys_large_files+set}" = set; then :
15355 $as_echo_n "(cached) " >&6
15358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15359 /* end confdefs.h. */
15360 #include <sys/types.h>
15361 /* Check that off_t can represent 2**63 - 1 correctly.
15362 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15363 since some C++ compilers masquerading as C compilers
15364 incorrectly reject 9223372036854775807. */
15365 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15366 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15367 && LARGE_OFF_T % 2147483647 == 1)
15377 if ac_fn_c_try_compile "$LINENO"; then :
15378 ac_cv_sys_large_files=no; break
15380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15382 /* end confdefs.h. */
15383 #define _LARGE_FILES 1
15384 #include <sys/types.h>
15385 /* Check that off_t can represent 2**63 - 1 correctly.
15386 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15387 since some C++ compilers masquerading as C compilers
15388 incorrectly reject 9223372036854775807. */
15389 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15390 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15391 && LARGE_OFF_T % 2147483647 == 1)
15401 if ac_fn_c_try_compile "$LINENO"; then :
15402 ac_cv_sys_large_files=1; break
15404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15405 ac_cv_sys_large_files=unknown
15409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15410 $as_echo "$ac_cv_sys_large_files" >&6; }
15411 case $ac_cv_sys_large_files in #(
15414 cat >>confdefs.h <<_ACEOF
15415 #define _LARGE_FILES $ac_cv_sys_large_files
15426 ac_cpp='$CPP $CPPFLAGS'
15427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15430 if test -n "$ac_tool_prefix"; then
15431 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15432 set dummy ${ac_tool_prefix}gcc; ac_word=$2
15433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15434 $as_echo_n "checking for $ac_word... " >&6; }
15435 if test "${ac_cv_prog_CC+set}" = set; then :
15436 $as_echo_n "(cached) " >&6
15438 if test -n "$CC"; then
15439 ac_cv_prog_CC="$CC" # Let the user override the test.
15441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15442 for as_dir in $PATH
15445 test -z "$as_dir" && as_dir=.
15446 for ac_exec_ext in '' $ac_executable_extensions; do
15447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15448 ac_cv_prog_CC="${ac_tool_prefix}gcc"
15449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15459 if test -n "$CC"; then
15460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
15461 $as_echo "$CC" >&6; }
15463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15464 $as_echo "no" >&6; }
15469 if test -z "$ac_cv_prog_CC"; then
15471 # Extract the first word of "gcc", so it can be a program name with args.
15472 set dummy gcc; ac_word=$2
15473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15474 $as_echo_n "checking for $ac_word... " >&6; }
15475 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
15476 $as_echo_n "(cached) " >&6
15478 if test -n "$ac_ct_CC"; then
15479 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15482 for as_dir in $PATH
15485 test -z "$as_dir" && as_dir=.
15486 for ac_exec_ext in '' $ac_executable_extensions; do
15487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15488 ac_cv_prog_ac_ct_CC="gcc"
15489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15498 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15499 if test -n "$ac_ct_CC"; then
15500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
15501 $as_echo "$ac_ct_CC" >&6; }
15503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15504 $as_echo "no" >&6; }
15507 if test "x$ac_ct_CC" = x; then
15510 case $cross_compiling:$ac_tool_warned in
15512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15513 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15514 ac_tool_warned=yes ;;
15519 CC="$ac_cv_prog_CC"
15522 if test -z "$CC"; then
15523 if test -n "$ac_tool_prefix"; then
15524 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15525 set dummy ${ac_tool_prefix}cc; ac_word=$2
15526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15527 $as_echo_n "checking for $ac_word... " >&6; }
15528 if test "${ac_cv_prog_CC+set}" = set; then :
15529 $as_echo_n "(cached) " >&6
15531 if test -n "$CC"; then
15532 ac_cv_prog_CC="$CC" # Let the user override the test.
15534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15535 for as_dir in $PATH
15538 test -z "$as_dir" && as_dir=.
15539 for ac_exec_ext in '' $ac_executable_extensions; do
15540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15541 ac_cv_prog_CC="${ac_tool_prefix}cc"
15542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15552 if test -n "$CC"; then
15553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
15554 $as_echo "$CC" >&6; }
15556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15557 $as_echo "no" >&6; }
15563 if test -z "$CC"; then
15564 # Extract the first word of "cc", so it can be a program name with args.
15565 set dummy cc; ac_word=$2
15566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15567 $as_echo_n "checking for $ac_word... " >&6; }
15568 if test "${ac_cv_prog_CC+set}" = set; then :
15569 $as_echo_n "(cached) " >&6
15571 if test -n "$CC"; then
15572 ac_cv_prog_CC="$CC" # Let the user override the test.
15574 ac_prog_rejected=no
15575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15576 for as_dir in $PATH
15579 test -z "$as_dir" && as_dir=.
15580 for ac_exec_ext in '' $ac_executable_extensions; do
15581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15582 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15583 ac_prog_rejected=yes
15587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15594 if test $ac_prog_rejected = yes; then
15595 # We found a bogon in the path, so make sure we never use it.
15596 set dummy $ac_cv_prog_CC
15598 if test $# != 0; then
15599 # We chose a different compiler from the bogus one.
15600 # However, it has the same basename, so the bogon will be chosen
15601 # first if we set CC to just the basename; use the full file name.
15603 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
15609 if test -n "$CC"; then
15610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
15611 $as_echo "$CC" >&6; }
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15614 $as_echo "no" >&6; }
15619 if test -z "$CC"; then
15620 if test -n "$ac_tool_prefix"; then
15621 for ac_prog in cl.exe
15623 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15624 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15626 $as_echo_n "checking for $ac_word... " >&6; }
15627 if test "${ac_cv_prog_CC+set}" = set; then :
15628 $as_echo_n "(cached) " >&6
15630 if test -n "$CC"; then
15631 ac_cv_prog_CC="$CC" # Let the user override the test.
15633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15634 for as_dir in $PATH
15637 test -z "$as_dir" && as_dir=.
15638 for ac_exec_ext in '' $ac_executable_extensions; do
15639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15640 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15651 if test -n "$CC"; then
15652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
15653 $as_echo "$CC" >&6; }
15655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15656 $as_echo "no" >&6; }
15660 test -n "$CC" && break
15663 if test -z "$CC"; then
15665 for ac_prog in cl.exe
15667 # Extract the first word of "$ac_prog", so it can be a program name with args.
15668 set dummy $ac_prog; ac_word=$2
15669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15670 $as_echo_n "checking for $ac_word... " >&6; }
15671 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
15672 $as_echo_n "(cached) " >&6
15674 if test -n "$ac_ct_CC"; then
15675 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15678 for as_dir in $PATH
15681 test -z "$as_dir" && as_dir=.
15682 for ac_exec_ext in '' $ac_executable_extensions; do
15683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15684 ac_cv_prog_ac_ct_CC="$ac_prog"
15685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15694 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15695 if test -n "$ac_ct_CC"; then
15696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
15697 $as_echo "$ac_ct_CC" >&6; }
15699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15700 $as_echo "no" >&6; }
15704 test -n "$ac_ct_CC" && break
15707 if test "x$ac_ct_CC" = x; then
15710 case $cross_compiling:$ac_tool_warned in
15712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15713 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15714 ac_tool_warned=yes ;;
15723 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15724 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15725 as_fn_error $? "no acceptable C compiler found in \$PATH
15726 See \`config.log' for more details" "$LINENO" 5 ; }
15728 # Provide some information about the compiler.
15729 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
15732 for ac_option in --version -v -V -qversion; do
15733 { { ac_try="$ac_compiler $ac_option >&5"
15734 case "(($ac_try" in
15735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15736 *) ac_try_echo=$ac_try;;
15738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15739 $as_echo "$ac_try_echo"; } >&5
15740 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
15742 if test -s conftest.err; then
15744 ... rest of stderr output deleted ...
15745 10q' conftest.err >conftest.er1
15746 cat conftest.er1 >&5
15748 rm -f conftest.er1 conftest.err
15749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15750 test $ac_status = 0; }
15753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
15754 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
15755 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
15756 $as_echo_n "(cached) " >&6
15758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15759 /* end confdefs.h. */
15772 if ac_fn_c_try_compile "$LINENO"; then :
15773 ac_compiler_gnu=yes
15777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15778 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
15782 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
15783 if test $ac_compiler_gnu = yes; then
15788 ac_test_CFLAGS=${CFLAGS+set}
15789 ac_save_CFLAGS=$CFLAGS
15790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
15791 $as_echo_n "checking whether $CC accepts -g... " >&6; }
15792 if test "${ac_cv_prog_cc_g+set}" = set; then :
15793 $as_echo_n "(cached) " >&6
15795 ac_save_c_werror_flag=$ac_c_werror_flag
15796 ac_c_werror_flag=yes
15799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15800 /* end confdefs.h. */
15810 if ac_fn_c_try_compile "$LINENO"; then :
15811 ac_cv_prog_cc_g=yes
15814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15815 /* end confdefs.h. */
15825 if ac_fn_c_try_compile "$LINENO"; then :
15828 ac_c_werror_flag=$ac_save_c_werror_flag
15830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15831 /* end confdefs.h. */
15841 if ac_fn_c_try_compile "$LINENO"; then :
15842 ac_cv_prog_cc_g=yes
15844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15849 ac_c_werror_flag=$ac_save_c_werror_flag
15851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
15852 $as_echo "$ac_cv_prog_cc_g" >&6; }
15853 if test "$ac_test_CFLAGS" = set; then
15854 CFLAGS=$ac_save_CFLAGS
15855 elif test $ac_cv_prog_cc_g = yes; then
15856 if test "$GCC" = yes; then
15862 if test "$GCC" = yes; then
15868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
15869 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
15870 if test "${ac_cv_prog_cc_c89+set}" = set; then :
15871 $as_echo_n "(cached) " >&6
15873 ac_cv_prog_cc_c89=no
15875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15876 /* end confdefs.h. */
15877 #include <stdarg.h>
15879 #include <sys/types.h>
15880 #include <sys/stat.h>
15881 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15882 struct buf { int x; };
15883 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15884 static char *e (p, i)
15890 static char *f (char * (*g) (char **, int), char **p, ...)
15895 s = g (p, va_arg (v,int));
15900 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15901 function prototypes and stuff, but not '\xHH' hex character constants.
15902 These don't provoke an error unfortunately, instead are silently treated
15903 as 'x'. The following induces an error, until -std is added to get
15904 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15905 array size at least. It's necessary to write '\x00'==0 to get something
15906 that's true only with -std. */
15907 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15909 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15910 inside strings and character constants. */
15912 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15914 int test (int i, double x);
15915 struct s1 {int (*f) (int a);};
15916 struct s2 {int (*f) (double a);};
15917 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15923 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15928 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15929 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15931 CC="$ac_save_CC $ac_arg"
15932 if ac_fn_c_try_compile "$LINENO"; then :
15933 ac_cv_prog_cc_c89=$ac_arg
15935 rm -f core conftest.err conftest.$ac_objext
15936 test "x$ac_cv_prog_cc_c89" != "xno" && break
15938 rm -f conftest.$ac_ext
15943 case "x$ac_cv_prog_cc_c89" in
15945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
15946 $as_echo "none needed" >&6; } ;;
15948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
15949 $as_echo "unsupported" >&6; } ;;
15951 CC="$CC $ac_cv_prog_cc_c89"
15952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
15953 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
15955 if test "x$ac_cv_prog_cc_c89" != xno; then :
15960 ac_cpp='$CPP $CPPFLAGS'
15961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15965 depcc="$CC" am_compiler_list=
15967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
15968 $as_echo_n "checking dependency style of $depcc... " >&6; }
15969 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
15970 $as_echo_n "(cached) " >&6
15972 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15973 # We make a subdir and do the tests there. Otherwise we can end up
15974 # making bogus files that we don't know about and never remove. For
15975 # instance it was reported that on HP-UX the gcc test will end up
15976 # making a dummy file named `D' -- because `-MD' means `put the output
15979 # Copy depcomp to subdir because otherwise we won't find it if we're
15980 # using a relative directory.
15981 cp "$am_depcomp" conftest.dir
15983 # We will build objects and dependencies in a subdirectory because
15984 # it helps to detect inapplicable dependency modes. For instance
15985 # both Tru64's cc and ICC support -MD to output dependencies as a
15986 # side effect of compilation, but ICC will put the dependencies in
15987 # the current directory while Tru64 will put them in the object
15991 am_cv_CC_dependencies_compiler_type=none
15992 if test "$am_compiler_list" = ""; then
15993 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
15995 am__universal=false
15996 case " $depcc " in #(
15997 *\ -arch\ *\ -arch\ *) am__universal=true ;;
16000 for depmode in $am_compiler_list; do
16001 # Setup a source with many dependencies, because some compilers
16002 # like to wrap large dependency lists on column 80 (with \), and
16003 # we should not choose a depcomp mode which is confused by this.
16005 # We need to recreate these files for each test, as the compiler may
16006 # overwrite some of them when testing with obscure command lines.
16007 # This happens at least with the AIX C compiler.
16009 for i in 1 2 3 4 5 6; do
16010 echo '#include "conftst'$i'.h"' >> sub/conftest.c
16011 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
16012 # Solaris 8's {/usr,}/bin/sh.
16013 touch sub/conftst$i.h
16015 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
16017 # We check with `-c' and `-o' for the sake of the "dashmstdout"
16018 # mode. It turns out that the SunPro C++ compiler does not properly
16019 # handle `-M -o', and we need to detect this. Also, some Intel
16020 # versions had trouble with output in subdirs
16021 am__obj=sub/conftest.${OBJEXT-o}
16022 am__minus_obj="-o $am__obj"
16025 # This depmode causes a compiler race in universal mode.
16026 test "$am__universal" = false || continue
16029 # after this tag, mechanisms are not by side-effect, so they'll
16030 # only be used when explicitly requested
16031 if test "x$enable_dependency_tracking" = xyes; then
16037 msvisualcpp | msvcmsys)
16038 # This compiler won't grok `-c -o', but also, the minuso test has
16039 # not run yet. These depmodes are late enough in the game, and
16040 # so weak that their functioning should not be impacted.
16041 am__obj=conftest.${OBJEXT-o}
16046 if depmode=$depmode \
16047 source=sub/conftest.c object=$am__obj \
16048 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
16049 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
16050 >/dev/null 2>conftest.err &&
16051 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
16052 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
16053 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
16054 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
16055 # icc doesn't choke on unknown options, it will just issue warnings
16056 # or remarks (even with -Werror). So we grep stderr for any message
16057 # that says an option was ignored or not supported.
16058 # When given -MP, icc 7.0 and 7.1 complain thusly:
16059 # icc: Command line warning: ignoring option '-M'; no argument required
16060 # The diagnosis changed in icc 8.0:
16061 # icc: Command line remark: option '-MP' not supported
16062 if (grep 'ignoring option' conftest.err ||
16063 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
16064 am_cv_CC_dependencies_compiler_type=$depmode
16071 rm -rf conftest.dir
16073 am_cv_CC_dependencies_compiler_type=none
16077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
16078 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
16079 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
16082 test "x$enable_dependency_tracking" != xno \
16083 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
16084 am__fastdepCC_TRUE=
16085 am__fastdepCC_FALSE='#'
16087 am__fastdepCC_TRUE='#'
16088 am__fastdepCC_FALSE=
16092 case $ac_cv_prog_cc_stdc in #(
16094 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
16096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
16097 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
16098 if test "${ac_cv_prog_cc_c99+set}" = set; then :
16099 $as_echo_n "(cached) " >&6
16101 ac_cv_prog_cc_c99=no
16103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16104 /* end confdefs.h. */
16105 #include <stdarg.h>
16106 #include <stdbool.h>
16107 #include <stdlib.h>
16111 // Check varargs macros. These examples are taken from C99 6.10.3.5.
16112 #define debug(...) fprintf (stderr, __VA_ARGS__)
16113 #define showlist(...) puts (#__VA_ARGS__)
16114 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
16116 test_varargs_macros (void)
16121 debug ("X = %d\n", x);
16122 showlist (The first, second, and third items.);
16123 report (x>y, "x is %d but y is %d", x, y);
16126 // Check long long types.
16127 #define BIG64 18446744073709551615ull
16128 #define BIG32 4294967295ul
16129 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
16131 your preprocessor is broken;
16135 your preprocessor is broken;
16137 static long long int bignum = -9223372036854775807LL;
16138 static unsigned long long int ubignum = BIG64;
16140 struct incomplete_array
16146 struct named_init {
16148 const wchar_t *name;
16152 typedef const char *ccp;
16155 test_restrict (ccp restrict text)
16157 // See if C++-style comments work.
16158 // Iterate through items via the restricted pointer.
16159 // Also check for declarations in for loops.
16160 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
16165 // Check varargs and va_copy.
16167 test_varargs (const char *format, ...)
16170 va_start (args, format);
16172 va_copy (args_copy, args);
16182 case 's': // string
16183 str = va_arg (args_copy, const char *);
16186 number = va_arg (args_copy, int);
16189 fnumber = va_arg (args_copy, double);
16195 va_end (args_copy);
16204 _Bool success = false;
16207 if (test_restrict ("String literal") == 0)
16209 char *restrict newvar = "Another string";
16212 test_varargs ("s, d' f .", "string", 65, 34.234);
16213 test_varargs_macros ();
16215 // Check flexible array members.
16216 struct incomplete_array *ia =
16217 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
16219 for (int i = 0; i < ia->datasize; ++i)
16220 ia->data[i] = i * 1.234;
16222 // Check named initializers.
16223 struct named_init ni = {
16225 .name = L"Test wide string",
16226 .average = 543.34343,
16231 int dynamic_array[ni.number];
16232 dynamic_array[ni.number - 1] = 543;
16234 // work around unused variable warnings
16235 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
16236 || dynamic_array[ni.number - 1] != 543);
16242 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
16244 CC="$ac_save_CC $ac_arg"
16245 if ac_fn_c_try_compile "$LINENO"; then :
16246 ac_cv_prog_cc_c99=$ac_arg
16248 rm -f core conftest.err conftest.$ac_objext
16249 test "x$ac_cv_prog_cc_c99" != "xno" && break
16251 rm -f conftest.$ac_ext
16256 case "x$ac_cv_prog_cc_c99" in
16258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16259 $as_echo "none needed" >&6; } ;;
16261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16262 $as_echo "unsupported" >&6; } ;;
16264 CC="$CC $ac_cv_prog_cc_c99"
16265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
16266 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
16268 if test "x$ac_cv_prog_cc_c99" != xno; then :
16269 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
16271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16272 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16273 if test "${ac_cv_prog_cc_c89+set}" = set; then :
16274 $as_echo_n "(cached) " >&6
16276 ac_cv_prog_cc_c89=no
16278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16279 /* end confdefs.h. */
16280 #include <stdarg.h>
16282 #include <sys/types.h>
16283 #include <sys/stat.h>
16284 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16285 struct buf { int x; };
16286 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16287 static char *e (p, i)
16293 static char *f (char * (*g) (char **, int), char **p, ...)
16298 s = g (p, va_arg (v,int));
16303 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16304 function prototypes and stuff, but not '\xHH' hex character constants.
16305 These don't provoke an error unfortunately, instead are silently treated
16306 as 'x'. The following induces an error, until -std is added to get
16307 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16308 array size at least. It's necessary to write '\x00'==0 to get something
16309 that's true only with -std. */
16310 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16312 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16313 inside strings and character constants. */
16315 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16317 int test (int i, double x);
16318 struct s1 {int (*f) (int a);};
16319 struct s2 {int (*f) (double a);};
16320 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16326 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16331 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16332 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16334 CC="$ac_save_CC $ac_arg"
16335 if ac_fn_c_try_compile "$LINENO"; then :
16336 ac_cv_prog_cc_c89=$ac_arg
16338 rm -f core conftest.err conftest.$ac_objext
16339 test "x$ac_cv_prog_cc_c89" != "xno" && break
16341 rm -f conftest.$ac_ext
16346 case "x$ac_cv_prog_cc_c89" in
16348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16349 $as_echo "none needed" >&6; } ;;
16351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16352 $as_echo "unsupported" >&6; } ;;
16354 CC="$CC $ac_cv_prog_cc_c89"
16355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
16356 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
16358 if test "x$ac_cv_prog_cc_c89" != xno; then :
16359 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
16361 ac_cv_prog_cc_stdc=no
16367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
16368 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
16369 if test "${ac_cv_prog_cc_stdc+set}" = set; then :
16370 $as_echo_n "(cached) " >&6
16373 case $ac_cv_prog_cc_stdc in #(
16375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16376 $as_echo "unsupported" >&6; } ;; #(
16378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16379 $as_echo "none needed" >&6; } ;; #(
16381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
16382 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
16386 if test "x$CC" != xcc; then
16387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
16388 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
16390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
16391 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
16393 set dummy $CC; ac_cc=`$as_echo "$2" |
16394 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
16395 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
16396 $as_echo_n "(cached) " >&6
16398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16399 /* end confdefs.h. */
16409 # Make sure it works both with $CC and with simple cc.
16410 # We do the test twice because some compilers refuse to overwrite an
16411 # existing .o file with -o, though they will create one.
16412 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
16414 if { { case "(($ac_try" in
16415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16416 *) ac_try_echo=$ac_try;;
16418 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16419 $as_echo "$ac_try_echo"; } >&5
16420 (eval "$ac_try") 2>&5
16422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16423 test $ac_status = 0; } &&
16424 test -f conftest2.$ac_objext && { { case "(($ac_try" in
16425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16426 *) ac_try_echo=$ac_try;;
16428 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16429 $as_echo "$ac_try_echo"; } >&5
16430 (eval "$ac_try") 2>&5
16432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16433 test $ac_status = 0; };
16435 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
16436 if test "x$CC" != xcc; then
16437 # Test first that cc exists at all.
16438 if { ac_try='cc -c conftest.$ac_ext >&5'
16439 { { case "(($ac_try" in
16440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16441 *) ac_try_echo=$ac_try;;
16443 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16444 $as_echo "$ac_try_echo"; } >&5
16445 (eval "$ac_try") 2>&5
16447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16448 test $ac_status = 0; }; }; then
16449 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
16451 if { { case "(($ac_try" in
16452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16453 *) ac_try_echo=$ac_try;;
16455 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16456 $as_echo "$ac_try_echo"; } >&5
16457 (eval "$ac_try") 2>&5
16459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16460 test $ac_status = 0; } &&
16461 test -f conftest2.$ac_objext && { { case "(($ac_try" in
16462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16463 *) ac_try_echo=$ac_try;;
16465 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16466 $as_echo "$ac_try_echo"; } >&5
16467 (eval "$ac_try") 2>&5
16469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16470 test $ac_status = 0; };
16475 # cc exists but doesn't like -o.
16476 eval ac_cv_prog_cc_${ac_cc}_c_o=no
16481 eval ac_cv_prog_cc_${ac_cc}_c_o=no
16483 rm -f core conftest*
16486 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
16487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16488 $as_echo "yes" >&6; }
16490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16491 $as_echo "no" >&6; }
16493 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
16497 # FIXME: we rely on the cache variable name because
16498 # there is no other way.
16500 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
16501 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
16502 if test "$am_t" != yes; then
16503 # Losing compiler, so override with the script.
16504 # FIXME: It is wrong to rewrite CC.
16505 # But if we don't then we get into trouble of one sort or another.
16506 # A longer-term fix would be to have automake use am__CC in this case,
16507 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
16508 CC="$am_aux_dir/compile $CC"
16513 # By default we simply use the C compiler to build assembly code.
16515 test "${CCAS+set}" = set || CCAS=$CC
16516 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
16520 depcc="$CCAS" am_compiler_list=
16522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
16523 $as_echo_n "checking dependency style of $depcc... " >&6; }
16524 if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then :
16525 $as_echo_n "(cached) " >&6
16527 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
16528 # We make a subdir and do the tests there. Otherwise we can end up
16529 # making bogus files that we don't know about and never remove. For
16530 # instance it was reported that on HP-UX the gcc test will end up
16531 # making a dummy file named `D' -- because `-MD' means `put the output
16534 # Copy depcomp to subdir because otherwise we won't find it if we're
16535 # using a relative directory.
16536 cp "$am_depcomp" conftest.dir
16538 # We will build objects and dependencies in a subdirectory because
16539 # it helps to detect inapplicable dependency modes. For instance
16540 # both Tru64's cc and ICC support -MD to output dependencies as a
16541 # side effect of compilation, but ICC will put the dependencies in
16542 # the current directory while Tru64 will put them in the object
16546 am_cv_CCAS_dependencies_compiler_type=none
16547 if test "$am_compiler_list" = ""; then
16548 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
16550 am__universal=false
16553 for depmode in $am_compiler_list; do
16554 # Setup a source with many dependencies, because some compilers
16555 # like to wrap large dependency lists on column 80 (with \), and
16556 # we should not choose a depcomp mode which is confused by this.
16558 # We need to recreate these files for each test, as the compiler may
16559 # overwrite some of them when testing with obscure command lines.
16560 # This happens at least with the AIX C compiler.
16562 for i in 1 2 3 4 5 6; do
16563 echo '#include "conftst'$i'.h"' >> sub/conftest.c
16564 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
16565 # Solaris 8's {/usr,}/bin/sh.
16566 touch sub/conftst$i.h
16568 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
16570 # We check with `-c' and `-o' for the sake of the "dashmstdout"
16571 # mode. It turns out that the SunPro C++ compiler does not properly
16572 # handle `-M -o', and we need to detect this. Also, some Intel
16573 # versions had trouble with output in subdirs
16574 am__obj=sub/conftest.${OBJEXT-o}
16575 am__minus_obj="-o $am__obj"
16578 # This depmode causes a compiler race in universal mode.
16579 test "$am__universal" = false || continue
16582 # after this tag, mechanisms are not by side-effect, so they'll
16583 # only be used when explicitly requested
16584 if test "x$enable_dependency_tracking" = xyes; then
16590 msvisualcpp | msvcmsys)
16591 # This compiler won't grok `-c -o', but also, the minuso test has
16592 # not run yet. These depmodes are late enough in the game, and
16593 # so weak that their functioning should not be impacted.
16594 am__obj=conftest.${OBJEXT-o}
16599 if depmode=$depmode \
16600 source=sub/conftest.c object=$am__obj \
16601 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
16602 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
16603 >/dev/null 2>conftest.err &&
16604 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
16605 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
16606 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
16607 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
16608 # icc doesn't choke on unknown options, it will just issue warnings
16609 # or remarks (even with -Werror). So we grep stderr for any message
16610 # that says an option was ignored or not supported.
16611 # When given -MP, icc 7.0 and 7.1 complain thusly:
16612 # icc: Command line warning: ignoring option '-M'; no argument required
16613 # The diagnosis changed in icc 8.0:
16614 # icc: Command line remark: option '-MP' not supported
16615 if (grep 'ignoring option' conftest.err ||
16616 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
16617 am_cv_CCAS_dependencies_compiler_type=$depmode
16624 rm -rf conftest.dir
16626 am_cv_CCAS_dependencies_compiler_type=none
16630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
16631 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
16632 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
16635 test "x$enable_dependency_tracking" != xno \
16636 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
16637 am__fastdepCCAS_TRUE=
16638 am__fastdepCCAS_FALSE='#'
16640 am__fastdepCCAS_TRUE='#'
16641 am__fastdepCCAS_FALSE=
16647 ac_cpp='$CXXCPP $CPPFLAGS'
16648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16651 if test -z "$CXX"; then
16652 if test -n "$CCC"; then
16655 if test -n "$ac_tool_prefix"; then
16656 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16658 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16659 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16661 $as_echo_n "checking for $ac_word... " >&6; }
16662 if test "${ac_cv_prog_CXX+set}" = set; then :
16663 $as_echo_n "(cached) " >&6
16665 if test -n "$CXX"; then
16666 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16669 for as_dir in $PATH
16672 test -z "$as_dir" && as_dir=.
16673 for ac_exec_ext in '' $ac_executable_extensions; do
16674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16675 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16685 CXX=$ac_cv_prog_CXX
16686 if test -n "$CXX"; then
16687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
16688 $as_echo "$CXX" >&6; }
16690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16691 $as_echo "no" >&6; }
16695 test -n "$CXX" && break
16698 if test -z "$CXX"; then
16700 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16702 # Extract the first word of "$ac_prog", so it can be a program name with args.
16703 set dummy $ac_prog; ac_word=$2
16704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16705 $as_echo_n "checking for $ac_word... " >&6; }
16706 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
16707 $as_echo_n "(cached) " >&6
16709 if test -n "$ac_ct_CXX"; then
16710 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16713 for as_dir in $PATH
16716 test -z "$as_dir" && as_dir=.
16717 for ac_exec_ext in '' $ac_executable_extensions; do
16718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16719 ac_cv_prog_ac_ct_CXX="$ac_prog"
16720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16729 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16730 if test -n "$ac_ct_CXX"; then
16731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
16732 $as_echo "$ac_ct_CXX" >&6; }
16734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16735 $as_echo "no" >&6; }
16739 test -n "$ac_ct_CXX" && break
16742 if test "x$ac_ct_CXX" = x; then
16745 case $cross_compiling:$ac_tool_warned in
16747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16748 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16749 ac_tool_warned=yes ;;
16757 # Provide some information about the compiler.
16758 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
16761 for ac_option in --version -v -V -qversion; do
16762 { { ac_try="$ac_compiler $ac_option >&5"
16763 case "(($ac_try" in
16764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16765 *) ac_try_echo=$ac_try;;
16767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16768 $as_echo "$ac_try_echo"; } >&5
16769 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16771 if test -s conftest.err; then
16773 ... rest of stderr output deleted ...
16774 10q' conftest.err >conftest.er1
16775 cat conftest.er1 >&5
16777 rm -f conftest.er1 conftest.err
16778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16779 test $ac_status = 0; }
16782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
16783 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
16784 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
16785 $as_echo_n "(cached) " >&6
16787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16788 /* end confdefs.h. */
16801 if ac_fn_cxx_try_compile "$LINENO"; then :
16802 ac_compiler_gnu=yes
16806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16807 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
16811 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
16812 if test $ac_compiler_gnu = yes; then
16817 ac_test_CXXFLAGS=${CXXFLAGS+set}
16818 ac_save_CXXFLAGS=$CXXFLAGS
16819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
16820 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
16821 if test "${ac_cv_prog_cxx_g+set}" = set; then :
16822 $as_echo_n "(cached) " >&6
16824 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16825 ac_cxx_werror_flag=yes
16826 ac_cv_prog_cxx_g=no
16828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16829 /* end confdefs.h. */
16839 if ac_fn_cxx_try_compile "$LINENO"; then :
16840 ac_cv_prog_cxx_g=yes
16843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16844 /* end confdefs.h. */
16854 if ac_fn_cxx_try_compile "$LINENO"; then :
16857 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16860 /* end confdefs.h. */
16870 if ac_fn_cxx_try_compile "$LINENO"; then :
16871 ac_cv_prog_cxx_g=yes
16873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16878 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
16881 $as_echo "$ac_cv_prog_cxx_g" >&6; }
16882 if test "$ac_test_CXXFLAGS" = set; then
16883 CXXFLAGS=$ac_save_CXXFLAGS
16884 elif test $ac_cv_prog_cxx_g = yes; then
16885 if test "$GXX" = yes; then
16891 if test "$GXX" = yes; then
16898 ac_cpp='$CPP $CPPFLAGS'
16899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16903 depcc="$CXX" am_compiler_list=
16905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
16906 $as_echo_n "checking dependency style of $depcc... " >&6; }
16907 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
16908 $as_echo_n "(cached) " >&6
16910 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
16911 # We make a subdir and do the tests there. Otherwise we can end up
16912 # making bogus files that we don't know about and never remove. For
16913 # instance it was reported that on HP-UX the gcc test will end up
16914 # making a dummy file named `D' -- because `-MD' means `put the output
16917 # Copy depcomp to subdir because otherwise we won't find it if we're
16918 # using a relative directory.
16919 cp "$am_depcomp" conftest.dir
16921 # We will build objects and dependencies in a subdirectory because
16922 # it helps to detect inapplicable dependency modes. For instance
16923 # both Tru64's cc and ICC support -MD to output dependencies as a
16924 # side effect of compilation, but ICC will put the dependencies in
16925 # the current directory while Tru64 will put them in the object
16929 am_cv_CXX_dependencies_compiler_type=none
16930 if test "$am_compiler_list" = ""; then
16931 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
16933 am__universal=false
16934 case " $depcc " in #(
16935 *\ -arch\ *\ -arch\ *) am__universal=true ;;
16938 for depmode in $am_compiler_list; do
16939 # Setup a source with many dependencies, because some compilers
16940 # like to wrap large dependency lists on column 80 (with \), and
16941 # we should not choose a depcomp mode which is confused by this.
16943 # We need to recreate these files for each test, as the compiler may
16944 # overwrite some of them when testing with obscure command lines.
16945 # This happens at least with the AIX C compiler.
16947 for i in 1 2 3 4 5 6; do
16948 echo '#include "conftst'$i'.h"' >> sub/conftest.c
16949 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
16950 # Solaris 8's {/usr,}/bin/sh.
16951 touch sub/conftst$i.h
16953 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
16955 # We check with `-c' and `-o' for the sake of the "dashmstdout"
16956 # mode. It turns out that the SunPro C++ compiler does not properly
16957 # handle `-M -o', and we need to detect this. Also, some Intel
16958 # versions had trouble with output in subdirs
16959 am__obj=sub/conftest.${OBJEXT-o}
16960 am__minus_obj="-o $am__obj"
16963 # This depmode causes a compiler race in universal mode.
16964 test "$am__universal" = false || continue
16967 # after this tag, mechanisms are not by side-effect, so they'll
16968 # only be used when explicitly requested
16969 if test "x$enable_dependency_tracking" = xyes; then
16975 msvisualcpp | msvcmsys)
16976 # This compiler won't grok `-c -o', but also, the minuso test has
16977 # not run yet. These depmodes are late enough in the game, and
16978 # so weak that their functioning should not be impacted.
16979 am__obj=conftest.${OBJEXT-o}
16984 if depmode=$depmode \
16985 source=sub/conftest.c object=$am__obj \
16986 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
16987 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
16988 >/dev/null 2>conftest.err &&
16989 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
16990 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
16991 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
16992 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
16993 # icc doesn't choke on unknown options, it will just issue warnings
16994 # or remarks (even with -Werror). So we grep stderr for any message
16995 # that says an option was ignored or not supported.
16996 # When given -MP, icc 7.0 and 7.1 complain thusly:
16997 # icc: Command line warning: ignoring option '-M'; no argument required
16998 # The diagnosis changed in icc 8.0:
16999 # icc: Command line remark: option '-MP' not supported
17000 if (grep 'ignoring option' conftest.err ||
17001 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
17002 am_cv_CXX_dependencies_compiler_type=$depmode
17009 rm -rf conftest.dir
17011 am_cv_CXX_dependencies_compiler_type=none
17015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
17016 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
17017 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
17020 test "x$enable_dependency_tracking" != xno \
17021 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
17022 am__fastdepCXX_TRUE=
17023 am__fastdepCXX_FALSE='#'
17025 am__fastdepCXX_TRUE='#'
17026 am__fastdepCXX_FALSE=
17032 ac_cpp='$CXXCPP $CPPFLAGS'
17033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17036 if test -z "$CXX"; then
17037 if test -n "$CCC"; then
17040 if test -n "$ac_tool_prefix"; then
17041 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17043 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17044 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17046 $as_echo_n "checking for $ac_word... " >&6; }
17047 if test "${ac_cv_prog_CXX+set}" = set; then :
17048 $as_echo_n "(cached) " >&6
17050 if test -n "$CXX"; then
17051 ac_cv_prog_CXX="$CXX" # Let the user override the test.
17053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17054 for as_dir in $PATH
17057 test -z "$as_dir" && as_dir=.
17058 for ac_exec_ext in '' $ac_executable_extensions; do
17059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17060 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
17061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17070 CXX=$ac_cv_prog_CXX
17071 if test -n "$CXX"; then
17072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
17073 $as_echo "$CXX" >&6; }
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17076 $as_echo "no" >&6; }
17080 test -n "$CXX" && break
17083 if test -z "$CXX"; then
17085 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17087 # Extract the first word of "$ac_prog", so it can be a program name with args.
17088 set dummy $ac_prog; ac_word=$2
17089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17090 $as_echo_n "checking for $ac_word... " >&6; }
17091 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
17092 $as_echo_n "(cached) " >&6
17094 if test -n "$ac_ct_CXX"; then
17095 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
17097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17098 for as_dir in $PATH
17101 test -z "$as_dir" && as_dir=.
17102 for ac_exec_ext in '' $ac_executable_extensions; do
17103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17104 ac_cv_prog_ac_ct_CXX="$ac_prog"
17105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17114 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17115 if test -n "$ac_ct_CXX"; then
17116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
17117 $as_echo "$ac_ct_CXX" >&6; }
17119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17120 $as_echo "no" >&6; }
17124 test -n "$ac_ct_CXX" && break
17127 if test "x$ac_ct_CXX" = x; then
17130 case $cross_compiling:$ac_tool_warned in
17132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17133 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17134 ac_tool_warned=yes ;;
17142 # Provide some information about the compiler.
17143 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
17146 for ac_option in --version -v -V -qversion; do
17147 { { ac_try="$ac_compiler $ac_option >&5"
17148 case "(($ac_try" in
17149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17150 *) ac_try_echo=$ac_try;;
17152 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17153 $as_echo "$ac_try_echo"; } >&5
17154 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
17156 if test -s conftest.err; then
17158 ... rest of stderr output deleted ...
17159 10q' conftest.err >conftest.er1
17160 cat conftest.er1 >&5
17162 rm -f conftest.er1 conftest.err
17163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17164 test $ac_status = 0; }
17167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
17168 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
17169 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
17170 $as_echo_n "(cached) " >&6
17172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17173 /* end confdefs.h. */
17186 if ac_fn_cxx_try_compile "$LINENO"; then :
17187 ac_compiler_gnu=yes
17191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17192 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
17196 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
17197 if test $ac_compiler_gnu = yes; then
17202 ac_test_CXXFLAGS=${CXXFLAGS+set}
17203 ac_save_CXXFLAGS=$CXXFLAGS
17204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
17205 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
17206 if test "${ac_cv_prog_cxx_g+set}" = set; then :
17207 $as_echo_n "(cached) " >&6
17209 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17210 ac_cxx_werror_flag=yes
17211 ac_cv_prog_cxx_g=no
17213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17214 /* end confdefs.h. */
17224 if ac_fn_cxx_try_compile "$LINENO"; then :
17225 ac_cv_prog_cxx_g=yes
17228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17229 /* end confdefs.h. */
17239 if ac_fn_cxx_try_compile "$LINENO"; then :
17242 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17245 /* end confdefs.h. */
17255 if ac_fn_cxx_try_compile "$LINENO"; then :
17256 ac_cv_prog_cxx_g=yes
17258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17263 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
17266 $as_echo "$ac_cv_prog_cxx_g" >&6; }
17267 if test "$ac_test_CXXFLAGS" = set; then
17268 CXXFLAGS=$ac_save_CXXFLAGS
17269 elif test $ac_cv_prog_cxx_g = yes; then
17270 if test "$GXX" = yes; then
17276 if test "$GXX" = yes; then
17283 ac_cpp='$CPP $CPPFLAGS'
17284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17288 depcc="$CXX" am_compiler_list=
17290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
17291 $as_echo_n "checking dependency style of $depcc... " >&6; }
17292 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
17293 $as_echo_n "(cached) " >&6
17295 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
17296 # We make a subdir and do the tests there. Otherwise we can end up
17297 # making bogus files that we don't know about and never remove. For
17298 # instance it was reported that on HP-UX the gcc test will end up
17299 # making a dummy file named `D' -- because `-MD' means `put the output
17302 # Copy depcomp to subdir because otherwise we won't find it if we're
17303 # using a relative directory.
17304 cp "$am_depcomp" conftest.dir
17306 # We will build objects and dependencies in a subdirectory because
17307 # it helps to detect inapplicable dependency modes. For instance
17308 # both Tru64's cc and ICC support -MD to output dependencies as a
17309 # side effect of compilation, but ICC will put the dependencies in
17310 # the current directory while Tru64 will put them in the object
17314 am_cv_CXX_dependencies_compiler_type=none
17315 if test "$am_compiler_list" = ""; then
17316 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
17318 am__universal=false
17319 case " $depcc " in #(
17320 *\ -arch\ *\ -arch\ *) am__universal=true ;;
17323 for depmode in $am_compiler_list; do
17324 # Setup a source with many dependencies, because some compilers
17325 # like to wrap large dependency lists on column 80 (with \), and
17326 # we should not choose a depcomp mode which is confused by this.
17328 # We need to recreate these files for each test, as the compiler may
17329 # overwrite some of them when testing with obscure command lines.
17330 # This happens at least with the AIX C compiler.
17332 for i in 1 2 3 4 5 6; do
17333 echo '#include "conftst'$i'.h"' >> sub/conftest.c
17334 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
17335 # Solaris 8's {/usr,}/bin/sh.
17336 touch sub/conftst$i.h
17338 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
17340 # We check with `-c' and `-o' for the sake of the "dashmstdout"
17341 # mode. It turns out that the SunPro C++ compiler does not properly
17342 # handle `-M -o', and we need to detect this. Also, some Intel
17343 # versions had trouble with output in subdirs
17344 am__obj=sub/conftest.${OBJEXT-o}
17345 am__minus_obj="-o $am__obj"
17348 # This depmode causes a compiler race in universal mode.
17349 test "$am__universal" = false || continue
17352 # after this tag, mechanisms are not by side-effect, so they'll
17353 # only be used when explicitly requested
17354 if test "x$enable_dependency_tracking" = xyes; then
17360 msvisualcpp | msvcmsys)
17361 # This compiler won't grok `-c -o', but also, the minuso test has
17362 # not run yet. These depmodes are late enough in the game, and
17363 # so weak that their functioning should not be impacted.
17364 am__obj=conftest.${OBJEXT-o}
17369 if depmode=$depmode \
17370 source=sub/conftest.c object=$am__obj \
17371 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
17372 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
17373 >/dev/null 2>conftest.err &&
17374 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
17375 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
17376 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
17377 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
17378 # icc doesn't choke on unknown options, it will just issue warnings
17379 # or remarks (even with -Werror). So we grep stderr for any message
17380 # that says an option was ignored or not supported.
17381 # When given -MP, icc 7.0 and 7.1 complain thusly:
17382 # icc: Command line warning: ignoring option '-M'; no argument required
17383 # The diagnosis changed in icc 8.0:
17384 # icc: Command line remark: option '-MP' not supported
17385 if (grep 'ignoring option' conftest.err ||
17386 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
17387 am_cv_CXX_dependencies_compiler_type=$depmode
17394 rm -rf conftest.dir
17396 am_cv_CXX_dependencies_compiler_type=none
17400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
17401 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
17402 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
17405 test "x$enable_dependency_tracking" != xno \
17406 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
17407 am__fastdepCXX_TRUE=
17408 am__fastdepCXX_FALSE='#'
17410 am__fastdepCXX_TRUE='#'
17411 am__fastdepCXX_FALSE=
17415 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
17416 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
17417 (test "X$CXX" != "Xg++"))) ; then
17419 ac_cpp='$CXXCPP $CPPFLAGS'
17420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
17424 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
17425 if test -z "$CXXCPP"; then
17426 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
17427 $as_echo_n "(cached) " >&6
17429 # Double quotes because CXXCPP needs to be expanded
17430 for CXXCPP in "$CXX -E" "/lib/cpp"
17432 ac_preproc_ok=false
17433 for ac_cxx_preproc_warn_flag in '' yes
17435 # Use a header file that comes with gcc, so configuring glibc
17436 # with a fresh cross-compiler works.
17437 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17438 # <limits.h> exists even on freestanding compilers.
17439 # On the NeXT, cc -E runs the code through the compiler's parser,
17440 # not just through cpp. "Syntax error" is here to catch this case.
17441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17442 /* end confdefs.h. */
17444 # include <limits.h>
17446 # include <assert.h>
17450 if ac_fn_cxx_try_cpp "$LINENO"; then :
17453 # Broken: fails on valid input.
17456 rm -f conftest.err conftest.i conftest.$ac_ext
17458 # OK, works on sane cases. Now check whether nonexistent headers
17459 # can be detected and how.
17460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17461 /* end confdefs.h. */
17462 #include <ac_nonexistent.h>
17464 if ac_fn_cxx_try_cpp "$LINENO"; then :
17465 # Broken: success on invalid input.
17468 # Passes both tests.
17472 rm -f conftest.err conftest.i conftest.$ac_ext
17475 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17476 rm -f conftest.i conftest.err conftest.$ac_ext
17477 if $ac_preproc_ok; then :
17482 ac_cv_prog_CXXCPP=$CXXCPP
17485 CXXCPP=$ac_cv_prog_CXXCPP
17487 ac_cv_prog_CXXCPP=$CXXCPP
17489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
17490 $as_echo "$CXXCPP" >&6; }
17491 ac_preproc_ok=false
17492 for ac_cxx_preproc_warn_flag in '' yes
17494 # Use a header file that comes with gcc, so configuring glibc
17495 # with a fresh cross-compiler works.
17496 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17497 # <limits.h> exists even on freestanding compilers.
17498 # On the NeXT, cc -E runs the code through the compiler's parser,
17499 # not just through cpp. "Syntax error" is here to catch this case.
17500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17501 /* end confdefs.h. */
17503 # include <limits.h>
17505 # include <assert.h>
17509 if ac_fn_cxx_try_cpp "$LINENO"; then :
17512 # Broken: fails on valid input.
17515 rm -f conftest.err conftest.i conftest.$ac_ext
17517 # OK, works on sane cases. Now check whether nonexistent headers
17518 # can be detected and how.
17519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17520 /* end confdefs.h. */
17521 #include <ac_nonexistent.h>
17523 if ac_fn_cxx_try_cpp "$LINENO"; then :
17524 # Broken: success on invalid input.
17527 # Passes both tests.
17531 rm -f conftest.err conftest.i conftest.$ac_ext
17534 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17535 rm -f conftest.i conftest.err conftest.$ac_ext
17536 if $ac_preproc_ok; then :
17539 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17540 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17541 _lt_caught_CXX_error=yes; }
17545 ac_cpp='$CPP $CPPFLAGS'
17546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17551 _lt_caught_CXX_error=yes
17558 ac_cpp='$CXXCPP $CPPFLAGS'
17559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17563 archive_cmds_need_lc_CXX=no
17564 allow_undefined_flag_CXX=
17565 always_export_symbols_CXX=no
17566 archive_expsym_cmds_CXX=
17567 compiler_needs_object_CXX=no
17568 export_dynamic_flag_spec_CXX=
17569 hardcode_direct_CXX=no
17570 hardcode_direct_absolute_CXX=no
17571 hardcode_libdir_flag_spec_CXX=
17572 hardcode_libdir_flag_spec_ld_CXX=
17573 hardcode_libdir_separator_CXX=
17574 hardcode_minus_L_CXX=no
17575 hardcode_shlibpath_var_CXX=unsupported
17576 hardcode_automatic_CXX=no
17577 inherit_rpath_CXX=no
17579 module_expsym_cmds_CXX=
17580 link_all_deplibs_CXX=unknown
17581 old_archive_cmds_CXX=$old_archive_cmds
17582 no_undefined_flag_CXX=
17583 whole_archive_flag_spec_CXX=
17584 enable_shared_with_static_runtimes_CXX=no
17586 # Source file extension for C++ test sources.
17589 # Object file extension for compiled C++ test sources.
17593 # No sense in running all these tests if we already determined that
17594 # the CXX compiler isn't working. Some variables (like enable_shared)
17595 # are currently assumed to apply to all compilers on this platform,
17596 # and will be corrupted by setting them based on a non-working compiler.
17597 if test "$_lt_caught_CXX_error" != yes; then
17598 # Code to be used in simple compile tests
17599 lt_simple_compile_test_code="int some_variable = 0;"
17601 # Code to be used in simple link tests
17602 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
17604 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17611 # If no C compiler was specified, use CC.
17614 # If no C compiler flags were specified, use CFLAGS.
17615 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17617 # Allow CC to be a program name with arguments.
17621 # save warnings/boilerplate of simple test code
17622 ac_outfile=conftest.$ac_objext
17623 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
17624 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17625 _lt_compiler_boilerplate=`cat conftest.err`
17628 ac_outfile=conftest.$ac_objext
17629 echo "$lt_simple_link_test_code" >conftest.$ac_ext
17630 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17631 _lt_linker_boilerplate=`cat conftest.err`
17635 # Allow CC to be a program name with arguments.
17640 lt_save_with_gnu_ld=$with_gnu_ld
17641 lt_save_path_LD=$lt_cv_path_LD
17642 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
17643 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
17645 $as_unset lt_cv_prog_gnu_ld
17647 if test -n "${lt_cv_path_LDCXX+set}"; then
17648 lt_cv_path_LD=$lt_cv_path_LDCXX
17650 $as_unset lt_cv_path_LD
17652 test -z "${LDCXX+set}" || LD=$LDCXX
17656 for cc_temp in $compiler""; do
17658 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17659 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17664 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17667 if test -n "$compiler"; then
17668 # We don't want -fno-exception when compiling C++ code, so set the
17669 # no_builtin_flag separately
17670 if test "$GXX" = yes; then
17671 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
17673 lt_prog_compiler_no_builtin_flag_CXX=
17676 if test "$GXX" = yes; then
17677 # Set up default GNU C++ configuration
17681 # Check whether --with-gnu-ld was given.
17682 if test "${with_gnu_ld+set}" = set; then :
17683 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
17689 if test "$GCC" = yes; then
17690 # Check if gcc -print-prog-name=ld gives a path.
17691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
17692 $as_echo_n "checking for ld used by $CC... " >&6; }
17695 # gcc leaves a trailing carriage return which upsets mingw
17696 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
17698 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
17701 # Accept absolute paths.
17703 re_direlt='/[^/][^/]*/\.\./'
17704 # Canonicalize the pathname of ld
17705 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
17706 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
17707 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
17709 test -z "$LD" && LD="$ac_prog"
17712 # If it fails, then pretend we aren't using GCC.
17716 # If it is relative, then search for the first ld in PATH.
17717 with_gnu_ld=unknown
17720 elif test "$with_gnu_ld" = yes; then
17721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
17722 $as_echo_n "checking for GNU ld... " >&6; }
17724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
17725 $as_echo_n "checking for non-GNU ld... " >&6; }
17727 if test "${lt_cv_path_LD+set}" = set; then :
17728 $as_echo_n "(cached) " >&6
17730 if test -z "$LD"; then
17731 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
17732 for ac_dir in $PATH; do
17734 test -z "$ac_dir" && ac_dir=.
17735 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
17736 lt_cv_path_LD="$ac_dir/$ac_prog"
17737 # Check to see if the program is GNU ld. I'd rather use --version,
17738 # but apparently some variants of GNU ld only accept -v.
17739 # Break only if it was the GNU/non-GNU ld that we prefer.
17740 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
17741 *GNU* | *'with BFD'*)
17742 test "$with_gnu_ld" != no && break
17745 test "$with_gnu_ld" != yes && break
17752 lt_cv_path_LD="$LD" # Let the user override the test with a path.
17756 LD="$lt_cv_path_LD"
17757 if test -n "$LD"; then
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
17759 $as_echo "$LD" >&6; }
17761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17762 $as_echo "no" >&6; }
17764 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
17765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
17766 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
17767 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
17768 $as_echo_n "(cached) " >&6
17770 # I'd rather use --version here, but apparently some GNU lds only accept -v.
17771 case `$LD -v 2>&1 </dev/null` in
17772 *GNU* | *'with BFD'*)
17773 lt_cv_prog_gnu_ld=yes
17776 lt_cv_prog_gnu_ld=no
17780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
17781 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
17782 with_gnu_ld=$lt_cv_prog_gnu_ld
17790 # Check if GNU C++ uses GNU ld as the underlying linker, since the
17791 # archiving commands below assume that GNU ld is being used.
17792 if test "$with_gnu_ld" = yes; then
17793 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
17794 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17796 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
17797 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
17799 # If archive_cmds runs LD, not CC, wlarc should be empty
17800 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
17801 # investigate it a little bit more. (MM)
17804 # ancient GNU ld didn't support --whole-archive et. al.
17805 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
17806 $GREP 'no-whole-archive' > /dev/null; then
17807 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17809 whole_archive_flag_spec_CXX=
17815 # A generic and very simple default shared library creation
17816 # command for GNU C++ for the case where it uses the native
17817 # linker, instead of GNU ld. If possible, this setting should
17818 # overridden to take advantage of the native linker features on
17819 # the platform it is being used on.
17820 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
17823 # Commands to make compiler produce verbose output that lists
17824 # what "hidden" libraries, object files and flags are used when
17825 # linking a shared library.
17826 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
17834 # PORTME: fill in a description of your system's C++ link characteristics
17835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17836 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17840 # FIXME: insert proper C++ library support
17844 if test "$host_cpu" = ia64; then
17845 # On IA64, the linker does run time linking by default, so we don't
17846 # have to do anything special.
17847 aix_use_runtimelinking=no
17848 exp_sym_flag='-Bexport'
17851 aix_use_runtimelinking=no
17853 # Test if we are trying to use run time linking or normal
17854 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17855 # need to do runtime linking.
17856 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
17857 for ld_flag in $LDFLAGS; do
17860 aix_use_runtimelinking=yes
17868 exp_sym_flag='-bexport'
17869 no_entry_flag='-bnoentry'
17872 # When large executables or shared objects are built, AIX ld can
17873 # have problems creating the table of contents. If linking a library
17874 # or program results in "error TOC overflow" add -mminimal-toc to
17875 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17876 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17878 archive_cmds_CXX=''
17879 hardcode_direct_CXX=yes
17880 hardcode_direct_absolute_CXX=yes
17881 hardcode_libdir_separator_CXX=':'
17882 link_all_deplibs_CXX=yes
17883 file_list_spec_CXX='${wl}-f,'
17885 if test "$GXX" = yes; then
17886 case $host_os in aix4.[012]|aix4.[012].*)
17887 # We only want to do this on AIX 4.2 and lower, the check
17888 # below for broken collect2 doesn't work under 4.3+
17889 collect2name=`${CC} -print-prog-name=collect2`
17890 if test -f "$collect2name" &&
17891 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
17893 # We have reworked collect2
17896 # We have old collect2
17897 hardcode_direct_CXX=unsupported
17898 # It fails to find uninstalled libraries when the uninstalled
17899 # path is not listed in the libpath. Setting hardcode_minus_L
17900 # to unsupported forces relinking
17901 hardcode_minus_L_CXX=yes
17902 hardcode_libdir_flag_spec_CXX='-L$libdir'
17903 hardcode_libdir_separator_CXX=
17906 shared_flag='-shared'
17907 if test "$aix_use_runtimelinking" = yes; then
17908 shared_flag="$shared_flag "'${wl}-G'
17912 if test "$host_cpu" = ia64; then
17913 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17914 # chokes on -Wl,-G. The following line is correct:
17917 if test "$aix_use_runtimelinking" = yes; then
17918 shared_flag='${wl}-G'
17920 shared_flag='${wl}-bM:SRE'
17925 export_dynamic_flag_spec_CXX='${wl}-bexpall'
17926 # It seems that -bexpall does not export symbols beginning with
17927 # underscore (_), so it is better to generate a list of symbols to
17929 always_export_symbols_CXX=yes
17930 if test "$aix_use_runtimelinking" = yes; then
17931 # Warning - without using the other runtime loading flags (-brtl),
17932 # -berok will link without error, but may produce a broken library.
17933 allow_undefined_flag_CXX='-berok'
17934 # Determine the default libpath from the value encoded in an empty
17936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17937 /* end confdefs.h. */
17947 if ac_fn_cxx_try_link "$LINENO"; then :
17949 lt_aix_libpath_sed='
17950 /Import File Strings/,/^$/ {
17956 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17957 # Check for a 64-bit object if we didn't find anything.
17958 if test -z "$aix_libpath"; then
17959 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17962 rm -f core conftest.err conftest.$ac_objext \
17963 conftest$ac_exeext conftest.$ac_ext
17964 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17966 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
17968 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17970 if test "$host_cpu" = ia64; then
17971 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
17972 allow_undefined_flag_CXX="-z nodefs"
17973 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
17975 # Determine the default libpath from the value encoded in an
17976 # empty executable.
17977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17978 /* end confdefs.h. */
17988 if ac_fn_cxx_try_link "$LINENO"; then :
17990 lt_aix_libpath_sed='
17991 /Import File Strings/,/^$/ {
17997 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17998 # Check for a 64-bit object if we didn't find anything.
17999 if test -z "$aix_libpath"; then
18000 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18003 rm -f core conftest.err conftest.$ac_objext \
18004 conftest$ac_exeext conftest.$ac_ext
18005 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18007 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
18008 # Warning - without using the other run time loading flags,
18009 # -berok will link without error, but may produce a broken library.
18010 no_undefined_flag_CXX=' ${wl}-bernotok'
18011 allow_undefined_flag_CXX=' ${wl}-berok'
18012 # Exported symbols can be pulled into shared objects from archives
18013 whole_archive_flag_spec_CXX='$convenience'
18014 archive_cmds_need_lc_CXX=yes
18015 # This is similar to how AIX traditionally builds its shared
18017 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
18023 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
18024 allow_undefined_flag_CXX=unsupported
18025 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18026 # support --undefined. This deserves some investigation. FIXME
18027 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18034 case $cc_basename in
18036 # FIXME: insert proper C++ library support
18042 cygwin* | mingw* | pw32* | cegcc*)
18043 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
18044 # as there is no search path for DLLs.
18045 hardcode_libdir_flag_spec_CXX='-L$libdir'
18046 allow_undefined_flag_CXX=unsupported
18047 always_export_symbols_CXX=no
18048 enable_shared_with_static_runtimes_CXX=yes
18050 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
18051 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18052 # If the export-symbols file already is a .def file (1st line
18053 # is EXPORTS), use it as is; otherwise, prepend...
18054 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18055 cp $export_symbols $output_objdir/$soname.def;
18057 echo EXPORTS > $output_objdir/$soname.def;
18058 cat $export_symbols >> $output_objdir/$soname.def;
18060 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18065 darwin* | rhapsody*)
18068 archive_cmds_need_lc_CXX=no
18069 hardcode_direct_CXX=no
18070 hardcode_automatic_CXX=yes
18071 hardcode_shlibpath_var_CXX=unsupported
18072 whole_archive_flag_spec_CXX=''
18073 link_all_deplibs_CXX=yes
18074 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
18075 case $cc_basename in
18076 ifort*) _lt_dar_can_shared=yes ;;
18077 *) _lt_dar_can_shared=$GCC ;;
18079 if test "$_lt_dar_can_shared" = "yes"; then
18080 output_verbose_link_cmd=echo
18081 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
18082 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18083 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
18084 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
18085 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
18086 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
18087 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
18097 case $cc_basename in
18099 # FIXME: insert proper C++ library support
18103 # Green Hills C++ Compiler
18104 # FIXME: insert proper C++ library support
18108 # FIXME: insert proper C++ library support
18115 # C++ shared libraries reported to be fairly broken before
18121 archive_cmds_need_lc_CXX=no
18124 freebsd* | dragonfly*)
18125 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
18134 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18135 hardcode_libdir_separator_CXX=:
18136 export_dynamic_flag_spec_CXX='${wl}-E'
18137 hardcode_direct_CXX=yes
18138 hardcode_minus_L_CXX=yes # Not in the search PATH,
18139 # but as the default
18140 # location of the library.
18142 case $cc_basename in
18144 # FIXME: insert proper C++ library support
18148 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18149 # Commands to make compiler produce verbose output that lists
18150 # what "hidden" libraries, object files and flags are used when
18151 # linking a shared library.
18153 # There doesn't appear to be a way to prevent this compiler from
18154 # explicitly linking system object files so we need to strip them
18155 # from the output so that they don't get included in the library
18157 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
18160 if test "$GXX" = yes; then
18161 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18163 # FIXME: insert proper C++ library support
18171 if test $with_gnu_ld = no; then
18172 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18173 hardcode_libdir_separator_CXX=:
18179 export_dynamic_flag_spec_CXX='${wl}-E'
18185 hardcode_direct_CXX=no
18186 hardcode_shlibpath_var_CXX=no
18189 hardcode_direct_CXX=yes
18190 hardcode_direct_absolute_CXX=yes
18191 hardcode_minus_L_CXX=yes # Not in the search PATH,
18192 # but as the default
18193 # location of the library.
18197 case $cc_basename in
18199 # FIXME: insert proper C++ library support
18205 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18208 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18211 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18214 # Commands to make compiler produce verbose output that lists
18215 # what "hidden" libraries, object files and flags are used when
18216 # linking a shared library.
18218 # There doesn't appear to be a way to prevent this compiler from
18219 # explicitly linking system object files so we need to strip them
18220 # from the output so that they don't get included in the library
18222 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
18225 if test "$GXX" = yes; then
18226 if test $with_gnu_ld = no; then
18229 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18232 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18235 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18240 # FIXME: insert proper C++ library support
18248 hardcode_direct_CXX=no
18249 hardcode_shlibpath_var_CXX=no
18250 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18251 export_dynamic_flag_spec_CXX='${wl}-E'
18252 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18253 # Instead, shared libraries are loaded at an image base (0x10000000 by
18254 # default) and relocated if they conflict, which is a slow very memory
18255 # consuming and fragmenting process. To avoid this, we pick a random,
18256 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18257 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
18258 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
18259 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
18262 case $cc_basename in
18265 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
18267 # Archives containing C++ object files must be created using
18268 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
18269 # necessary to make sure instantiated templates are included
18271 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
18274 if test "$GXX" = yes; then
18275 if test "$with_gnu_ld" = no; then
18276 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18278 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
18281 link_all_deplibs_CXX=yes
18284 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18285 hardcode_libdir_separator_CXX=:
18286 inherit_rpath_CXX=yes
18289 linux* | k*bsd*-gnu | kopensolaris*-gnu)
18290 case $cc_basename in
18292 # Kuck and Associates, Inc. (KAI) C++ Compiler
18294 # KCC will only create a shared library if the output file
18295 # ends with ".so" (or ".sl" for HP-UX), so rename the library
18296 # to its proper name (with version) after linking.
18297 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
18298 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
18299 # Commands to make compiler produce verbose output that lists
18300 # what "hidden" libraries, object files and flags are used when
18301 # linking a shared library.
18303 # There doesn't appear to be a way to prevent this compiler from
18304 # explicitly linking system object files so we need to strip them
18305 # from the output so that they don't get included in the library
18307 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
18309 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18310 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18312 # Archives containing C++ object files must be created using
18313 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
18314 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
18319 # version 8.0 and above of icpc choke on multiply defined symbols
18320 # if we add $predep_objects and $postdep_objects, however 7.1 and
18321 # earlier do not add the objects themselves.
18322 case `$CC -V 2>&1` in
18324 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18325 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18327 *) # Version 8.0 or newer
18330 ia64*) tmp_idyn=' -i_dynamic';;
18332 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18333 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18336 archive_cmds_need_lc_CXX=no
18337 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18338 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18339 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
18342 # Portland Group C++ compiler
18344 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
18345 prelink_cmds_CXX='tpldir=Template.dir~
18347 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
18348 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
18349 old_archive_cmds_CXX='tpldir=Template.dir~
18351 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
18352 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
18354 archive_cmds_CXX='tpldir=Template.dir~
18356 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
18357 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
18358 archive_expsym_cmds_CXX='tpldir=Template.dir~
18360 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
18361 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
18363 *) # Version 6 will use weak symbols
18364 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
18365 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
18369 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
18370 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18371 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
18375 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18376 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
18378 runpath_var=LD_RUN_PATH
18379 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
18380 hardcode_libdir_separator_CXX=:
18382 # Commands to make compiler produce verbose output that lists
18383 # what "hidden" libraries, object files and flags are used when
18384 # linking a shared library.
18386 # There doesn't appear to be a way to prevent this compiler from
18387 # explicitly linking system object files so we need to strip them
18388 # from the output so that they don't get included in the library
18390 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
18393 # IBM XL 8.0 on PPC, with GNU ld
18394 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18395 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18396 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18397 if test "x$supports_anon_versioning" = xyes; then
18398 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
18399 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18400 echo "local: *; };" >> $output_objdir/$libname.ver~
18401 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18405 case `$CC -V 2>&1 | sed 5q` in
18408 no_undefined_flag_CXX=' -zdefs'
18409 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18410 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
18411 hardcode_libdir_flag_spec_CXX='-R$libdir'
18412 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
18413 compiler_needs_object_CXX=yes
18415 # Not sure whether something based on
18416 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
18418 output_verbose_link_cmd='echo'
18420 # Archives containing C++ object files must be created using
18421 # "CC -xar", where "CC" is the Sun C++ compiler. This is
18422 # necessary to make sure instantiated templates are included
18424 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
18432 # FIXME: insert proper C++ library support
18437 # FIXME: insert proper C++ library support
18442 case $cc_basename in
18444 # FIXME: insert proper C++ library support
18448 # FIXME: insert proper C++ library support
18455 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
18456 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
18458 hardcode_libdir_flag_spec_CXX='-R$libdir'
18459 hardcode_direct_CXX=yes
18460 hardcode_shlibpath_var_CXX=no
18462 # Workaround some broken pre-1.5 toolchains
18463 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
18471 # C++ shared libraries are fairly broken
18476 if test -f /usr/libexec/ld.so; then
18477 hardcode_direct_CXX=yes
18478 hardcode_shlibpath_var_CXX=no
18479 hardcode_direct_absolute_CXX=yes
18480 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18481 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18482 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18483 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
18484 export_dynamic_flag_spec_CXX='${wl}-E'
18485 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18487 output_verbose_link_cmd=echo
18493 osf3* | osf4* | osf5*)
18494 case $cc_basename in
18496 # Kuck and Associates, Inc. (KAI) C++ Compiler
18498 # KCC will only create a shared library if the output file
18499 # ends with ".so" (or ".sl" for HP-UX), so rename the library
18500 # to its proper name (with version) after linking.
18501 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
18503 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18504 hardcode_libdir_separator_CXX=:
18506 # Archives containing C++ object files must be created using
18507 # the KAI C++ compiler.
18509 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
18510 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
18514 # Rational C++ 2.4.1
18515 # FIXME: insert proper C++ library support
18521 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
18522 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
18523 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18526 allow_undefined_flag_CXX=' -expect_unresolved \*'
18527 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
18528 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
18529 echo "-hidden">> $lib.exp~
18530 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
18532 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
18536 hardcode_libdir_separator_CXX=:
18538 # Commands to make compiler produce verbose output that lists
18539 # what "hidden" libraries, object files and flags are used when
18540 # linking a shared library.
18542 # There doesn't appear to be a way to prevent this compiler from
18543 # explicitly linking system object files so we need to strip them
18544 # from the output so that they don't get included in the library
18546 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
18549 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
18550 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
18553 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18556 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18560 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18561 hardcode_libdir_separator_CXX=:
18563 # Commands to make compiler produce verbose output that lists
18564 # what "hidden" libraries, object files and flags are used when
18565 # linking a shared library.
18566 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
18569 # FIXME: insert proper C++ library support
18577 # FIXME: insert proper C++ library support
18582 case $cc_basename in
18585 # FIXME: insert proper C++ library support
18590 # FIXME: insert proper C++ library support
18594 # FIXME: insert proper C++ library support
18601 case $cc_basename in
18603 # Sun C++ 4.2, 5.x and Centerline C++
18604 archive_cmds_need_lc_CXX=yes
18605 no_undefined_flag_CXX=' -zdefs'
18606 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18607 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18608 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
18610 hardcode_libdir_flag_spec_CXX='-R$libdir'
18611 hardcode_shlibpath_var_CXX=no
18613 solaris2.[0-5] | solaris2.[0-5].*) ;;
18615 # The compiler driver will combine and reorder linker options,
18616 # but understands `-z linker_flag'.
18617 # Supported since Solaris 2.6 (maybe 2.5.1?)
18618 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
18621 link_all_deplibs_CXX=yes
18623 output_verbose_link_cmd='echo'
18625 # Archives containing C++ object files must be created using
18626 # "CC -xar", where "CC" is the Sun C++ compiler. This is
18627 # necessary to make sure instantiated templates are included
18629 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
18632 # Green Hills C++ Compiler
18633 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18635 # The C++ compiler must be used to create the archive.
18636 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
18639 # GNU C++ compiler with Solaris linker
18640 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
18641 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
18642 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
18643 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18644 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18645 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
18647 # Commands to make compiler produce verbose output that lists
18648 # what "hidden" libraries, object files and flags are used when
18649 # linking a shared library.
18650 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
18652 # g++ 2.7 appears to require `-G' NOT `-shared' on this
18654 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18655 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18656 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
18658 # Commands to make compiler produce verbose output that lists
18659 # what "hidden" libraries, object files and flags are used when
18660 # linking a shared library.
18661 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
18664 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
18666 solaris2.[0-5] | solaris2.[0-5].*) ;;
18668 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18676 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
18677 no_undefined_flag_CXX='${wl}-z,text'
18678 archive_cmds_need_lc_CXX=no
18679 hardcode_shlibpath_var_CXX=no
18680 runpath_var='LD_RUN_PATH'
18682 case $cc_basename in
18684 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18685 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18688 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18689 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18694 sysv5* | sco3.2v5* | sco5v6*)
18695 # Note: We can NOT use -z defs as we might desire, because we do not
18696 # link with -lc, and that would cause any symbols used from libc to
18697 # always be unresolved, which means just about no library would
18698 # ever link correctly. If we're not using GNU ld we use -z text
18699 # though, which does catch some bad symbols but isn't as heavy-handed
18701 no_undefined_flag_CXX='${wl}-z,text'
18702 allow_undefined_flag_CXX='${wl}-z,nodefs'
18703 archive_cmds_need_lc_CXX=no
18704 hardcode_shlibpath_var_CXX=no
18705 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
18706 hardcode_libdir_separator_CXX=':'
18707 link_all_deplibs_CXX=yes
18708 export_dynamic_flag_spec_CXX='${wl}-Bexport'
18709 runpath_var='LD_RUN_PATH'
18711 case $cc_basename in
18713 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18714 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18717 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18718 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18724 case $cc_basename in
18726 # NonStop-UX NCC 3.20
18727 # FIXME: insert proper C++ library support
18731 # FIXME: insert proper C++ library support
18738 # FIXME: insert proper C++ library support
18743 # FIXME: insert proper C++ library support
18748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
18749 $as_echo "$ld_shlibs_CXX" >&6; }
18750 test "$ld_shlibs_CXX" = no && can_build_shared=no
18756 ## There is no encapsulation within the following macros, do not change
18757 ## the running order or otherwise move them around unless you know exactly
18758 ## what you are doing...
18759 # Dependencies to place before and after the object being linked:
18760 predep_objects_CXX=
18761 postdep_objects_CXX=
18764 compiler_lib_search_path_CXX=
18766 cat > conftest.$ac_ext <<_LT_EOF
18770 Foo (void) { a = 0; }
18776 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18777 (eval $ac_compile) 2>&5
18779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18780 test $ac_status = 0; }; then
18781 # Parse the compiler output and extract the necessary
18782 # objects, libraries and library flags.
18784 # Sentinel used to keep track of whether or not we are before
18785 # the conftest object file.
18786 pre_test_object_deps_done=no
18788 for p in `eval "$output_verbose_link_cmd"`; do
18792 # Some compilers place space between "-{L,R}" and the path.
18793 # Remove the space.
18794 if test $p = "-L" ||
18795 test $p = "-R"; then
18802 if test "$pre_test_object_deps_done" = no; then
18805 # Internal compiler library paths should come after those
18806 # provided the user. The postdeps already come after the
18807 # user supplied libs so there is no need to process them.
18808 if test -z "$compiler_lib_search_path_CXX"; then
18809 compiler_lib_search_path_CXX="${prev}${p}"
18811 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
18814 # The "-l" case would never come before the object being
18815 # linked, so don't bother handling this case.
18818 if test -z "$postdeps_CXX"; then
18819 postdeps_CXX="${prev}${p}"
18821 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
18827 # This assumes that the test object file only shows up
18828 # once in the compiler output.
18829 if test "$p" = "conftest.$objext"; then
18830 pre_test_object_deps_done=yes
18834 if test "$pre_test_object_deps_done" = no; then
18835 if test -z "$predep_objects_CXX"; then
18836 predep_objects_CXX="$p"
18838 predep_objects_CXX="$predep_objects_CXX $p"
18841 if test -z "$postdep_objects_CXX"; then
18842 postdep_objects_CXX="$p"
18844 postdep_objects_CXX="$postdep_objects_CXX $p"
18849 *) ;; # Ignore the rest.
18857 echo "libtool.m4: error: problem compiling CXX test program"
18860 $RM -f confest.$objext
18862 # PORTME: override above test on systems where it is broken
18865 # Interix 3.5 installs completely hosed .la files for C++, so rather than
18866 # hack all around it, let's just trust "g++" to DTRT.
18867 predep_objects_CXX=
18868 postdep_objects_CXX=
18873 case `$CC -V 2>&1 | sed 5q` in
18877 # The more standards-conforming stlport4 library is
18878 # incompatible with the Cstd library. Avoid specifying
18879 # it if it's in CXXFLAGS. Ignore libCrun as
18880 # -library=stlport4 depends on it.
18881 case " $CXX $CXXFLAGS " in
18882 *" -library=stlport4 "*)
18883 solaris_use_stlport4=yes
18887 if test "$solaris_use_stlport4" != yes; then
18888 postdeps_CXX='-library=Cstd -library=Crun'
18895 case $cc_basename in
18897 # The more standards-conforming stlport4 library is
18898 # incompatible with the Cstd library. Avoid specifying
18899 # it if it's in CXXFLAGS. Ignore libCrun as
18900 # -library=stlport4 depends on it.
18901 case " $CXX $CXXFLAGS " in
18902 *" -library=stlport4 "*)
18903 solaris_use_stlport4=yes
18907 # Adding this requires a known-good setup of shared libraries for
18908 # Sun compiler versions before 5.6, else PIC objects from an old
18909 # archive will be linked into the output, leading to subtle bugs.
18910 if test "$solaris_use_stlport4" != yes; then
18911 postdeps_CXX='-library=Cstd -library=Crun'
18919 case " $postdeps_CXX " in
18920 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
18922 compiler_lib_search_dirs_CXX=
18923 if test -n "${compiler_lib_search_path_CXX}"; then
18924 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
18957 lt_prog_compiler_wl_CXX=
18958 lt_prog_compiler_pic_CXX=
18959 lt_prog_compiler_static_CXX=
18961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
18962 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
18964 # C++ specific cases for pic, static, wl, etc.
18965 if test "$GXX" = yes; then
18966 lt_prog_compiler_wl_CXX='-Wl,'
18967 lt_prog_compiler_static_CXX='-static'
18971 # All AIX code is PIC.
18972 if test "$host_cpu" = ia64; then
18973 # AIX 5 now supports IA64 processor
18974 lt_prog_compiler_static_CXX='-Bstatic'
18981 # see comment about AmigaOS4 .so support
18982 lt_prog_compiler_pic_CXX='-fPIC'
18985 # FIXME: we need at least 68020 code to build shared libraries, but
18986 # adding the `-m68020' flag to GCC prevents building anything better,
18988 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
18993 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
18994 # PIC is the default for these OSes.
18996 mingw* | cygwin* | os2* | pw32* | cegcc*)
18997 # This hack is so that the source file can tell whether it is being
18998 # built for inclusion in a dll (and should export symbols for example).
18999 # Although the cygwin gcc ignores -fPIC, still need this for old-style
19000 # (--disable-auto-import) libraries
19001 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
19003 darwin* | rhapsody*)
19004 # PIC is the default on this platform
19005 # Common symbols not allowed in MH_DYLIB files
19006 lt_prog_compiler_pic_CXX='-fno-common'
19009 # DJGPP does not support shared libraries at all
19010 lt_prog_compiler_pic_CXX=
19013 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
19014 # Instead, we relocate shared libraries at runtime.
19017 if test -d /usr/nec; then
19018 lt_prog_compiler_pic_CXX=-Kconform_pic
19022 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
19023 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
19024 # sets the default TLS model and affects inlining.
19029 lt_prog_compiler_pic_CXX='-fPIC'
19034 # QNX uses GNU C++, but need to define -shared option too, otherwise
19035 # it will coredump.
19036 lt_prog_compiler_pic_CXX='-fPIC -shared'
19039 lt_prog_compiler_pic_CXX='-fPIC'
19045 # All AIX code is PIC.
19046 if test "$host_cpu" = ia64; then
19047 # AIX 5 now supports IA64 processor
19048 lt_prog_compiler_static_CXX='-Bstatic'
19050 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
19054 case $cc_basename in
19056 # Green Hills C++ Compiler
19057 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
19062 case $cc_basename in
19064 lt_prog_compiler_pic_CXX='-KPIC'
19067 # Green Hills C++ Compiler
19068 lt_prog_compiler_pic_CXX='-pic'
19074 freebsd* | dragonfly*)
19075 # FreeBSD uses GNU C++
19077 hpux9* | hpux10* | hpux11*)
19078 case $cc_basename in
19080 lt_prog_compiler_wl_CXX='-Wl,'
19081 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
19082 if test "$host_cpu" != ia64; then
19083 lt_prog_compiler_pic_CXX='+Z'
19087 lt_prog_compiler_wl_CXX='-Wl,'
19088 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
19094 lt_prog_compiler_pic_CXX='+Z'
19103 # This is c89, which is MS Visual C++ (no shared libs)
19104 # Anyone wants to do a port?
19106 irix5* | irix6* | nonstopux*)
19107 case $cc_basename in
19109 lt_prog_compiler_wl_CXX='-Wl,'
19110 lt_prog_compiler_static_CXX='-non_shared'
19111 # CC pic flag -KPIC is the default.
19117 linux* | k*bsd*-gnu | kopensolaris*-gnu)
19118 case $cc_basename in
19121 lt_prog_compiler_wl_CXX='--backend -Wl,'
19122 lt_prog_compiler_pic_CXX='-fPIC'
19125 # old Intel C++ for x86_64 which still supported -KPIC.
19126 lt_prog_compiler_wl_CXX='-Wl,'
19127 lt_prog_compiler_pic_CXX='-KPIC'
19128 lt_prog_compiler_static_CXX='-static'
19131 # Intel C++, used to be incompatible with GCC.
19132 # ICC 10 doesn't accept -KPIC any more.
19133 lt_prog_compiler_wl_CXX='-Wl,'
19134 lt_prog_compiler_pic_CXX='-fPIC'
19135 lt_prog_compiler_static_CXX='-static'
19138 # Portland Group C++ compiler
19139 lt_prog_compiler_wl_CXX='-Wl,'
19140 lt_prog_compiler_pic_CXX='-fpic'
19141 lt_prog_compiler_static_CXX='-Bstatic'
19145 # Make sure the PIC flag is empty. It appears that all Alpha
19146 # Linux and Compaq Tru64 Unix objects are PIC.
19147 lt_prog_compiler_pic_CXX=
19148 lt_prog_compiler_static_CXX='-non_shared'
19151 # IBM XL 8.0 on PPC
19152 lt_prog_compiler_wl_CXX='-Wl,'
19153 lt_prog_compiler_pic_CXX='-qpic'
19154 lt_prog_compiler_static_CXX='-qstaticlink'
19157 case `$CC -V 2>&1 | sed 5q` in
19160 lt_prog_compiler_pic_CXX='-KPIC'
19161 lt_prog_compiler_static_CXX='-Bstatic'
19162 lt_prog_compiler_wl_CXX='-Qoption ld '
19173 case $cc_basename in
19175 lt_prog_compiler_pic_CXX='-W c,exportall'
19181 netbsd* | netbsdelf*-gnu)
19184 # QNX uses GNU C++, but need to define -shared option too, otherwise
19185 # it will coredump.
19186 lt_prog_compiler_pic_CXX='-fPIC -shared'
19188 osf3* | osf4* | osf5*)
19189 case $cc_basename in
19191 lt_prog_compiler_wl_CXX='--backend -Wl,'
19194 # Rational C++ 2.4.1
19195 lt_prog_compiler_pic_CXX='-pic'
19198 # Digital/Compaq C++
19199 lt_prog_compiler_wl_CXX='-Wl,'
19200 # Make sure the PIC flag is empty. It appears that all Alpha
19201 # Linux and Compaq Tru64 Unix objects are PIC.
19202 lt_prog_compiler_pic_CXX=
19203 lt_prog_compiler_static_CXX='-non_shared'
19212 case $cc_basename in
19214 # Sun C++ 4.2, 5.x and Centerline C++
19215 lt_prog_compiler_pic_CXX='-KPIC'
19216 lt_prog_compiler_static_CXX='-Bstatic'
19217 lt_prog_compiler_wl_CXX='-Qoption ld '
19220 # Green Hills C++ Compiler
19221 lt_prog_compiler_pic_CXX='-PIC'
19228 case $cc_basename in
19231 lt_prog_compiler_pic_CXX='-pic'
19232 lt_prog_compiler_static_CXX='-Bstatic'
19236 lt_prog_compiler_pic_CXX='-pic'
19242 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
19243 case $cc_basename in
19245 lt_prog_compiler_wl_CXX='-Wl,'
19246 lt_prog_compiler_pic_CXX='-KPIC'
19247 lt_prog_compiler_static_CXX='-Bstatic'
19252 case $cc_basename in
19254 # NonStop-UX NCC 3.20
19255 lt_prog_compiler_pic_CXX='-KPIC'
19264 lt_prog_compiler_can_build_shared_CXX=no
19270 # For platforms which do not support PIC, -DPIC is meaningless:
19272 lt_prog_compiler_pic_CXX=
19275 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
19278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
19279 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
19284 # Check to make sure the PIC flag actually works.
19286 if test -n "$lt_prog_compiler_pic_CXX"; then
19287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
19288 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
19289 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
19290 $as_echo_n "(cached) " >&6
19292 lt_cv_prog_compiler_pic_works_CXX=no
19293 ac_outfile=conftest.$ac_objext
19294 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19295 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
19296 # Insert the option either (1) after the last *FLAGS variable, or
19297 # (2) before a word containing "conftest.", or (3) at the end.
19298 # Note that $ac_compile itself does not contain backslashes and begins
19299 # with a dollar sign (not a hyphen), so the echo should work correctly.
19300 # The option is referenced via a variable to avoid confusing sed.
19301 lt_compile=`echo "$ac_compile" | $SED \
19302 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19303 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19304 -e 's:$: $lt_compiler_flag:'`
19305 (eval echo "\"\$as_me:19305: $lt_compile\"" >&5)
19306 (eval "$lt_compile" 2>conftest.err)
19308 cat conftest.err >&5
19309 echo "$as_me:19309: \$? = $ac_status" >&5
19310 if (exit $ac_status) && test -s "$ac_outfile"; then
19311 # The compiler can only warn and ignore the option if not recognized
19312 # So say no if there are warnings other than the usual output.
19313 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
19314 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19315 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
19316 lt_cv_prog_compiler_pic_works_CXX=yes
19322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
19323 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
19325 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
19326 case $lt_prog_compiler_pic_CXX in
19328 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
19331 lt_prog_compiler_pic_CXX=
19332 lt_prog_compiler_can_build_shared_CXX=no
19340 # Check to make sure the static flag actually works.
19342 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
19343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
19344 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
19345 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
19346 $as_echo_n "(cached) " >&6
19348 lt_cv_prog_compiler_static_works_CXX=no
19349 save_LDFLAGS="$LDFLAGS"
19350 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
19351 echo "$lt_simple_link_test_code" > conftest.$ac_ext
19352 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
19353 # The linker can only warn and ignore the option if not recognized
19354 # So say no if there are warnings
19355 if test -s conftest.err; then
19356 # Append any errors to the config.log.
19357 cat conftest.err 1>&5
19358 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
19359 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19360 if diff conftest.exp conftest.er2 >/dev/null; then
19361 lt_cv_prog_compiler_static_works_CXX=yes
19364 lt_cv_prog_compiler_static_works_CXX=yes
19368 LDFLAGS="$save_LDFLAGS"
19371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
19372 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
19374 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
19377 lt_prog_compiler_static_CXX=
19383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
19384 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
19385 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
19386 $as_echo_n "(cached) " >&6
19388 lt_cv_prog_compiler_c_o_CXX=no
19389 $RM -r conftest 2>/dev/null
19393 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19395 lt_compiler_flag="-o out/conftest2.$ac_objext"
19396 # Insert the option either (1) after the last *FLAGS variable, or
19397 # (2) before a word containing "conftest.", or (3) at the end.
19398 # Note that $ac_compile itself does not contain backslashes and begins
19399 # with a dollar sign (not a hyphen), so the echo should work correctly.
19400 lt_compile=`echo "$ac_compile" | $SED \
19401 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19402 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19403 -e 's:$: $lt_compiler_flag:'`
19404 (eval echo "\"\$as_me:19404: $lt_compile\"" >&5)
19405 (eval "$lt_compile" 2>out/conftest.err)
19407 cat out/conftest.err >&5
19408 echo "$as_me:19408: \$? = $ac_status" >&5
19409 if (exit $ac_status) && test -s out/conftest2.$ac_objext
19411 # The compiler can only warn and ignore the option if not recognized
19412 # So say no if there are warnings
19413 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
19414 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
19415 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
19416 lt_cv_prog_compiler_c_o_CXX=yes
19421 # SGI C++ compiler will create directory out/ii_files/ for
19422 # template instantiation
19423 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
19424 $RM out/* && rmdir out
19430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
19431 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
19435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
19436 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
19437 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
19438 $as_echo_n "(cached) " >&6
19440 lt_cv_prog_compiler_c_o_CXX=no
19441 $RM -r conftest 2>/dev/null
19445 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19447 lt_compiler_flag="-o out/conftest2.$ac_objext"
19448 # Insert the option either (1) after the last *FLAGS variable, or
19449 # (2) before a word containing "conftest.", or (3) at the end.
19450 # Note that $ac_compile itself does not contain backslashes and begins
19451 # with a dollar sign (not a hyphen), so the echo should work correctly.
19452 lt_compile=`echo "$ac_compile" | $SED \
19453 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19454 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19455 -e 's:$: $lt_compiler_flag:'`
19456 (eval echo "\"\$as_me:19456: $lt_compile\"" >&5)
19457 (eval "$lt_compile" 2>out/conftest.err)
19459 cat out/conftest.err >&5
19460 echo "$as_me:19460: \$? = $ac_status" >&5
19461 if (exit $ac_status) && test -s out/conftest2.$ac_objext
19463 # The compiler can only warn and ignore the option if not recognized
19464 # So say no if there are warnings
19465 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
19466 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
19467 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
19468 lt_cv_prog_compiler_c_o_CXX=yes
19473 # SGI C++ compiler will create directory out/ii_files/ for
19474 # template instantiation
19475 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
19476 $RM out/* && rmdir out
19482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
19483 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
19488 hard_links="nottested"
19489 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
19490 # do not overwrite the value of need_locks provided by the user
19491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
19492 $as_echo_n "checking if we can lock with hard links... " >&6; }
19495 ln conftest.a conftest.b 2>/dev/null && hard_links=no
19497 ln conftest.a conftest.b 2>&5 || hard_links=no
19498 ln conftest.a conftest.b 2>/dev/null && hard_links=no
19499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
19500 $as_echo "$hard_links" >&6; }
19501 if test "$hard_links" = no; then
19502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19503 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19513 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
19515 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19518 # If we're using GNU nm, then we don't want the "-C" option.
19519 # -C means demangle to AIX nm, but means don't demangle with GNU nm
19520 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
19521 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
19523 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
19527 export_symbols_cmds_CXX="$ltdll_cmds"
19529 cygwin* | mingw* | cegcc*)
19530 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
19532 linux* | k*bsd*-gnu)
19533 link_all_deplibs_CXX=no
19536 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19539 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
19541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
19542 $as_echo "$ld_shlibs_CXX" >&6; }
19543 test "$ld_shlibs_CXX" = no && can_build_shared=no
19545 with_gnu_ld_CXX=$with_gnu_ld
19553 # Do we need to explicitly link libc?
19555 case "x$archive_cmds_need_lc_CXX" in
19557 # Assume -lc should be added
19558 archive_cmds_need_lc_CXX=yes
19560 if test "$enable_shared" = yes && test "$GCC" = yes; then
19561 case $archive_cmds_CXX in
19563 # FIXME: we may have to deal with multi-command sequences.
19566 # Test whether the compiler implicitly links with -lc since on some
19567 # systems, -lgcc has to come before -lc. If gcc already passes -lc
19568 # to ld, don't add -lc before -lgcc.
19569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
19570 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
19572 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19574 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
19575 (eval $ac_compile) 2>&5
19577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19578 test $ac_status = 0; } 2>conftest.err; then
19581 libobjs=conftest.$ac_objext
19583 wl=$lt_prog_compiler_wl_CXX
19584 pic_flag=$lt_prog_compiler_pic_CXX
19590 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
19591 allow_undefined_flag_CXX=
19592 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
19593 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
19595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19596 test $ac_status = 0; }
19598 archive_cmds_need_lc_CXX=no
19600 archive_cmds_need_lc_CXX=yes
19602 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
19604 cat conftest.err 1>&5
19607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
19608 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
19678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
19679 $as_echo_n "checking dynamic linker characteristics... " >&6; }
19681 library_names_spec=
19682 libname_spec='lib$name'
19686 postuninstall_cmds=
19690 shlibpath_overrides_runpath=unknown
19692 dynamic_linker="$host_os ld.so"
19693 sys_lib_dlsearch_path_spec="/lib /usr/lib"
19694 need_lib_prefix=unknown
19695 hardcode_into_libs=no
19697 # when you set need_version to no, make sure it does not cause -set_version
19698 # flags to be left without arguments
19699 need_version=unknown
19704 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
19705 shlibpath_var=LIBPATH
19707 # AIX 3 has no versioning support, so we append a major version to the name.
19708 soname_spec='${libname}${release}${shared_ext}$major'
19715 hardcode_into_libs=yes
19716 if test "$host_cpu" = ia64; then
19717 # AIX 5 supports IA64
19718 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
19719 shlibpath_var=LD_LIBRARY_PATH
19721 # With GCC up to 2.95.x, collect2 would create an import file
19722 # for dependence libraries. The import file would start with
19723 # the line `#! .'. This would cause the generated library to
19724 # depend on `.', always an invalid library. This was fixed in
19725 # development snapshots of GCC prior to 3.0.
19727 aix4 | aix4.[01] | aix4.[01].*)
19728 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19730 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
19733 can_build_shared=no
19737 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19738 # soname into executable. Probably we can add versioning support to
19739 # collect2, so additional links can be useful in future.
19740 if test "$aix_use_runtimelinking" = yes; then
19741 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
19742 # instead of lib<name>.a to let people know that these are not
19743 # typical AIX shared libraries.
19744 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19746 # We preserve .a as extension for shared libraries through AIX4.2
19747 # and later when we are not doing run time linking.
19748 library_names_spec='${libname}${release}.a $libname.a'
19749 soname_spec='${libname}${release}${shared_ext}$major'
19751 shlibpath_var=LIBPATH
19758 # Since July 2007 AmigaOS4 officially supports .so libraries.
19759 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
19760 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19763 library_names_spec='$libname.ixlibrary $libname.a'
19764 # Create ${libname}_ixlibrary.a entries in /sys/libs.
19765 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
19771 library_names_spec='${libname}${shared_ext}'
19772 dynamic_linker="$host_os ld.so"
19773 shlibpath_var=LIBRARY_PATH
19779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19780 soname_spec='${libname}${release}${shared_ext}$major'
19781 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
19782 shlibpath_var=LD_LIBRARY_PATH
19783 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19784 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
19785 # the default ld.so.conf also contains /usr/contrib/lib and
19786 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19787 # libtool to hard-code these into programs
19790 cygwin* | mingw* | pw32* | cegcc*)
19791 version_type=windows
19796 case $GCC,$host_os in
19797 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
19798 library_names_spec='$libname.dll.a'
19799 # DLL is installed to $(libdir)/../bin by postinstall_cmds
19800 postinstall_cmds='base_file=`basename \${file}`~
19801 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
19802 dldir=$destdir/`dirname \$dlpath`~
19803 test -d \$dldir || mkdir -p \$dldir~
19804 $install_prog $dir/$dlname \$dldir/$dlname~
19805 chmod a+x \$dldir/$dlname~
19806 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
19807 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
19809 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19810 dlpath=$dir/\$dldll~
19812 shlibpath_overrides_runpath=yes
19816 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
19817 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19818 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
19821 # MinGW DLLs use traditional 'lib' prefix
19822 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19823 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19824 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
19825 # It is most probably a Windows format PATH printed by
19826 # mingw gcc, but we are running on Cygwin. Gcc prints its search
19827 # path with ; separators, and with drive letters. We can handle the
19828 # drive letters (cygwin fileutils understands them), so leave them,
19829 # especially as we might pass files found there to a mingw objdump,
19830 # which wouldn't understand a cygwinified path. Ahh.
19831 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19833 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19837 # pw32 DLLs use 'pw' prefix rather than 'lib'
19838 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19844 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
19847 dynamic_linker='Win32 ld.exe'
19848 # FIXME: first we should search . and the directory the executable is in
19852 darwin* | rhapsody*)
19853 dynamic_linker="$host_os dyld"
19854 version_type=darwin
19857 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19858 soname_spec='${libname}${release}${major}$shared_ext'
19859 shlibpath_overrides_runpath=yes
19860 shlibpath_var=DYLD_LIBRARY_PATH
19861 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
19863 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
19870 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19871 soname_spec='${libname}${release}${shared_ext}$major'
19872 shlibpath_var=LD_LIBRARY_PATH
19879 freebsd* | dragonfly*)
19880 # DragonFly does not have aout. When/if they implement a new
19881 # versioning mechanism, adjust this.
19882 if test -x /usr/bin/objformat; then
19883 objformat=`/usr/bin/objformat`
19886 freebsd[123]*) objformat=aout ;;
19887 *) objformat=elf ;;
19890 version_type=freebsd-$objformat
19891 case $version_type in
19893 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19898 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19902 shlibpath_var=LD_LIBRARY_PATH
19905 shlibpath_overrides_runpath=yes
19907 freebsd3.[01]* | freebsdelf3.[01]*)
19908 shlibpath_overrides_runpath=yes
19909 hardcode_into_libs=yes
19911 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
19912 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
19913 shlibpath_overrides_runpath=no
19914 hardcode_into_libs=yes
19916 *) # from 4.6 on, and DragonFly
19917 shlibpath_overrides_runpath=yes
19918 hardcode_into_libs=yes
19927 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19928 soname_spec='${libname}${release}${shared_ext}$major'
19929 shlibpath_var=LD_LIBRARY_PATH
19930 hardcode_into_libs=yes
19933 hpux9* | hpux10* | hpux11*)
19934 # Give a soname corresponding to the major version so that dld.sl refuses to
19935 # link against other versions.
19942 hardcode_into_libs=yes
19943 dynamic_linker="$host_os dld.so"
19944 shlibpath_var=LD_LIBRARY_PATH
19945 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19946 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19947 soname_spec='${libname}${release}${shared_ext}$major'
19948 if test "X$HPUX_IA64_MODE" = X32; then
19949 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19951 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
19953 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19957 hardcode_into_libs=yes
19958 dynamic_linker="$host_os dld.sl"
19959 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
19960 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19961 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19962 soname_spec='${libname}${release}${shared_ext}$major'
19963 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19964 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19968 dynamic_linker="$host_os dld.sl"
19969 shlibpath_var=SHLIB_PATH
19970 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
19971 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19972 soname_spec='${libname}${release}${shared_ext}$major'
19975 # HP-UX runs *really* slowly unless shared libraries are mode 555.
19976 postinstall_cmds='chmod 555 $lib'
19983 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19984 soname_spec='${libname}${release}${shared_ext}$major'
19985 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
19986 shlibpath_var=LD_LIBRARY_PATH
19987 shlibpath_overrides_runpath=no
19988 hardcode_into_libs=yes
19991 irix5* | irix6* | nonstopux*)
19993 nonstopux*) version_type=nonstopux ;;
19995 if test "$lt_cv_prog_gnu_ld" = yes; then
20003 soname_spec='${libname}${release}${shared_ext}$major'
20004 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20006 irix5* | nonstopux*)
20007 libsuff= shlibsuff=
20010 case $LD in # libtool.m4 will add one of these switches to LD
20011 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
20012 libsuff= shlibsuff= libmagic=32-bit;;
20013 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
20014 libsuff=32 shlibsuff=N32 libmagic=N32;;
20015 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
20016 libsuff=64 shlibsuff=64 libmagic=64-bit;;
20017 *) libsuff= shlibsuff= libmagic=never-match;;
20021 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
20022 shlibpath_overrides_runpath=no
20023 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20024 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
20025 hardcode_into_libs=yes
20028 # No shared lib support for Linux oldld, aout, or coff.
20029 linux*oldld* | linux*aout* | linux*coff*)
20033 # This must be Linux ELF.
20034 linux* | k*bsd*-gnu | kopensolaris*-gnu)
20038 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20039 soname_spec='${libname}${release}${shared_ext}$major'
20040 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20041 shlibpath_var=LD_LIBRARY_PATH
20042 shlibpath_overrides_runpath=no
20043 # Some binutils ld are patched to set DT_RUNPATH
20044 save_LDFLAGS=$LDFLAGS
20045 save_libdir=$libdir
20046 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
20047 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
20048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20049 /* end confdefs.h. */
20059 if ac_fn_cxx_try_link "$LINENO"; then :
20060 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
20061 shlibpath_overrides_runpath=yes
20064 rm -f core conftest.err conftest.$ac_objext \
20065 conftest$ac_exeext conftest.$ac_ext
20066 LDFLAGS=$save_LDFLAGS
20067 libdir=$save_libdir
20069 # This implies no fast_install, which is unacceptable.
20070 # Some rework will be needed to allow for fast_install
20071 # before this can be enabled.
20072 hardcode_into_libs=yes
20074 # Append ld.so.conf contents to the search path
20075 if test -f /etc/ld.so.conf; then
20076 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
20077 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
20080 # We used to test for /lib/ld.so.1 and disable shared libraries on
20081 # powerpc, because MkLinux only supported shared libraries with the
20082 # GNU dynamic linker. Since this was broken with cross compilers,
20083 # most powerpc-linux boxes support dynamic linking these days and
20084 # people can always --disable-shared, the test was removed, and we
20085 # assume the GNU/Linux dynamic linker is in use.
20086 dynamic_linker='GNU/Linux ld.so'
20093 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20094 soname_spec='${libname}${release}${shared_ext}$major'
20095 shlibpath_var=LD_LIBRARY_PATH
20096 shlibpath_overrides_runpath=no
20097 hardcode_into_libs=yes
20098 dynamic_linker='NetBSD ld.elf_so'
20105 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
20106 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20107 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20108 dynamic_linker='NetBSD (a.out) ld.so'
20110 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20111 soname_spec='${libname}${release}${shared_ext}$major'
20112 dynamic_linker='NetBSD ld.elf_so'
20114 shlibpath_var=LD_LIBRARY_PATH
20115 shlibpath_overrides_runpath=yes
20116 hardcode_into_libs=yes
20121 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20122 shlibpath_var=LD_LIBRARY_PATH
20123 shlibpath_overrides_runpath=yes
20130 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20131 soname_spec='${libname}${release}${shared_ext}$major'
20132 shlibpath_var=LD_LIBRARY_PATH
20133 shlibpath_overrides_runpath=no
20134 hardcode_into_libs=yes
20135 dynamic_linker='ldqnx.so'
20140 sys_lib_dlsearch_path_spec="/usr/lib"
20142 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20144 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
20145 *) need_version=no ;;
20147 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20148 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20149 shlibpath_var=LD_LIBRARY_PATH
20150 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20152 openbsd2.[89] | openbsd2.[89].*)
20153 shlibpath_overrides_runpath=no
20156 shlibpath_overrides_runpath=yes
20160 shlibpath_overrides_runpath=yes
20165 libname_spec='$name'
20168 library_names_spec='$libname${shared_ext} $libname.a'
20169 dynamic_linker='OS/2 ld.exe'
20170 shlibpath_var=LIBPATH
20173 osf3* | osf4* | osf5*)
20177 soname_spec='${libname}${release}${shared_ext}$major'
20178 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20179 shlibpath_var=LD_LIBRARY_PATH
20180 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20181 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
20192 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20193 soname_spec='${libname}${release}${shared_ext}$major'
20194 shlibpath_var=LD_LIBRARY_PATH
20195 shlibpath_overrides_runpath=yes
20196 hardcode_into_libs=yes
20197 # ldd complains unless libraries are executable
20198 postinstall_cmds='chmod +x $lib'
20203 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20204 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20205 shlibpath_var=LD_LIBRARY_PATH
20206 shlibpath_overrides_runpath=yes
20207 if test "$with_gnu_ld" = yes; then
20215 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20216 soname_spec='${libname}${release}${shared_ext}$major'
20217 shlibpath_var=LD_LIBRARY_PATH
20218 case $host_vendor in
20220 shlibpath_overrides_runpath=no
20222 runpath_var=LD_RUN_PATH
20230 shlibpath_overrides_runpath=no
20231 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
20237 if test -d /usr/nec ;then
20239 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20240 soname_spec='$libname${shared_ext}.$major'
20241 shlibpath_var=LD_LIBRARY_PATH
20245 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
20246 version_type=freebsd-elf
20249 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20250 soname_spec='${libname}${release}${shared_ext}$major'
20251 shlibpath_var=LD_LIBRARY_PATH
20252 shlibpath_overrides_runpath=yes
20253 hardcode_into_libs=yes
20254 if test "$with_gnu_ld" = yes; then
20255 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20257 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
20260 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
20264 sys_lib_dlsearch_path_spec='/usr/lib'
20268 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
20272 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20273 shlibpath_var=LD_LIBRARY_PATH
20274 shlibpath_overrides_runpath=no
20275 hardcode_into_libs=yes
20280 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20281 soname_spec='${libname}${release}${shared_ext}$major'
20282 shlibpath_var=LD_LIBRARY_PATH
20289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
20290 $as_echo "$dynamic_linker" >&6; }
20291 test "$dynamic_linker" = no && can_build_shared=no
20293 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20294 if test "$GCC" = yes; then
20295 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20298 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
20299 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
20301 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
20302 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
20340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
20341 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
20342 hardcode_action_CXX=
20343 if test -n "$hardcode_libdir_flag_spec_CXX" ||
20344 test -n "$runpath_var_CXX" ||
20345 test "X$hardcode_automatic_CXX" = "Xyes" ; then
20347 # We can hardcode non-existent directories.
20348 if test "$hardcode_direct_CXX" != no &&
20349 # If the only mechanism to avoid hardcoding is shlibpath_var, we
20350 # have to relink, otherwise we might link with an installed library
20351 # when we should be linking with a yet-to-be-installed one
20352 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
20353 test "$hardcode_minus_L_CXX" != no; then
20354 # Linking always hardcodes the temporary library directory.
20355 hardcode_action_CXX=relink
20357 # We can link without hardcoding, and we can hardcode nonexisting dirs.
20358 hardcode_action_CXX=immediate
20361 # We cannot hardcode anything, or else we can only hardcode existing
20363 hardcode_action_CXX=unsupported
20365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
20366 $as_echo "$hardcode_action_CXX" >&6; }
20368 if test "$hardcode_action_CXX" = relink ||
20369 test "$inherit_rpath_CXX" = yes; then
20370 # Fast installation is not supported
20371 enable_fast_install=no
20372 elif test "$shlibpath_overrides_runpath" = yes ||
20373 test "$enable_shared" = no; then
20374 # Fast installation is not necessary
20375 enable_fast_install=needless
20384 fi # test -n "$compiler"
20390 with_gnu_ld=$lt_save_with_gnu_ld
20391 lt_cv_path_LDCXX=$lt_cv_path_LD
20392 lt_cv_path_LD=$lt_save_path_LD
20393 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
20394 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
20395 fi # test "$_lt_caught_CXX_error" != yes
20398 ac_cpp='$CPP $CPPFLAGS'
20399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20405 ac_cpp='$CXXCPP $CPPFLAGS'
20406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20411 /* end confdefs.h. */
20412 class Foo { int bar; };
20421 if ac_fn_cxx_try_compile "$LINENO"; then :
20426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20428 ac_cpp='$CPP $CPPFLAGS'
20429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20433 { $as_echo "$as_me:${as_lineno-$LINENO}: working c++ compiler found: $working_cxx" >&5
20434 $as_echo "$as_me: working c++ compiler found: $working_cxx" >&6;}
20435 if test "x$working_cxx" = "xyes"; then
20444 # Extract the first word of "perl", so it can be a program name with args.
20445 set dummy perl; ac_word=$2
20446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20447 $as_echo_n "checking for $ac_word... " >&6; }
20448 if test "${ac_cv_path_PERL_PATH+set}" = set; then :
20449 $as_echo_n "(cached) " >&6
20453 ac_cv_path_PERL_PATH="$PERL_PATH" # Let the user override the test with a path.
20456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20457 for as_dir in $PATH
20460 test -z "$as_dir" && as_dir=.
20461 for ac_exec_ext in '' $ac_executable_extensions; do
20462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20463 ac_cv_path_PERL_PATH="$as_dir/$ac_word$ac_exec_ext"
20464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20471 test -z "$ac_cv_path_PERL_PATH" && ac_cv_path_PERL_PATH="no"
20475 PERL_PATH=$ac_cv_path_PERL_PATH
20476 if test -n "$PERL_PATH"; then
20477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL_PATH" >&5
20478 $as_echo "$PERL_PATH" >&6; }
20480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20481 $as_echo "no" >&6; }
20485 if test x$PERL_PATH = xno; then
20486 as_fn_error $? "Could not find perl" "$LINENO" 5
20489 if test "x$GST_DISABLE_PARSE" != xyes; then
20491 # Extract the first word of "bison", so it can be a program name with args.
20492 set dummy bison; ac_word=$2
20493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20494 $as_echo_n "checking for $ac_word... " >&6; }
20495 if test "${ac_cv_path_BISON_PATH+set}" = set; then :
20496 $as_echo_n "(cached) " >&6
20498 case $BISON_PATH in
20500 ac_cv_path_BISON_PATH="$BISON_PATH" # Let the user override the test with a path.
20503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20504 for as_dir in $PATH
20507 test -z "$as_dir" && as_dir=.
20508 for ac_exec_ext in '' $ac_executable_extensions; do
20509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20510 ac_cv_path_BISON_PATH="$as_dir/$ac_word$ac_exec_ext"
20511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20518 test -z "$ac_cv_path_BISON_PATH" && ac_cv_path_BISON_PATH="no"
20522 BISON_PATH=$ac_cv_path_BISON_PATH
20523 if test -n "$BISON_PATH"; then
20524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON_PATH" >&5
20525 $as_echo "$BISON_PATH" >&6; }
20527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20528 $as_echo "no" >&6; }
20532 if test x$BISON_PATH = xno; then
20533 as_fn_error $? "Could not find bison" "$LINENO" 5
20536 bison_min_version=1.875
20537 bison_version=`$BISON_PATH --version | head -n 1 | sed 's/^[^0-9]*//' | sed 's/[^0-9]*$//' | cut -d' ' -f1`
20538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking bison version $bison_version >= $bison_min_version" >&5
20539 $as_echo_n "checking bison version $bison_version >= $bison_min_version... " >&6; }
20541 if perl -we "exit ((v$bison_version ge v$bison_min_version) ? 0 : 1)"; then
20542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20543 $as_echo "yes" >&6; }
20545 as_fn_error $? "no" "$LINENO" 5
20549 # Extract the first word of "flex", so it can be a program name with args.
20550 set dummy flex; ac_word=$2
20551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20552 $as_echo_n "checking for $ac_word... " >&6; }
20553 if test "${ac_cv_path_FLEX_PATH+set}" = set; then :
20554 $as_echo_n "(cached) " >&6
20558 ac_cv_path_FLEX_PATH="$FLEX_PATH" # Let the user override the test with a path.
20561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20562 for as_dir in $PATH
20565 test -z "$as_dir" && as_dir=.
20566 for ac_exec_ext in '' $ac_executable_extensions; do
20567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20568 ac_cv_path_FLEX_PATH="$as_dir/$ac_word$ac_exec_ext"
20569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20576 test -z "$ac_cv_path_FLEX_PATH" && ac_cv_path_FLEX_PATH="no"
20580 FLEX_PATH=$ac_cv_path_FLEX_PATH
20581 if test -n "$FLEX_PATH"; then
20582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX_PATH" >&5
20583 $as_echo "$FLEX_PATH" >&6; }
20585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20586 $as_echo "no" >&6; }
20590 if test x$FLEX_PATH = xno; then
20591 as_fn_error $? "Could not find flex" "$LINENO" 5
20594 flex_min_version=2.5.31
20595 flex_version=`$FLEX_PATH --version | head -n 1 | sed 's/^.* //' | sed 's/[a-zA-Z]*$//' | cut -d' ' -f1`
20596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking flex version $flex_version >= $flex_min_version" >&5
20597 $as_echo_n "checking flex version $flex_version >= $flex_min_version... " >&6; }
20599 (\$min_version_major, \$min_version_minor, \$min_version_micro ) = "$flex_min_version" =~ /(\d+)\.(\d+)\.(\d+)/;
20600 (\$flex_version_major, \$flex_version_minor, \$flex_version_micro ) = "$flex_version" =~ /(\d+)\.(\d+)\.(\d+)/;
20601 exit (((\$flex_version_major > \$min_version_major) ||
20602 ((\$flex_version_major == \$min_version_major) &&
20603 (\$flex_version_minor > \$min_version_minor)) ||
20604 ((\$flex_version_major == \$min_version_major) &&
20605 (\$flex_version_minor == \$min_version_minor) &&
20606 (\$flex_version_micro >= \$min_version_micro)))
20610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20611 $as_echo "yes" >&6; }
20613 as_fn_error $? "no" "$LINENO" 5
20618 # Extract the first word of "valgrind", so it can be a program name with args.
20619 set dummy valgrind; ac_word=$2
20620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20621 $as_echo_n "checking for $ac_word... " >&6; }
20622 if test "${ac_cv_path_VALGRIND_PATH+set}" = set; then :
20623 $as_echo_n "(cached) " >&6
20625 case $VALGRIND_PATH in
20627 ac_cv_path_VALGRIND_PATH="$VALGRIND_PATH" # Let the user override the test with a path.
20630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20631 for as_dir in $PATH
20634 test -z "$as_dir" && as_dir=.
20635 for ac_exec_ext in '' $ac_executable_extensions; do
20636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20637 ac_cv_path_VALGRIND_PATH="$as_dir/$ac_word$ac_exec_ext"
20638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20645 test -z "$ac_cv_path_VALGRIND_PATH" && ac_cv_path_VALGRIND_PATH="no"
20649 VALGRIND_PATH=$ac_cv_path_VALGRIND_PATH
20650 if test -n "$VALGRIND_PATH"; then
20651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND_PATH" >&5
20652 $as_echo "$VALGRIND_PATH" >&6; }
20654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20655 $as_echo "no" >&6; }
20659 if test ! "x$VALGRIND_PATH" = "xno"; then
20660 HAVE_VALGRIND_TRUE=
20661 HAVE_VALGRIND_FALSE='#'
20663 HAVE_VALGRIND_TRUE='#'
20664 HAVE_VALGRIND_FALSE=
20671 # Check whether --enable-introspection was given.
20672 if test "${enable_introspection+set}" = set; then :
20673 enableval=$enable_introspection;
20675 enable_introspection=auto
20679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
20680 $as_echo_n "checking for gobject-introspection... " >&6; }
20682 case $enable_introspection in #(
20684 found_introspection="no (disabled, use --enable-introspection to enable)"
20687 if test -n "$PKG_CONFIG" && \
20688 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
20689 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
20691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20692 test $ac_status = 0; }; then
20695 as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
20697 if test -n "$PKG_CONFIG" && \
20698 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.3\""; } >&5
20699 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.3") 2>&5
20701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20702 test $ac_status = 0; }; then
20703 found_introspection=yes
20705 as_fn_error $? "You need to have gobject-introspection >= 0.6.3 installed to build GStreamer" "$LINENO" 5
20709 if test -n "$PKG_CONFIG" && \
20710 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.3\""; } >&5
20711 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.3") 2>&5
20713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20714 test $ac_status = 0; }; then
20715 found_introspection=yes
20717 found_introspection=no
20721 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
20724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
20725 $as_echo "$found_introspection" >&6; }
20727 INTROSPECTION_SCANNER=
20728 INTROSPECTION_COMPILER=
20729 INTROSPECTION_GENERATE=
20730 INTROSPECTION_GIRDIR=
20731 INTROSPECTION_TYPELIBDIR=
20732 if test "x$found_introspection" = "xyes"; then
20733 INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
20734 INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
20735 INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
20736 INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
20737 INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
20745 if test "x$found_introspection" = "xyes"; then
20746 HAVE_INTROSPECTION_TRUE=
20747 HAVE_INTROSPECTION_FALSE='#'
20749 HAVE_INTROSPECTION_TRUE='#'
20750 HAVE_INTROSPECTION_FALSE=
20757 if test "x$PACKAGE_TARNAME" = "x"
20759 as_fn_error $? "Internal error - PACKAGE_TARNAME not set" "$LINENO" 5
20761 docdir="\$(datadir)/doc/$PACKAGE_TARNAME-$GST_MAJORMINOR"
20763 # Check whether --enable-docbook was given.
20764 if test "${enable_docbook+set}" = set; then :
20765 enableval=$enable_docbook;
20773 if test x$enable_docbook = xyes; then
20775 # Extract the first word of "docbook2ps", so it can be a program name with args.
20776 set dummy docbook2ps; ac_word=$2
20777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20778 $as_echo_n "checking for $ac_word... " >&6; }
20779 if test "${ac_cv_prog_HAVE_DOCBOOK2PS+set}" = set; then :
20780 $as_echo_n "(cached) " >&6
20782 if test -n "$HAVE_DOCBOOK2PS"; then
20783 ac_cv_prog_HAVE_DOCBOOK2PS="$HAVE_DOCBOOK2PS" # Let the user override the test.
20785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20786 for as_dir in $PATH
20789 test -z "$as_dir" && as_dir=.
20790 for ac_exec_ext in '' $ac_executable_extensions; do
20791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20792 ac_cv_prog_HAVE_DOCBOOK2PS="yes"
20793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20800 test -z "$ac_cv_prog_HAVE_DOCBOOK2PS" && ac_cv_prog_HAVE_DOCBOOK2PS="no"
20803 HAVE_DOCBOOK2PS=$ac_cv_prog_HAVE_DOCBOOK2PS
20804 if test -n "$HAVE_DOCBOOK2PS"; then
20805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DOCBOOK2PS" >&5
20806 $as_echo "$HAVE_DOCBOOK2PS" >&6; }
20808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20809 $as_echo "no" >&6; }
20813 # Extract the first word of "docbook2html", so it can be a program name with args.
20814 set dummy docbook2html; ac_word=$2
20815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20816 $as_echo_n "checking for $ac_word... " >&6; }
20817 if test "${ac_cv_prog_HAVE_DOCBOOK2HTML+set}" = set; then :
20818 $as_echo_n "(cached) " >&6
20820 if test -n "$HAVE_DOCBOOK2HTML"; then
20821 ac_cv_prog_HAVE_DOCBOOK2HTML="$HAVE_DOCBOOK2HTML" # Let the user override the test.
20823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20824 for as_dir in $PATH
20827 test -z "$as_dir" && as_dir=.
20828 for ac_exec_ext in '' $ac_executable_extensions; do
20829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20830 ac_cv_prog_HAVE_DOCBOOK2HTML="yes"
20831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20838 test -z "$ac_cv_prog_HAVE_DOCBOOK2HTML" && ac_cv_prog_HAVE_DOCBOOK2HTML="no"
20841 HAVE_DOCBOOK2HTML=$ac_cv_prog_HAVE_DOCBOOK2HTML
20842 if test -n "$HAVE_DOCBOOK2HTML"; then
20843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DOCBOOK2HTML" >&5
20844 $as_echo "$HAVE_DOCBOOK2HTML" >&6; }
20846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20847 $as_echo "no" >&6; }
20851 # Extract the first word of "jadetex", so it can be a program name with args.
20852 set dummy jadetex; ac_word=$2
20853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20854 $as_echo_n "checking for $ac_word... " >&6; }
20855 if test "${ac_cv_prog_HAVE_JADETEX+set}" = set; then :
20856 $as_echo_n "(cached) " >&6
20858 if test -n "$HAVE_JADETEX"; then
20859 ac_cv_prog_HAVE_JADETEX="$HAVE_JADETEX" # Let the user override the test.
20861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20862 for as_dir in $PATH
20865 test -z "$as_dir" && as_dir=.
20866 for ac_exec_ext in '' $ac_executable_extensions; do
20867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20868 ac_cv_prog_HAVE_JADETEX="yes"
20869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20876 test -z "$ac_cv_prog_HAVE_JADETEX" && ac_cv_prog_HAVE_JADETEX="no"
20879 HAVE_JADETEX=$ac_cv_prog_HAVE_JADETEX
20880 if test -n "$HAVE_JADETEX"; then
20881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_JADETEX" >&5
20882 $as_echo "$HAVE_JADETEX" >&6; }
20884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20885 $as_echo "no" >&6; }
20889 # Extract the first word of "ps2pdf", so it can be a program name with args.
20890 set dummy ps2pdf; ac_word=$2
20891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20892 $as_echo_n "checking for $ac_word... " >&6; }
20893 if test "${ac_cv_prog_HAVE_PS2PDF+set}" = set; then :
20894 $as_echo_n "(cached) " >&6
20896 if test -n "$HAVE_PS2PDF"; then
20897 ac_cv_prog_HAVE_PS2PDF="$HAVE_PS2PDF" # Let the user override the test.
20899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20900 for as_dir in $PATH
20903 test -z "$as_dir" && as_dir=.
20904 for ac_exec_ext in '' $ac_executable_extensions; do
20905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20906 ac_cv_prog_HAVE_PS2PDF="yes"
20907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20914 test -z "$ac_cv_prog_HAVE_PS2PDF" && ac_cv_prog_HAVE_PS2PDF="no"
20917 HAVE_PS2PDF=$ac_cv_prog_HAVE_PS2PDF
20918 if test -n "$HAVE_PS2PDF"; then
20919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PS2PDF" >&5
20920 $as_echo "$HAVE_PS2PDF" >&6; }
20922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20923 $as_echo "no" >&6; }
20928 # -V option appeared in 0.6.10
20929 docbook2html_min_version=0.6.10
20930 if test "x$HAVE_DOCBOOK2HTML" != "xno"; then
20931 docbook2html_version=`docbook2html --version`
20932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking docbook2html version ($docbook2html_version) >= $docbook2html_min_version" >&5
20933 $as_echo_n "checking docbook2html version ($docbook2html_version) >= $docbook2html_min_version... " >&6; }
20935 (\$min_version_major, \$min_version_minor, \$min_version_micro ) = "$docbook2html_min_version" =~ /(\d+)\.(\d+)\.(\d+)/;
20936 (\$docbook2html_version_major, \$docbook2html_version_minor, \$docbook2html_version_micro ) = "$docbook2html_version" =~ /(\d+)\.(\d+)\.(\d+)/;
20937 exit (((\$docbook2html_version_major > \$min_version_major) ||
20938 ((\$docbook2html_version_major == \$min_version_major) &&
20939 (\$docbook2html_version_minor >= \$min_version_minor)) ||
20940 ((\$docbook2html_version_major == \$min_version_major) &&
20941 (\$docbook2html_version_minor >= \$min_version_minor) &&
20942 (\$docbook2html_version_micro >= \$min_version_micro)))
20946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20947 $as_echo "yes" >&6; }
20949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20950 $as_echo "no" >&6; }
20951 HAVE_DOCBOOK2HTML=no
20956 XSLTPROC_FLAGS=--nonet
20960 DOCBOOK_VERSION=4.1.2
20962 if test ! -f /etc/xml/catalog; then
20963 for i in /usr/share/sgml/docbook/stylesheet/xsl/nwalsh /usr/share/sgml/docbook/xsl-stylesheets/ /usr/local/share/xsl/docbook ;
20965 if test -d "$i"; then
20970 XML_CATALOG=/etc/xml/catalog
20971 CAT_ENTRY_START='<!--'
20972 CAT_ENTRY_END='-->'
20975 # Extract the first word of "xsltproc", so it can be a program name with args.
20976 set dummy xsltproc; ac_word=$2
20977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20978 $as_echo_n "checking for $ac_word... " >&6; }
20979 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
20980 $as_echo_n "(cached) " >&6
20982 if test -n "$XSLTPROC"; then
20983 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
20985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20986 for as_dir in $PATH
20989 test -z "$as_dir" && as_dir=.
20990 for ac_exec_ext in '' $ac_executable_extensions; do
20991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20992 ac_cv_prog_XSLTPROC="xsltproc"
20993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21002 XSLTPROC=$ac_cv_prog_XSLTPROC
21003 if test -n "$XSLTPROC"; then
21004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
21005 $as_echo "$XSLTPROC" >&6; }
21007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21008 $as_echo "no" >&6; }
21013 if test -n "$XSLTPROC"; then
21014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether xsltproc docbook processing works" >&5
21015 $as_echo_n "checking whether xsltproc docbook processing works... " >&6; }
21017 if test -n "$XML_CATALOG"; then
21018 DB_FILE="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"
21020 DB_FILE="$DOCBOOK_ROOT/xhtml/docbook.xsl"
21022 $XSLTPROC $XSLTPROC_FLAGS $DB_FILE >/dev/null 2>&1 << END
21023 <?xml version="1.0" encoding='ISO-8859-1'?>
21024 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook $TYPE_UC V$DOCBOOK_VERSION//EN" "http://www.oasis-open.org/docbook/$TYPE_LC/$DOCBOOK_VERSION/docbookx.dtd">
21028 if test "$?" = 0; then
21031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC_WORKS" >&5
21032 $as_echo "$XSLTPROC_WORKS" >&6; }
21035 if test "x$XSLTPROC_WORKS" = "xyes"; then
21048 # Extract the first word of "dvips", so it can be a program name with args.
21049 set dummy dvips; ac_word=$2
21050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21051 $as_echo_n "checking for $ac_word... " >&6; }
21052 if test "${ac_cv_prog_HAVE_DVIPS+set}" = set; then :
21053 $as_echo_n "(cached) " >&6
21055 if test -n "$HAVE_DVIPS"; then
21056 ac_cv_prog_HAVE_DVIPS="$HAVE_DVIPS" # Let the user override the test.
21058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21059 for as_dir in $PATH
21062 test -z "$as_dir" && as_dir=.
21063 for ac_exec_ext in '' $ac_executable_extensions; do
21064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21065 ac_cv_prog_HAVE_DVIPS="yes"
21066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21073 test -z "$ac_cv_prog_HAVE_DVIPS" && ac_cv_prog_HAVE_DVIPS="no"
21076 HAVE_DVIPS=$ac_cv_prog_HAVE_DVIPS
21077 if test -n "$HAVE_DVIPS"; then
21078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DVIPS" >&5
21079 $as_echo "$HAVE_DVIPS" >&6; }
21081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21082 $as_echo "no" >&6; }
21086 # Extract the first word of "xmllint", so it can be a program name with args.
21087 set dummy xmllint; ac_word=$2
21088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21089 $as_echo_n "checking for $ac_word... " >&6; }
21090 if test "${ac_cv_prog_HAVE_XMLLINT+set}" = set; then :
21091 $as_echo_n "(cached) " >&6
21093 if test -n "$HAVE_XMLLINT"; then
21094 ac_cv_prog_HAVE_XMLLINT="$HAVE_XMLLINT" # Let the user override the test.
21096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21097 for as_dir in $PATH
21100 test -z "$as_dir" && as_dir=.
21101 for ac_exec_ext in '' $ac_executable_extensions; do
21102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21103 ac_cv_prog_HAVE_XMLLINT="yes"
21104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21111 test -z "$ac_cv_prog_HAVE_XMLLINT" && ac_cv_prog_HAVE_XMLLINT="no"
21114 HAVE_XMLLINT=$ac_cv_prog_HAVE_XMLLINT
21115 if test -n "$HAVE_XMLLINT"; then
21116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_XMLLINT" >&5
21117 $as_echo "$HAVE_XMLLINT" >&6; }
21119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21120 $as_echo "no" >&6; }
21125 # Extract the first word of "fig2dev", so it can be a program name with args.
21126 set dummy fig2dev; ac_word=$2
21127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21128 $as_echo_n "checking for $ac_word... " >&6; }
21129 if test "${ac_cv_prog_HAVE_FIG2DEV+set}" = set; then :
21130 $as_echo_n "(cached) " >&6
21132 if test -n "$HAVE_FIG2DEV"; then
21133 ac_cv_prog_HAVE_FIG2DEV="$HAVE_FIG2DEV" # Let the user override the test.
21135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21136 for as_dir in $PATH
21139 test -z "$as_dir" && as_dir=.
21140 for ac_exec_ext in '' $ac_executable_extensions; do
21141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21142 ac_cv_prog_HAVE_FIG2DEV="yes"
21143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21150 test -z "$ac_cv_prog_HAVE_FIG2DEV" && ac_cv_prog_HAVE_FIG2DEV="no"
21153 HAVE_FIG2DEV=$ac_cv_prog_HAVE_FIG2DEV
21154 if test -n "$HAVE_FIG2DEV"; then
21155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_FIG2DEV" >&5
21156 $as_echo "$HAVE_FIG2DEV" >&6; }
21158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21159 $as_echo "no" >&6; }
21163 if test "x$HAVE_FIG2DEV" = "xno" ; then
21164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Did not find fig2dev (from xfig), images will not be generated." >&5
21165 $as_echo "$as_me: WARNING: Did not find fig2dev (from xfig), images will not be generated." >&2;}
21168 HAVE_FIG2DEV_EPS=no
21169 if test "x$HAVE_FIG2DEV" = "xyes" ; then
21170 fig2dev_quiet=`fig2dev -L eps </dev/null 2>&1 >/dev/null`
21171 if test "x$fig2dev_quiet" = "x" ; then
21172 HAVE_FIG2DEV_EPS=yes
21175 HAVE_FIG2DEV_PNG=no
21176 if test "x$HAVE_FIG2DEV" = "xyes" ; then
21177 fig2dev_quiet=`fig2dev -L png </dev/null 2>&1 >/dev/null`
21178 if test "x$fig2dev_quiet" = "x" ; then
21179 HAVE_FIG2DEV_PNG=yes
21182 HAVE_FIG2DEV_PDF=no
21183 if test "x$HAVE_FIG2DEV" = "xyes" ; then
21184 fig2dev_quiet=`fig2dev -L pdf </dev/null 2>&1 >/dev/null`
21185 if test "x$fig2dev_quiet" = "x" ; then
21186 HAVE_FIG2DEV_PDF=yes
21190 # Extract the first word of "pngtopnm", so it can be a program name with args.
21191 set dummy pngtopnm; ac_word=$2
21192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21193 $as_echo_n "checking for $ac_word... " >&6; }
21194 if test "${ac_cv_prog_HAVE_PNGTOPNM+set}" = set; then :
21195 $as_echo_n "(cached) " >&6
21197 if test -n "$HAVE_PNGTOPNM"; then
21198 ac_cv_prog_HAVE_PNGTOPNM="$HAVE_PNGTOPNM" # Let the user override the test.
21200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21201 for as_dir in $PATH
21204 test -z "$as_dir" && as_dir=.
21205 for ac_exec_ext in '' $ac_executable_extensions; do
21206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21207 ac_cv_prog_HAVE_PNGTOPNM="yes"
21208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21215 test -z "$ac_cv_prog_HAVE_PNGTOPNM" && ac_cv_prog_HAVE_PNGTOPNM="no"
21218 HAVE_PNGTOPNM=$ac_cv_prog_HAVE_PNGTOPNM
21219 if test -n "$HAVE_PNGTOPNM"; then
21220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PNGTOPNM" >&5
21221 $as_echo "$HAVE_PNGTOPNM" >&6; }
21223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21224 $as_echo "no" >&6; }
21228 # Extract the first word of "pnmtops", so it can be a program name with args.
21229 set dummy pnmtops; ac_word=$2
21230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21231 $as_echo_n "checking for $ac_word... " >&6; }
21232 if test "${ac_cv_prog_HAVE_PNMTOPS+set}" = set; then :
21233 $as_echo_n "(cached) " >&6
21235 if test -n "$HAVE_PNMTOPS"; then
21236 ac_cv_prog_HAVE_PNMTOPS="$HAVE_PNMTOPS" # Let the user override the test.
21238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21239 for as_dir in $PATH
21242 test -z "$as_dir" && as_dir=.
21243 for ac_exec_ext in '' $ac_executable_extensions; do
21244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21245 ac_cv_prog_HAVE_PNMTOPS="yes"
21246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21253 test -z "$ac_cv_prog_HAVE_PNMTOPS" && ac_cv_prog_HAVE_PNMTOPS="no"
21256 HAVE_PNMTOPS=$ac_cv_prog_HAVE_PNMTOPS
21257 if test -n "$HAVE_PNMTOPS"; then
21258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PNMTOPS" >&5
21259 $as_echo "$HAVE_PNMTOPS" >&6; }
21261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21262 $as_echo "no" >&6; }
21266 # Extract the first word of "epstopdf", so it can be a program name with args.
21267 set dummy epstopdf; ac_word=$2
21268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21269 $as_echo_n "checking for $ac_word... " >&6; }
21270 if test "${ac_cv_prog_HAVE_EPSTOPDF+set}" = set; then :
21271 $as_echo_n "(cached) " >&6
21273 if test -n "$HAVE_EPSTOPDF"; then
21274 ac_cv_prog_HAVE_EPSTOPDF="$HAVE_EPSTOPDF" # Let the user override the test.
21276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21277 for as_dir in $PATH
21280 test -z "$as_dir" && as_dir=.
21281 for ac_exec_ext in '' $ac_executable_extensions; do
21282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21283 ac_cv_prog_HAVE_EPSTOPDF="yes"
21284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21291 test -z "$ac_cv_prog_HAVE_EPSTOPDF" && ac_cv_prog_HAVE_EPSTOPDF="no"
21294 HAVE_EPSTOPDF=$ac_cv_prog_HAVE_EPSTOPDF
21295 if test -n "$HAVE_EPSTOPDF"; then
21296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_EPSTOPDF" >&5
21297 $as_echo "$HAVE_EPSTOPDF" >&6; }
21299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21300 $as_echo "no" >&6; }
21305 if test "x$HAVE_DOCBOOK2HTML" = "xyes" && \
21306 test "x$enable_docbook" = "xyes" && \
21307 test "x$HAVE_XMLLINT" = "xyes" && \
21308 test "x$HAVE_FIG2DEV_PNG" = "xyes"; then
21310 { $as_echo "$as_me:${as_lineno-$LINENO}: Will output HTML documentation" >&5
21311 $as_echo "$as_me: Will output HTML documentation" >&6;}
21314 { $as_echo "$as_me:${as_lineno-$LINENO}: Will not output HTML documentation" >&5
21315 $as_echo "$as_me: Will not output HTML documentation" >&6;}
21318 if test "x$HAVE_DOCBOOK2PS" = "xyes" && \
21319 test "x$enable_docbook" = "xyes" && \
21320 test "x$HAVE_XMLLINT" = "xyes" && \
21321 test "x$HAVE_JADETEX" = "xyes" && \
21322 test "x$HAVE_FIG2DEV_EPS" = "xyes" && \
21323 test "x$HAVE_DVIPS" = "xyes" && \
21324 test "x$HAVE_PNGTOPNM" = "xyes" && \
21325 test "x$HAVE_PNMTOPS" = "xyes"; then
21327 { $as_echo "$as_me:${as_lineno-$LINENO}: Will output PS documentation" >&5
21328 $as_echo "$as_me: Will output PS documentation" >&6;}
21331 { $as_echo "$as_me:${as_lineno-$LINENO}: Will not output PS documentation" >&5
21332 $as_echo "$as_me: Will not output PS documentation" >&6;}
21335 if test "x$DOC_PS" = "xyes" && \
21336 test "x$enable_docbook" = "xyes" && \
21337 test "x$HAVE_XMLLINT" = "xyes" && \
21338 test "x$HAVE_PS2PDF" = "xyes"; then
21340 { $as_echo "$as_me:${as_lineno-$LINENO}: Will output PDF documentation" >&5
21341 $as_echo "$as_me: Will output PDF documentation" >&6;}
21344 { $as_echo "$as_me:${as_lineno-$LINENO}: Will not output PDF documentation" >&5
21345 $as_echo "$as_me: Will not output PDF documentation" >&6;}
21348 if test "x$have_docbook" != "xyes"; then
21353 if test "x$have_docbook" = "xyes"; then
21354 { $as_echo "$as_me:${as_lineno-$LINENO}: Installing documentation in $docdir" >&5
21355 $as_echo "$as_me: Installing documentation in $docdir" >&6;}
21359 if test x$enable_docbook = xyes; then
21360 ENABLE_DOCBOOK_TRUE=
21361 ENABLE_DOCBOOK_FALSE='#'
21363 ENABLE_DOCBOOK_TRUE='#'
21364 ENABLE_DOCBOOK_FALSE=
21367 if test x$DOC_HTML = xyes; then
21375 if test x$DOC_PDF = xyes; then
21383 if test x$DOC_PS = xyes; then
21394 # Check whether --with-html-dir was given.
21395 if test "${with_html_dir+set}" = set; then :
21396 withval=$with_html_dir;
21398 with_html_dir='${datadir}/gtk-doc/html'
21401 HTML_DIR="$with_html_dir"
21404 # Check whether --enable-gtk-doc was given.
21405 if test "${enable_gtk_doc+set}" = set; then :
21406 enableval=$enable_gtk_doc;
21412 if test x$enable_gtk_doc = xyes; then
21413 if test -n "$PKG_CONFIG" && \
21414 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.3\""; } >&5
21415 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.3") 2>&5
21417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21418 test $ac_status = 0; }; then
21421 as_fn_error $? "You need to have gtk-doc >= 1.3 installed to build gtk-doc" "$LINENO" 5
21423 if test -z "$SED"; then
21424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
21425 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
21426 if test "${ac_cv_path_SED+set}" = set; then :
21427 $as_echo_n "(cached) " >&6
21429 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
21430 for ac_i in 1 2 3 4 5 6 7; do
21431 ac_script="$ac_script$as_nl$ac_script"
21433 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
21434 { ac_script=; unset ac_script;}
21435 if test -z "$SED"; then
21436 ac_path_SED_found=false
21437 # Loop through the user's path and test for each of PROGNAME-LIST
21438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21439 for as_dir in $PATH
21442 test -z "$as_dir" && as_dir=.
21443 for ac_prog in sed gsed; do
21444 for ac_exec_ext in '' $ac_executable_extensions; do
21445 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
21446 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
21447 # Check for GNU ac_path_SED and select it if it is found.
21448 # Check for GNU $ac_path_SED
21449 case `"$ac_path_SED" --version 2>&1` in
21451 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
21454 $as_echo_n 0123456789 >"conftest.in"
21457 cat "conftest.in" "conftest.in" >"conftest.tmp"
21458 mv "conftest.tmp" "conftest.in"
21459 cp "conftest.in" "conftest.nl"
21460 $as_echo '' >> "conftest.nl"
21461 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
21462 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
21463 as_fn_arith $ac_count + 1 && ac_count=$as_val
21464 if test $ac_count -gt ${ac_path_SED_max-0}; then
21465 # Best one so far, save it but keep looking for a better one
21466 ac_cv_path_SED="$ac_path_SED"
21467 ac_path_SED_max=$ac_count
21469 # 10*(2^10) chars as input seems more than enough
21470 test $ac_count -gt 10 && break
21472 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
21475 $ac_path_SED_found && break 3
21480 if test -z "$ac_cv_path_SED"; then
21481 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
21484 ac_cv_path_SED=$SED
21488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
21489 $as_echo "$ac_cv_path_SED" >&6; }
21490 SED="$ac_cv_path_SED"
21496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
21497 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
21498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
21499 $as_echo "$enable_gtk_doc" >&6; }
21501 for ac_prog in gtkdoc-check
21503 # Extract the first word of "$ac_prog", so it can be a program name with args.
21504 set dummy $ac_prog; ac_word=$2
21505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21506 $as_echo_n "checking for $ac_word... " >&6; }
21507 if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then :
21508 $as_echo_n "(cached) " >&6
21510 case $GTKDOC_CHECK in
21512 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
21515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21516 for as_dir in $PATH
21519 test -z "$as_dir" && as_dir=.
21520 for ac_exec_ext in '' $ac_executable_extensions; do
21521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21522 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
21523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21533 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
21534 if test -n "$GTKDOC_CHECK"; then
21535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
21536 $as_echo "$GTKDOC_CHECK" >&6; }
21538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21539 $as_echo "no" >&6; }
21543 test -n "$GTKDOC_CHECK" && break
21547 if test x$enable_gtk_doc = xyes; then
21548 ENABLE_GTK_DOC_TRUE=
21549 ENABLE_GTK_DOC_FALSE='#'
21551 ENABLE_GTK_DOC_TRUE='#'
21552 ENABLE_GTK_DOC_FALSE=
21555 if test -n "$LIBTOOL"; then
21556 GTK_DOC_USE_LIBTOOL_TRUE=
21557 GTK_DOC_USE_LIBTOOL_FALSE='#'
21559 GTK_DOC_USE_LIBTOOL_TRUE='#'
21560 GTK_DOC_USE_LIBTOOL_FALSE=
21566 PYTHON_CANDIDATES="python python2.2 python2.1 python2.0 python2 \
21567 python1.6 python1.5"
21569 { $as_echo "$as_me:${as_lineno-$LINENO}: Looking for Python version >= 2.1" >&5
21570 $as_echo "$as_me: Looking for Python version >= 2.1" >&6;}
21574 # split string by '.' and convert to numeric
21575 minver_info = map(string.atoi, string.split(minver, '.'))
21576 # we can now do comparisons on the two lists:
21577 if sys.version_info >= tuple(minver_info):
21583 for python_candidate in $PYTHON_CANDIDATES; do
21585 # Extract the first word of "$python_candidate", so it can be a program name with args.
21586 set dummy $python_candidate; ac_word=$2
21587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21588 $as_echo_n "checking for $ac_word... " >&6; }
21589 if test "${ac_cv_path_PYTHON+set}" = set; then :
21590 $as_echo_n "(cached) " >&6
21594 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
21597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21598 for as_dir in $PATH
21601 test -z "$as_dir" && as_dir=.
21602 for ac_exec_ext in '' $ac_executable_extensions; do
21603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21604 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
21605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21615 PYTHON=$ac_cv_path_PYTHON
21616 if test -n "$PYTHON"; then
21617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
21618 $as_echo "$PYTHON" >&6; }
21620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21621 $as_echo "no" >&6; }
21624 1> /dev/null 2> /dev/null
21626 if test "x$PYTHON" = "x"; then continue; fi
21628 if $PYTHON -c "$prog" 1>&5 2>&5; then
21629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking \"$PYTHON\":" >&5
21630 $as_echo_n "checking \"$PYTHON\":... " >&6; }
21631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: okay" >&5
21632 $as_echo "okay" >&6; }
21636 unset ac_cv_path_PYTHON
21641 if test "$python_good" != "true"; then
21642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No suitable version of python found" >&5
21643 $as_echo "$as_me: WARNING: No suitable version of python found" >&2;}
21647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking local Python configuration" >&5
21648 $as_echo_n "checking local Python configuration... " >&6; }
21652 PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[:3]"`
21657 PYTHON_PREFIX='${prefix}'
21660 PYTHON_EXEC_PREFIX='${exec_prefix}'
21664 PYTHON_PLATFORM=`$PYTHON -c "import sys; print sys.platform"`
21670 pythondir=$PYTHON_PREFIX"/lib/python"$PYTHON_VERSION/site-packages
21674 pkgpythondir=\${pythondir}/$PACKAGE
21678 pyexecdir=$PYTHON_EXEC_PREFIX"/lib/python"$PYTHON_VERSION/site-packages
21682 pkgpyexecdir=\${pyexecdir}/$PACKAGE
21684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: looks good" >&5
21685 $as_echo "looks good" >&6; }
21691 build_plugin_docs=no
21692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build plugin documentation" >&5
21693 $as_echo_n "checking whether to build plugin documentation... " >&6; }
21694 if test x$enable_gtk_doc = xyes; then
21695 build_plugin_docs=yes
21696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21697 $as_echo "yes" >&6; }
21699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (gtk-doc disabled or not available)" >&5
21700 $as_echo "no (gtk-doc disabled or not available)" >&6; }
21703 if test x$build_plugin_docs = xyes; then
21704 ENABLE_PLUGIN_DOCS_TRUE=
21705 ENABLE_PLUGIN_DOCS_FALSE='#'
21707 ENABLE_PLUGIN_DOCS_TRUE='#'
21708 ENABLE_PLUGIN_DOCS_FALSE=
21716 *-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
21717 # These system don't have libm, or don't need it
21720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
21721 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
21722 if test "${ac_cv_lib_mw__mwvalidcheckl+set}" = set; then :
21723 $as_echo_n "(cached) " >&6
21725 ac_check_lib_save_LIBS=$LIBS
21727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21728 /* end confdefs.h. */
21730 /* Override any GCC internal prototype to avoid an error.
21731 Use char because int might match the return type of a GCC
21732 builtin and then its argument prototype would still apply. */
21736 char _mwvalidcheckl ();
21740 return _mwvalidcheckl ();
21745 if ac_fn_c_try_link "$LINENO"; then :
21746 ac_cv_lib_mw__mwvalidcheckl=yes
21748 ac_cv_lib_mw__mwvalidcheckl=no
21750 rm -f core conftest.err conftest.$ac_objext \
21751 conftest$ac_exeext conftest.$ac_ext
21752 LIBS=$ac_check_lib_save_LIBS
21754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
21755 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
21756 if test "x$ac_cv_lib_mw__mwvalidcheckl" = x""yes; then :
21760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
21761 $as_echo_n "checking for cos in -lm... " >&6; }
21762 if test "${ac_cv_lib_m_cos+set}" = set; then :
21763 $as_echo_n "(cached) " >&6
21765 ac_check_lib_save_LIBS=$LIBS
21767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21768 /* end confdefs.h. */
21770 /* Override any GCC internal prototype to avoid an error.
21771 Use char because int might match the return type of a GCC
21772 builtin and then its argument prototype would still apply. */
21785 if ac_fn_c_try_link "$LINENO"; then :
21786 ac_cv_lib_m_cos=yes
21790 rm -f core conftest.err conftest.$ac_objext \
21791 conftest$ac_exeext conftest.$ac_ext
21792 LIBS=$ac_check_lib_save_LIBS
21794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
21795 $as_echo "$ac_cv_lib_m_cos" >&6; }
21796 if test "x$ac_cv_lib_m_cos" = x""yes; then :
21802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
21803 $as_echo_n "checking for cos in -lm... " >&6; }
21804 if test "${ac_cv_lib_m_cos+set}" = set; then :
21805 $as_echo_n "(cached) " >&6
21807 ac_check_lib_save_LIBS=$LIBS
21809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21810 /* end confdefs.h. */
21812 /* Override any GCC internal prototype to avoid an error.
21813 Use char because int might match the return type of a GCC
21814 builtin and then its argument prototype would still apply. */
21827 if ac_fn_c_try_link "$LINENO"; then :
21828 ac_cv_lib_m_cos=yes
21832 rm -f core conftest.err conftest.$ac_objext \
21833 conftest$ac_exeext conftest.$ac_ext
21834 LIBS=$ac_check_lib_save_LIBS
21836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
21837 $as_echo "$ac_cv_lib_m_cos" >&6; }
21838 if test "x$ac_cv_lib_m_cos" = x""yes; then :
21849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
21850 $as_echo_n "checking for ANSI C header files... " >&6; }
21851 if test "${ac_cv_header_stdc+set}" = set; then :
21852 $as_echo_n "(cached) " >&6
21854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21855 /* end confdefs.h. */
21856 #include <stdlib.h>
21857 #include <stdarg.h>
21858 #include <string.h>
21869 if ac_fn_c_try_compile "$LINENO"; then :
21870 ac_cv_header_stdc=yes
21872 ac_cv_header_stdc=no
21874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21876 if test $ac_cv_header_stdc = yes; then
21877 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21879 /* end confdefs.h. */
21880 #include <string.h>
21883 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21884 $EGREP "memchr" >/dev/null 2>&1; then :
21887 ac_cv_header_stdc=no
21893 if test $ac_cv_header_stdc = yes; then
21894 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21896 /* end confdefs.h. */
21897 #include <stdlib.h>
21900 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21901 $EGREP "free" >/dev/null 2>&1; then :
21904 ac_cv_header_stdc=no
21910 if test $ac_cv_header_stdc = yes; then
21911 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21912 if test "$cross_compiling" = yes; then :
21915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21916 /* end confdefs.h. */
21918 #include <stdlib.h>
21919 #if ((' ' & 0x0FF) == 0x020)
21920 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21921 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21923 # define ISLOWER(c) \
21924 (('a' <= (c) && (c) <= 'i') \
21925 || ('j' <= (c) && (c) <= 'r') \
21926 || ('s' <= (c) && (c) <= 'z'))
21927 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21930 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21935 for (i = 0; i < 256; i++)
21936 if (XOR (islower (i), ISLOWER (i))
21937 || toupper (i) != TOUPPER (i))
21942 if ac_fn_c_try_run "$LINENO"; then :
21945 ac_cv_header_stdc=no
21947 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21948 conftest.$ac_objext conftest.beam conftest.$ac_ext
21953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
21954 $as_echo "$ac_cv_header_stdc" >&6; }
21955 if test $ac_cv_header_stdc = yes; then
21957 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
21962 for ac_header in ucontext.h
21964 ac_fn_c_check_header_mongrel "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "$ac_includes_default"
21965 if test "x$ac_cv_header_ucontext_h" = x""yes; then :
21966 cat >>confdefs.h <<_ACEOF
21967 #define HAVE_UCONTEXT_H 1
21975 for ac_header in sys/socket.h
21977 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
21978 if test "x$ac_cv_header_sys_socket_h" = x""yes; then :
21979 cat >>confdefs.h <<_ACEOF
21980 #define HAVE_SYS_SOCKET_H 1
21982 HAVE_SYS_SOCKET_H=yes
21987 if test "x$HAVE_SYS_SOCKET_H" = "xyes"; then
21988 HAVE_SYS_SOCKET_H_TRUE=
21989 HAVE_SYS_SOCKET_H_FALSE='#'
21991 HAVE_SYS_SOCKET_H_TRUE='#'
21992 HAVE_SYS_SOCKET_H_FALSE=
21996 for ac_header in sys/times.h
21998 ac_fn_c_check_header_mongrel "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
21999 if test "x$ac_cv_header_sys_times_h" = x""yes; then :
22000 cat >>confdefs.h <<_ACEOF
22001 #define HAVE_SYS_TIMES_H 1
22003 HAVE_SYS_TIMES_H=yes
22008 for ac_header in unistd.h
22010 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
22011 if test "x$ac_cv_header_unistd_h" = x""yes; then :
22012 cat >>confdefs.h <<_ACEOF
22013 #define HAVE_UNISTD_H 1
22020 if test "x$HAVE_SYS_TIMES_H" = "xyes" -a "x$HAVE_UNISTD_H" = "xyes"; then
22021 HAVE_SYS_TIMES_H_AND_UNISTD_H_TRUE=
22022 HAVE_SYS_TIMES_H_AND_UNISTD_H_FALSE='#'
22024 HAVE_SYS_TIMES_H_AND_UNISTD_H_TRUE='#'
22025 HAVE_SYS_TIMES_H_AND_UNISTD_H_FALSE=
22029 for ac_header in process.h
22031 ac_fn_c_check_header_mongrel "$LINENO" "process.h" "ac_cv_header_process_h" "$ac_includes_default"
22032 if test "x$ac_cv_header_process_h" = x""yes; then :
22033 cat >>confdefs.h <<_ACEOF
22034 #define HAVE_PROCESS_H 1
22042 for ac_header in sys/utsname.h
22044 ac_fn_c_check_header_mongrel "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
22045 if test "x$ac_cv_header_sys_utsname_h" = x""yes; then :
22046 cat >>confdefs.h <<_ACEOF
22047 #define HAVE_SYS_UTSNAME_H 1
22055 for ac_header in stdio_ext.h
22057 ac_fn_c_check_header_mongrel "$LINENO" "stdio_ext.h" "ac_cv_header_stdio_ext_h" "$ac_includes_default"
22058 if test "x$ac_cv_header_stdio_ext_h" = x""yes; then :
22059 cat >>confdefs.h <<_ACEOF
22060 #define HAVE_STDIO_EXT_H 1
22068 for ac_header in pthread.h
22070 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
22071 if test "x$ac_cv_header_pthread_h" = x""yes; then :
22072 cat >>confdefs.h <<_ACEOF
22073 #define HAVE_PTHREAD_H 1
22080 if test "x$HAVE_PTHREAD_H" = "xyes"; then
22081 HAVE_PTHREAD_H_TRUE=
22082 HAVE_PTHREAD_H_FALSE='#'
22084 HAVE_PTHREAD_H_TRUE='#'
22085 HAVE_PTHREAD_H_FALSE=
22089 for ac_header in sys/prctl.h
22091 ac_fn_c_check_header_mongrel "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
22092 if test "x$ac_cv_header_sys_prctl_h" = x""yes; then :
22093 cat >>confdefs.h <<_ACEOF
22094 #define HAVE_SYS_PRCTL_H 1
22096 HAVE_SYS_PRCTL_H=yes
22102 for ac_header in valgrind/valgrind.h
22104 ac_fn_c_check_header_mongrel "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
22105 if test "x$ac_cv_header_valgrind_valgrind_h" = x""yes; then :
22106 cat >>confdefs.h <<_ACEOF
22107 #define HAVE_VALGRIND_VALGRIND_H 1
22109 HAVE_VALGRIND_H=yes
22115 for ac_header in winsock2.h
22117 ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
22118 if test "x$ac_cv_header_winsock2_h" = x""yes; then :
22119 cat >>confdefs.h <<_ACEOF
22120 #define HAVE_WINSOCK2_H 1
22122 HAVE_WINSOCK2_H=yes
22127 if test "x$HAVE_WINSOCK2_H" = "xyes"; then
22128 HAVE_WINSOCK2_H_TRUE=
22129 HAVE_WINSOCK2_H_FALSE='#'
22131 HAVE_WINSOCK2_H_TRUE='#'
22132 HAVE_WINSOCK2_H_FALSE=
22135 if test "x$HAVE_WINSOCK2_H" = "xyes"; then
22136 WIN32_LIBS="-lws2_32"
22140 if test "x$BUILD_TESTS" = "xyes"; then
22142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gmpz_init_set_d in -lgmp" >&5
22143 $as_echo_n "checking for __gmpz_init_set_d in -lgmp... " >&6; }
22144 if test "${ac_cv_lib_gmp___gmpz_init_set_d+set}" = set; then :
22145 $as_echo_n "(cached) " >&6
22147 ac_check_lib_save_LIBS=$LIBS
22149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22150 /* end confdefs.h. */
22152 /* Override any GCC internal prototype to avoid an error.
22153 Use char because int might match the return type of a GCC
22154 builtin and then its argument prototype would still apply. */
22158 char __gmpz_init_set_d ();
22162 return __gmpz_init_set_d ();
22167 if ac_fn_c_try_link "$LINENO"; then :
22168 ac_cv_lib_gmp___gmpz_init_set_d=yes
22170 ac_cv_lib_gmp___gmpz_init_set_d=no
22172 rm -f core conftest.err conftest.$ac_objext \
22173 conftest$ac_exeext conftest.$ac_ext
22174 LIBS=$ac_check_lib_save_LIBS
22176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp___gmpz_init_set_d" >&5
22177 $as_echo "$ac_cv_lib_gmp___gmpz_init_set_d" >&6; }
22178 if test "x$ac_cv_lib_gmp___gmpz_init_set_d" = x""yes; then :
22184 if test "x$HAVE_GMP" = "xyes"; then
22185 ac_fn_c_check_header_mongrel "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default"
22186 if test "x$ac_cv_header_gmp_h" = x""yes; then :
22193 if test "x$HAVE_GMP" = "xyes"; then
22197 $as_echo "#define HAVE_GMP 1" >>confdefs.h
22209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gsl_rng_uniform_int in -lgsl" >&5
22210 $as_echo_n "checking for gsl_rng_uniform_int in -lgsl... " >&6; }
22211 if test "${ac_cv_lib_gsl_gsl_rng_uniform_int+set}" = set; then :
22212 $as_echo_n "(cached) " >&6
22214 ac_check_lib_save_LIBS=$LIBS
22215 LIBS="-lgsl -lgslcblas $LIBS"
22216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22217 /* end confdefs.h. */
22219 /* Override any GCC internal prototype to avoid an error.
22220 Use char because int might match the return type of a GCC
22221 builtin and then its argument prototype would still apply. */
22225 char gsl_rng_uniform_int ();
22229 return gsl_rng_uniform_int ();
22234 if ac_fn_c_try_link "$LINENO"; then :
22235 ac_cv_lib_gsl_gsl_rng_uniform_int=yes
22237 ac_cv_lib_gsl_gsl_rng_uniform_int=no
22239 rm -f core conftest.err conftest.$ac_objext \
22240 conftest$ac_exeext conftest.$ac_ext
22241 LIBS=$ac_check_lib_save_LIBS
22243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gsl_gsl_rng_uniform_int" >&5
22244 $as_echo "$ac_cv_lib_gsl_gsl_rng_uniform_int" >&6; }
22245 if test "x$ac_cv_lib_gsl_gsl_rng_uniform_int" = x""yes; then :
22251 if test "x$HAVE_GSL" = "xyes"; then
22252 ac_fn_c_check_header_mongrel "$LINENO" "gsl/gsl_rng.h" "ac_cv_header_gsl_gsl_rng_h" "$ac_includes_default"
22253 if test "x$ac_cv_header_gsl_gsl_rng_h" = x""yes; then :
22260 if test "x$HAVE_GSL" = "xyes"; then
22261 GSL_LIBS="-lgsl -lgslcblas"
22264 $as_echo "#define HAVE_GSL 1" >>confdefs.h
22280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __uint128_t" >&5
22281 $as_echo_n "checking for __uint128_t... " >&6; }
22282 if test "${gst_cv_uint128_t+set}" = set; then :
22283 $as_echo_n "(cached) " >&6
22285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22286 /* end confdefs.h. */
22292 static __uint128_t v1 = 100;
22293 static __uint128_t v2 = 10;
22294 static __uint128_t u;
22301 if ac_fn_c_try_link "$LINENO"; then :
22303 gst_cv_uint128_t=yes
22307 gst_cv_uint128_t=no
22310 rm -f core conftest.err conftest.$ac_objext \
22311 conftest$ac_exeext conftest.$ac_ext
22314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gst_cv_uint128_t" >&5
22315 $as_echo "$gst_cv_uint128_t" >&6; }
22316 if test x$gst_cv_uint128_t = xyes; then
22318 $as_echo "#define HAVE_UINT128_T 1" >>confdefs.h
22322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff" >&5
22323 $as_echo_n "checking for tm_gmtoff... " >&6; }
22324 if test "$cross_compiling" = yes; then :
22325 have_tm_gmtoff="no (cross compiling)"
22327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22328 /* end confdefs.h. */
22337 if ac_fn_c_try_run "$LINENO"; then :
22340 $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
22345 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22346 conftest.$ac_objext conftest.beam conftest.$ac_ext
22349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_tm_gmtoff" >&5
22350 $as_echo "$have_tm_gmtoff" >&6; }
22354 for ac_func in gmtime_r
22356 ac_fn_c_check_func "$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
22357 if test "x$ac_cv_func_gmtime_r" = x""yes; then :
22358 cat >>confdefs.h <<_ACEOF
22359 #define HAVE_GMTIME_R 1
22365 for ac_func in localtime_r
22367 ac_fn_c_check_func "$LINENO" "localtime_r" "ac_cv_func_localtime_r"
22368 if test "x$ac_cv_func_localtime_r" = x""yes; then :
22369 cat >>confdefs.h <<_ACEOF
22370 #define HAVE_LOCALTIME_R 1
22376 for ac_func in sigaction
22378 ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction"
22379 if test "x$ac_cv_func_sigaction" = x""yes; then :
22380 cat >>confdefs.h <<_ACEOF
22381 #define HAVE_SIGACTION 1
22388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22389 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
22390 if test "${ac_cv_sys_largefile_source+set}" = set; then :
22391 $as_echo_n "(cached) " >&6
22394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22395 /* end confdefs.h. */
22396 #include <sys/types.h> /* for off_t */
22401 int (*fp) (FILE *, off_t, int) = fseeko;
22402 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
22407 if ac_fn_c_try_link "$LINENO"; then :
22408 ac_cv_sys_largefile_source=no; break
22410 rm -f core conftest.err conftest.$ac_objext \
22411 conftest$ac_exeext conftest.$ac_ext
22412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22413 /* end confdefs.h. */
22414 #define _LARGEFILE_SOURCE 1
22415 #include <sys/types.h> /* for off_t */
22420 int (*fp) (FILE *, off_t, int) = fseeko;
22421 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
22426 if ac_fn_c_try_link "$LINENO"; then :
22427 ac_cv_sys_largefile_source=1; break
22429 rm -f core conftest.err conftest.$ac_objext \
22430 conftest$ac_exeext conftest.$ac_ext
22431 ac_cv_sys_largefile_source=unknown
22435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
22436 $as_echo "$ac_cv_sys_largefile_source" >&6; }
22437 case $ac_cv_sys_largefile_source in #(
22440 cat >>confdefs.h <<_ACEOF
22441 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22447 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22448 # in glibc 2.1.3, but that breaks too many other things.
22449 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22450 if test $ac_cv_sys_largefile_source != unknown; then
22452 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
22456 for ac_func in ftello
22458 ac_fn_c_check_func "$LINENO" "ftello" "ac_cv_func_ftello"
22459 if test "x$ac_cv_func_ftello" = x""yes; then :
22460 cat >>confdefs.h <<_ACEOF
22461 #define HAVE_FTELLO 1
22468 for ac_func in fgetpos
22470 ac_fn_c_check_func "$LINENO" "fgetpos" "ac_cv_func_fgetpos"
22471 if test "x$ac_cv_func_fgetpos" = x""yes; then :
22472 cat >>confdefs.h <<_ACEOF
22473 #define HAVE_FGETPOS 1
22479 for ac_func in fsetpos
22481 ac_fn_c_check_func "$LINENO" "fsetpos" "ac_cv_func_fsetpos"
22482 if test "x$ac_cv_func_fsetpos" = x""yes; then :
22483 cat >>confdefs.h <<_ACEOF
22484 #define HAVE_FSETPOS 1
22491 for ac_func in poll
22493 ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
22494 if test "x$ac_cv_func_poll" = x""yes; then :
22495 cat >>confdefs.h <<_ACEOF
22496 #define HAVE_POLL 1
22502 for ac_func in ppoll
22504 ac_fn_c_check_func "$LINENO" "ppoll" "ac_cv_func_ppoll"
22505 if test "x$ac_cv_func_ppoll" = x""yes; then :
22506 cat >>confdefs.h <<_ACEOF
22507 #define HAVE_PPOLL 1
22513 for ac_func in pselect
22515 ac_fn_c_check_func "$LINENO" "pselect" "ac_cv_func_pselect"
22516 if test "x$ac_cv_func_pselect" = x""yes; then :
22517 cat >>confdefs.h <<_ACEOF
22518 #define HAVE_PSELECT 1
22526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken poll" >&5
22527 $as_echo_n "checking for broken poll... " >&6; }
22528 if test "$cross_compiling" = yes; then :
22529 broken_poll="no (cross compiling)"
22531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22532 /* end confdefs.h. */
22534 #include <stdlib.h>
22537 #ifdef HAVE_SYS_POLL_H
22538 #include <sys/poll.h>
22541 struct pollfd fds[1];
22543 fd = open("/dev/null", 1);
22545 fds[0].events = POLLIN;
22546 fds[0].revents = 0;
22547 if (poll(fds, 1, 0) < 0 || (fds[0].revents & POLLNVAL) != 0) {
22548 exit(1); /* Does not work for devices -- fail */
22553 if ac_fn_c_try_run "$LINENO"; then :
22558 $as_echo "#define BROKEN_POLL 1" >>confdefs.h
22561 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22562 conftest.$ac_objext conftest.beam conftest.$ac_ext
22565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $broken_poll" >&5
22566 $as_echo "$broken_poll" >&6; }
22571 for ac_header in $ac_header_list
22573 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22574 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
22576 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
22577 cat >>confdefs.h <<_ACEOF
22578 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22592 for ac_func in getpagesize
22594 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
22595 if test "x$ac_cv_func_getpagesize" = x""yes; then :
22596 cat >>confdefs.h <<_ACEOF
22597 #define HAVE_GETPAGESIZE 1
22603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
22604 $as_echo_n "checking for working mmap... " >&6; }
22605 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
22606 $as_echo_n "(cached) " >&6
22608 if test "$cross_compiling" = yes; then :
22609 ac_cv_func_mmap_fixed_mapped=no
22611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22612 /* end confdefs.h. */
22613 $ac_includes_default
22614 /* malloc might have been renamed as rpl_malloc. */
22617 /* Thanks to Mike Haertel and Jim Avera for this test.
22618 Here is a matrix of mmap possibilities:
22619 mmap private not fixed
22620 mmap private fixed at somewhere currently unmapped
22621 mmap private fixed at somewhere already mapped
22622 mmap shared not fixed
22623 mmap shared fixed at somewhere currently unmapped
22624 mmap shared fixed at somewhere already mapped
22625 For private mappings, we should verify that changes cannot be read()
22626 back from the file, nor mmap's back from the file at a different
22627 address. (There have been systems where private was not correctly
22628 implemented like the infamous i386 svr4.0, and systems where the
22629 VM page cache was not coherent with the file system buffer cache
22630 like early versions of FreeBSD and possibly contemporary NetBSD.)
22631 For shared mappings, we should conversely verify that changes get
22632 propagated back to all the places they're supposed to be.
22634 Grep wants private fixed already mapped.
22635 The main things grep needs to know about mmap are:
22636 * does it exist and is it safe to write into the mmap'd area
22637 * how to use it (BSD variants) */
22640 #include <sys/mman.h>
22642 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
22646 /* This mess was copied from the GNU getpagesize.h. */
22647 #ifndef HAVE_GETPAGESIZE
22648 # ifdef _SC_PAGESIZE
22649 # define getpagesize() sysconf(_SC_PAGESIZE)
22650 # else /* no _SC_PAGESIZE */
22651 # ifdef HAVE_SYS_PARAM_H
22652 # include <sys/param.h>
22653 # ifdef EXEC_PAGESIZE
22654 # define getpagesize() EXEC_PAGESIZE
22655 # else /* no EXEC_PAGESIZE */
22657 # define getpagesize() NBPG * CLSIZE
22660 # endif /* no CLSIZE */
22661 # else /* no NBPG */
22663 # define getpagesize() NBPC
22664 # else /* no NBPC */
22666 # define getpagesize() PAGESIZE
22667 # endif /* PAGESIZE */
22668 # endif /* no NBPC */
22669 # endif /* no NBPG */
22670 # endif /* no EXEC_PAGESIZE */
22671 # else /* no HAVE_SYS_PARAM_H */
22672 # define getpagesize() 8192 /* punt totally */
22673 # endif /* no HAVE_SYS_PARAM_H */
22674 # endif /* no _SC_PAGESIZE */
22676 #endif /* no HAVE_GETPAGESIZE */
22681 char *data, *data2, *data3;
22682 const char *cdata2;
22686 pagesize = getpagesize ();
22688 /* First, make a file with some known garbage in it. */
22689 data = (char *) malloc (pagesize);
22692 for (i = 0; i < pagesize; ++i)
22693 *(data + i) = rand ();
22695 fd = creat ("conftest.mmap", 0600);
22698 if (write (fd, data, pagesize) != pagesize)
22702 /* Next, check that the tail of a page is zero-filled. File must have
22703 non-zero length, otherwise we risk SIGBUS for entire page. */
22704 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
22708 if (write (fd2, cdata2, 1) != 1)
22710 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
22711 if (data2 == MAP_FAILED)
22713 for (i = 0; i < pagesize; ++i)
22717 if (munmap (data2, pagesize))
22720 /* Next, try to mmap the file at a fixed address which already has
22721 something else allocated at it. If we can, also make sure that
22722 we see the same garbage. */
22723 fd = open ("conftest.mmap", O_RDWR);
22726 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
22727 MAP_PRIVATE | MAP_FIXED, fd, 0L))
22729 for (i = 0; i < pagesize; ++i)
22730 if (*(data + i) != *(data2 + i))
22733 /* Finally, make sure that changes to the mapped area do not
22734 percolate back to the file as seen by read(). (This is a bug on
22735 some variants of i386 svr4.0.) */
22736 for (i = 0; i < pagesize; ++i)
22737 *(data2 + i) = *(data2 + i) + 1;
22738 data3 = (char *) malloc (pagesize);
22741 if (read (fd, data3, pagesize) != pagesize)
22743 for (i = 0; i < pagesize; ++i)
22744 if (*(data + i) != *(data3 + i))
22750 if ac_fn_c_try_run "$LINENO"; then :
22751 ac_cv_func_mmap_fixed_mapped=yes
22753 ac_cv_func_mmap_fixed_mapped=no
22755 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22756 conftest.$ac_objext conftest.beam conftest.$ac_ext
22760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
22761 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
22762 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22764 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
22767 rm -f conftest.mmap conftest.txt
22769 if test "x$ac_cv_func_mmap_fixed_mapped" = "xyes"; then
22771 HAVE_MMAP_FALSE='#'
22778 for ac_func in posix_memalign
22780 ac_fn_c_check_func "$LINENO" "posix_memalign" "ac_cv_func_posix_memalign"
22781 if test "x$ac_cv_func_posix_memalign" = x""yes; then :
22782 cat >>confdefs.h <<_ACEOF
22783 #define HAVE_POSIX_MEMALIGN 1
22789 for ac_func in getpagesize
22791 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
22792 if test "x$ac_cv_func_getpagesize" = x""yes; then :
22793 cat >>confdefs.h <<_ACEOF
22794 #define HAVE_GETPAGESIZE 1
22801 for ac_func in clock_gettime
22803 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
22804 if test "x$ac_cv_func_clock_gettime" = x""yes; then :
22805 cat >>confdefs.h <<_ACEOF
22806 #define HAVE_CLOCK_GETTIME 1
22811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
22812 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
22813 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
22814 $as_echo_n "(cached) " >&6
22816 ac_check_lib_save_LIBS=$LIBS
22818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22819 /* end confdefs.h. */
22821 /* Override any GCC internal prototype to avoid an error.
22822 Use char because int might match the return type of a GCC
22823 builtin and then its argument prototype would still apply. */
22827 char clock_gettime ();
22831 return clock_gettime ();
22836 if ac_fn_c_try_link "$LINENO"; then :
22837 ac_cv_lib_rt_clock_gettime=yes
22839 ac_cv_lib_rt_clock_gettime=no
22841 rm -f core conftest.err conftest.$ac_objext \
22842 conftest$ac_exeext conftest.$ac_ext
22843 LIBS=$ac_check_lib_save_LIBS
22845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
22846 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
22847 if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then :
22849 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
22860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix timers" >&5
22861 $as_echo_n "checking for posix timers... " >&6; }
22862 if test "${gst_cv_posix_timers+set}" = set; then :
22863 $as_echo_n "(cached) " >&6
22865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22866 /* end confdefs.h. */
22869 #ifdef HAVE_UNISTD_H
22870 #include <unistd.h>
22877 #if !defined(_POSIX_TIMERS) || _POSIX_TIMERS < 0 || !defined(CLOCK_REALTIME)
22878 #error Either _POSIX_TIMERS or CLOCK_REALTIME not defined
22885 if ac_fn_c_try_compile "$LINENO"; then :
22887 gst_cv_posix_timers=yes
22891 gst_cv_posix_timers=no
22894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gst_cv_posix_timers" >&5
22898 $as_echo "$gst_cv_posix_timers" >&6; }
22900 if test "$gst_cv_posix_timers" = "yes"; then
22902 $as_echo "#define HAVE_POSIX_TIMERS 1" >>confdefs.h
22904 GST_HAVE_POSIX_TIMERS_DEFINE="#define GST_HAVE_POSIX_TIMERS 1"
22906 GST_HAVE_POSIX_TIMERS_DEFINE="#define GST_HAVE_POSIX_TIMERS 0"
22909 if test "$gst_cv_posix_timers" = "yes"; then
22910 GST_HAVE_POSIX_TIMERS_TRUE=
22911 GST_HAVE_POSIX_TIMERS_FALSE='#'
22913 GST_HAVE_POSIX_TIMERS_TRUE='#'
22914 GST_HAVE_POSIX_TIMERS_FALSE=
22918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
22919 $as_echo_n "checking for monotonic clock... " >&6; }
22920 if test "${gst_cv_monotonic_clock+set}" = set; then :
22921 $as_echo_n "(cached) " >&6
22923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22924 /* end confdefs.h. */
22927 #ifdef HAVE_UNISTD_H
22928 #include <unistd.h>
22935 #if !defined(_POSIX_MONOTONIC_CLOCK) || _POSIX_MONOTONIC_CLOCK < 0 || !defined(CLOCK_MONOTONIC)
22936 #error Either _POSIX_MONOTONIC_CLOCK or CLOCK_MONOTONIC not defined
22943 if ac_fn_c_try_compile "$LINENO"; then :
22945 gst_cv_monotonic_clock=yes
22949 gst_cv_monotonic_clock=no
22952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gst_cv_monotonic_clock" >&5
22956 $as_echo "$gst_cv_monotonic_clock" >&6; }
22958 if test "$gst_cv_monotonic_clock" = "yes"; then
22960 $as_echo "#define HAVE_MONOTONIC_CLOCK 1" >>confdefs.h
22962 GST_HAVE_MONOTONIC_CLOCK_DEFINE="#define GST_HAVE_MONOTONIC_CLOCK 1"
22964 GST_HAVE_MONOTONIC_CLOCK_DEFINE="#define GST_HAVE_MONOTONIC_CLOCK 0"
22967 if test "$gst_cv_monotonic_clock" = "yes"; then
22968 GST_HAVE_MONOTONIC_CLOCK_TRUE=
22969 GST_HAVE_MONOTONIC_CLOCK_FALSE='#'
22971 GST_HAVE_MONOTONIC_CLOCK_TRUE='#'
22972 GST_HAVE_MONOTONIC_CLOCK_FALSE=
22977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC implements __PRETTY_FUNCTION__" >&5
22978 $as_echo_n "checking whether $CC implements __PRETTY_FUNCTION__... " >&6; }
22979 if test "${gst_cv_have_pretty_function+set}" = set; then :
22980 $as_echo_n "(cached) " >&6
22983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22984 /* end confdefs.h. */
22989 printf("%s", __PRETTY_FUNCTION__);
22994 if ac_fn_c_try_link "$LINENO"; then :
22995 gst_cv_have_pretty_function=yes
22997 gst_cv_have_pretty_function=no
22999 rm -f core conftest.err conftest.$ac_objext \
23000 conftest$ac_exeext conftest.$ac_ext
23004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gst_cv_have_pretty_function" >&5
23005 $as_echo "$gst_cv_have_pretty_function" >&6; }
23006 if test "$gst_cv_have_pretty_function" = yes; then
23008 $as_echo "#define HAVE_PRETTY_FUNCTION 1" >>confdefs.h
23012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC implements __FUNCTION__" >&5
23013 $as_echo_n "checking whether $CC implements __FUNCTION__... " >&6; }
23014 if test "${gst_cv_have_function+set}" = set; then :
23015 $as_echo_n "(cached) " >&6
23018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23019 /* end confdefs.h. */
23024 printf("%s", __FUNCTION__);
23029 if ac_fn_c_try_link "$LINENO"; then :
23030 gst_cv_have_function=yes
23032 gst_cv_have_function=no
23034 rm -f core conftest.err conftest.$ac_objext \
23035 conftest$ac_exeext conftest.$ac_ext
23039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gst_cv_have_function" >&5
23040 $as_echo "$gst_cv_have_function" >&6; }
23041 if test "$gst_cv_have_function" = yes; then
23043 $as_echo "#define HAVE_FUNCTION 1" >>confdefs.h
23047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC implements __func__" >&5
23048 $as_echo_n "checking whether $CC implements __func__... " >&6; }
23049 if test "${gst_cv_have_func+set}" = set; then :
23050 $as_echo_n "(cached) " >&6
23053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23054 /* end confdefs.h. */
23059 printf("%s", __func__);
23064 if ac_fn_c_try_link "$LINENO"; then :
23065 gst_cv_have_func=yes
23067 gst_cv_have_func=no
23069 rm -f core conftest.err conftest.$ac_objext \
23070 conftest$ac_exeext conftest.$ac_ext
23074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gst_cv_have_func" >&5
23075 $as_echo "$gst_cv_have_func" >&6; }
23076 if test "$gst_cv_have_func" = yes; then
23078 $as_echo "#define HAVE_FUNC 1" >>confdefs.h
23082 if test "$gst_cv_have_pretty_function" = yes; then
23083 function=__PRETTY_FUNCTION__
23085 if test "$gst_cv_have_function" = yes; then
23086 function=__FUNCTION__
23088 if test "$gst_cv_have_func" = yes; then
23096 cat >>confdefs.h <<_ACEOF
23097 #define GST_FUNCTION $function
23102 for ac_func in register_printf_specifier register_printf_function
23104 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23105 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23106 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23107 cat >>confdefs.h <<_ACEOF
23108 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23110 HAVE_PRINTF_EXTENSION=yes
23115 if test "$HAVE_PRINTF_EXTENSION" = yes; then
23116 GST_PRINTF_EXTENSION_POINTER_FORMAT_DEFINE="#define GST_PTR_FORMAT \"P\""
23117 GST_PRINTF_EXTENSION_SEGMENT_FORMAT_DEFINE="#define GST_SEGMENT_FORMAT \"Q\""
23118 GST_USING_PRINTF_EXTENSION_DEFINE="#define GST_USING_PRINTF_EXTENSION"
23120 $as_echo "#define HAVE_PRINTF_EXTENSION 1" >>confdefs.h
23123 GST_PRINTF_EXTENSION_POINTER_FORMAT_DEFINE="#define GST_PTR_FORMAT \"p\""
23124 GST_PRINTF_EXTENSION_SEGMENT_FORMAT_DEFINE="#define GST_SEGMENT_FORMAT \"p\""
23125 GST_USING_PRINTF_EXTENSION_DEFINE="#undef GST_USING_PRINTF_EXTENSION"
23131 save_cflags="$CFLAGS"
23132 CFLAGS="$CFLAGS -D_GNU_SOURCE"
23133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dladdr in -ldl" >&5
23134 $as_echo_n "checking for dladdr in -ldl... " >&6; }
23135 if test "${ac_cv_lib_dl_dladdr+set}" = set; then :
23136 $as_echo_n "(cached) " >&6
23138 ac_check_lib_save_LIBS=$LIBS
23140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23141 /* end confdefs.h. */
23143 /* Override any GCC internal prototype to avoid an error.
23144 Use char because int might match the return type of a GCC
23145 builtin and then its argument prototype would still apply. */
23158 if ac_fn_c_try_link "$LINENO"; then :
23159 ac_cv_lib_dl_dladdr=yes
23161 ac_cv_lib_dl_dladdr=no
23163 rm -f core conftest.err conftest.$ac_objext \
23164 conftest$ac_exeext conftest.$ac_ext
23165 LIBS=$ac_check_lib_save_LIBS
23167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dladdr" >&5
23168 $as_echo "$ac_cv_lib_dl_dladdr" >&6; }
23169 if test "x$ac_cv_lib_dl_dladdr" = x""yes; then :
23171 $as_echo "#define HAVE_DLADDR 1" >>confdefs.h
23176 CFLAGS="$save_cflags"
23178 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
23179 if test "x$ac_cv_func_socket" = x""yes; then :
23182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
23183 $as_echo_n "checking for socket in -lsocket... " >&6; }
23184 if test "${ac_cv_lib_socket_socket+set}" = set; then :
23185 $as_echo_n "(cached) " >&6
23187 ac_check_lib_save_LIBS=$LIBS
23188 LIBS="-lsocket $LIBS"
23189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23190 /* end confdefs.h. */
23192 /* Override any GCC internal prototype to avoid an error.
23193 Use char because int might match the return type of a GCC
23194 builtin and then its argument prototype would still apply. */
23207 if ac_fn_c_try_link "$LINENO"; then :
23208 ac_cv_lib_socket_socket=yes
23210 ac_cv_lib_socket_socket=no
23212 rm -f core conftest.err conftest.$ac_objext \
23213 conftest$ac_exeext conftest.$ac_ext
23214 LIBS=$ac_check_lib_save_LIBS
23216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
23217 $as_echo "$ac_cv_lib_socket_socket" >&6; }
23218 if test "x$ac_cv_lib_socket_socket" = x""yes; then :
23219 cat >>confdefs.h <<_ACEOF
23220 #define HAVE_LIBSOCKET 1
23223 LIBS="-lsocket $LIBS"
23229 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
23230 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
23233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
23234 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
23235 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
23236 $as_echo_n "(cached) " >&6
23238 ac_check_lib_save_LIBS=$LIBS
23240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23241 /* end confdefs.h. */
23243 /* Override any GCC internal prototype to avoid an error.
23244 Use char because int might match the return type of a GCC
23245 builtin and then its argument prototype would still apply. */
23249 char gethostbyname ();
23253 return gethostbyname ();
23258 if ac_fn_c_try_link "$LINENO"; then :
23259 ac_cv_lib_nsl_gethostbyname=yes
23261 ac_cv_lib_nsl_gethostbyname=no
23263 rm -f core conftest.err conftest.$ac_objext \
23264 conftest$ac_exeext conftest.$ac_ext
23265 LIBS=$ac_check_lib_save_LIBS
23267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
23268 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
23269 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
23270 cat >>confdefs.h <<_ACEOF
23271 #define HAVE_LIBNSL 1
23282 ac_fn_c_check_func "$LINENO" "inet_aton" "ac_cv_func_inet_aton"
23283 if test "x$ac_cv_func_inet_aton" = x""yes; then :
23286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -lnsl" >&5
23287 $as_echo_n "checking for inet_aton in -lnsl... " >&6; }
23288 if test "${ac_cv_lib_nsl_inet_aton+set}" = set; then :
23289 $as_echo_n "(cached) " >&6
23291 ac_check_lib_save_LIBS=$LIBS
23293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23294 /* end confdefs.h. */
23296 /* Override any GCC internal prototype to avoid an error.
23297 Use char because int might match the return type of a GCC
23298 builtin and then its argument prototype would still apply. */
23306 return inet_aton ();
23311 if ac_fn_c_try_link "$LINENO"; then :
23312 ac_cv_lib_nsl_inet_aton=yes
23314 ac_cv_lib_nsl_inet_aton=no
23316 rm -f core conftest.err conftest.$ac_objext \
23317 conftest$ac_exeext conftest.$ac_ext
23318 LIBS=$ac_check_lib_save_LIBS
23320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_aton" >&5
23321 $as_echo "$ac_cv_lib_nsl_inet_aton" >&6; }
23322 if test "x$ac_cv_lib_nsl_inet_aton" = x""yes; then :
23323 cat >>confdefs.h <<_ACEOF
23324 #define HAVE_LIBNSL 1
23330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -lsocket" >&5
23331 $as_echo_n "checking for inet_aton in -lsocket... " >&6; }
23332 if test "${ac_cv_lib_socket_inet_aton+set}" = set; then :
23333 $as_echo_n "(cached) " >&6
23335 ac_check_lib_save_LIBS=$LIBS
23336 LIBS="-lsocket $LIBS"
23337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23338 /* end confdefs.h. */
23340 /* Override any GCC internal prototype to avoid an error.
23341 Use char because int might match the return type of a GCC
23342 builtin and then its argument prototype would still apply. */
23350 return inet_aton ();
23355 if ac_fn_c_try_link "$LINENO"; then :
23356 ac_cv_lib_socket_inet_aton=yes
23358 ac_cv_lib_socket_inet_aton=no
23360 rm -f core conftest.err conftest.$ac_objext \
23361 conftest$ac_exeext conftest.$ac_ext
23362 LIBS=$ac_check_lib_save_LIBS
23364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_aton" >&5
23365 $as_echo "$ac_cv_lib_socket_inet_aton" >&6; }
23366 if test "x$ac_cv_lib_socket_inet_aton" = x""yes; then :
23367 cat >>confdefs.h <<_ACEOF
23368 #define HAVE_LIBSOCKET 1
23371 LIBS="-lsocket $LIBS"
23374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -lresolv" >&5
23375 $as_echo_n "checking for inet_aton in -lresolv... " >&6; }
23376 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then :
23377 $as_echo_n "(cached) " >&6
23379 ac_check_lib_save_LIBS=$LIBS
23380 LIBS="-lresolv $LIBS"
23381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23382 /* end confdefs.h. */
23384 /* Override any GCC internal prototype to avoid an error.
23385 Use char because int might match the return type of a GCC
23386 builtin and then its argument prototype would still apply. */
23394 return inet_aton ();
23399 if ac_fn_c_try_link "$LINENO"; then :
23400 ac_cv_lib_resolv_inet_aton=yes
23402 ac_cv_lib_resolv_inet_aton=no
23404 rm -f core conftest.err conftest.$ac_objext \
23405 conftest$ac_exeext conftest.$ac_ext
23406 LIBS=$ac_check_lib_save_LIBS
23408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_aton" >&5
23409 $as_echo "$ac_cv_lib_resolv_inet_aton" >&6; }
23410 if test "x$ac_cv_lib_resolv_inet_aton" = x""yes; then :
23411 cat >>confdefs.h <<_ACEOF
23412 #define HAVE_LIBRESOLV 1
23415 LIBS="-lresolv $LIBS"
23419 $as_echo "#define NO_INET_ATON 1" >>confdefs.h
23429 INET_ATON_LIBS=$LIBS
23440 if test "x$GLIB_REQ" = "x"
23442 as_fn_error $? "Please specify a required version for GLib 2.0" "$LINENO" 5
23447 which="glib-2.0 >= $GLIB_REQ gobject-2.0 gthread-2.0 gmodule-no-export-2.0"
23452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
23453 $as_echo_n "checking for GLIB... " >&6; }
23455 if test -n "$PKG_CONFIG"; then
23456 if test -n "$GLIB_CFLAGS"; then
23457 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
23459 if test -n "$PKG_CONFIG" && \
23460 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
23461 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
23463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23464 test $ac_status = 0; }; then
23465 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
23473 if test -n "$PKG_CONFIG"; then
23474 if test -n "$GLIB_LIBS"; then
23475 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
23477 if test -n "$PKG_CONFIG" && \
23478 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
23479 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
23481 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23482 test $ac_status = 0; }; then
23483 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
23494 if test $pkg_failed = yes; then
23496 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23497 _pkg_short_errors_supported=yes
23499 _pkg_short_errors_supported=no
23501 if test $_pkg_short_errors_supported = yes; then
23502 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
23504 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
23506 # Put the nasty error message in config.log where it belongs
23507 echo "$GLIB_PKG_ERRORS" >&5
23509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23510 $as_echo "no" >&6; }
23513 if test "x$required" = "xyes"; then
23514 as_fn_error $? "$GLIB_PKG_ERRORS" "$LINENO" 5
23516 { $as_echo "$as_me:${as_lineno-$LINENO}: $GLIB_PKG_ERRORS" >&5
23517 $as_echo "$as_me: $GLIB_PKG_ERRORS" >&6;}
23520 elif test $pkg_failed = untried; then
23523 if test "x$required" = "xyes"; then
23524 as_fn_error $? "$GLIB_PKG_ERRORS" "$LINENO" 5
23526 { $as_echo "$as_me:${as_lineno-$LINENO}: $GLIB_PKG_ERRORS" >&5
23527 $as_echo "$as_me: $GLIB_PKG_ERRORS" >&6;}
23531 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
23532 GLIB_LIBS=$pkg_cv_GLIB_LIBS
23533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23534 $as_echo "yes" >&6; }
23542 if test "x$HAVE_GLIB" = "xno"; then
23543 as_fn_error $? "This package requires GLib >= $GLIB_REQ to compile." "$LINENO" 5
23546 GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_THREADS_MANDATORY"
23548 if test "x$PACKAGE_VERSION_NANO" = "x1"; then
23549 GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_DEPRECATED"
23552 # Check whether --enable-gobject-cast-checks was given.
23553 if test "${enable_gobject_cast_checks+set}" = set; then :
23554 enableval=$enable_gobject_cast_checks;
23556 enable_gobject_cast_checks=auto
23560 if test "x$enable_gobject_cast_checks" = "xauto"; then
23561 if test "x$PACKAGE_VERSION_NANO" = "x1"; then
23562 enable_gobject_cast_checks=yes
23564 enable_gobject_cast_checks=no
23568 if test "x$enable_gobject_cast_checks" = "xno"; then
23569 GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_CAST_CHECKS"
23572 # Check whether --enable-glib-asserts was given.
23573 if test "${enable_glib_asserts+set}" = set; then :
23574 enableval=$enable_glib_asserts;
23576 enable_glib_assertions=auto
23580 if test "x$enable_glib_assertions" = "xauto"; then
23581 if test "x$PACKAGE_VERSION_NANO" = "x1"; then
23582 enable_glib_assertions=yes
23584 enable_glib_assertions=no
23588 if test "x$enable_glib_assertions" = "xno"; then
23589 GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_ASSERT"
23593 GIVEN_CFLAGS=$GLIB_CFLAGS
23594 INCLUDE_DIRS=`echo | cpp -v 2>&1`
23596 INCLUDE_DIRS=`echo $INCLUDE_DIRS | sed -e 's/.*<...> search starts here://' | sed -e 's/End of search list.*//'`
23597 for dir in $INCLUDE_DIRS; do
23598 GIVEN_CFLAGS=`echo $GIVEN_CFLAGS | sed -e "s#-I$dir ##"`
23600 GLIB_CFLAGS=$GIVEN_CFLAGS
23604 GST_HAVE_GLIB_2_8_DEFINE="#define GST_HAVE_GLIB_2_8 1"
23609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB_ONLY" >&5
23610 $as_echo_n "checking for GLIB_ONLY... " >&6; }
23612 if test -n "$PKG_CONFIG"; then
23613 if test -n "$GLIB_ONLY_CFLAGS"; then
23614 pkg_cv_GLIB_ONLY_CFLAGS="$GLIB_ONLY_CFLAGS"
23616 if test -n "$PKG_CONFIG" && \
23617 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQ\""; } >&5
23618 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQ") 2>&5
23620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23621 test $ac_status = 0; }; then
23622 pkg_cv_GLIB_ONLY_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQ" 2>/dev/null`
23630 if test -n "$PKG_CONFIG"; then
23631 if test -n "$GLIB_ONLY_LIBS"; then
23632 pkg_cv_GLIB_ONLY_LIBS="$GLIB_ONLY_LIBS"
23634 if test -n "$PKG_CONFIG" && \
23635 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQ\""; } >&5
23636 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQ") 2>&5
23638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23639 test $ac_status = 0; }; then
23640 pkg_cv_GLIB_ONLY_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQ" 2>/dev/null`
23651 if test $pkg_failed = yes; then
23653 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23654 _pkg_short_errors_supported=yes
23656 _pkg_short_errors_supported=no
23658 if test $_pkg_short_errors_supported = yes; then
23659 GLIB_ONLY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= $GLIB_REQ"`
23661 GLIB_ONLY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= $GLIB_REQ"`
23663 # Put the nasty error message in config.log where it belongs
23664 echo "$GLIB_ONLY_PKG_ERRORS" >&5
23666 as_fn_error $? "Package requirements (glib-2.0 >= $GLIB_REQ) were not met:
23668 $GLIB_ONLY_PKG_ERRORS
23670 Consider adjusting the PKG_CONFIG_PATH environment variable if you
23671 installed software in a non-standard prefix.
23673 Alternatively, you may set the environment variables GLIB_ONLY_CFLAGS
23674 and GLIB_ONLY_LIBS to avoid the need to call pkg-config.
23675 See the pkg-config man page for more details.
23677 elif test $pkg_failed = untried; then
23678 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23679 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23680 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
23681 is in your PATH or set the PKG_CONFIG environment variable to the full
23682 path to pkg-config.
23684 Alternatively, you may set the environment variables GLIB_ONLY_CFLAGS
23685 and GLIB_ONLY_LIBS to avoid the need to call pkg-config.
23686 See the pkg-config man page for more details.
23688 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23689 See \`config.log' for more details" "$LINENO" 5 ; }
23691 GLIB_ONLY_CFLAGS=$pkg_cv_GLIB_ONLY_CFLAGS
23692 GLIB_ONLY_LIBS=$pkg_cv_GLIB_ONLY_LIBS
23693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23694 $as_echo "yes" >&6; }
23698 GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
23701 if test "x$GST_DISABLE_LOADSAVE" = "xyes"
23703 { $as_echo "$as_me:${as_lineno-$LINENO}: XML registry and load/save are disabled, not checking for libxml2" >&5
23704 $as_echo "$as_me: XML registry and load/save are disabled, not checking for libxml2" >&6;}
23705 GST_DISABLE_XML_DEFINE="#define GST_DISABLE_XML 1"
23713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML" >&5
23714 $as_echo_n "checking for XML... " >&6; }
23716 if test -n "$PKG_CONFIG"; then
23717 if test -n "$XML_CFLAGS"; then
23718 pkg_cv_XML_CFLAGS="$XML_CFLAGS"
23720 if test -n "$PKG_CONFIG" && \
23721 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= \$LIBXML2_REQ\""; } >&5
23722 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= $LIBXML2_REQ") 2>&5
23724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23725 test $ac_status = 0; }; then
23726 pkg_cv_XML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= $LIBXML2_REQ" 2>/dev/null`
23734 if test -n "$PKG_CONFIG"; then
23735 if test -n "$XML_LIBS"; then
23736 pkg_cv_XML_LIBS="$XML_LIBS"
23738 if test -n "$PKG_CONFIG" && \
23739 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= \$LIBXML2_REQ\""; } >&5
23740 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= $LIBXML2_REQ") 2>&5
23742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23743 test $ac_status = 0; }; then
23744 pkg_cv_XML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= $LIBXML2_REQ" 2>/dev/null`
23755 if test $pkg_failed = yes; then
23757 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23758 _pkg_short_errors_supported=yes
23760 _pkg_short_errors_supported=no
23762 if test $_pkg_short_errors_supported = yes; then
23763 XML_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libxml-2.0 >= $LIBXML2_REQ"`
23765 XML_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= $LIBXML2_REQ"`
23767 # Put the nasty error message in config.log where it belongs
23768 echo "$XML_PKG_ERRORS" >&5
23770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23771 $as_echo "no" >&6; }
23773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23774 $as_echo "no" >&6; }
23777 elif test $pkg_failed = untried; then
23779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23780 $as_echo "no" >&6; }
23784 XML_CFLAGS=$pkg_cv_XML_CFLAGS
23785 XML_LIBS=$pkg_cv_XML_LIBS
23786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23787 $as_echo "yes" >&6; }
23790 if test "x$HAVE_LIBXML2" = "xyes"; then
23792 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
23796 Need libxml2 and development headers/files to build GStreamer.
23798 You can do without libxml2 if you pass --disable-loadsave to
23799 configure, but that breaks ABI, so don't do that unless you
23800 are building for an embedded setup and know what you are doing.
23803 LIBXML_PKG=', libxml-2.0'
23808 ac_save_CFLAGS=$CFLAGS
23810 CFLAGS="$CFLAGS $XML_CFLAGS"
23811 LIBS="$LIBS $XML_LIBS"
23812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23813 /* end confdefs.h. */
23815 #include <libxml/tree.h>
23822 /* function body */
23828 if ac_fn_c_try_link "$LINENO"; then :
23829 { $as_echo "$as_me:${as_lineno-$LINENO}: Test xml2 program linked" >&5
23830 $as_echo "$as_me: Test xml2 program linked" >&6;}
23832 as_fn_error $? "Could not link libxml2 test program. Check if you have the necessary dependencies." "$LINENO" 5
23835 rm -f core conftest.err conftest.$ac_objext \
23836 conftest$ac_exeext conftest.$ac_ext
23837 CFLAGS="$ac_save_CFLAGS"
23838 LIBS="$ac_save_LIBS"
23840 GST_DISABLE_XML_DEFINE="/* #undef GST_DISABLE_XML */"
23844 # Check whether --enable-check was given.
23845 if test "${enable_check+set}" = set; then :
23846 enableval=$enable_check;
23847 case "${enableval}" in
23848 yes) BUILD_CHECK=yes ;;
23849 no) BUILD_CHECK=no ;;
23850 *) as_fn_error $? "bad value ${enableval} for --disable-check" "$LINENO" 5 ;;
23856 mingw* | msvc* | mks*) BUILD_CHECK=no ;;
23857 *) BUILD_CHECK=yes ;;
23862 if test "x$BUILD_CHECK" = "xyes"; then
23864 HAVE_CHECK_FALSE='#'
23866 HAVE_CHECK_TRUE='#'
23872 # Check whether --with-buffer-alignment was given.
23873 if test "${with_buffer_alignment+set}" = set; then :
23874 withval=$with_buffer_alignment;
23875 if test "x$withval" = "xyes"
23878 $as_echo "#define BUFFER_ALIGNMENT 32" >>confdefs.h
23881 case "${withval}" in
23883 $as_echo "#define BUFFER_ALIGNMENT_MALLOC 1" >>confdefs.h
23886 $as_echo "#define BUFFER_ALIGNMENT_PAGESIZE 1" >>confdefs.h
23889 cat >>confdefs.h <<_ACEOF
23890 #define BUFFER_ALIGNMENT ${withval}
23899 $as_echo "#define BUFFER_ALIGNMENT_MALLOC 1" >>confdefs.h
23906 # Check whether --enable-Bsymbolic was given.
23907 if test "${enable_Bsymbolic+set}" = set; then :
23908 enableval=$enable_Bsymbolic;
23910 SAVED_LDFLAGS="${LDFLAGS}"
23911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Bsymbolic-functions linker flag" >&5
23912 $as_echo_n "checking for -Bsymbolic-functions linker flag... " >&6; }
23913 LDFLAGS=-Wl,-Bsymbolic-functions
23914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23915 /* end confdefs.h. */
23920 int main (void) { return 0; }
23925 if ac_fn_c_try_link "$LINENO"; then :
23926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23927 $as_echo "yes" >&6; }
23928 enable_Bsymbolic=yes
23930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23931 $as_echo "no" >&6; }
23932 enable_Bsymbolic=no
23934 rm -f core conftest.err conftest.$ac_objext \
23935 conftest$ac_exeext conftest.$ac_ext
23936 LDFLAGS="${SAVED_LDFLAGS}"
23944 cat >>confdefs.h <<_ACEOF
23945 #define GST_LICENSE "$GST_LICENSE"
23954 prefix_save=$prefix
23955 exec_prefix_save=$exec_prefix
23957 if test "x$prefix" = "xNONE"; then
23958 prefix="$ac_default_prefix"
23960 if test "x$exec_prefix" = "xNONE"; then
23961 exec_prefix=$prefix
23964 full_var="$FROM_VAR"
23966 new_full_var="`eval echo $full_var`"
23967 if test "x$new_full_var" = "x$full_var"; then break; fi
23968 full_var=$new_full_var
23971 full_var=$new_full_var
23975 prefix=$prefix_save
23976 exec_prefix=$exec_prefix_save
23979 cat >>confdefs.h <<_ACEOF
23980 #define LIBDIR "$LIBDIR"
23987 prefix_save=$prefix
23988 exec_prefix_save=$exec_prefix
23990 if test "x$prefix" = "xNONE"; then
23991 prefix="$ac_default_prefix"
23993 if test "x$exec_prefix" = "xNONE"; then
23994 exec_prefix=$prefix
23997 full_var="$FROM_VAR"
23999 new_full_var="`eval echo $full_var`"
24000 if test "x$new_full_var" = "x$full_var"; then break; fi
24001 full_var=$new_full_var
24004 full_var=$new_full_var
24005 DATADIR="$full_var"
24008 prefix=$prefix_save
24009 exec_prefix=$exec_prefix_save
24012 cat >>confdefs.h <<_ACEOF
24013 #define GST_DATADIR "$DATADIR"
24020 FROM_VAR=${libdir}/gstreamer-$GST_MAJORMINOR
24022 prefix_save=$prefix
24023 exec_prefix_save=$exec_prefix
24025 if test "x$prefix" = "xNONE"; then
24026 prefix="$ac_default_prefix"
24028 if test "x$exec_prefix" = "xNONE"; then
24029 exec_prefix=$prefix
24032 full_var="$FROM_VAR"
24034 new_full_var="`eval echo $full_var`"
24035 if test "x$new_full_var" = "x$full_var"; then break; fi
24036 full_var=$new_full_var
24039 full_var=$new_full_var
24040 PLUGINDIR="$full_var"
24043 prefix=$prefix_save
24044 exec_prefix=$exec_prefix_save
24047 cat >>confdefs.h <<_ACEOF
24048 #define PLUGINDIR "$PLUGINDIR"
24051 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $PLUGINDIR as the plugin install location" >&5
24052 $as_echo "$as_me: Using $PLUGINDIR as the plugin install location" >&6;}
24054 plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
24058 GST_PKG_DEPS="glib-2.0, gobject-2.0, gmodule-no-export-2.0, gthread-2.0"
24069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wall" >&5
24070 $as_echo_n "checking to see if compiler understands -Wall... " >&6; }
24072 save_CFLAGS="$CFLAGS"
24073 CFLAGS="$CFLAGS -Wall"
24075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24076 /* end confdefs.h. */
24086 if ac_fn_c_try_compile "$LINENO"; then :
24091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24092 CFLAGS="$save_CFLAGS"
24094 if test "X$flag_ok" = Xyes ; then
24095 WARNING_CFLAGS="$WARNING_CFLAGS -Wall"
24101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24102 $as_echo "$flag_ok" >&6; }
24106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wdeclaration-after-statement" >&5
24107 $as_echo_n "checking to see if compiler understands -Wdeclaration-after-statement... " >&6; }
24109 save_CFLAGS="$CFLAGS"
24110 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
24112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24113 /* end confdefs.h. */
24123 if ac_fn_c_try_compile "$LINENO"; then :
24128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24129 CFLAGS="$save_CFLAGS"
24131 if test "X$flag_ok" = Xyes ; then
24132 WARNING_CFLAGS="$WARNING_CFLAGS -Wdeclaration-after-statement"
24138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24139 $as_echo "$flag_ok" >&6; }
24143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wvla" >&5
24144 $as_echo_n "checking to see if compiler understands -Wvla... " >&6; }
24146 save_CFLAGS="$CFLAGS"
24147 CFLAGS="$CFLAGS -Wvla"
24149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24150 /* end confdefs.h. */
24160 if ac_fn_c_try_compile "$LINENO"; then :
24165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24166 CFLAGS="$save_CFLAGS"
24168 if test "X$flag_ok" = Xyes ; then
24169 WARNING_CFLAGS="$WARNING_CFLAGS -Wvla"
24175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24176 $as_echo "$flag_ok" >&6; }
24180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wpointer-arith" >&5
24181 $as_echo_n "checking to see if compiler understands -Wpointer-arith... " >&6; }
24183 save_CFLAGS="$CFLAGS"
24184 CFLAGS="$CFLAGS -Wpointer-arith"
24186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24187 /* end confdefs.h. */
24197 if ac_fn_c_try_compile "$LINENO"; then :
24202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24203 CFLAGS="$save_CFLAGS"
24205 if test "X$flag_ok" = Xyes ; then
24206 WARNING_CFLAGS="$WARNING_CFLAGS -Wpointer-arith"
24212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24213 $as_echo "$flag_ok" >&6; }
24216 if test "x$GST_GIT" != "xno"
24219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Werror" >&5
24220 $as_echo_n "checking to see if compiler understands -Werror... " >&6; }
24222 save_CFLAGS="$CFLAGS"
24223 CFLAGS="$CFLAGS -Werror"
24225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24226 /* end confdefs.h. */
24236 if ac_fn_c_try_compile "$LINENO"; then :
24241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24242 CFLAGS="$save_CFLAGS"
24244 if test "X$flag_ok" = Xyes ; then
24245 ERROR_CFLAGS="$ERROR_CFLAGS -Werror"
24251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24252 $as_echo "$flag_ok" >&6; }
24255 if test "x$ERROR_CFLAGS" = "x"
24258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all" >&5
24259 $as_echo_n "checking to see if compiler understands -errwarn=%all... " >&6; }
24261 save_CFLAGS="$CFLAGS"
24262 CFLAGS="$CFLAGS -errwarn=%all"
24264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24265 /* end confdefs.h. */
24275 if ac_fn_c_try_compile "$LINENO"; then :
24280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24281 CFLAGS="$save_CFLAGS"
24283 if test "X$flag_ok" = Xyes ; then
24285 ERROR_CFLAGS="-errwarn=%all"
24286 for f in 'no%E_EMPTY_DECLARATION' \
24287 'no%E_STATEMENT_NOT_REACHED' \
24288 'no%E_ARGUEMENT_MISMATCH' \
24289 'no%E_MACRO_REDEFINED' \
24290 'no%E_LOOP_NOT_ENTERED_AT_TOP'
24293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all,$f" >&5
24294 $as_echo_n "checking to see if compiler understands -errwarn=%all,$f... " >&6; }
24296 save_CFLAGS="$CFLAGS"
24297 CFLAGS="$CFLAGS -errwarn=%all,$f"
24299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24300 /* end confdefs.h. */
24310 if ac_fn_c_try_compile "$LINENO"; then :
24315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24316 CFLAGS="$save_CFLAGS"
24318 if test "X$flag_ok" = Xyes ; then
24320 ERROR_CFLAGS="$ERROR_CFLAGS,$f"
24327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24328 $as_echo "$flag_ok" >&6; }
24337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24338 $as_echo "$flag_ok" >&6; }
24341 if test -n "$PKG_CONFIG" && \
24342 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 < 2.19.8\""; } >&5
24343 ($PKG_CONFIG --exists --print-errors "glib-2.0 < 2.19.8") 2>&5
24345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24346 test $ac_status = 0; }; then
24349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -fno-strict-aliasing" >&5
24350 $as_echo_n "checking to see if compiler understands -fno-strict-aliasing... " >&6; }
24352 save_CFLAGS="$CFLAGS"
24353 CFLAGS="$CFLAGS -fno-strict-aliasing"
24355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24356 /* end confdefs.h. */
24366 if ac_fn_c_try_compile "$LINENO"; then :
24371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24372 CFLAGS="$save_CFLAGS"
24374 if test "X$flag_ok" = Xyes ; then
24375 ERROR_CFLAGS="$ERROR_CFLAGS -fno-strict-aliasing"
24381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24382 $as_echo "$flag_ok" >&6; }
24389 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" != "x"
24392 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"
24396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands $each" >&5
24397 $as_echo_n "checking to see if compiler understands $each... " >&6; }
24399 save_CFLAGS="$CFLAGS"
24400 CFLAGS="$CFLAGS $each"
24402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24403 /* end confdefs.h. */
24413 if ac_fn_c_try_compile "$LINENO"; then :
24418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24419 CFLAGS="$save_CFLAGS"
24421 if test "X$flag_ok" = Xyes ; then
24422 WARNING_CFLAGS="$WARNING_CFLAGS $each"
24425 UNSUPPORTED="$UNSUPPORTED $each"
24428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24429 $as_echo "$flag_ok" >&6; }
24432 if test "X$UNSUPPORTED" != X ; then
24433 { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported compiler flags: $UNSUPPORTED" >&5
24434 $as_echo "$as_me: unsupported compiler flags: $UNSUPPORTED" >&6;}
24440 { $as_echo "$as_me:${as_lineno-$LINENO}: set WARNING_CFLAGS to $WARNING_CFLAGS" >&5
24441 $as_echo "$as_me: set WARNING_CFLAGS to $WARNING_CFLAGS" >&6;}
24442 { $as_echo "$as_me:${as_lineno-$LINENO}: set ERROR_CFLAGS to $ERROR_CFLAGS" >&5
24443 $as_echo "$as_me: set ERROR_CFLAGS to $ERROR_CFLAGS" >&6;}
24447 if test "x$GST_GIT" = "xyes"; then
24448 GST_LEVEL_DEFAULT=GST_LEVEL_ERROR
24450 GST_LEVEL_DEFAULT=GST_LEVEL_NONE
24453 cat >>confdefs.h <<_ACEOF
24454 #define GST_LEVEL_DEFAULT $GST_LEVEL_DEFAULT
24462 if test "x$USE_DEBUG" = xyes; then
24463 PROFILE_CFLAGS="-g"
24467 # GST_DISABLE_DEPRECATED: hide the visibility of deprecated
24468 # functionality from the API that gstreamer uses
24469 # GST_REMOVE_DEPRECATED: don't compile deprecated functionality (breaks ABI)
24470 if test "x$PACKAGE_VERSION_NANO" = "x1"; then
24471 DEPRECATED_CFLAGS="-DGST_DISABLE_DEPRECATED"
24473 DEPRECATED_CFLAGS=""
24477 GST_OPTION_CFLAGS="\$(WARNING_CFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
24478 GST_OPTION_CXXFLAGS="\$(WARNING_CXXFLAGS) \$(ERROR_CXXFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
24482 GST_ALL_CXXFLAGS="-I\$(top_srcdir)/libs -I\$(top_srcdir) -I\$(top_builddir)/libs -I\$(top_builddir) $GLIB_CFLAGS $GLIB_EXTRA_CFLAGS $XML_CFLAGS \$(GST_OPTION_CXXFLAGS) \$(ERROR_CXXFLAGS)"
24483 GST_ALL_CFLAGS="-I\$(top_srcdir)/libs -I\$(top_srcdir) -I\$(top_builddir)/libs -I\$(top_builddir) $GLIB_CFLAGS $GLIB_EXTRA_CFLAGS $XML_CFLAGS \$(GST_OPTION_CFLAGS) \$(ERROR_CFLAGS)"
24485 GST_ALL_LIBS="$GLIB_LIBS $LTLIBINTL \$(GCOV_LIBS)"
24487 GST_ALL_LDFLAGS="-no-undefined"
24488 if test "x${enable_Bsymbolic}" = "xyes"; then
24489 GST_ALL_LDFLAGS="$GST_ALL_LDFLAGS -Wl,-Bsymbolic-functions"
24497 GST_LIB_LDFLAGS="-export-symbols-regex \^_*\(gst_\|Gst\|GST_\).*"
24500 GST_OBJ_CFLAGS="\$(GST_ALL_CFLAGS)"
24501 GST_OBJ_CXXFLAGS="\$(GST_ALL_CXXFLAGS)"
24502 GST_OBJ_LIBS="\$(top_builddir)/gst/libgstreamer-$GST_MAJORMINOR.la \$(GST_ALL_LIBS)"
24507 GST_PLUGIN_LDFLAGS="-module -avoid-version -export-symbols-regex '^_*gst_plugin_desc.*' $GST_ALL_LDFLAGS"
24508 GST_PLUGIN_LDFLAGS="$GST_PLUGIN_LDFLAGS"
24512 EXP_VAR=GST_PLUGIN_SCANNER_INSTALLED
24513 FROM_VAR=${libexecdir}/gstreamer-$GST_MAJORMINOR/gst-plugin-scanner
24515 prefix_save=$prefix
24516 exec_prefix_save=$exec_prefix
24518 if test "x$prefix" = "xNONE"; then
24519 prefix="$ac_default_prefix"
24521 if test "x$exec_prefix" = "xNONE"; then
24522 exec_prefix=$prefix
24525 full_var="$FROM_VAR"
24527 new_full_var="`eval echo $full_var`"
24528 if test "x$new_full_var" = "x$full_var"; then break; fi
24529 full_var=$new_full_var
24532 full_var=$new_full_var
24533 GST_PLUGIN_SCANNER_INSTALLED="$full_var"
24536 prefix=$prefix_save
24537 exec_prefix=$exec_prefix_save
24540 cat >>confdefs.h <<_ACEOF
24541 #define GST_PLUGIN_SCANNER_INSTALLED "$GST_PLUGIN_SCANNER_INSTALLED"
24547 { $as_echo "$as_me:${as_lineno-$LINENO}: Running check unit test framework checks now..." >&5
24548 $as_echo "$as_me: Running check unit test framework checks now..." >&6;}
24550 CHECK_MAJOR_VERSION=0
24551 CHECK_MINOR_VERSION=9
24552 CHECK_MICRO_VERSION=8
24553 CHECK_VERSION=$CHECK_MAJOR_VERSION.$CHECK_MINOR_VERSION.$CHECK_MICRO_VERSION
24560 for ac_header in unistd.h sys/wait.h sys/time.h
24562 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
24563 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
24564 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
24565 cat >>confdefs.h <<_ACEOF
24566 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
24574 for ac_func in localtime_r
24576 ac_fn_c_check_func "$LINENO" "localtime_r" "ac_cv_func_localtime_r"
24577 if test "x$ac_cv_func_localtime_r" = x""yes; then :
24578 cat >>confdefs.h <<_ACEOF
24579 #define HAVE_LOCALTIME_R 1
24587 # ------ AX CREATE STDINT H -------------------------------------
24588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint types" >&5
24589 $as_echo_n "checking for stdint types... " >&6; }
24590 ac_stdint_h=`echo _stdint.h`
24591 # try to shortcircuit - if the default include path of the compiler
24592 # can find a "stdint.h" header then we assume that all compilers can.
24593 if test "${ac_cv_header_stdint_t+set}" = set; then :
24594 $as_echo_n "(cached) " >&6
24597 old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS=""
24598 old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS=""
24599 old_CFLAGS="$CFLAGS" ; CFLAGS=""
24600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24601 /* end confdefs.h. */
24602 #include <stdint.h>
24606 int_least32_t v = 0;
24611 if ac_fn_c_try_compile "$LINENO"; then :
24612 ac_cv_stdint_result="(assuming C99 compatible system)"
24613 ac_cv_header_stdint_t="stdint.h";
24615 ac_cv_header_stdint_t=""
24617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24618 if test "$GCC" = "yes" && test ".$ac_cv_header_stdint_t" = "."; then
24620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24621 /* end confdefs.h. */
24622 #include <stdint.h>
24626 int_least32_t v = 0;
24631 if ac_fn_c_try_compile "$LINENO"; then :
24632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&5
24633 $as_echo "$as_me: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&2;}
24635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24637 CXXFLAGS="$old_CXXFLAGS"
24638 CPPFLAGS="$old_CPPFLAGS"
24639 CFLAGS="$old_CFLAGS"
24643 v="... $ac_cv_header_stdint_h"
24644 if test "$ac_stdint_h" = "stdint.h" ; then
24645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./stdint.h?)" >&5
24646 $as_echo "(are you sure you want them in ./stdint.h?)" >&6; }
24647 elif test "$ac_stdint_h" = "inttypes.h" ; then
24648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./inttypes.h?)" >&5
24649 $as_echo "(are you sure you want them in ./inttypes.h?)" >&6; }
24650 elif test "_$ac_cv_header_stdint_t" = "_" ; then
24651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (putting them into $ac_stdint_h)$v" >&5
24652 $as_echo "(putting them into $ac_stdint_h)$v" >&6; }
24654 ac_cv_header_stdint="$ac_cv_header_stdint_t"
24655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint (shortcircuit)" >&5
24656 $as_echo "$ac_cv_header_stdint (shortcircuit)" >&6; }
24659 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
24662 inttype_headers=`echo | sed -e 's/,/ /g'`
24664 ac_cv_stdint_result="(no helpful system typedefs seen)"
24666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
24667 $as_echo_n "checking for stdint uintptr_t... " >&6; }
24668 if test "${ac_cv_header_stdint_x+set}" = set; then :
24669 $as_echo_n "(cached) " >&6
24672 ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h)
24673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
24674 $as_echo "(..)" >&6; }
24675 for i in stdint.h inttypes.h sys/inttypes.h $inttype_headers
24677 unset ac_cv_type_uintptr_t
24678 unset ac_cv_type_uint64_t
24679 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <$i>
24681 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
24682 ac_cv_header_stdint_x=$i
24687 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
24689 if test "x$ac_cv_type_uint64_t" = x""yes; then :
24695 ac_cv_stdint_result="(seen uintptr_t$and64 in $i)"
24698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
24699 $as_echo_n "checking for stdint uintptr_t... " >&6; }
24702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_x" >&5
24703 $as_echo "$ac_cv_header_stdint_x" >&6; }
24706 if test "_$ac_cv_header_stdint_x" = "_" ; then
24708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
24709 $as_echo_n "checking for stdint uint32_t... " >&6; }
24710 if test "${ac_cv_header_stdint_o+set}" = set; then :
24711 $as_echo_n "(cached) " >&6
24714 ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h)
24715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
24716 $as_echo "(..)" >&6; }
24717 for i in inttypes.h sys/inttypes.h stdint.h $inttype_headers
24719 unset ac_cv_type_uint32_t
24720 unset ac_cv_type_uint64_t
24721 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <$i>
24723 if test "x$ac_cv_type_uint32_t" = x""yes; then :
24724 ac_cv_header_stdint_o=$i
24729 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
24731 if test "x$ac_cv_type_uint64_t" = x""yes; then :
24737 ac_cv_stdint_result="(seen uint32_t$and64 in $i)"
24741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
24742 $as_echo_n "checking for stdint uint32_t... " >&6; }
24745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_o" >&5
24746 $as_echo "$ac_cv_header_stdint_o" >&6; }
24750 if test "_$ac_cv_header_stdint_x" = "_" ; then
24751 if test "_$ac_cv_header_stdint_o" = "_" ; then
24753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
24754 $as_echo_n "checking for stdint u_int32_t... " >&6; }
24755 if test "${ac_cv_header_stdint_u+set}" = set; then :
24756 $as_echo_n "(cached) " >&6
24759 ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h)
24760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
24761 $as_echo "(..)" >&6; }
24762 for i in sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do
24763 unset ac_cv_type_u_int32_t
24764 unset ac_cv_type_u_int64_t
24765 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <$i>
24767 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
24768 ac_cv_header_stdint_u=$i
24773 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include<$i>
24775 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
24781 ac_cv_stdint_result="(seen u_int32_t$and64 in $i)"
24785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
24786 $as_echo_n "checking for stdint u_int32_t... " >&6; }
24789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_u" >&5
24790 $as_echo "$ac_cv_header_stdint_u" >&6; }
24794 if test "_$ac_cv_header_stdint_x" = "_" ; then
24795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint datatype model" >&5
24796 $as_echo_n "checking for stdint datatype model... " >&6; }
24797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
24798 $as_echo "(..)" >&6; }
24800 # The cast to long int works around a bug in the HP C Compiler
24801 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24802 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24803 # This bug is HP SR number 8606223364.
24804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
24805 $as_echo_n "checking size of char... " >&6; }
24806 if test "${ac_cv_sizeof_char+set}" = set; then :
24807 $as_echo_n "(cached) " >&6
24809 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
24812 if test "$ac_cv_type_char" = yes; then
24813 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24814 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24815 as_fn_error 77 "cannot compute sizeof (char)
24816 See \`config.log' for more details" "$LINENO" 5 ; }
24818 ac_cv_sizeof_char=0
24823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
24824 $as_echo "$ac_cv_sizeof_char" >&6; }
24828 cat >>confdefs.h <<_ACEOF
24829 #define SIZEOF_CHAR $ac_cv_sizeof_char
24833 # The cast to long int works around a bug in the HP C Compiler
24834 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24835 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24836 # This bug is HP SR number 8606223364.
24837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
24838 $as_echo_n "checking size of short... " >&6; }
24839 if test "${ac_cv_sizeof_short+set}" = set; then :
24840 $as_echo_n "(cached) " >&6
24842 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
24845 if test "$ac_cv_type_short" = yes; then
24846 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24847 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24848 as_fn_error 77 "cannot compute sizeof (short)
24849 See \`config.log' for more details" "$LINENO" 5 ; }
24851 ac_cv_sizeof_short=0
24856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
24857 $as_echo "$ac_cv_sizeof_short" >&6; }
24861 cat >>confdefs.h <<_ACEOF
24862 #define SIZEOF_SHORT $ac_cv_sizeof_short
24866 # The cast to long int works around a bug in the HP C Compiler
24867 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24868 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24869 # This bug is HP SR number 8606223364.
24870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
24871 $as_echo_n "checking size of int... " >&6; }
24872 if test "${ac_cv_sizeof_int+set}" = set; then :
24873 $as_echo_n "(cached) " >&6
24875 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
24878 if test "$ac_cv_type_int" = yes; then
24879 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24880 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24881 as_fn_error 77 "cannot compute sizeof (int)
24882 See \`config.log' for more details" "$LINENO" 5 ; }
24889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
24890 $as_echo "$ac_cv_sizeof_int" >&6; }
24894 cat >>confdefs.h <<_ACEOF
24895 #define SIZEOF_INT $ac_cv_sizeof_int
24899 # The cast to long int works around a bug in the HP C Compiler
24900 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24901 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24902 # This bug is HP SR number 8606223364.
24903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
24904 $as_echo_n "checking size of long... " >&6; }
24905 if test "${ac_cv_sizeof_long+set}" = set; then :
24906 $as_echo_n "(cached) " >&6
24908 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
24911 if test "$ac_cv_type_long" = yes; then
24912 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24913 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24914 as_fn_error 77 "cannot compute sizeof (long)
24915 See \`config.log' for more details" "$LINENO" 5 ; }
24917 ac_cv_sizeof_long=0
24922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
24923 $as_echo "$ac_cv_sizeof_long" >&6; }
24927 cat >>confdefs.h <<_ACEOF
24928 #define SIZEOF_LONG $ac_cv_sizeof_long
24932 # The cast to long int works around a bug in the HP C Compiler
24933 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24934 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24935 # This bug is HP SR number 8606223364.
24936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
24937 $as_echo_n "checking size of void*... " >&6; }
24938 if test "${ac_cv_sizeof_voidp+set}" = set; then :
24939 $as_echo_n "(cached) " >&6
24941 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp" "$ac_includes_default"; then :
24944 if test "$ac_cv_type_voidp" = yes; then
24945 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24946 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24947 as_fn_error 77 "cannot compute sizeof (void*)
24948 See \`config.log' for more details" "$LINENO" 5 ; }
24950 ac_cv_sizeof_voidp=0
24955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
24956 $as_echo "$ac_cv_sizeof_voidp" >&6; }
24960 cat >>confdefs.h <<_ACEOF
24961 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
24965 ac_cv_char_data_model=""
24966 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char"
24967 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short"
24968 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int"
24969 ac_cv_long_data_model=""
24970 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int"
24971 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long"
24972 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
24973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking data model" >&5
24974 $as_echo_n "checking data model... " >&6; }
24975 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
24976 122/242) ac_cv_data_model="IP16" ; n="standard 16bit machine" ;;
24977 122/244) ac_cv_data_model="LP32" ; n="standard 32bit machine" ;;
24978 122/*) ac_cv_data_model="i16" ; n="unusual int16 model" ;;
24979 124/444) ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;;
24980 124/488) ac_cv_data_model="LP64" ; n="standard 64bit unixish" ;;
24981 124/448) ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;;
24982 124/*) ac_cv_data_model="i32" ; n="unusual int32 model" ;;
24983 128/888) ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;;
24984 128/*) ac_cv_data_model="i64" ; n="unusual int64 model" ;;
24985 222/*2) ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;;
24986 333/*3) ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;;
24987 444/*4) ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;;
24988 666/*6) ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;;
24989 888/*8) ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;;
24990 222/*|333/*|444/*|666/*|888/*) :
24991 ac_cv_data_model="iDSP" ; n="unusual dsptype" ;;
24992 *) ac_cv_data_model="none" ; n="very unusual model" ;;
24994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
24995 $as_echo "$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6; }
24999 if test "_$ac_cv_header_stdint_x" != "_" ; then
25000 ac_cv_header_stdint="$ac_cv_header_stdint_x"
25001 elif test "_$ac_cv_header_stdint_o" != "_" ; then
25002 ac_cv_header_stdint="$ac_cv_header_stdint_o"
25003 elif test "_$ac_cv_header_stdint_u" != "_" ; then
25004 ac_cv_header_stdint="$ac_cv_header_stdint_u"
25006 ac_cv_header_stdint="stddef.h"
25009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra inttypes in chosen header" >&5
25010 $as_echo_n "checking for extra inttypes in chosen header... " >&6; }
25011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ($ac_cv_header_stdint)" >&5
25012 $as_echo "($ac_cv_header_stdint)" >&6; }
25013 unset ac_cv_type_int_least32_t
25014 unset ac_cv_type_int_fast32_t
25015 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <$ac_cv_header_stdint>
25017 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
25021 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include<$ac_cv_header_stdint>
25023 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
25027 ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "#include <$ac_cv_header_stdint>
25029 if test "x$ac_cv_type_intmax_t" = x""yes; then :
25034 fi # shortcircut to system "stdint.h"
25035 # ------------------ PREPARE VARIABLES ------------------------------
25036 if test "$GCC" = "yes" ; then
25037 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
25039 ac_cv_stdint_message="using $CC"
25042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
25043 $as_echo "make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6; }
25045 # ----------------- DONE inttypes.h checks START header -------------
25046 ac_config_commands="$ac_config_commands $ac_stdint_h"
25050 enable_subunit=false
25052 if test xfalse = x"$enable_subunit"; then
25059 cat >>confdefs.h <<_ACEOF
25060 #define ENABLE_SUBUNIT $ENABLE_SUBUNIT
25064 if test x"$enable_subunit" != "xfalse"; then
25075 ac_config_files="$ac_config_files Makefile gst/Makefile gst/gstconfig.h gst/gstversion.h gst/parse/Makefile libs/Makefile libs/gst/Makefile libs/gst/base/Makefile libs/gst/check/Makefile libs/gst/check/libcheck/Makefile libs/gst/check/libcheck/check.h libs/gst/controller/Makefile libs/gst/dataprotocol/Makefile libs/gst/helpers/Makefile libs/gst/net/Makefile plugins/Makefile plugins/indexers/Makefile plugins/elements/Makefile po/Makefile.in tests/Makefile tests/benchmarks/Makefile tests/check/Makefile tests/misc/Makefile tests/examples/Makefile tests/examples/adapter/Makefile tests/examples/controller/Makefile tests/examples/stepping/Makefile tests/examples/helloworld/Makefile tests/examples/launch/Makefile tests/examples/manual/Makefile tests/examples/metadata/Makefile tests/examples/queue/Makefile tests/examples/streams/Makefile tests/examples/typefind/Makefile tools/Makefile common/Makefile common/m4/Makefile docs/Makefile docs/design/Makefile docs/faq/Makefile docs/gst/Makefile docs/gst/gstreamer.types docs/libs/Makefile docs/plugins/Makefile docs/manual/Makefile docs/pwg/Makefile docs/slides/Makefile docs/xsl/Makefile docs/version.entities m4/Makefile pkgconfig/Makefile stamp.h pkgconfig/gstreamer.pc pkgconfig/gstreamer-uninstalled.pc pkgconfig/gstreamer-base.pc pkgconfig/gstreamer-base-uninstalled.pc pkgconfig/gstreamer-check.pc pkgconfig/gstreamer-check-uninstalled.pc pkgconfig/gstreamer-controller.pc pkgconfig/gstreamer-controller-uninstalled.pc pkgconfig/gstreamer-dataprotocol.pc pkgconfig/gstreamer-dataprotocol-uninstalled.pc pkgconfig/gstreamer-net.pc pkgconfig/gstreamer-net-uninstalled.pc gst-element-check.m4 gstreamer.spec"
25079 -e 's/.*config.h.in.*autoheader.*/\/* Autogenerated config.h created for win32 Visual Studio builds *\/\n\n\/* PREFIX -- specifically added for Windows for easier moving *\/\n#define PREFIX "C:\\\\gstreamer"/' \
25080 -e 's/.* GETTEXT_PACKAGE$/#define GETTEXT_PACKAGE "'$GETTEXT_PACKAGE'"/' \
25081 -e 's/.* GST_DATADIR$/#define GST_DATADIR PREFIX "\\\\share"/' \
25082 -e 's/.* GST_LEVEL_DEFAULT$/#define GST_LEVEL_DEFAULT GST_LEVEL_ERROR/' \
25083 -e 's/.* GST_LICENSE$/#define GST_LICENSE "'$GST_LICENSE'"/' \
25084 -e 's/.* GST_MAJORMINOR$/#define GST_MAJORMINOR "'$GST_MAJORMINOR'"/' \
25085 -e "s,.* GST_PACKAGE_NAME$,#define GST_PACKAGE_NAME \"${GST_PACKAGE_NAME}\"," \
25086 -e 's/.* GST_PACKAGE_ORIGIN$/#define GST_PACKAGE_ORIGIN "Unknown package origin"/' \
25087 -e "s,.* GST_PACKAGE_RELEASE_DATETIME$,#define GST_PACKAGE_RELEASE_DATETIME \"${GST_PACKAGE_RELEASE_DATETIME}\"," \
25088 -e 's/.* HAVE_CPU_I386$/#define HAVE_CPU_I386 1/' \
25089 -e 's/.* HAVE_FGETPOS$/#define HAVE_FGETPOS 1/' \
25090 -e 's/.* HAVE_FSETPOS$/#define HAVE_FSETPOS 1/' \
25091 -e 's/.* HAVE_LIBXML2$/#define HAVE_LIBXML2 1/' \
25092 -e 's/.* HAVE_PROCESS_H$/#define HAVE_PROCESS_H 1/' \
25093 -e 's/.* HAVE_STDLIB_H$/#define HAVE_STDLIB_H 1/' \
25094 -e 's/.* HAVE_STRING_H$/#define HAVE_STRING_H 1/' \
25095 -e 's/.* HAVE_SYS_STAT_H$/#define HAVE_SYS_STAT_H 1/' \
25096 -e 's/.* HAVE_SYS_TYPES_H$/#define HAVE_SYS_TYPES_H 1/' \
25097 -e 's/.* HAVE_WIN32$/#define HAVE_WIN32 1/' \
25098 -e 's/.* HAVE_WINSOCK2_H$/#define HAVE_WINSOCK2_H 1/' \
25099 -e 's/.* HOST_CPU$/#define HOST_CPU "i686"/' \
25100 -e 's/.* BUFFER_ALIGNMENT_MALLOC/#define BUFFER_ALIGNMENT_MALLOC 1/' \
25101 -e 's/.* LIBDIR$/#ifdef _DEBUG\n# define LIBDIR PREFIX "\\\\debug\\\\lib"\n#else\n# define LIBDIR PREFIX "\\\\lib"\n#endif/' \
25102 -e 's/.* LOCALEDIR$/#define LOCALEDIR PREFIX "\\\\share\\\\locale"/' \
25103 -e 's/.* PACKAGE$/#define PACKAGE "gstreamer"/' \
25104 -e 's/.* PACKAGE_BUGREPORT$/#define PACKAGE_BUGREPORT "http:\/\/bugzilla.gnome.org\/enter_bug.cgi?product=GStreamer"/' \
25105 -e 's/.* PACKAGE_NAME$/#define PACKAGE_NAME "'$PACKAGE_NAME'"/' \
25106 -e "s/.* PACKAGE_STRING$/#define PACKAGE_STRING \"$PACKAGE_STRING\"/" \
25107 -e 's/.* PACKAGE_TARNAME$/#define PACKAGE_TARNAME "'$PACKAGE_TARNAME'"/' \
25108 -e 's/.* PACKAGE_VERSION$/#define PACKAGE_VERSION "'$PACKAGE_VERSION'"/' \
25109 -e 's/.* PLUGINDIR$/#ifdef _DEBUG\n# define PLUGINDIR PREFIX "\\\\debug\\\\lib\\\\gstreamer-0.10"\n#else\n# define PLUGINDIR PREFIX "\\\\lib\\\\gstreamer-0.10"\n#endif/' \
25110 -e 's/.* GST_PLUGIN_SCANNER_INSTALLED$/#define GST_PLUGIN_SCANNER_INSTALLED LIBDIR "\\\\gst-plugin-scanner"/' \
25111 -e 's/.* VERSION$/#define VERSION "'$VERSION'"/' \
25112 config.h.in >win32/common/config.h-new
25114 cat >confcache <<\_ACEOF
25115 # This file is a shell script that caches the results of configure
25116 # tests run on this system so they can be shared between configure
25117 # scripts and configure runs, see configure's option --config-cache.
25118 # It is not useful on other systems. If it contains results you don't
25119 # want to keep, you may remove or edit it.
25121 # config.status only pays attention to the cache file if you give it
25122 # the --recheck option to rerun configure.
25124 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25125 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25126 # following values.
25130 # The following way of writing the cache mishandles newlines in values,
25131 # but we know of no workaround that is simple, portable, and efficient.
25132 # So, we kill variables containing newlines.
25133 # Ultrix sh set writes to stderr and can't be redirected directly,
25134 # and sets the high bit in the cache file unless we assign to the vars.
25136 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25137 eval ac_val=\$$ac_var
25141 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
25142 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
25145 _ | IFS | as_nl) ;; #(
25146 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
25147 *) { eval $ac_var=; unset $ac_var;} ;;
25153 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25154 *${as_nl}ac_space=\ *)
25155 # `set' does not quote correctly, so add quotes: double-quote
25156 # substitution turns \\\\ into \\, and sed turns \\ into \.
25159 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25162 # `set' quotes correctly as required by POSIX, so do not add quotes.
25163 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25172 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25174 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25176 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25177 if test -w "$cache_file"; then
25178 test "x$cache_file" != "x/dev/null" &&
25179 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25180 $as_echo "$as_me: updating cache $cache_file" >&6;}
25181 cat confcache >$cache_file
25183 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25184 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25189 test "x$prefix" = xNONE && prefix=$ac_default_prefix
25190 # Let make expand exec_prefix.
25191 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
25193 DEFS=-DHAVE_CONFIG_H
25198 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
25199 # 1. Remove the extension, and $U if already installed.
25200 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
25201 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
25202 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
25203 # will be set to the directory where LIBOBJS objects are built.
25204 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25205 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
25207 LIBOBJS=$ac_libobjs
25209 LTLIBOBJS=$ac_ltlibobjs
25212 if test -n "$EXEEXT"; then
25214 am__EXEEXT_FALSE='#'
25216 am__EXEEXT_TRUE='#'
25220 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
25221 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
25222 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25224 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25225 as_fn_error $? "conditional \"AMDEP\" was never defined.
25226 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25228 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25229 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
25230 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25232 if test -z "${GST_DISABLE_GST_DEBUG_TRUE}" && test -z "${GST_DISABLE_GST_DEBUG_FALSE}"; then
25233 as_fn_error $? "conditional \"GST_DISABLE_GST_DEBUG\" was never defined.
25234 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25236 if test -z "${GST_DISABLE_LOADSAVE_TRUE}" && test -z "${GST_DISABLE_LOADSAVE_FALSE}"; then
25237 as_fn_error $? "conditional \"GST_DISABLE_LOADSAVE\" was never defined.
25238 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25240 if test -z "${GST_DISABLE_PARSE_TRUE}" && test -z "${GST_DISABLE_PARSE_FALSE}"; then
25241 as_fn_error $? "conditional \"GST_DISABLE_PARSE\" was never defined.
25242 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25244 if test -z "${GST_DISABLE_OPTION_PARSING_TRUE}" && test -z "${GST_DISABLE_OPTION_PARSING_FALSE}"; then
25245 as_fn_error $? "conditional \"GST_DISABLE_OPTION_PARSING\" was never defined.
25246 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25248 if test -z "${GST_DISABLE_TRACE_TRUE}" && test -z "${GST_DISABLE_TRACE_FALSE}"; then
25249 as_fn_error $? "conditional \"GST_DISABLE_TRACE\" was never defined.
25250 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25252 if test -z "${GST_DISABLE_ALLOC_TRACE_TRUE}" && test -z "${GST_DISABLE_ALLOC_TRACE_FALSE}"; then
25253 as_fn_error $? "conditional \"GST_DISABLE_ALLOC_TRACE\" was never defined.
25254 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25256 if test -z "${GST_DISABLE_REGISTRY_TRUE}" && test -z "${GST_DISABLE_REGISTRY_FALSE}"; then
25257 as_fn_error $? "conditional \"GST_DISABLE_REGISTRY\" was never defined.
25258 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25260 if test -z "${GST_DISABLE_NET_TRUE}" && test -z "${GST_DISABLE_NET_FALSE}"; then
25261 as_fn_error $? "conditional \"GST_DISABLE_NET\" was never defined.
25262 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25264 if test -z "${GST_DISABLE_PLUGIN_TRUE}" && test -z "${GST_DISABLE_PLUGIN_FALSE}"; then
25265 as_fn_error $? "conditional \"GST_DISABLE_PLUGIN\" was never defined.
25266 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25268 if test -z "${GST_GCOV_ENABLED_TRUE}" && test -z "${GST_GCOV_ENABLED_FALSE}"; then
25269 as_fn_error $? "conditional \"GST_GCOV_ENABLED\" was never defined.
25270 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25272 if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then
25273 as_fn_error $? "conditional \"BUILD_EXAMPLES\" was never defined.
25274 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25276 if test -z "${BUILD_TESTS_TRUE}" && test -z "${BUILD_TESTS_FALSE}"; then
25277 as_fn_error $? "conditional \"BUILD_TESTS\" was never defined.
25278 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25280 if test -z "${BUILD_FAILING_TESTS_TRUE}" && test -z "${BUILD_FAILING_TESTS_FALSE}"; then
25281 as_fn_error $? "conditional \"BUILD_FAILING_TESTS\" was never defined.
25282 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25285 if test -z "${HAVE_CPU_I386_TRUE}" && test -z "${HAVE_CPU_I386_FALSE}"; then
25286 as_fn_error $? "conditional \"HAVE_CPU_I386\" was never defined.
25287 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25289 if test -z "${HAVE_CPU_PPC_TRUE}" && test -z "${HAVE_CPU_PPC_FALSE}"; then
25290 as_fn_error $? "conditional \"HAVE_CPU_PPC\" was never defined.
25291 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25293 if test -z "${HAVE_CPU_PPC64_TRUE}" && test -z "${HAVE_CPU_PPC64_FALSE}"; then
25294 as_fn_error $? "conditional \"HAVE_CPU_PPC64\" was never defined.
25295 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25297 if test -z "${HAVE_CPU_ALPHA_TRUE}" && test -z "${HAVE_CPU_ALPHA_FALSE}"; then
25298 as_fn_error $? "conditional \"HAVE_CPU_ALPHA\" was never defined.
25299 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25301 if test -z "${HAVE_CPU_ARM_TRUE}" && test -z "${HAVE_CPU_ARM_FALSE}"; then
25302 as_fn_error $? "conditional \"HAVE_CPU_ARM\" was never defined.
25303 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25305 if test -z "${HAVE_CPU_SPARC_TRUE}" && test -z "${HAVE_CPU_SPARC_FALSE}"; then
25306 as_fn_error $? "conditional \"HAVE_CPU_SPARC\" was never defined.
25307 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25309 if test -z "${HAVE_CPU_HPPA_TRUE}" && test -z "${HAVE_CPU_HPPA_FALSE}"; then
25310 as_fn_error $? "conditional \"HAVE_CPU_HPPA\" was never defined.
25311 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25313 if test -z "${HAVE_CPU_MIPS_TRUE}" && test -z "${HAVE_CPU_MIPS_FALSE}"; then
25314 as_fn_error $? "conditional \"HAVE_CPU_MIPS\" was never defined.
25315 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25317 if test -z "${HAVE_CPU_S390_TRUE}" && test -z "${HAVE_CPU_S390_FALSE}"; then
25318 as_fn_error $? "conditional \"HAVE_CPU_S390\" was never defined.
25319 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25321 if test -z "${HAVE_CPU_IA64_TRUE}" && test -z "${HAVE_CPU_IA64_FALSE}"; then
25322 as_fn_error $? "conditional \"HAVE_CPU_IA64\" was never defined.
25323 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25325 if test -z "${HAVE_CPU_M68K_TRUE}" && test -z "${HAVE_CPU_M68K_FALSE}"; then
25326 as_fn_error $? "conditional \"HAVE_CPU_M68K\" was never defined.
25327 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25329 if test -z "${HAVE_CPU_X86_64_TRUE}" && test -z "${HAVE_CPU_X86_64_FALSE}"; then
25330 as_fn_error $? "conditional \"HAVE_CPU_X86_64\" was never defined.
25331 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25333 if test -z "${HAVE_CPU_CRIS_TRUE}" && test -z "${HAVE_CPU_CRIS_FALSE}"; then
25334 as_fn_error $? "conditional \"HAVE_CPU_CRIS\" was never defined.
25335 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25337 if test -z "${HAVE_CPU_CRISV32_TRUE}" && test -z "${HAVE_CPU_CRISV32_FALSE}"; then
25338 as_fn_error $? "conditional \"HAVE_CPU_CRISV32\" was never defined.
25339 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25341 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25342 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
25343 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25345 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
25346 as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
25347 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25349 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
25350 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
25351 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25353 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
25354 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
25355 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25357 if test -z "${HAVE_CXX_TRUE}" && test -z "${HAVE_CXX_FALSE}"; then
25358 as_fn_error $? "conditional \"HAVE_CXX\" was never defined.
25359 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25361 if test -z "${HAVE_VALGRIND_TRUE}" && test -z "${HAVE_VALGRIND_FALSE}"; then
25362 as_fn_error $? "conditional \"HAVE_VALGRIND\" was never defined.
25363 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25365 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
25366 as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
25367 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25369 if test -z "${ENABLE_DOCBOOK_TRUE}" && test -z "${ENABLE_DOCBOOK_FALSE}"; then
25370 as_fn_error $? "conditional \"ENABLE_DOCBOOK\" was never defined.
25371 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25373 if test -z "${DOC_HTML_TRUE}" && test -z "${DOC_HTML_FALSE}"; then
25374 as_fn_error $? "conditional \"DOC_HTML\" was never defined.
25375 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25377 if test -z "${DOC_PDF_TRUE}" && test -z "${DOC_PDF_FALSE}"; then
25378 as_fn_error $? "conditional \"DOC_PDF\" was never defined.
25379 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25381 if test -z "${DOC_PS_TRUE}" && test -z "${DOC_PS_FALSE}"; then
25382 as_fn_error $? "conditional \"DOC_PS\" was never defined.
25383 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25385 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
25386 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
25387 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25389 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
25390 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
25391 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25393 if test -z "${ENABLE_PLUGIN_DOCS_TRUE}" && test -z "${ENABLE_PLUGIN_DOCS_FALSE}"; then
25394 as_fn_error $? "conditional \"ENABLE_PLUGIN_DOCS\" was never defined.
25395 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25397 if test -z "${HAVE_SYS_SOCKET_H_TRUE}" && test -z "${HAVE_SYS_SOCKET_H_FALSE}"; then
25398 as_fn_error $? "conditional \"HAVE_SYS_SOCKET_H\" was never defined.
25399 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25401 if test -z "${HAVE_SYS_TIMES_H_AND_UNISTD_H_TRUE}" && test -z "${HAVE_SYS_TIMES_H_AND_UNISTD_H_FALSE}"; then
25402 as_fn_error $? "conditional \"HAVE_SYS_TIMES_H_AND_UNISTD_H\" was never defined.
25403 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25405 if test -z "${HAVE_PTHREAD_H_TRUE}" && test -z "${HAVE_PTHREAD_H_FALSE}"; then
25406 as_fn_error $? "conditional \"HAVE_PTHREAD_H\" was never defined.
25407 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25409 if test -z "${HAVE_WINSOCK2_H_TRUE}" && test -z "${HAVE_WINSOCK2_H_FALSE}"; then
25410 as_fn_error $? "conditional \"HAVE_WINSOCK2_H\" was never defined.
25411 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25413 if test -z "${HAVE_MMAP_TRUE}" && test -z "${HAVE_MMAP_FALSE}"; then
25414 as_fn_error $? "conditional \"HAVE_MMAP\" was never defined.
25415 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25417 if test -z "${GST_HAVE_POSIX_TIMERS_TRUE}" && test -z "${GST_HAVE_POSIX_TIMERS_FALSE}"; then
25418 as_fn_error $? "conditional \"GST_HAVE_POSIX_TIMERS\" was never defined.
25419 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25421 if test -z "${GST_HAVE_MONOTONIC_CLOCK_TRUE}" && test -z "${GST_HAVE_MONOTONIC_CLOCK_FALSE}"; then
25422 as_fn_error $? "conditional \"GST_HAVE_MONOTONIC_CLOCK\" was never defined.
25423 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25425 if test -z "${HAVE_CHECK_TRUE}" && test -z "${HAVE_CHECK_FALSE}"; then
25426 as_fn_error $? "conditional \"HAVE_CHECK\" was never defined.
25427 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25429 if test -z "${SUBUNIT_TRUE}" && test -z "${SUBUNIT_FALSE}"; then
25430 as_fn_error $? "conditional \"SUBUNIT\" was never defined.
25431 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25434 : ${CONFIG_STATUS=./config.status}
25436 ac_clean_files_save=$ac_clean_files
25437 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
25438 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
25439 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
25441 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
25443 # Generated by $as_me.
25444 # Run this file to recreate the current configuration.
25445 # Compiler output produced by configure, useful for debugging
25446 # configure, is in config.log if it exists.
25449 ac_cs_recheck=false
25452 SHELL=\${CONFIG_SHELL-$SHELL}
25455 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
25456 ## -------------------- ##
25457 ## M4sh Initialization. ##
25458 ## -------------------- ##
25460 # Be more Bourne compatible
25461 DUALCASE=1; export DUALCASE # for MKS sh
25462 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
25465 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25466 # is contrary to our usage. Disable this feature.
25467 alias -g '${1+"$@"}'='"$@"'
25468 setopt NO_GLOB_SUBST
25470 case `(set -o) 2>/dev/null` in #(
25482 # Printing a long string crashes Solaris 7 /usr/bin/printf.
25483 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
25484 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
25485 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
25486 # Prefer a ksh shell builtin over an external printf program on Solaris,
25487 # but without wasting forks for bash or zsh.
25488 if test -z "$BASH_VERSION$ZSH_VERSION" \
25489 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
25490 as_echo='print -r --'
25491 as_echo_n='print -rn --'
25492 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
25493 as_echo='printf %s\n'
25494 as_echo_n='printf %s'
25496 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
25497 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
25498 as_echo_n='/usr/ucb/echo -n'
25500 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
25501 as_echo_n_body='eval
25505 expr "X$arg" : "X\\(.*\\)$as_nl";
25506 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
25508 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
25510 export as_echo_n_body
25511 as_echo_n='sh -c $as_echo_n_body as_echo'
25513 export as_echo_body
25514 as_echo='sh -c $as_echo_body as_echo'
25517 # The user is always right.
25518 if test "${PATH_SEPARATOR+set}" != set; then
25520 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
25521 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
25528 # We need space, tab and new line, in precisely that order. Quoting is
25529 # there to prevent editors from complaining about space-tab.
25530 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
25531 # splitting by setting IFS to empty value.)
25534 # Find who we are. Look in the path if we contain no directory separator.
25536 *[\\/]* ) as_myself=$0 ;;
25537 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25538 for as_dir in $PATH
25541 test -z "$as_dir" && as_dir=.
25542 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25548 # We did not find ourselves, most probably we were run as `sh COMMAND'
25549 # in which case we are not to be found in the path.
25550 if test "x$as_myself" = x; then
25553 if test ! -f "$as_myself"; then
25554 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25558 # Unset variables that we do not need and which cause bugs (e.g. in
25559 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
25560 # suppresses any "Segmentation fault" message there. '((' could
25561 # trigger a bug in pdksh 5.2.14.
25562 for as_var in BASH_ENV ENV MAIL MAILPATH
25563 do eval test x\${$as_var+set} = xset \
25564 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
25577 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25580 # as_fn_error STATUS ERROR [LINENO LOG_FD]
25581 # ----------------------------------------
25582 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
25583 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
25584 # script with STATUS, using 1 if that was 0.
25587 as_status=$1; test $as_status -eq 0 && as_status=1
25589 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
25590 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
25592 $as_echo "$as_me: error: $2" >&2
25593 as_fn_exit $as_status
25597 # as_fn_set_status STATUS
25598 # -----------------------
25599 # Set $? to STATUS, without forking.
25600 as_fn_set_status ()
25603 } # as_fn_set_status
25605 # as_fn_exit STATUS
25606 # -----------------
25607 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
25611 as_fn_set_status $1
25617 # Portably unset VAR.
25620 { eval $1=; unset $1;}
25622 as_unset=as_fn_unset
25623 # as_fn_append VAR VALUE
25624 # ----------------------
25625 # Append the text in VALUE to the end of the definition contained in VAR. Take
25626 # advantage of any shell optimizations that allow amortized linear growth over
25627 # repeated appends, instead of the typical quadratic growth present in naive
25629 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
25630 eval 'as_fn_append ()
25641 # as_fn_arith ARG...
25642 # ------------------
25643 # Perform arithmetic evaluation on the ARGs, and store the result in the
25644 # global $as_val. Take advantage of shells that can avoid forks. The arguments
25645 # must be portable across $(()) and expr.
25646 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
25647 eval 'as_fn_arith ()
25654 as_val=`expr "$@" || test $? -eq 1`
25659 if expr a : '\(a\)' >/dev/null 2>&1 &&
25660 test "X`expr 00001 : '.*\(...\)'`" = X001; then
25666 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25667 as_basename=basename
25672 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
25678 as_me=`$as_basename -- "$0" ||
25679 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25680 X"$0" : 'X\(//\)$' \| \
25681 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25683 sed '/^.*\/\([^/][^/]*\)\/*$/{
25697 # Avoid depending upon Character Ranges.
25698 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
25699 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25700 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
25701 as_cr_digits='0123456789'
25702 as_cr_alnum=$as_cr_Letters$as_cr_digits
25704 ECHO_C= ECHO_N= ECHO_T=
25705 case `echo -n x` in #(((((
25707 case `echo 'xy\c'` in
25708 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
25710 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
25717 rm -f conf$$ conf$$.exe conf$$.file
25718 if test -d conf$$.dir; then
25719 rm -f conf$$.dir/conf$$.file
25722 mkdir conf$$.dir 2>/dev/null
25724 if (echo >conf$$.file) 2>/dev/null; then
25725 if ln -s conf$$.file conf$$ 2>/dev/null; then
25727 # ... but there are two gotchas:
25728 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25729 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25730 # In both cases, we have to default to `cp -p'.
25731 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
25733 elif ln conf$$.file conf$$ 2>/dev/null; then
25741 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
25742 rmdir conf$$.dir 2>/dev/null
25747 # Create "$as_dir" as a directory, including parents if necessary.
25752 -*) as_dir=./$as_dir;;
25754 test -d "$as_dir" || eval $as_mkdir_p || {
25758 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25759 *) as_qdir=$as_dir;;
25761 as_dirs="'$as_qdir' $as_dirs"
25762 as_dir=`$as_dirname -- "$as_dir" ||
25763 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25764 X"$as_dir" : 'X\(//\)[^/]' \| \
25765 X"$as_dir" : 'X\(//\)$' \| \
25766 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25767 $as_echo X"$as_dir" |
25768 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25772 /^X\(\/\/\)[^/].*/{
25785 test -d "$as_dir" && break
25787 test -z "$as_dirs" || eval "mkdir $as_dirs"
25788 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
25792 if mkdir -p . 2>/dev/null; then
25793 as_mkdir_p='mkdir -p "$as_dir"'
25795 test -d ./-p && rmdir ./-p
25799 if test -x / >/dev/null 2>&1; then
25800 as_test_x='test -x'
25802 if ls -dL / >/dev/null 2>&1; then
25809 if test -d "$1"; then
25815 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
25816 ???[sx]*):;;*)false;;esac;fi
25820 as_executable_p=$as_test_x
25822 # Sed expression to map a string onto a valid CPP name.
25823 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25825 # Sed expression to map a string onto a valid variable name.
25826 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25830 ## ----------------------------------- ##
25831 ## Main body of $CONFIG_STATUS script. ##
25832 ## ----------------------------------- ##
25834 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
25836 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25837 # Save the log message, to keep $0 and so on meaningful, and to
25838 # report actual input values of CONFIG_FILES etc. instead of their
25839 # values after options handling.
25841 This file was extended by GStreamer $as_me 0.10.34, which was
25842 generated by GNU Autoconf 2.67. Invocation command line was
25844 CONFIG_FILES = $CONFIG_FILES
25845 CONFIG_HEADERS = $CONFIG_HEADERS
25846 CONFIG_LINKS = $CONFIG_LINKS
25847 CONFIG_COMMANDS = $CONFIG_COMMANDS
25850 on `(hostname || uname -n) 2>/dev/null | sed 1q`
25855 case $ac_config_files in *"
25856 "*) set x $ac_config_files; shift; ac_config_files=$*;;
25859 case $ac_config_headers in *"
25860 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
25864 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25865 # Files that config.status was made for.
25866 config_files="$ac_config_files"
25867 config_headers="$ac_config_headers"
25868 config_commands="$ac_config_commands"
25872 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25874 \`$as_me' instantiates files and other configuration actions
25875 from templates according to the current configuration. Unless the files
25876 and actions are specified as TAGs, all are instantiated by default.
25878 Usage: $0 [OPTION]... [TAG]...
25880 -h, --help print this help, then exit
25881 -V, --version print version number and configuration settings, then exit
25882 --config print configuration, then exit
25883 -q, --quiet, --silent
25884 do not print progress messages
25885 -d, --debug don't remove temporary files
25886 --recheck update $as_me by reconfiguring in the same conditions
25887 --file=FILE[:TEMPLATE]
25888 instantiate the configuration file FILE
25889 --header=FILE[:TEMPLATE]
25890 instantiate the configuration header FILE
25892 Configuration files:
25895 Configuration headers:
25898 Configuration commands:
25901 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>."
25904 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25905 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
25907 GStreamer config.status 0.10.34
25908 configured by $0, generated by GNU Autoconf 2.67,
25909 with options \\"\$ac_cs_config\\"
25911 Copyright (C) 2010 Free Software Foundation, Inc.
25912 This config.status script is free software; the Free Software Foundation
25913 gives unlimited permission to copy, distribute and modify it."
25920 test -n "\$AWK" || AWK=awk
25923 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25924 # The default lists apply if the user does not specify any file.
25930 ac_option=`expr "X$1" : 'X\([^=]*\)='`
25931 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
25935 ac_option=`expr "X$1" : 'X\([^=]*\)='`
25947 # Handling of the options.
25948 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
25950 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
25951 $as_echo "$ac_cs_version"; exit ;;
25952 --config | --confi | --conf | --con | --co | --c )
25953 $as_echo "$ac_cs_config"; exit ;;
25954 --debug | --debu | --deb | --de | --d | -d )
25956 --file | --fil | --fi | --f )
25959 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25960 '') as_fn_error $? "missing file argument" ;;
25962 as_fn_append CONFIG_FILES " '$ac_optarg'"
25963 ac_need_defaults=false;;
25964 --header | --heade | --head | --hea )
25967 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25969 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
25970 ac_need_defaults=false;;
25972 # Conflict between --help and --header
25973 as_fn_error $? "ambiguous option: \`$1'
25974 Try \`$0 --help' for more information.";;
25975 --help | --hel | -h )
25976 $as_echo "$ac_cs_usage"; exit ;;
25977 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
25978 | -silent | --silent | --silen | --sile | --sil | --si | --s)
25981 # This is an error.
25982 -*) as_fn_error $? "unrecognized option: \`$1'
25983 Try \`$0 --help' for more information." ;;
25985 *) as_fn_append ac_config_targets " $1"
25986 ac_need_defaults=false ;;
25992 ac_configure_extra_args=
25994 if $ac_cs_silent; then
25996 ac_configure_extra_args="$ac_configure_extra_args --silent"
26000 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26001 if \$ac_cs_recheck; then
26002 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26004 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
26005 CONFIG_SHELL='$SHELL'
26006 export CONFIG_SHELL
26011 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26015 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26016 ## Running $as_me. ##
26022 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26026 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
26029 # The HP-UX ksh and POSIX shell print the target directory to stdout
26030 # if CDPATH is set.
26031 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26033 sed_quote_subst='$sed_quote_subst'
26034 double_quote_subst='$double_quote_subst'
26035 delay_variable_subst='$delay_variable_subst'
26036 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
26037 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
26038 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
26039 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
26040 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
26041 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
26042 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
26043 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
26044 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
26045 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
26046 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
26047 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
26048 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
26049 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
26050 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
26051 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
26052 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
26053 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
26054 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
26055 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
26056 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
26057 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
26058 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
26059 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
26060 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
26061 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
26062 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
26063 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
26064 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
26065 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
26066 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26067 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
26068 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
26069 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
26070 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
26071 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
26072 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
26073 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26074 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26075 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26076 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
26077 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
26078 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
26079 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
26080 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
26081 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
26082 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
26083 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
26084 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
26085 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
26086 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
26087 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
26088 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
26089 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
26090 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
26091 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
26092 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
26093 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
26094 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
26095 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
26096 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
26097 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
26098 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
26099 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
26100 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26101 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26102 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
26103 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
26104 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
26105 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
26106 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
26107 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26108 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26109 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26110 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26111 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26112 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26113 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
26114 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
26115 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
26116 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
26117 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
26118 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
26119 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
26120 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
26121 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
26122 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
26123 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
26124 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
26125 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
26126 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
26127 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
26128 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26129 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
26130 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
26131 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26132 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
26133 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
26134 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
26135 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
26136 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
26137 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
26138 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
26139 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
26140 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
26141 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
26142 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
26143 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26144 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26145 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26146 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
26147 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
26148 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
26149 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
26150 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
26151 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
26152 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
26153 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
26154 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
26155 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
26156 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
26157 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
26158 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
26159 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
26160 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
26161 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
26162 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26163 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26164 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26165 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26166 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26167 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26168 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26169 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26170 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26171 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26172 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26173 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26174 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26175 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26176 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26177 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26178 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26179 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26180 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26181 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26182 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26183 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26184 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26185 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26186 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26187 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26188 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26189 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26190 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26191 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26192 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26193 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26194 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26195 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26196 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26197 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26198 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26199 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26200 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26201 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26202 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26203 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26204 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26205 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26206 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26207 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26208 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26211 LTCFLAGS='$LTCFLAGS'
26212 compiler='$compiler_DEFAULT'
26214 # Quote evaled strings.
26225 deplibs_check_method \
26234 lt_cv_sys_global_symbol_pipe \
26235 lt_cv_sys_global_symbol_to_cdecl \
26236 lt_cv_sys_global_symbol_to_c_name_address \
26237 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
26240 lt_prog_compiler_no_builtin_flag \
26241 lt_prog_compiler_wl \
26242 lt_prog_compiler_pic \
26243 lt_prog_compiler_static \
26244 lt_cv_prog_compiler_c_o \
26252 export_dynamic_flag_spec \
26253 whole_archive_flag_spec \
26254 compiler_needs_object \
26256 allow_undefined_flag \
26257 no_undefined_flag \
26258 hardcode_libdir_flag_spec \
26259 hardcode_libdir_flag_spec_ld \
26260 hardcode_libdir_separator \
26265 variables_saved_for_relink \
26267 library_names_spec \
26272 compiler_lib_search_dirs \
26277 compiler_lib_search_path \
26280 lt_prog_compiler_no_builtin_flag_CXX \
26281 lt_prog_compiler_wl_CXX \
26282 lt_prog_compiler_pic_CXX \
26283 lt_prog_compiler_static_CXX \
26284 lt_cv_prog_compiler_c_o_CXX \
26285 export_dynamic_flag_spec_CXX \
26286 whole_archive_flag_spec_CXX \
26287 compiler_needs_object_CXX \
26289 allow_undefined_flag_CXX \
26290 no_undefined_flag_CXX \
26291 hardcode_libdir_flag_spec_CXX \
26292 hardcode_libdir_flag_spec_ld_CXX \
26293 hardcode_libdir_separator_CXX \
26294 fix_srcfile_path_CXX \
26295 exclude_expsyms_CXX \
26296 include_expsyms_CXX \
26297 file_list_spec_CXX \
26298 compiler_lib_search_dirs_CXX \
26299 predep_objects_CXX \
26300 postdep_objects_CXX \
26303 compiler_lib_search_path_CXX; do
26304 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
26305 *[\\\\\\\`\\"\\\$]*)
26306 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
26309 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26314 # Double-quote double-evaled strings.
26315 for var in reload_cmds \
26316 old_postinstall_cmds \
26317 old_postuninstall_cmds \
26319 extract_expsyms_cmds \
26320 old_archive_from_new_cmds \
26321 old_archive_from_expsyms_cmds \
26323 archive_expsym_cmds \
26325 module_expsym_cmds \
26326 export_symbols_cmds \
26329 postuninstall_cmds \
26331 sys_lib_search_path_spec \
26332 sys_lib_dlsearch_path_spec \
26333 old_archive_cmds_CXX \
26334 old_archive_from_new_cmds_CXX \
26335 old_archive_from_expsyms_cmds_CXX \
26337 archive_expsym_cmds_CXX \
26339 module_expsym_cmds_CXX \
26340 export_symbols_cmds_CXX \
26341 prelink_cmds_CXX; do
26342 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
26343 *[\\\\\\\`\\"\\\$]*)
26344 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
26347 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26352 # Fix-up fallback echo if it was mangled by the above quoting rules.
26354 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
26358 ac_aux_dir='$ac_aux_dir'
26359 xsi_shell='$xsi_shell'
26360 lt_shell_append='$lt_shell_append'
26362 # See if we are running on zsh, and set the options which allow our
26363 # commands through without removal of \ escapes INIT.
26364 if test -n "\${ZSH_VERSION+set}" ; then
26365 setopt NO_GLOB_SUBST
26371 TIMESTAMP='$TIMESTAMP'
26379 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
26380 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
26381 # from automake < 1.5.
26382 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
26383 # Capture the value of LINGUAS because we need it to compute CATALOGS.
26384 LINGUAS="${LINGUAS-%UNSET%}"
26386 # variables for create stdint.h replacement
26389 ac_stdint_h="$ac_stdint_h"
26390 _ac_stdint_h=`$as_echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
26391 ac_cv_stdint_message="$ac_cv_stdint_message"
26392 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
26393 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
26394 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
26395 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
26396 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
26397 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
26398 ac_cv_char_data_model="$ac_cv_char_data_model"
26399 ac_cv_long_data_model="$ac_cv_long_data_model"
26400 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
26401 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
26402 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
26407 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26409 # Handling of arguments.
26410 for ac_config_target in $ac_config_targets
26412 case $ac_config_target in
26413 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
26414 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
26415 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
26416 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
26417 "$ac_stdint_h") CONFIG_COMMANDS="$CONFIG_COMMANDS $ac_stdint_h" ;;
26418 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
26419 "gst/Makefile") CONFIG_FILES="$CONFIG_FILES gst/Makefile" ;;
26420 "gst/gstconfig.h") CONFIG_FILES="$CONFIG_FILES gst/gstconfig.h" ;;
26421 "gst/gstversion.h") CONFIG_FILES="$CONFIG_FILES gst/gstversion.h" ;;
26422 "gst/parse/Makefile") CONFIG_FILES="$CONFIG_FILES gst/parse/Makefile" ;;
26423 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
26424 "libs/gst/Makefile") CONFIG_FILES="$CONFIG_FILES libs/gst/Makefile" ;;
26425 "libs/gst/base/Makefile") CONFIG_FILES="$CONFIG_FILES libs/gst/base/Makefile" ;;
26426 "libs/gst/check/Makefile") CONFIG_FILES="$CONFIG_FILES libs/gst/check/Makefile" ;;
26427 "libs/gst/check/libcheck/Makefile") CONFIG_FILES="$CONFIG_FILES libs/gst/check/libcheck/Makefile" ;;
26428 "libs/gst/check/libcheck/check.h") CONFIG_FILES="$CONFIG_FILES libs/gst/check/libcheck/check.h" ;;
26429 "libs/gst/controller/Makefile") CONFIG_FILES="$CONFIG_FILES libs/gst/controller/Makefile" ;;
26430 "libs/gst/dataprotocol/Makefile") CONFIG_FILES="$CONFIG_FILES libs/gst/dataprotocol/Makefile" ;;
26431 "libs/gst/helpers/Makefile") CONFIG_FILES="$CONFIG_FILES libs/gst/helpers/Makefile" ;;
26432 "libs/gst/net/Makefile") CONFIG_FILES="$CONFIG_FILES libs/gst/net/Makefile" ;;
26433 "plugins/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/Makefile" ;;
26434 "plugins/indexers/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/indexers/Makefile" ;;
26435 "plugins/elements/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/elements/Makefile" ;;
26436 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
26437 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
26438 "tests/benchmarks/Makefile") CONFIG_FILES="$CONFIG_FILES tests/benchmarks/Makefile" ;;
26439 "tests/check/Makefile") CONFIG_FILES="$CONFIG_FILES tests/check/Makefile" ;;
26440 "tests/misc/Makefile") CONFIG_FILES="$CONFIG_FILES tests/misc/Makefile" ;;
26441 "tests/examples/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/Makefile" ;;
26442 "tests/examples/adapter/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/adapter/Makefile" ;;
26443 "tests/examples/controller/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/controller/Makefile" ;;
26444 "tests/examples/stepping/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/stepping/Makefile" ;;
26445 "tests/examples/helloworld/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/helloworld/Makefile" ;;
26446 "tests/examples/launch/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/launch/Makefile" ;;
26447 "tests/examples/manual/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/manual/Makefile" ;;
26448 "tests/examples/metadata/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/metadata/Makefile" ;;
26449 "tests/examples/queue/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/queue/Makefile" ;;
26450 "tests/examples/streams/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/streams/Makefile" ;;
26451 "tests/examples/typefind/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/typefind/Makefile" ;;
26452 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
26453 "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
26454 "common/m4/Makefile") CONFIG_FILES="$CONFIG_FILES common/m4/Makefile" ;;
26455 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
26456 "docs/design/Makefile") CONFIG_FILES="$CONFIG_FILES docs/design/Makefile" ;;
26457 "docs/faq/Makefile") CONFIG_FILES="$CONFIG_FILES docs/faq/Makefile" ;;
26458 "docs/gst/Makefile") CONFIG_FILES="$CONFIG_FILES docs/gst/Makefile" ;;
26459 "docs/gst/gstreamer.types") CONFIG_FILES="$CONFIG_FILES docs/gst/gstreamer.types" ;;
26460 "docs/libs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libs/Makefile" ;;
26461 "docs/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES docs/plugins/Makefile" ;;
26462 "docs/manual/Makefile") CONFIG_FILES="$CONFIG_FILES docs/manual/Makefile" ;;
26463 "docs/pwg/Makefile") CONFIG_FILES="$CONFIG_FILES docs/pwg/Makefile" ;;
26464 "docs/slides/Makefile") CONFIG_FILES="$CONFIG_FILES docs/slides/Makefile" ;;
26465 "docs/xsl/Makefile") CONFIG_FILES="$CONFIG_FILES docs/xsl/Makefile" ;;
26466 "docs/version.entities") CONFIG_FILES="$CONFIG_FILES docs/version.entities" ;;
26467 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
26468 "pkgconfig/Makefile") CONFIG_FILES="$CONFIG_FILES pkgconfig/Makefile" ;;
26469 "stamp.h") CONFIG_FILES="$CONFIG_FILES stamp.h" ;;
26470 "pkgconfig/gstreamer.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer.pc" ;;
26471 "pkgconfig/gstreamer-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-uninstalled.pc" ;;
26472 "pkgconfig/gstreamer-base.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-base.pc" ;;
26473 "pkgconfig/gstreamer-base-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-base-uninstalled.pc" ;;
26474 "pkgconfig/gstreamer-check.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-check.pc" ;;
26475 "pkgconfig/gstreamer-check-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-check-uninstalled.pc" ;;
26476 "pkgconfig/gstreamer-controller.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-controller.pc" ;;
26477 "pkgconfig/gstreamer-controller-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-controller-uninstalled.pc" ;;
26478 "pkgconfig/gstreamer-dataprotocol.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-dataprotocol.pc" ;;
26479 "pkgconfig/gstreamer-dataprotocol-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-dataprotocol-uninstalled.pc" ;;
26480 "pkgconfig/gstreamer-net.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-net.pc" ;;
26481 "pkgconfig/gstreamer-net-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-net-uninstalled.pc" ;;
26482 "gst-element-check.m4") CONFIG_FILES="$CONFIG_FILES gst-element-check.m4" ;;
26483 "gstreamer.spec") CONFIG_FILES="$CONFIG_FILES gstreamer.spec" ;;
26485 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
26490 # If the user did not use the arguments to specify the items to instantiate,
26491 # then the envvar interface is used. Set only those that are not.
26492 # We use the long form for the default assignment because of an extremely
26493 # bizarre bug on SunOS 4.1.3.
26494 if $ac_need_defaults; then
26495 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
26496 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
26497 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
26500 # Have a temporary directory for convenience. Make it in the build tree
26501 # simply because there is no reason against having it here, and in addition,
26502 # creating and moving files from /tmp can sometimes cause problems.
26503 # Hook for its removal unless debugging.
26504 # Note that there is a small window in which the directory will not be cleaned:
26505 # after its creation but before its name has been assigned to `$tmp'.
26509 trap 'exit_status=$?
26510 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26512 trap 'as_fn_exit 1' 1 2 13 15
26514 # Create a (secure) tmp directory for tmp files.
26517 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26518 test -n "$tmp" && test -d "$tmp"
26521 tmp=./conf$$-$RANDOM
26522 (umask 077 && mkdir "$tmp")
26523 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
26525 # Set up the scripts for CONFIG_FILES section.
26526 # No need to generate them if there are no CONFIG_FILES.
26527 # This happens for instance with `./config.status config.h'.
26528 if test -n "$CONFIG_FILES"; then
26531 ac_cr=`echo X | tr X '\015'`
26532 # On cygwin, bash can eat \r inside `` if the user requested igncr.
26533 # But we know of no other shell where ac_cr would be empty at this
26534 # point, so we can use a bashism as a fallback.
26535 if test "x$ac_cr" = x; then
26536 eval ac_cr=\$\'\\r\'
26538 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
26539 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
26542 ac_cs_awk_cr=$ac_cr
26545 echo 'BEGIN {' >"$tmp/subs1.awk" &&
26550 echo "cat >conf$$subs.awk <<_ACEOF" &&
26551 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
26553 } >conf$$subs.sh ||
26554 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
26555 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
26557 for ac_last_try in false false false false false :; do
26558 . ./conf$$subs.sh ||
26559 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
26561 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
26562 if test $ac_delim_n = $ac_delim_num; then
26564 elif $ac_last_try; then
26565 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
26567 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26570 rm -f conf$$subs.sh
26572 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26573 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
26577 s/^/S["/; s/!.*/"]=/
26587 s/\(.\{148\}\)..*/\1/
26589 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
26594 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26601 s/\(.\{148\}\)..*/\1/
26603 s/["\\]/\\&/g; s/^/"/; s/$/"/
26607 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26612 ' <conf$$subs.awk | sed '
26617 ' >>$CONFIG_STATUS || ac_write_fail=1
26618 rm -f conf$$subs.awk
26619 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26621 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
26622 for (key in S) S_is_set[key] = 1
26628 nfields = split(line, field, "@")
26630 len = length(field[1])
26631 for (i = 2; i < nfields; i++) {
26633 keylen = length(key)
26634 if (S_is_set[key]) {
26636 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
26637 len += length(value) + length(field[++i])
26648 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26649 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
26650 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
26653 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
26654 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
26657 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
26658 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
26659 # trailing colons and then remove the whole line if VPATH becomes empty
26660 # (actually we leave an empty line to preserve line numbers).
26661 if test "x$srcdir" = x.; then
26662 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
26680 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26681 fi # test -n "$CONFIG_FILES"
26683 # Set up the scripts for CONFIG_HEADERS section.
26684 # No need to generate them if there are no CONFIG_HEADERS.
26685 # This happens for instance with `./config.status Makefile'.
26686 if test -n "$CONFIG_HEADERS"; then
26687 cat >"$tmp/defines.awk" <<\_ACAWK ||
26691 # Transform confdefs.h into an awk script `defines.awk', embedded as
26692 # here-document in config.status, that substitutes the proper values into
26693 # config.h.in to produce config.h.
26695 # Create a delimiter string that does not exist in confdefs.h, to ease
26696 # handling of long lines.
26698 for ac_last_try in false false :; do
26699 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
26700 if test -z "$ac_t"; then
26702 elif $ac_last_try; then
26703 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
26705 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26709 # For the awk script, D is an array of macro values keyed by name,
26710 # likewise P contains macro parameters if any. Preserve backslash
26711 # newline sequences.
26713 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
26715 s/.\{148\}/&'"$ac_delim"'/g
26718 s/^[ ]*#[ ]*define[ ][ ]*/ /
26725 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
26727 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
26731 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
26732 D["\1"]=" \3\\\\\\n"\\/p
26734 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
26739 s/.\{148\}/&'"$ac_delim"'/g
26744 s/["\\]/\\&/g; s/^/"/; s/$/"/p
26747 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
26749 ' <confdefs.h | sed '
26750 s/'"$ac_delim"'/"\\\
26751 "/g' >>$CONFIG_STATUS || ac_write_fail=1
26753 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26754 for (key in D) D_is_set[key] = 1
26757 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
26759 split(line, arg, " ")
26760 if (arg[1] == "#") {
26764 defundef = substr(arg[1], 2)
26767 split(mac1, mac2, "(") #)
26769 prefix = substr(line, 1, index(line, defundef) - 1)
26770 if (D_is_set[macro]) {
26771 # Preserve the white space surrounding the "#".
26772 print prefix "define", macro P[macro] D[macro]
26775 # Replace #undef with comments. This is necessary, for example,
26776 # in the case of _POSIX_SOURCE, which is predefined and required
26777 # on some systems where configure will not decide to define it.
26778 if (defundef == "undef") {
26779 print "/*", prefix defundef, macro, "*/"
26787 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26788 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
26789 fi # test -n "$CONFIG_HEADERS"
26792 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
26797 :[FHLC]) ac_mode=$ac_tag; continue;;
26799 case $ac_mode$ac_tag in
26801 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
26802 :[FH]-) ac_tag=-:-;;
26803 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
26820 -) ac_f="$tmp/stdin";;
26821 *) # Look for the file first in the build tree, then in the source tree
26822 # (if the path is not absolute). The absolute path cannot be DOS-style,
26823 # because $ac_f cannot contain `:'.
26827 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
26829 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
26831 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
26832 as_fn_append ac_file_inputs " '$ac_f'"
26835 # Let's still pretend it is `configure' which instantiates (i.e., don't
26836 # use $as_me), people would be surprised to read:
26837 # /* config.h. Generated by config.status. */
26838 configure_input='Generated from '`
26839 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
26841 if test x"$ac_file" != x-; then
26842 configure_input="$ac_file. $configure_input"
26843 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
26844 $as_echo "$as_me: creating $ac_file" >&6;}
26846 # Neutralize special characters interpreted by sed in replacement strings.
26847 case $configure_input in #(
26848 *\&* | *\|* | *\\* )
26849 ac_sed_conf_input=`$as_echo "$configure_input" |
26850 sed 's/[\\\\&|]/\\\\&/g'`;; #(
26851 *) ac_sed_conf_input=$configure_input;;
26855 *:-:* | *:-) cat >"$tmp/stdin" \
26856 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
26861 ac_dir=`$as_dirname -- "$ac_file" ||
26862 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26863 X"$ac_file" : 'X\(//\)[^/]' \| \
26864 X"$ac_file" : 'X\(//\)$' \| \
26865 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26866 $as_echo X"$ac_file" |
26867 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26871 /^X\(\/\/\)[^/].*/{
26884 as_dir="$ac_dir"; as_fn_mkdir_p
26888 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
26890 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
26891 # A ".." for each directory in $ac_dir_suffix.
26892 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
26893 case $ac_top_builddir_sub in
26894 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
26895 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
26898 ac_abs_top_builddir=$ac_pwd
26899 ac_abs_builddir=$ac_pwd$ac_dir_suffix
26900 # for backward compatibility:
26901 ac_top_builddir=$ac_top_build_prefix
26904 .) # We are building in place.
26906 ac_top_srcdir=$ac_top_builddir_sub
26907 ac_abs_top_srcdir=$ac_pwd ;;
26908 [\\/]* | ?:[\\/]* ) # Absolute name.
26909 ac_srcdir=$srcdir$ac_dir_suffix;
26910 ac_top_srcdir=$srcdir
26911 ac_abs_top_srcdir=$srcdir ;;
26912 *) # Relative name.
26913 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
26914 ac_top_srcdir=$ac_top_build_prefix$srcdir
26915 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
26917 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
26927 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
26928 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
26930 ac_MKDIR_P=$MKDIR_P
26932 [\\/$]* | ?:[\\/]* ) ;;
26933 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
26937 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26938 # If the template does not know about datarootdir, expand it.
26939 # FIXME: This hack should be removed a few years after 2.60.
26940 ac_datarootdir_hack=; ac_datarootdir_seen=
26951 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
26952 *datarootdir*) ac_datarootdir_seen=yes;;
26953 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
26954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26955 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26957 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26958 ac_datarootdir_hack='
26959 s&@datadir@&$datadir&g
26960 s&@docdir@&$docdir&g
26961 s&@infodir@&$infodir&g
26962 s&@localedir@&$localedir&g
26963 s&@mandir@&$mandir&g
26964 s&\\\${datarootdir}&$datarootdir&g' ;;
26968 # Neutralize VPATH when `$srcdir' = `.'.
26969 # Shell code in configure.ac might set extrasub.
26970 # FIXME: do we really want to maintain this feature?
26971 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26972 ac_sed_extra="$ac_vpsub
26975 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26977 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26978 s|@configure_input@|$ac_sed_conf_input|;t t
26979 s&@top_builddir@&$ac_top_builddir_sub&;t t
26980 s&@top_build_prefix@&$ac_top_build_prefix&;t t
26981 s&@srcdir@&$ac_srcdir&;t t
26982 s&@abs_srcdir@&$ac_abs_srcdir&;t t
26983 s&@top_srcdir@&$ac_top_srcdir&;t t
26984 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
26985 s&@builddir@&$ac_builddir&;t t
26986 s&@abs_builddir@&$ac_abs_builddir&;t t
26987 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
26988 s&@INSTALL@&$ac_INSTALL&;t t
26989 s&@MKDIR_P@&$ac_MKDIR_P&;t t
26990 $ac_datarootdir_hack
26992 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
26993 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
26995 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26996 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
26997 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
26998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26999 which seems to be undefined. Please make sure it is defined" >&5
27000 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27001 which seems to be undefined. Please make sure it is defined" >&2;}
27005 -) cat "$tmp/out" && rm -f "$tmp/out";;
27006 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
27008 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27014 if test x"$ac_file" != x-; then
27016 $as_echo "/* $configure_input */" \
27017 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
27018 } >"$tmp/config.h" \
27019 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27020 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
27021 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
27022 $as_echo "$as_me: $ac_file is unchanged" >&6;}
27025 mv "$tmp/config.h" "$ac_file" \
27026 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27029 $as_echo "/* $configure_input */" \
27030 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
27031 || as_fn_error $? "could not create -" "$LINENO" 5
27033 # Compute "$ac_file"'s index in $config_headers.
27036 for _am_header in $config_headers :; do
27037 case $_am_header in
27038 $_am_arg | $_am_arg:* )
27041 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
27044 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
27045 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27046 X"$_am_arg" : 'X\(//\)[^/]' \| \
27047 X"$_am_arg" : 'X\(//\)$' \| \
27048 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
27049 $as_echo X"$_am_arg" |
27050 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27054 /^X\(\/\/\)[^/].*/{
27066 s/.*/./; q'`/stamp-h$_am_stamp_count
27069 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
27070 $as_echo "$as_me: executing $ac_file commands" >&6;}
27075 case $ac_file$ac_mode in
27076 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
27077 # Autoconf 2.62 quotes --file arguments for eval, but not when files
27078 # are listed without --file. Let's play safe and only enable the eval
27079 # if we detect the quoting.
27080 case $CONFIG_FILES in
27081 *\'*) eval set x "$CONFIG_FILES" ;;
27082 *) set x $CONFIG_FILES ;;
27087 # Strip MF so we end up with the name of the file.
27088 mf=`echo "$mf" | sed -e 's/:.*$//'`
27089 # Check whether this is an Automake generated Makefile or not.
27090 # We used to match only the files named `Makefile.in', but
27091 # some people rename them; so instead we look at the file content.
27092 # Grep'ing the first line is not enough: some people post-process
27093 # each Makefile.in and add a new line on top of each file to say so.
27094 # Grep'ing the whole file is not good either: AIX grep has a line
27095 # limit of 2048, but all sed's we know have understand at least 4000.
27096 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
27097 dirpart=`$as_dirname -- "$mf" ||
27098 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27099 X"$mf" : 'X\(//\)[^/]' \| \
27100 X"$mf" : 'X\(//\)$' \| \
27101 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
27103 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27107 /^X\(\/\/\)[^/].*/{
27123 # Extract the definition of DEPDIR, am__include, and am__quote
27124 # from the Makefile without running `make'.
27125 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
27126 test -z "$DEPDIR" && continue
27127 am__include=`sed -n 's/^am__include = //p' < "$mf"`
27128 test -z "am__include" && continue
27129 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
27130 # When using ansi2knr, U may be empty or an underscore; expand it
27131 U=`sed -n 's/^U = //p' < "$mf"`
27132 # Find all dependency output files, they are included files with
27133 # $(DEPDIR) in their names. We invoke sed twice because it is the
27134 # simplest approach to changing $(DEPDIR) to its actual value in the
27136 for file in `sed -n "
27137 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
27138 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
27139 # Make sure the directory exists.
27140 test -f "$dirpart/$file" && continue
27141 fdir=`$as_dirname -- "$file" ||
27142 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27143 X"$file" : 'X\(//\)[^/]' \| \
27144 X"$file" : 'X\(//\)$' \| \
27145 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
27146 $as_echo X"$file" |
27147 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27151 /^X\(\/\/\)[^/].*/{
27164 as_dir=$dirpart/$fdir; as_fn_mkdir_p
27165 # echo "creating $dirpart/$file"
27166 echo '# dummy' > "$dirpart/$file"
27173 # See if we are running on zsh, and set the options which allow our
27174 # commands through without removal of \ escapes.
27175 if test -n "${ZSH_VERSION+set}" ; then
27176 setopt NO_GLOB_SUBST
27179 cfgfile="${ofile}T"
27180 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
27183 cat <<_LT_EOF >> "$cfgfile"
27186 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
27187 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
27188 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
27189 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
27191 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
27192 # 2006, 2007, 2008 Free Software Foundation, Inc.
27193 # Written by Gordon Matzigkeit, 1996
27195 # This file is part of GNU Libtool.
27197 # GNU Libtool is free software; you can redistribute it and/or
27198 # modify it under the terms of the GNU General Public License as
27199 # published by the Free Software Foundation; either version 2 of
27200 # the License, or (at your option) any later version.
27202 # As a special exception to the GNU General Public License,
27203 # if you distribute this file as part of a program or library that
27204 # is built using GNU Libtool, you may include this file under the
27205 # same distribution terms that you use for the rest of that program.
27207 # GNU Libtool is distributed in the hope that it will be useful,
27208 # but WITHOUT ANY WARRANTY; without even the implied warranty of
27209 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27210 # GNU General Public License for more details.
27212 # You should have received a copy of the GNU General Public License
27213 # along with GNU Libtool; see the file COPYING. If not, a copy
27214 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
27215 # obtained by writing to the Free Software Foundation, Inc.,
27216 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
27219 # The names of the tagged configurations supported by this script.
27220 available_tags="CXX "
27222 # ### BEGIN LIBTOOL CONFIG
27224 # Assembler program.
27227 # DLL creation program.
27230 # Object dumper program.
27233 # Which release of libtool.m4 was used?
27234 macro_version=$macro_version
27235 macro_revision=$macro_revision
27237 # Whether or not to build shared libraries.
27238 build_libtool_libs=$enable_shared
27240 # Whether or not to build static libraries.
27241 build_old_libs=$enable_static
27243 # What type of objects to build.
27246 # Whether or not to optimize for fast installation.
27247 fast_install=$enable_fast_install
27250 host_alias=$host_alias
27254 # The build system.
27255 build_alias=$build_alias
27259 # A sed program that does not truncate output.
27262 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
27263 Xsed="\$SED -e 1s/^X//"
27265 # A grep program that handles long lines.
27271 # A literal string matcher.
27274 # A BSD- or MS-compatible name lister.
27277 # Whether we need soft or hard links.
27280 # What is the maximum length of a command?
27281 max_cmd_len=$max_cmd_len
27283 # Object file suffix (normally "o").
27286 # Executable file suffix (normally "").
27289 # whether the shell understands "unset".
27292 # turn spaces into newlines.
27295 # turn newlines into spaces.
27298 # How to create reloadable object files.
27299 reload_flag=$lt_reload_flag
27300 reload_cmds=$lt_reload_cmds
27302 # Method to check whether dependent libraries are shared objects.
27303 deplibs_check_method=$lt_deplibs_check_method
27305 # Command to use when deplibs_check_method == "file_magic".
27306 file_magic_cmd=$lt_file_magic_cmd
27310 AR_FLAGS=$lt_AR_FLAGS
27312 # A symbol stripping program.
27315 # Commands used to install an old-style archive.
27317 old_postinstall_cmds=$lt_old_postinstall_cmds
27318 old_postuninstall_cmds=$lt_old_postuninstall_cmds
27323 # LTCC compiler flags.
27324 LTCFLAGS=$lt_CFLAGS
27326 # Take the output of nm and produce a listing of raw symbols and C names.
27327 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
27329 # Transform the output of nm in a proper C declaration.
27330 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
27332 # Transform the output of nm in a C name address pair.
27333 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
27335 # Transform the output of nm in a C name address pair when lib prefix is needed.
27336 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
27338 # The name of the directory that contains temporary libtool files.
27341 # Shell to use when invoking shell scripts.
27344 # An echo program that does not interpret backslashes.
27347 # Used to examine libraries when file_magic_cmd begins with "file".
27348 MAGIC_CMD=$MAGIC_CMD
27350 # Must we lock files when doing compilation?
27351 need_locks=$lt_need_locks
27353 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
27354 DSYMUTIL=$lt_DSYMUTIL
27356 # Tool to change global to local symbols on Mac OS X.
27359 # Tool to manipulate fat objects and archives on Mac OS X.
27362 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
27365 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
27366 OTOOL64=$lt_OTOOL64
27368 # Old archive suffix (normally "a").
27371 # Shared library suffix (normally ".so").
27372 shrext_cmds=$lt_shrext_cmds
27374 # The commands to extract the exported symbol list from a shared archive.
27375 extract_expsyms_cmds=$lt_extract_expsyms_cmds
27377 # Variables whose values should be saved in libtool wrapper scripts and
27378 # restored at link time.
27379 variables_saved_for_relink=$lt_variables_saved_for_relink
27381 # Do we need the "lib" prefix for modules?
27382 need_lib_prefix=$need_lib_prefix
27384 # Do we need a version for libraries?
27385 need_version=$need_version
27387 # Library versioning type.
27388 version_type=$version_type
27390 # Shared library runtime path variable.
27391 runpath_var=$runpath_var
27393 # Shared library path variable.
27394 shlibpath_var=$shlibpath_var
27396 # Is shlibpath searched before the hard-coded library search path?
27397 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
27399 # Format of library name prefix.
27400 libname_spec=$lt_libname_spec
27402 # List of archive names. First name is the real one, the rest are links.
27403 # The last name is the one that the linker finds with -lNAME
27404 library_names_spec=$lt_library_names_spec
27406 # The coded name of the library, if different from the real name.
27407 soname_spec=$lt_soname_spec
27409 # Command to use after installation of a shared archive.
27410 postinstall_cmds=$lt_postinstall_cmds
27412 # Command to use after uninstallation of a shared archive.
27413 postuninstall_cmds=$lt_postuninstall_cmds
27415 # Commands used to finish a libtool library installation in a directory.
27416 finish_cmds=$lt_finish_cmds
27418 # As "finish_cmds", except a single script fragment to be evaled but
27420 finish_eval=$lt_finish_eval
27422 # Whether we should hardcode library paths into libraries.
27423 hardcode_into_libs=$hardcode_into_libs
27425 # Compile-time system search path for libraries.
27426 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27428 # Run-time system search path for libraries.
27429 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27431 # Whether dlopen is supported.
27432 dlopen_support=$enable_dlopen
27434 # Whether dlopen of programs is supported.
27435 dlopen_self=$enable_dlopen_self
27437 # Whether dlopen of statically linked programs is supported.
27438 dlopen_self_static=$enable_dlopen_self_static
27440 # Commands to strip libraries.
27441 old_striplib=$lt_old_striplib
27442 striplib=$lt_striplib
27445 # The linker used to build libraries.
27448 # Commands used to build an old-style archive.
27449 old_archive_cmds=$lt_old_archive_cmds
27451 # A language specific compiler.
27454 # Is the compiler the GNU compiler?
27457 # Compiler flag to turn off builtin functions.
27458 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
27460 # How to pass a linker flag through the compiler.
27461 wl=$lt_lt_prog_compiler_wl
27463 # Additional compiler flags for building library objects.
27464 pic_flag=$lt_lt_prog_compiler_pic
27466 # Compiler flag to prevent dynamic linking.
27467 link_static_flag=$lt_lt_prog_compiler_static
27469 # Does compiler simultaneously support -c and -o options?
27470 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
27472 # Whether or not to add -lc for building shared libraries.
27473 build_libtool_need_lc=$archive_cmds_need_lc
27475 # Whether or not to disallow shared libs when runtime libs are static.
27476 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
27478 # Compiler flag to allow reflexive dlopens.
27479 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
27481 # Compiler flag to generate shared objects directly from archives.
27482 whole_archive_flag_spec=$lt_whole_archive_flag_spec
27484 # Whether the compiler copes with passing no objects directly.
27485 compiler_needs_object=$lt_compiler_needs_object
27487 # Create an old-style archive from a shared archive.
27488 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
27490 # Create a temporary old-style archive to link instead of a shared archive.
27491 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
27493 # Commands used to build a shared archive.
27494 archive_cmds=$lt_archive_cmds
27495 archive_expsym_cmds=$lt_archive_expsym_cmds
27497 # Commands used to build a loadable module if different from building
27498 # a shared archive.
27499 module_cmds=$lt_module_cmds
27500 module_expsym_cmds=$lt_module_expsym_cmds
27502 # Whether we are building with GNU ld or not.
27503 with_gnu_ld=$lt_with_gnu_ld
27505 # Flag that allows shared libraries with undefined symbols to be built.
27506 allow_undefined_flag=$lt_allow_undefined_flag
27508 # Flag that enforces no undefined symbols.
27509 no_undefined_flag=$lt_no_undefined_flag
27511 # Flag to hardcode \$libdir into a binary during linking.
27512 # This must work even if \$libdir does not exist
27513 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
27515 # If ld is used when linking, flag to hardcode \$libdir into a binary
27516 # during linking. This must work even if \$libdir does not exist.
27517 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
27519 # Whether we need a single "-rpath" flag with a separated argument.
27520 hardcode_libdir_separator=$lt_hardcode_libdir_separator
27522 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27523 # DIR into the resulting binary.
27524 hardcode_direct=$hardcode_direct
27526 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27527 # DIR into the resulting binary and the resulting library dependency is
27528 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27529 # library is relocated.
27530 hardcode_direct_absolute=$hardcode_direct_absolute
27532 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27533 # into the resulting binary.
27534 hardcode_minus_L=$hardcode_minus_L
27536 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27537 # into the resulting binary.
27538 hardcode_shlibpath_var=$hardcode_shlibpath_var
27540 # Set to "yes" if building a shared library automatically hardcodes DIR
27541 # into the library and all subsequent libraries and executables linked
27543 hardcode_automatic=$hardcode_automatic
27545 # Set to yes if linker adds runtime paths of dependent libraries
27546 # to runtime path list.
27547 inherit_rpath=$inherit_rpath
27549 # Whether libtool must link a program against all its dependency libraries.
27550 link_all_deplibs=$link_all_deplibs
27552 # Fix the shell variable \$srcfile for the compiler.
27553 fix_srcfile_path=$lt_fix_srcfile_path
27555 # Set to "yes" if exported symbols are required.
27556 always_export_symbols=$always_export_symbols
27558 # The commands to list exported symbols.
27559 export_symbols_cmds=$lt_export_symbols_cmds
27561 # Symbols that should not be listed in the preloaded symbols.
27562 exclude_expsyms=$lt_exclude_expsyms
27564 # Symbols that must always be exported.
27565 include_expsyms=$lt_include_expsyms
27567 # Commands necessary for linking programs (against libraries) with templates.
27568 prelink_cmds=$lt_prelink_cmds
27570 # Specify filename containing input files.
27571 file_list_spec=$lt_file_list_spec
27573 # How to hardcode a shared library path into an executable.
27574 hardcode_action=$hardcode_action
27576 # The directories searched by this compiler when creating a shared library.
27577 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
27579 # Dependencies to place before and after the objects being linked to
27580 # create a shared library.
27581 predep_objects=$lt_predep_objects
27582 postdep_objects=$lt_postdep_objects
27583 predeps=$lt_predeps
27584 postdeps=$lt_postdeps
27586 # The library search path used internally by the compiler when linking
27587 # a shared library.
27588 compiler_lib_search_path=$lt_compiler_lib_search_path
27590 # ### END LIBTOOL CONFIG
27596 cat <<\_LT_EOF >> "$cfgfile"
27597 # AIX sometimes has problems with the GCC collect2 program. For some
27598 # reason, if we set the COLLECT_NAMES environment variable, the problems
27599 # vanish in a puff of smoke.
27600 if test "X${COLLECT_NAMES+set}" != Xset; then
27602 export COLLECT_NAMES
27609 ltmain="$ac_aux_dir/ltmain.sh"
27612 # We use sed instead of cat because bash on DJGPP gets confused if
27613 # if finds mixed CR/LF and LF-only lines. Since sed operates in
27614 # text mode, it properly converts lines to CR/LF. This bash problem
27615 # is reportedly fixed, but why not run on old versions too?
27616 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
27617 || (rm -f "$cfgfile"; exit 1)
27621 cat << \_LT_EOF >> "$cfgfile"
27623 # func_dirname file append nondir_replacement
27624 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
27625 # otherwise set result to NONDIR_REPLACEMENT.
27629 */*) func_dirname_result="${1%/*}${2}" ;;
27630 * ) func_dirname_result="${3}" ;;
27634 # func_basename file
27637 func_basename_result="${1##*/}"
27640 # func_dirname_and_basename file append nondir_replacement
27641 # perform func_basename and func_dirname in a single function
27643 # dirname: Compute the dirname of FILE. If nonempty,
27644 # add APPEND to the result, otherwise set result
27645 # to NONDIR_REPLACEMENT.
27646 # value returned in "$func_dirname_result"
27647 # basename: Compute filename of FILE.
27648 # value retuned in "$func_basename_result"
27649 # Implementation must be kept synchronized with func_dirname
27650 # and func_basename. For efficiency, we do not delegate to
27651 # those functions but instead duplicate the functionality here.
27652 func_dirname_and_basename ()
27655 */*) func_dirname_result="${1%/*}${2}" ;;
27656 * ) func_dirname_result="${3}" ;;
27658 func_basename_result="${1##*/}"
27661 # func_stripname prefix suffix name
27662 # strip PREFIX and SUFFIX off of NAME.
27663 # PREFIX and SUFFIX must not contain globbing or regex special
27664 # characters, hashes, percent signs, but SUFFIX may contain a leading
27665 # dot (in which case that matches only a dot).
27668 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
27669 # positional parameters, so assign one to ordinary parameter first.
27670 func_stripname_result=${3}
27671 func_stripname_result=${func_stripname_result#"${1}"}
27672 func_stripname_result=${func_stripname_result%"${2}"}
27678 func_opt_split_opt=${1%%=*}
27679 func_opt_split_arg=${1#*=}
27686 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
27687 *) func_lo2o_result=${1} ;;
27691 # func_xform libobj-or-source
27694 func_xform_result=${1%.*}.lo
27697 # func_arith arithmetic-term...
27700 func_arith_result=$(( $* ))
27704 # STRING may not start with a hyphen.
27707 func_len_result=${#1}
27712 *) # Bourne compatible functions.
27713 cat << \_LT_EOF >> "$cfgfile"
27715 # func_dirname file append nondir_replacement
27716 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
27717 # otherwise set result to NONDIR_REPLACEMENT.
27720 # Extract subdirectory from the argument.
27721 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
27722 if test "X$func_dirname_result" = "X${1}"; then
27723 func_dirname_result="${3}"
27725 func_dirname_result="$func_dirname_result${2}"
27729 # func_basename file
27732 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
27736 # func_stripname prefix suffix name
27737 # strip PREFIX and SUFFIX off of NAME.
27738 # PREFIX and SUFFIX must not contain globbing or regex special
27739 # characters, hashes, percent signs, but SUFFIX may contain a leading
27740 # dot (in which case that matches only a dot).
27741 # func_strip_suffix prefix name
27745 .*) func_stripname_result=`$ECHO "X${3}" \
27746 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
27747 *) func_stripname_result=`$ECHO "X${3}" \
27748 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
27753 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
27754 my_sed_long_arg='1s/^-[^=]*=//'
27759 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
27760 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
27766 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
27769 # func_xform libobj-or-source
27772 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
27775 # func_arith arithmetic-term...
27778 func_arith_result=`expr "$@"`
27782 # STRING may not start with a hyphen.
27785 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
27791 case $lt_shell_append in
27793 cat << \_LT_EOF >> "$cfgfile"
27795 # func_append var value
27796 # Append VALUE to the end of shell variable VAR.
27804 cat << \_LT_EOF >> "$cfgfile"
27806 # func_append var value
27807 # Append VALUE to the end of shell variable VAR.
27818 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
27819 || (rm -f "$cfgfile"; exit 1)
27821 mv -f "$cfgfile" "$ofile" ||
27822 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
27826 cat <<_LT_EOF >> "$ofile"
27828 # ### BEGIN LIBTOOL TAG CONFIG: CXX
27830 # The linker used to build libraries.
27833 # Commands used to build an old-style archive.
27834 old_archive_cmds=$lt_old_archive_cmds_CXX
27836 # A language specific compiler.
27837 CC=$lt_compiler_CXX
27839 # Is the compiler the GNU compiler?
27842 # Compiler flag to turn off builtin functions.
27843 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
27845 # How to pass a linker flag through the compiler.
27846 wl=$lt_lt_prog_compiler_wl_CXX
27848 # Additional compiler flags for building library objects.
27849 pic_flag=$lt_lt_prog_compiler_pic_CXX
27851 # Compiler flag to prevent dynamic linking.
27852 link_static_flag=$lt_lt_prog_compiler_static_CXX
27854 # Does compiler simultaneously support -c and -o options?
27855 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
27857 # Whether or not to add -lc for building shared libraries.
27858 build_libtool_need_lc=$archive_cmds_need_lc_CXX
27860 # Whether or not to disallow shared libs when runtime libs are static.
27861 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
27863 # Compiler flag to allow reflexive dlopens.
27864 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
27866 # Compiler flag to generate shared objects directly from archives.
27867 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
27869 # Whether the compiler copes with passing no objects directly.
27870 compiler_needs_object=$lt_compiler_needs_object_CXX
27872 # Create an old-style archive from a shared archive.
27873 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
27875 # Create a temporary old-style archive to link instead of a shared archive.
27876 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
27878 # Commands used to build a shared archive.
27879 archive_cmds=$lt_archive_cmds_CXX
27880 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
27882 # Commands used to build a loadable module if different from building
27883 # a shared archive.
27884 module_cmds=$lt_module_cmds_CXX
27885 module_expsym_cmds=$lt_module_expsym_cmds_CXX
27887 # Whether we are building with GNU ld or not.
27888 with_gnu_ld=$lt_with_gnu_ld_CXX
27890 # Flag that allows shared libraries with undefined symbols to be built.
27891 allow_undefined_flag=$lt_allow_undefined_flag_CXX
27893 # Flag that enforces no undefined symbols.
27894 no_undefined_flag=$lt_no_undefined_flag_CXX
27896 # Flag to hardcode \$libdir into a binary during linking.
27897 # This must work even if \$libdir does not exist
27898 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
27900 # If ld is used when linking, flag to hardcode \$libdir into a binary
27901 # during linking. This must work even if \$libdir does not exist.
27902 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
27904 # Whether we need a single "-rpath" flag with a separated argument.
27905 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
27907 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27908 # DIR into the resulting binary.
27909 hardcode_direct=$hardcode_direct_CXX
27911 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27912 # DIR into the resulting binary and the resulting library dependency is
27913 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27914 # library is relocated.
27915 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
27917 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27918 # into the resulting binary.
27919 hardcode_minus_L=$hardcode_minus_L_CXX
27921 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27922 # into the resulting binary.
27923 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
27925 # Set to "yes" if building a shared library automatically hardcodes DIR
27926 # into the library and all subsequent libraries and executables linked
27928 hardcode_automatic=$hardcode_automatic_CXX
27930 # Set to yes if linker adds runtime paths of dependent libraries
27931 # to runtime path list.
27932 inherit_rpath=$inherit_rpath_CXX
27934 # Whether libtool must link a program against all its dependency libraries.
27935 link_all_deplibs=$link_all_deplibs_CXX
27937 # Fix the shell variable \$srcfile for the compiler.
27938 fix_srcfile_path=$lt_fix_srcfile_path_CXX
27940 # Set to "yes" if exported symbols are required.
27941 always_export_symbols=$always_export_symbols_CXX
27943 # The commands to list exported symbols.
27944 export_symbols_cmds=$lt_export_symbols_cmds_CXX
27946 # Symbols that should not be listed in the preloaded symbols.
27947 exclude_expsyms=$lt_exclude_expsyms_CXX
27949 # Symbols that must always be exported.
27950 include_expsyms=$lt_include_expsyms_CXX
27952 # Commands necessary for linking programs (against libraries) with templates.
27953 prelink_cmds=$lt_prelink_cmds_CXX
27955 # Specify filename containing input files.
27956 file_list_spec=$lt_file_list_spec_CXX
27958 # How to hardcode a shared library path into an executable.
27959 hardcode_action=$hardcode_action_CXX
27961 # The directories searched by this compiler when creating a shared library.
27962 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
27964 # Dependencies to place before and after the objects being linked to
27965 # create a shared library.
27966 predep_objects=$lt_predep_objects_CXX
27967 postdep_objects=$lt_postdep_objects_CXX
27968 predeps=$lt_predeps_CXX
27969 postdeps=$lt_postdeps_CXX
27971 # The library search path used internally by the compiler when linking
27972 # a shared library.
27973 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
27975 # ### END LIBTOOL TAG CONFIG: CXX
27979 "po-directories":C)
27980 for ac_file in $CONFIG_FILES; do
27981 # Support "outfile[:infile[:infile...]]"
27983 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
27985 # PO directories have a Makefile.in generated from Makefile.in.in.
27986 case "$ac_file" in */Makefile.in)
27987 # Adjust a relative srcdir.
27988 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
27989 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
27990 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
27991 # In autoconf-2.13 it is called $ac_given_srcdir.
27992 # In autoconf-2.50 it is called $srcdir.
27993 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
27994 case "$ac_given_srcdir" in
27995 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
27996 /*) top_srcdir="$ac_given_srcdir" ;;
27997 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
27999 # Treat a directory as a PO directory if and only if it has a
28000 # POTFILES.in file. This allows packages to have multiple PO
28001 # directories under different names or in different locations.
28002 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
28003 rm -f "$ac_dir/POTFILES"
28004 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
28005 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
28006 POMAKEFILEDEPS="POTFILES.in"
28007 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
28008 # on $ac_dir but don't depend on user-specified configuration
28010 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
28011 # The LINGUAS file contains the set of available languages.
28012 if test -n "$OBSOLETE_ALL_LINGUAS"; then
28013 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
28015 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
28016 # Hide the ALL_LINGUAS assigment from automake < 1.5.
28017 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
28018 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
28020 # The set of available languages was given in configure.in.
28021 # Hide the ALL_LINGUAS assigment from automake < 1.5.
28022 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
28025 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
28026 # Compute UPDATEPOFILES
28027 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
28028 # Compute DUMMYPOFILES
28029 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
28031 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
28032 case "$ac_given_srcdir" in
28034 *) srcdirpre='$(srcdir)/' ;;
28040 for lang in $ALL_LINGUAS; do
28041 POFILES="$POFILES $srcdirpre$lang.po"
28042 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
28043 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
28044 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
28046 # CATALOGS depends on both $ac_dir and the user's LINGUAS
28047 # environment variable.
28049 if test -n "$ALL_LINGUAS"; then
28050 for presentlang in $ALL_LINGUAS; do
28052 if test "%UNSET%" != "$LINGUAS"; then
28053 desiredlanguages="$LINGUAS"
28055 desiredlanguages="$ALL_LINGUAS"
28057 for desiredlang in $desiredlanguages; do
28058 # Use the presentlang catalog if desiredlang is
28059 # a. equal to presentlang, or
28060 # b. a variant of presentlang (because in this case,
28061 # presentlang can be used as a fallback for messages
28062 # which are not translated in the desiredlang catalog).
28063 case "$desiredlang" in
28064 "$presentlang"*) useit=yes;;
28067 if test $useit = yes; then
28068 INST_LINGUAS="$INST_LINGUAS $presentlang"
28073 if test -n "$INST_LINGUAS"; then
28074 for lang in $INST_LINGUAS; do
28075 CATALOGS="$CATALOGS $lang.gmo"
28078 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
28079 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
28080 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
28081 if test -f "$f"; then
28083 *.orig | *.bak | *~) ;;
28084 *) cat "$f" >> "$ac_dir/Makefile" ;;
28093 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_stdint_h : $_ac_stdint_h" >&5
28094 $as_echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
28095 ac_stdint=$tmp/_stdint.h
28097 echo "#ifndef" $_ac_stdint_h >$ac_stdint
28098 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
28099 echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint
28100 echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint
28101 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
28102 if test "_$ac_cv_header_stdint_t" != "_" ; then
28103 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
28104 echo "#include <stdint.h>" >>$ac_stdint
28105 echo "#endif" >>$ac_stdint
28106 echo "#endif" >>$ac_stdint
28109 cat >>$ac_stdint <<STDINT_EOF
28111 /* ................... shortcircuit part ........................... */
28113 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
28114 #include <stdint.h>
28116 #include <stddef.h>
28118 /* .................... configured part ............................ */
28122 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
28123 if test "_$ac_cv_header_stdint_x" != "_" ; then
28124 ac_header="$ac_cv_header_stdint_x"
28125 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
28127 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
28130 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
28131 if test "_$ac_cv_header_stdint_o" != "_" ; then
28132 ac_header="$ac_cv_header_stdint_o"
28133 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
28135 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
28138 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
28139 if test "_$ac_cv_header_stdint_u" != "_" ; then
28140 ac_header="$ac_cv_header_stdint_u"
28141 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
28143 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
28146 echo "" >>$ac_stdint
28148 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
28149 echo "#include <$ac_header>" >>$ac_stdint
28150 echo "" >>$ac_stdint
28153 echo "/* which 64bit typedef has been found */" >>$ac_stdint
28154 if test "$ac_cv_type_uint64_t" = "yes" ; then
28155 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
28157 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
28159 if test "$ac_cv_type_u_int64_t" = "yes" ; then
28160 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
28162 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
28164 echo "" >>$ac_stdint
28166 echo "/* which type model has been detected */" >>$ac_stdint
28167 if test "_$ac_cv_char_data_model" != "_" ; then
28168 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
28169 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
28171 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
28172 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
28174 echo "" >>$ac_stdint
28176 echo "/* whether int_least types were detected */" >>$ac_stdint
28177 if test "$ac_cv_type_int_least32_t" = "yes"; then
28178 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
28180 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
28182 echo "/* whether int_fast types were detected */" >>$ac_stdint
28183 if test "$ac_cv_type_int_fast32_t" = "yes"; then
28184 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
28186 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
28188 echo "/* whether intmax_t type was detected */" >>$ac_stdint
28189 if test "$ac_cv_type_intmax_t" = "yes"; then
28190 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
28192 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
28194 echo "" >>$ac_stdint
28196 cat >>$ac_stdint <<STDINT_EOF
28197 /* .................... detections part ............................ */
28199 /* whether we need to define bitspecific types from compiler base types */
28200 #ifndef _STDINT_HEADER_INTPTR
28201 #ifndef _STDINT_HEADER_UINT32
28202 #ifndef _STDINT_HEADER_U_INT32
28203 #define _STDINT_NEED_INT_MODEL_T
28205 #define _STDINT_HAVE_U_INT_TYPES
28210 #ifdef _STDINT_HAVE_U_INT_TYPES
28211 #undef _STDINT_NEED_INT_MODEL_T
28214 #ifdef _STDINT_CHAR_MODEL
28215 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
28216 #ifndef _STDINT_BYTE_MODEL
28217 #define _STDINT_BYTE_MODEL 12
28222 #ifndef _STDINT_HAVE_INT_LEAST32_T
28223 #define _STDINT_NEED_INT_LEAST_T
28226 #ifndef _STDINT_HAVE_INT_FAST32_T
28227 #define _STDINT_NEED_INT_FAST_T
28230 #ifndef _STDINT_HEADER_INTPTR
28231 #define _STDINT_NEED_INTPTR_T
28232 #ifndef _STDINT_HAVE_INTMAX_T
28233 #define _STDINT_NEED_INTMAX_T
28238 /* .................... definition part ............................ */
28240 /* some system headers have good uint64_t */
28241 #ifndef _HAVE_UINT64_T
28242 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
28243 #define _HAVE_UINT64_T
28244 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
28245 #define _HAVE_UINT64_T
28246 typedef u_int64_t uint64_t;
28250 #ifndef _HAVE_UINT64_T
28251 /* .. here are some common heuristics using compiler runtime specifics */
28252 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
28253 #define _HAVE_UINT64_T
28254 #define _HAVE_LONGLONG_UINT64_T
28255 typedef long long int64_t;
28256 typedef unsigned long long uint64_t;
28258 #elif !defined __STRICT_ANSI__
28259 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
28260 #define _HAVE_UINT64_T
28261 typedef __int64 int64_t;
28262 typedef unsigned __int64 uint64_t;
28264 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
28265 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
28266 #if !defined _NO_LONGLONG
28267 #define _HAVE_UINT64_T
28268 #define _HAVE_LONGLONG_UINT64_T
28269 typedef long long int64_t;
28270 typedef unsigned long long uint64_t;
28273 #elif defined __alpha || (defined __mips && defined _ABIN32)
28274 #if !defined _NO_LONGLONG
28275 typedef long int64_t;
28276 typedef unsigned long uint64_t;
28278 /* compiler/cpu type to define int64_t */
28283 #if defined _STDINT_HAVE_U_INT_TYPES
28284 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
28285 typedef u_int8_t uint8_t;
28286 typedef u_int16_t uint16_t;
28287 typedef u_int32_t uint32_t;
28289 /* glibc compatibility */
28290 #ifndef __int8_t_defined
28291 #define __int8_t_defined
28295 #ifdef _STDINT_NEED_INT_MODEL_T
28296 /* we must guess all the basic types. Apart from byte-adressable system, */
28297 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
28298 /* (btw, those nibble-addressable systems are way off, or so we assume) */
28301 #if defined _STDINT_BYTE_MODEL
28302 #if _STDINT_LONG_MODEL+0 == 242
28303 /* 2:4:2 = IP16 = a normal 16-bit system */
28304 typedef unsigned char uint8_t;
28305 typedef unsigned short uint16_t;
28306 typedef unsigned long uint32_t;
28307 #ifndef __int8_t_defined
28308 #define __int8_t_defined
28309 typedef char int8_t;
28310 typedef short int16_t;
28311 typedef long int32_t;
28313 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
28314 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
28315 /* 4:4:4 = ILP32 = a normal 32-bit system */
28316 typedef unsigned char uint8_t;
28317 typedef unsigned short uint16_t;
28318 typedef unsigned int uint32_t;
28319 #ifndef __int8_t_defined
28320 #define __int8_t_defined
28321 typedef char int8_t;
28322 typedef short int16_t;
28323 typedef int int32_t;
28325 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
28326 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
28327 /* 4:8:8 = LP64 = a normal 64-bit system */
28328 typedef unsigned char uint8_t;
28329 typedef unsigned short uint16_t;
28330 typedef unsigned int uint32_t;
28331 #ifndef __int8_t_defined
28332 #define __int8_t_defined
28333 typedef char int8_t;
28334 typedef short int16_t;
28335 typedef int int32_t;
28337 /* this system has a "long" of 64bit */
28338 #ifndef _HAVE_UINT64_T
28339 #define _HAVE_UINT64_T
28340 typedef unsigned long uint64_t;
28341 typedef long int64_t;
28343 #elif _STDINT_LONG_MODEL+0 == 448
28344 /* LLP64 a 64-bit system derived from a 32-bit system */
28345 typedef unsigned char uint8_t;
28346 typedef unsigned short uint16_t;
28347 typedef unsigned int uint32_t;
28348 #ifndef __int8_t_defined
28349 #define __int8_t_defined
28350 typedef char int8_t;
28351 typedef short int16_t;
28352 typedef int int32_t;
28354 /* assuming the system has a "long long" */
28355 #ifndef _HAVE_UINT64_T
28356 #define _HAVE_UINT64_T
28357 #define _HAVE_LONGLONG_UINT64_T
28358 typedef unsigned long long uint64_t;
28359 typedef long long int64_t;
28362 #define _STDINT_NO_INT32_T
28365 #define _STDINT_NO_INT8_T
28366 #define _STDINT_NO_INT32_T
28371 * quote from SunOS-5.8 sys/inttypes.h:
28372 * Use at your own risk. As of February 1996, the committee is squarely
28373 * behind the fixed sized types; the "least" and "fast" types are still being
28374 * discussed. The probability that the "fast" types may be removed before
28375 * the standard is finalized is high enough that they are not currently
28379 #if defined _STDINT_NEED_INT_LEAST_T
28380 typedef int8_t int_least8_t;
28381 typedef int16_t int_least16_t;
28382 typedef int32_t int_least32_t;
28383 #ifdef _HAVE_UINT64_T
28384 typedef int64_t int_least64_t;
28387 typedef uint8_t uint_least8_t;
28388 typedef uint16_t uint_least16_t;
28389 typedef uint32_t uint_least32_t;
28390 #ifdef _HAVE_UINT64_T
28391 typedef uint64_t uint_least64_t;
28396 #if defined _STDINT_NEED_INT_FAST_T
28397 typedef int8_t int_fast8_t;
28398 typedef int int_fast16_t;
28399 typedef int32_t int_fast32_t;
28400 #ifdef _HAVE_UINT64_T
28401 typedef int64_t int_fast64_t;
28404 typedef uint8_t uint_fast8_t;
28405 typedef unsigned uint_fast16_t;
28406 typedef uint32_t uint_fast32_t;
28407 #ifdef _HAVE_UINT64_T
28408 typedef uint64_t uint_fast64_t;
28413 #ifdef _STDINT_NEED_INTMAX_T
28414 #ifdef _HAVE_UINT64_T
28415 typedef int64_t intmax_t;
28416 typedef uint64_t uintmax_t;
28418 typedef long intmax_t;
28419 typedef unsigned long uintmax_t;
28423 #ifdef _STDINT_NEED_INTPTR_T
28424 #ifndef __intptr_t_defined
28425 #define __intptr_t_defined
28426 /* we encourage using "long" to store pointer values, never use "int" ! */
28427 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
28428 typedef unsigned int uintptr_t;
28429 typedef int intptr_t;
28430 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
28431 typedef unsigned long uintptr_t;
28432 typedef long intptr_t;
28433 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
28434 typedef uint64_t uintptr_t;
28435 typedef int64_t intptr_t;
28436 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
28437 typedef unsigned long uintptr_t;
28438 typedef long intptr_t;
28443 /* The ISO C99 standard specifies that in C++ implementations these
28444 should only be defined if explicitly requested. */
28445 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
28449 # define INT8_C(c) c
28450 # define INT16_C(c) c
28451 # define INT32_C(c) c
28452 # ifdef _HAVE_LONGLONG_UINT64_T
28453 # define INT64_C(c) c ## L
28455 # define INT64_C(c) c ## LL
28459 # define UINT8_C(c) c ## U
28460 # define UINT16_C(c) c ## U
28461 # define UINT32_C(c) c ## U
28462 # ifdef _HAVE_LONGLONG_UINT64_T
28463 # define UINT64_C(c) c ## UL
28465 # define UINT64_C(c) c ## ULL
28468 /* Maximal type. */
28469 # ifdef _HAVE_LONGLONG_UINT64_T
28470 # define INTMAX_C(c) c ## L
28471 # define UINTMAX_C(c) c ## UL
28473 # define INTMAX_C(c) c ## LL
28474 # define UINTMAX_C(c) c ## ULL
28477 /* literalnumbers */
28481 /* These limits are merily those of a two complement byte-oriented system */
28483 /* Minimum of signed integral types. */
28484 # define INT8_MIN (-128)
28485 # define INT16_MIN (-32767-1)
28486 # define INT32_MIN (-2147483647-1)
28487 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
28488 /* Maximum of signed integral types. */
28489 # define INT8_MAX (127)
28490 # define INT16_MAX (32767)
28491 # define INT32_MAX (2147483647)
28492 # define INT64_MAX (__INT64_C(9223372036854775807))
28494 /* Maximum of unsigned integral types. */
28495 # define UINT8_MAX (255)
28496 # define UINT16_MAX (65535)
28497 # define UINT32_MAX (4294967295U)
28498 # define UINT64_MAX (__UINT64_C(18446744073709551615))
28500 /* Minimum of signed integral types having a minimum size. */
28501 # define INT_LEAST8_MIN INT8_MIN
28502 # define INT_LEAST16_MIN INT16_MIN
28503 # define INT_LEAST32_MIN INT32_MIN
28504 # define INT_LEAST64_MIN INT64_MIN
28505 /* Maximum of signed integral types having a minimum size. */
28506 # define INT_LEAST8_MAX INT8_MAX
28507 # define INT_LEAST16_MAX INT16_MAX
28508 # define INT_LEAST32_MAX INT32_MAX
28509 # define INT_LEAST64_MAX INT64_MAX
28511 /* Maximum of unsigned integral types having a minimum size. */
28512 # define UINT_LEAST8_MAX UINT8_MAX
28513 # define UINT_LEAST16_MAX UINT16_MAX
28514 # define UINT_LEAST32_MAX UINT32_MAX
28515 # define UINT_LEAST64_MAX UINT64_MAX
28524 if cmp -s $ac_stdint_h $ac_stdint 2>/dev/null; then
28525 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_stdint_h is unchanged" >&5
28526 $as_echo "$as_me: $ac_stdint_h is unchanged" >&6;}
28528 ac_dir=`$as_dirname -- "$ac_stdint_h" ||
28529 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28530 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
28531 X"$ac_stdint_h" : 'X\(//\)$' \| \
28532 X"$ac_stdint_h" : 'X\(/\)' \| . 2>/dev/null ||
28533 $as_echo X"$ac_stdint_h" |
28534 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28538 /^X\(\/\/\)[^/].*/{
28551 as_dir="$ac_dir"; as_fn_mkdir_p
28553 mv $ac_stdint $ac_stdint_h
28563 ac_clean_files=$ac_clean_files_save
28565 test $ac_write_fail = 0 ||
28566 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
28569 # configure is writing to config.log, and then calls config.status.
28570 # config.status does its own redirection, appending to config.log.
28571 # Unfortunately, on DOS this fails, as config.log is still kept open
28572 # by configure, so config.status won't be able to write to it; its
28573 # output is simply discarded. So we exec the FD to /dev/null,
28574 # effectively closing config.log, so it can be properly (re)opened and
28575 # appended to by config.status. When coming back to configure, we
28576 # need to make the FD available again.
28577 if test "$no_create" != yes; then
28579 ac_config_status_args=
28580 test "$silent" = yes &&
28581 ac_config_status_args="$ac_config_status_args --quiet"
28583 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
28585 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
28586 # would make configure fail if this is the last instruction.
28587 $ac_cs_success || as_fn_exit 1
28589 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
28590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
28591 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
28595 if test "x${GST_DISABLE_GST_DEBUG}" = "xno"; then enable_gst_debug="yes"; fi
28596 if test "x${GST_DISABLE_LOADSAVE}" = "xno"; then enable_loadsave="yes"; fi
28597 if test "x${GST_DISABLE_PARSE}" = "xno"; then enable_parse="yes"; fi
28598 if test "x${GST_DISABLE_OPTION_PARSING}" = "xno"; then enable_option_parsing="yes"; fi
28599 if test "x${GST_DISABLE_TRACE}" = "xno"; then enable_trace="yes"; fi
28600 if test "x${GST_DISABLE_ALLOC_TRACE}" = "xno"; then enable_alloc_trace="yes"; fi
28601 if test "x${GST_DISABLE_PLUGIN}" = "xno"; then enable_plugin="yes"; fi
28602 if test "x${GST_DISABLE_REGISTRY}" = "xno"; then enable_registry="yes"; fi
28603 if test "x${GST_DISABLE_NET}" = "xno"; then enable_net="yes"; fi
28608 Version : ${VERSION}
28609 Source code location : ${srcdir}
28612 Package name : ${GST_PACKAGE_NAME}
28613 Package origin : ${GST_PACKAGE_ORIGIN}
28615 Documentation (manuals) : ${enable_docbook}
28616 Documentation (API) : ${enable_gtk_doc}
28618 Debug Logging : ${enable_gst_debug}
28619 Pipeline XML load/save : ${enable_loadsave}
28620 Command-line parser : ${enable_parse}
28621 Option parsing in gst_init : ${enable_option_parsing}
28622 Tracing subsystem : ${enable_trace}
28623 Allocation tracing : ${enable_alloc_trace}
28624 Plugin registry : ${enable_registry}
28625 Plugin support : ${enable_plugin}
28626 Network support : ${enable_net}
28627 Unit testing support : ${BUILD_CHECK}
28629 Debug : ${USE_DEBUG}
28630 Profiling : ${USE_PROFILING}
28632 Building examples : ${BUILD_EXAMPLES}
28633 Building test apps : ${BUILD_TESTS}
28634 Building tests that fail : ${BUILD_FAILING_TESTS}