2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for pulseaudio-genivi-mir .
5 # Report bugs to <janos.f.kovacs@nokia.com>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1
179 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
180 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
183 PATH=/empty FPATH=/empty; export PATH FPATH
184 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
185 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
186 if (eval "$as_required") 2>/dev/null; then :
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir=.
203 for as_base in sh bash ksh sh5; do
204 # Try only shells that exist, to save several forks.
205 as_shell=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 CONFIG_SHELL=$as_shell as_have_required=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219 CONFIG_SHELL=$SHELL as_have_required=yes
224 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234 *v*x* | *x*v* ) as_opts=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x$as_have_required = xno; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x${ZSH_VERSION+set} = xset ; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: janos.f.kovacs@nokia.com about your system, including
251 $0: any error possibly output before this message. Then
252 $0: install a modern shell, or manually run the script
253 $0: under such a shell if you do have one."
259 SHELL=${CONFIG_SHELL-/bin/sh}
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE= GREP_OPTIONS=
263 unset CLICOLOR_FORCE GREP_OPTIONS
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
270 # Portably unset VAR.
273 { eval $1=; unset $1;}
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
297 # Create "$as_dir" as a directory, including parents if necessary.
302 -*) as_dir=./$as_dir;;
304 test -d "$as_dir" || eval $as_mkdir_p || {
308 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
311 as_dirs="'$as_qdir' $as_dirs"
312 as_dir=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314 X"$as_dir" : 'X\(//\)[^/]' \| \
315 X"$as_dir" : 'X\(//\)$' \| \
316 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 test -d "$as_dir" && break
337 test -z "$as_dirs" || eval "mkdir $as_dirs"
338 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349 eval 'as_fn_append ()
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
373 as_val=`expr "$@" || test $? -eq 1`
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
385 as_status=$1; test $as_status -eq 0 && as_status=1
387 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390 $as_echo "$as_me: error: $2" >&2
391 as_fn_exit $as_status
394 if expr a : '\(a\)' >/dev/null 2>&1 &&
395 test "X`expr 00001 : '.*\(...\)'`" = X001; then
401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
413 as_me=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415 X"$0" : 'X\(//\)$' \| \
416 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418 sed '/^.*\/\([^/][^/]*\)\/*$/{
432 # Avoid depending upon Character Ranges.
433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits='0123456789'
437 as_cr_alnum=$as_cr_Letters$as_cr_digits
440 as_lineno_1=$LINENO as_lineno_1a=$LINENO
441 as_lineno_2=$LINENO as_lineno_2a=$LINENO
442 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
456 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
460 chmod +x "$as_me.lineno" ||
461 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463 # Don't try to exec as it changes $[0], causing all sort of problems
464 # (the dirname of $[0] is not the place where we might find the
465 # original and so on. Autoconf is especially sensitive to this).
467 # Exit status is that of the last command.
471 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in #(((((
474 case `echo 'xy\c'` in
475 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486 rm -f conf$$.dir/conf$$.file
489 mkdir conf$$.dir 2>/dev/null
491 if (echo >conf$$.file) 2>/dev/null; then
492 if ln -s conf$$.file conf$$ 2>/dev/null; then
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500 elif ln conf$$.file conf$$ 2>/dev/null; then
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
511 if mkdir -p . 2>/dev/null; then
512 as_mkdir_p='mkdir -p "$as_dir"'
514 test -d ./-p && rmdir ./-p
518 if test -x / >/dev/null 2>&1; then
521 if ls -dL / >/dev/null 2>&1; then
528 if test -d "$1"; then
534 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535 ???[sx]*):;;*)false;;esac;fi
539 as_executable_p=$as_test_x
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547 lt_ltdl_dir='libltdl'
549 SHELL=${CONFIG_SHELL-/bin/sh}
552 test -n "$DJDIR" || exec 7<&0 </dev/null
556 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
557 # so uname gets run too.
558 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
563 ac_default_prefix=/usr/local
565 ac_config_libobj_dir=.
572 # Identity of this package.
573 PACKAGE_NAME='pulseaudio-genivi-mir'
574 PACKAGE_TARNAME='pulseaudio-genivi-mir'
576 PACKAGE_STRING='pulseaudio-genivi-mir '
577 PACKAGE_BUGREPORT='janos.f.kovacs@nokia.com'
580 ac_unique_file="src/module-genivi-mir.c"
581 # Factoring default headers for most tests.
582 ac_includes_default="\
584 #ifdef HAVE_SYS_TYPES_H
585 # include <sys/types.h>
587 #ifdef HAVE_SYS_STAT_H
588 # include <sys/stat.h>
594 # ifdef HAVE_STDLIB_H
599 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
604 #ifdef HAVE_STRINGS_H
605 # include <strings.h>
607 #ifdef HAVE_INTTYPES_H
608 # include <inttypes.h>
617 enable_option_checking=no
618 ac_subst_vars='am__EXEEXT_FALSE
696 INSTALL_STRIP_PROGRAM
745 program_transform_name
758 enable_option_checking
760 enable_dependency_tracking
770 ac_precious_vars='build_alias
788 ac_subdirs_all='libltdl'
790 # Initialize some variables set by options.
792 ac_init_version=false
793 ac_unrecognized_opts=
795 # The variables have the same names as the options, with
796 # dashes changed to underlines.
804 program_transform_name=s,x,x,
812 # Installation directory options.
813 # These are left unexpanded so users can "make install exec_prefix=/foo"
814 # and all the variables that are supposed to be based on exec_prefix
815 # by default will actually change.
816 # Use braces instead of parens because sh, perl, etc. also accept them.
817 # (The list follows the same order as the GNU Coding Standards.)
818 bindir='${exec_prefix}/bin'
819 sbindir='${exec_prefix}/sbin'
820 libexecdir='${exec_prefix}/libexec'
821 datarootdir='${prefix}/share'
822 datadir='${datarootdir}'
823 sysconfdir='${prefix}/etc'
824 sharedstatedir='${prefix}/com'
825 localstatedir='${prefix}/var'
826 includedir='${prefix}/include'
827 oldincludedir='/usr/include'
828 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
829 infodir='${datarootdir}/info'
834 libdir='${exec_prefix}/lib'
835 localedir='${datarootdir}/locale'
836 mandir='${datarootdir}/man'
842 # If the previous option needs an argument, assign it.
843 if test -n "$ac_prev"; then
844 eval $ac_prev=\$ac_option
850 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
855 # Accept the important Cygnus configure options, so we can diagnose typos.
857 case $ac_dashdash$ac_option in
861 -bindir | --bindir | --bindi | --bind | --bin | --bi)
863 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
866 -build | --build | --buil | --bui | --bu)
867 ac_prev=build_alias ;;
868 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
869 build_alias=$ac_optarg ;;
871 -cache-file | --cache-file | --cache-fil | --cache-fi \
872 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
873 ac_prev=cache_file ;;
874 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
875 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
876 cache_file=$ac_optarg ;;
879 cache_file=config.cache ;;
881 -datadir | --datadir | --datadi | --datad)
883 -datadir=* | --datadir=* | --datadi=* | --datad=*)
884 datadir=$ac_optarg ;;
886 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
887 | --dataroo | --dataro | --datar)
888 ac_prev=datarootdir ;;
889 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
890 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
891 datarootdir=$ac_optarg ;;
893 -disable-* | --disable-*)
894 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
895 # Reject names that are not valid shell variable names.
896 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
897 as_fn_error $? "invalid feature name: $ac_useropt"
898 ac_useropt_orig=$ac_useropt
899 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
900 case $ac_user_opts in
904 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
905 ac_unrecognized_sep=', ';;
907 eval enable_$ac_useropt=no ;;
909 -docdir | --docdir | --docdi | --doc | --do)
911 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
914 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
916 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
919 -enable-* | --enable-*)
920 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
921 # Reject names that are not valid shell variable names.
922 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
923 as_fn_error $? "invalid feature name: $ac_useropt"
924 ac_useropt_orig=$ac_useropt
925 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
926 case $ac_user_opts in
930 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
931 ac_unrecognized_sep=', ';;
933 eval enable_$ac_useropt=\$ac_optarg ;;
935 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
936 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
937 | --exec | --exe | --ex)
938 ac_prev=exec_prefix ;;
939 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
940 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
941 | --exec=* | --exe=* | --ex=*)
942 exec_prefix=$ac_optarg ;;
944 -gas | --gas | --ga | --g)
945 # Obsolete; use --with-gas.
948 -help | --help | --hel | --he | -h)
950 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
951 ac_init_help=recursive ;;
952 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
953 ac_init_help=short ;;
955 -host | --host | --hos | --ho)
956 ac_prev=host_alias ;;
957 -host=* | --host=* | --hos=* | --ho=*)
958 host_alias=$ac_optarg ;;
960 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
962 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
964 htmldir=$ac_optarg ;;
966 -includedir | --includedir | --includedi | --included | --include \
967 | --includ | --inclu | --incl | --inc)
968 ac_prev=includedir ;;
969 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
970 | --includ=* | --inclu=* | --incl=* | --inc=*)
971 includedir=$ac_optarg ;;
973 -infodir | --infodir | --infodi | --infod | --info | --inf)
975 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
976 infodir=$ac_optarg ;;
978 -libdir | --libdir | --libdi | --libd)
980 -libdir=* | --libdir=* | --libdi=* | --libd=*)
983 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
984 | --libexe | --libex | --libe)
985 ac_prev=libexecdir ;;
986 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
987 | --libexe=* | --libex=* | --libe=*)
988 libexecdir=$ac_optarg ;;
990 -localedir | --localedir | --localedi | --localed | --locale)
992 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
993 localedir=$ac_optarg ;;
995 -localstatedir | --localstatedir | --localstatedi | --localstated \
996 | --localstate | --localstat | --localsta | --localst | --locals)
997 ac_prev=localstatedir ;;
998 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
999 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1000 localstatedir=$ac_optarg ;;
1002 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1004 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1005 mandir=$ac_optarg ;;
1007 -nfp | --nfp | --nf)
1008 # Obsolete; use --without-fp.
1011 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1012 | --no-cr | --no-c | -n)
1015 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1016 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1019 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1020 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1021 | --oldin | --oldi | --old | --ol | --o)
1022 ac_prev=oldincludedir ;;
1023 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1024 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1025 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1026 oldincludedir=$ac_optarg ;;
1028 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1030 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1031 prefix=$ac_optarg ;;
1033 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1034 | --program-pre | --program-pr | --program-p)
1035 ac_prev=program_prefix ;;
1036 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1037 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1038 program_prefix=$ac_optarg ;;
1040 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1041 | --program-suf | --program-su | --program-s)
1042 ac_prev=program_suffix ;;
1043 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1044 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1045 program_suffix=$ac_optarg ;;
1047 -program-transform-name | --program-transform-name \
1048 | --program-transform-nam | --program-transform-na \
1049 | --program-transform-n | --program-transform- \
1050 | --program-transform | --program-transfor \
1051 | --program-transfo | --program-transf \
1052 | --program-trans | --program-tran \
1053 | --progr-tra | --program-tr | --program-t)
1054 ac_prev=program_transform_name ;;
1055 -program-transform-name=* | --program-transform-name=* \
1056 | --program-transform-nam=* | --program-transform-na=* \
1057 | --program-transform-n=* | --program-transform-=* \
1058 | --program-transform=* | --program-transfor=* \
1059 | --program-transfo=* | --program-transf=* \
1060 | --program-trans=* | --program-tran=* \
1061 | --progr-tra=* | --program-tr=* | --program-t=*)
1062 program_transform_name=$ac_optarg ;;
1064 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1066 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1067 pdfdir=$ac_optarg ;;
1069 -psdir | --psdir | --psdi | --psd | --ps)
1071 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1074 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1075 | -silent | --silent | --silen | --sile | --sil)
1078 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1080 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1082 sbindir=$ac_optarg ;;
1084 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1085 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1086 | --sharedst | --shareds | --shared | --share | --shar \
1088 ac_prev=sharedstatedir ;;
1089 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1090 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1091 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1093 sharedstatedir=$ac_optarg ;;
1095 -site | --site | --sit)
1097 -site=* | --site=* | --sit=*)
1100 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1102 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1103 srcdir=$ac_optarg ;;
1105 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1106 | --syscon | --sysco | --sysc | --sys | --sy)
1107 ac_prev=sysconfdir ;;
1108 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1109 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1110 sysconfdir=$ac_optarg ;;
1112 -target | --target | --targe | --targ | --tar | --ta | --t)
1113 ac_prev=target_alias ;;
1114 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1115 target_alias=$ac_optarg ;;
1117 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1120 -version | --version | --versio | --versi | --vers | -V)
1121 ac_init_version=: ;;
1124 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1125 # Reject names that are not valid shell variable names.
1126 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1127 as_fn_error $? "invalid package name: $ac_useropt"
1128 ac_useropt_orig=$ac_useropt
1129 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1130 case $ac_user_opts in
1134 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1135 ac_unrecognized_sep=', ';;
1137 eval with_$ac_useropt=\$ac_optarg ;;
1139 -without-* | --without-*)
1140 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1141 # Reject names that are not valid shell variable names.
1142 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1143 as_fn_error $? "invalid package name: $ac_useropt"
1144 ac_useropt_orig=$ac_useropt
1145 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1146 case $ac_user_opts in
1150 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1151 ac_unrecognized_sep=', ';;
1153 eval with_$ac_useropt=no ;;
1156 # Obsolete; use --with-x.
1159 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1160 | --x-incl | --x-inc | --x-in | --x-i)
1161 ac_prev=x_includes ;;
1162 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1163 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1164 x_includes=$ac_optarg ;;
1166 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1167 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1168 ac_prev=x_libraries ;;
1169 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1170 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1171 x_libraries=$ac_optarg ;;
1173 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1174 Try \`$0 --help' for more information"
1178 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1179 # Reject names that are not valid shell variable names.
1180 case $ac_envvar in #(
1181 '' | [0-9]* | *[!_$as_cr_alnum]* )
1182 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1184 eval $ac_envvar=\$ac_optarg
1185 export $ac_envvar ;;
1188 # FIXME: should be removed in autoconf 3.0.
1189 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1190 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1191 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1192 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1198 if test -n "$ac_prev"; then
1199 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1200 as_fn_error $? "missing argument to $ac_option"
1203 if test -n "$ac_unrecognized_opts"; then
1204 case $enable_option_checking in
1206 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1207 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1211 # Check all directory arguments for consistency.
1212 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1213 datadir sysconfdir sharedstatedir localstatedir includedir \
1214 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1215 libdir localedir mandir
1217 eval ac_val=\$$ac_var
1218 # Remove trailing slashes.
1221 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1222 eval $ac_var=\$ac_val;;
1224 # Be sure to have absolute directory names.
1226 [\\/$]* | ?:[\\/]* ) continue;;
1227 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1229 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1232 # There might be people who depend on the old broken behavior: `$host'
1233 # used to hold the argument of --host etc.
1234 # FIXME: To remove some day.
1237 target=$target_alias
1239 # FIXME: To remove some day.
1240 if test "x$host_alias" != x; then
1241 if test "x$build_alias" = x; then
1242 cross_compiling=maybe
1243 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1244 If a cross compiler is detected then cross compile mode will be used" >&2
1245 elif test "x$build_alias" != "x$host_alias"; then
1251 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1253 test "$silent" = yes && exec 6>/dev/null
1256 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1257 ac_ls_di=`ls -di .` &&
1258 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1259 as_fn_error $? "working directory cannot be determined"
1260 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1261 as_fn_error $? "pwd does not report name of working directory"
1264 # Find the source files, if location was not specified.
1265 if test -z "$srcdir"; then
1266 ac_srcdir_defaulted=yes
1267 # Try the directory containing this script, then the parent directory.
1268 ac_confdir=`$as_dirname -- "$as_myself" ||
1269 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1270 X"$as_myself" : 'X\(//\)[^/]' \| \
1271 X"$as_myself" : 'X\(//\)$' \| \
1272 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1273 $as_echo X"$as_myself" |
1274 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1292 if test ! -r "$srcdir/$ac_unique_file"; then
1296 ac_srcdir_defaulted=no
1298 if test ! -r "$srcdir/$ac_unique_file"; then
1299 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1300 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1302 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1304 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1306 # When building in place, set srcdir=.
1307 if test "$ac_abs_confdir" = "$ac_pwd"; then
1310 # Remove unnecessary trailing slashes from srcdir.
1311 # Double slashes in file names in object file debugging info
1312 # mess up M-x gdb in Emacs.
1314 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1316 for ac_var in $ac_precious_vars; do
1317 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1318 eval ac_env_${ac_var}_value=\$${ac_var}
1319 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1320 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1324 # Report the --help message.
1326 if test "$ac_init_help" = "long"; then
1327 # Omit some internal or obsolete options to make the list less imposing.
1328 # This message is too long to be a string in the A/UX 3.1 sh.
1330 \`configure' configures pulseaudio-genivi-mir to adapt to many kinds of systems.
1332 Usage: $0 [OPTION]... [VAR=VALUE]...
1334 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1335 VAR=VALUE. See below for descriptions of some of the useful variables.
1337 Defaults for the options are specified in brackets.
1340 -h, --help display this help and exit
1341 --help=short display options specific to this package
1342 --help=recursive display the short help of all the included packages
1343 -V, --version display version information and exit
1344 -q, --quiet, --silent do not print \`checking ...' messages
1345 --cache-file=FILE cache test results in FILE [disabled]
1346 -C, --config-cache alias for \`--cache-file=config.cache'
1347 -n, --no-create do not create output files
1348 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1350 Installation directories:
1351 --prefix=PREFIX install architecture-independent files in PREFIX
1352 [$ac_default_prefix]
1353 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1356 By default, \`make install' will install all the files in
1357 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1358 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1359 for instance \`--prefix=\$HOME'.
1361 For better control, use the options below.
1363 Fine tuning of the installation directories:
1364 --bindir=DIR user executables [EPREFIX/bin]
1365 --sbindir=DIR system admin executables [EPREFIX/sbin]
1366 --libexecdir=DIR program executables [EPREFIX/libexec]
1367 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1368 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1369 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1370 --libdir=DIR object code libraries [EPREFIX/lib]
1371 --includedir=DIR C header files [PREFIX/include]
1372 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1373 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1374 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1375 --infodir=DIR info documentation [DATAROOTDIR/info]
1376 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1377 --mandir=DIR man documentation [DATAROOTDIR/man]
1378 --docdir=DIR documentation root
1379 [DATAROOTDIR/doc/pulseaudio-genivi-mir]
1380 --htmldir=DIR html documentation [DOCDIR]
1381 --dvidir=DIR dvi documentation [DOCDIR]
1382 --pdfdir=DIR pdf documentation [DOCDIR]
1383 --psdir=DIR ps documentation [DOCDIR]
1389 --program-prefix=PREFIX prepend PREFIX to installed program names
1390 --program-suffix=SUFFIX append SUFFIX to installed program names
1391 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1394 --build=BUILD configure for building on BUILD [guessed]
1395 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1399 if test -n "$ac_init_help"; then
1400 case $ac_init_help in
1401 short | recursive ) echo "Configuration of pulseaudio-genivi-mir :";;
1406 --disable-option-checking ignore unrecognized --enable/--with options
1407 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1408 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1409 --disable-doc-support turns off policy-doc support
1410 --disable-dependency-tracking speeds up one-time build
1411 --enable-dependency-tracking do not reject slow dependency extractors
1412 --enable-shared[=PKGS] build shared libraries [default=yes]
1413 --enable-static[=PKGS] build static libraries [default=yes]
1414 --enable-fast-install[=PKGS]
1415 optimize for fast installation [default=yes]
1416 --disable-libtool-lock avoid locking (might break parallel builds)
1419 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1420 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1421 --with-pic try to use only PIC/non-PIC objects [default=use
1423 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1424 --with-sysroot=DIR Search for dependent libraries within DIR
1425 (or the compiler's sysroot if not specified).
1426 --with-module-dir Directory where to install the modules to (defaults
1427 to ${LIBDIR}/pulse-${PA_MAJORMINOR}/modules/
1429 Some influential environment variables:
1430 CC C compiler command
1431 CFLAGS C compiler flags
1432 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1433 nonstandard directory <lib dir>
1434 LIBS libraries to pass to the linker, e.g. -l<library>
1435 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1436 you have headers in a nonstandard directory <include dir>
1438 PKG_CONFIG path to pkg-config utility
1440 directories to add to pkg-config's search path
1442 path overriding pkg-config's built-in search path
1444 C compiler flags for LIBPULSE, overriding pkg-config
1446 linker flags for LIBPULSE, overriding pkg-config
1448 C compiler flags for PULSEDEVEL, overriding pkg-config
1450 linker flags for PULSEDEVEL, overriding pkg-config
1451 DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1452 DBUS_LIBS linker flags for DBUS, overriding pkg-config
1454 Use these variables to override the choices made by `configure' or to help
1455 it to find libraries and programs with nonstandard names/locations.
1457 Report bugs to <janos.f.kovacs@nokia.com>.
1462 if test "$ac_init_help" = "recursive"; then
1463 # If there are subdirs, report their specific --help.
1464 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1465 test -d "$ac_dir" ||
1466 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1471 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1473 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1474 # A ".." for each directory in $ac_dir_suffix.
1475 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1476 case $ac_top_builddir_sub in
1477 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1478 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1481 ac_abs_top_builddir=$ac_pwd
1482 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1483 # for backward compatibility:
1484 ac_top_builddir=$ac_top_build_prefix
1487 .) # We are building in place.
1489 ac_top_srcdir=$ac_top_builddir_sub
1490 ac_abs_top_srcdir=$ac_pwd ;;
1491 [\\/]* | ?:[\\/]* ) # Absolute name.
1492 ac_srcdir=$srcdir$ac_dir_suffix;
1493 ac_top_srcdir=$srcdir
1494 ac_abs_top_srcdir=$srcdir ;;
1496 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1497 ac_top_srcdir=$ac_top_build_prefix$srcdir
1498 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1500 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1502 cd "$ac_dir" || { ac_status=$?; continue; }
1503 # Check for guested configure.
1504 if test -f "$ac_srcdir/configure.gnu"; then
1506 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1507 elif test -f "$ac_srcdir/configure"; then
1509 $SHELL "$ac_srcdir/configure" --help=recursive
1511 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1513 cd "$ac_pwd" || { ac_status=$?; break; }
1517 test -n "$ac_init_help" && exit $ac_status
1518 if $ac_init_version; then
1520 pulseaudio-genivi-mir configure
1521 generated by GNU Autoconf 2.68
1523 Copyright (C) 2010 Free Software Foundation, Inc.
1524 This configure script is free software; the Free Software Foundation
1525 gives unlimited permission to copy, distribute and modify it.
1530 ## ------------------------ ##
1531 ## Autoconf initialization. ##
1532 ## ------------------------ ##
1534 # ac_fn_c_try_compile LINENO
1535 # --------------------------
1536 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1537 ac_fn_c_try_compile ()
1539 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1540 rm -f conftest.$ac_objext
1541 if { { ac_try="$ac_compile"
1543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1544 *) ac_try_echo=$ac_try;;
1546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1547 $as_echo "$ac_try_echo"; } >&5
1548 (eval "$ac_compile") 2>conftest.err
1550 if test -s conftest.err; then
1551 grep -v '^ *+' conftest.err >conftest.er1
1552 cat conftest.er1 >&5
1553 mv -f conftest.er1 conftest.err
1555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1556 test $ac_status = 0; } && {
1557 test -z "$ac_c_werror_flag" ||
1558 test ! -s conftest.err
1559 } && test -s conftest.$ac_objext; then :
1562 $as_echo "$as_me: failed program was:" >&5
1563 sed 's/^/| /' conftest.$ac_ext >&5
1567 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1568 as_fn_set_status $ac_retval
1570 } # ac_fn_c_try_compile
1572 # ac_fn_c_try_cpp LINENO
1573 # ----------------------
1574 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1577 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1578 if { { ac_try="$ac_cpp conftest.$ac_ext"
1580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1581 *) ac_try_echo=$ac_try;;
1583 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1584 $as_echo "$ac_try_echo"; } >&5
1585 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1587 if test -s conftest.err; then
1588 grep -v '^ *+' conftest.err >conftest.er1
1589 cat conftest.er1 >&5
1590 mv -f conftest.er1 conftest.err
1592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1593 test $ac_status = 0; } > conftest.i && {
1594 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1595 test ! -s conftest.err
1599 $as_echo "$as_me: failed program was:" >&5
1600 sed 's/^/| /' conftest.$ac_ext >&5
1604 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1605 as_fn_set_status $ac_retval
1609 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1610 # -------------------------------------------------------
1611 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1612 # the include files in INCLUDES and setting the cache variable VAR
1614 ac_fn_c_check_header_mongrel ()
1616 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1617 if eval \${$3+:} false; then :
1618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1619 $as_echo_n "checking for $2... " >&6; }
1620 if eval \${$3+:} false; then :
1621 $as_echo_n "(cached) " >&6
1624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1625 $as_echo "$ac_res" >&6; }
1627 # Is the header compilable?
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1629 $as_echo_n "checking $2 usability... " >&6; }
1630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1631 /* end confdefs.h. */
1635 if ac_fn_c_try_compile "$LINENO"; then :
1636 ac_header_compiler=yes
1638 ac_header_compiler=no
1640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1642 $as_echo "$ac_header_compiler" >&6; }
1644 # Is the header present?
1645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1646 $as_echo_n "checking $2 presence... " >&6; }
1647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1648 /* end confdefs.h. */
1651 if ac_fn_c_try_cpp "$LINENO"; then :
1652 ac_header_preproc=yes
1654 ac_header_preproc=no
1656 rm -f conftest.err conftest.i conftest.$ac_ext
1657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1658 $as_echo "$ac_header_preproc" >&6; }
1660 # So? What about this header?
1661 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1664 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1666 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1670 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1672 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1674 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1676 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1678 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1679 ( $as_echo "## --------------------------------------- ##
1680 ## Report this to janos.f.kovacs@nokia.com ##
1681 ## --------------------------------------- ##"
1682 ) | sed "s/^/$as_me: WARNING: /" >&2
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1686 $as_echo_n "checking for $2... " >&6; }
1687 if eval \${$3+:} false; then :
1688 $as_echo_n "(cached) " >&6
1690 eval "$3=\$ac_header_compiler"
1693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1694 $as_echo "$ac_res" >&6; }
1696 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1698 } # ac_fn_c_check_header_mongrel
1700 # ac_fn_c_try_run LINENO
1701 # ----------------------
1702 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1703 # that executables *can* be run.
1706 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1707 if { { ac_try="$ac_link"
1709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1710 *) ac_try_echo=$ac_try;;
1712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1713 $as_echo "$ac_try_echo"; } >&5
1714 (eval "$ac_link") 2>&5
1716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1717 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1718 { { case "(($ac_try" in
1719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1720 *) ac_try_echo=$ac_try;;
1722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1723 $as_echo "$ac_try_echo"; } >&5
1724 (eval "$ac_try") 2>&5
1726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1727 test $ac_status = 0; }; }; then :
1730 $as_echo "$as_me: program exited with status $ac_status" >&5
1731 $as_echo "$as_me: failed program was:" >&5
1732 sed 's/^/| /' conftest.$ac_ext >&5
1734 ac_retval=$ac_status
1736 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1737 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1738 as_fn_set_status $ac_retval
1742 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1743 # -------------------------------------------------------
1744 # Tests whether HEADER exists and can be compiled using the include files in
1745 # INCLUDES, setting the cache variable VAR accordingly.
1746 ac_fn_c_check_header_compile ()
1748 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1750 $as_echo_n "checking for $2... " >&6; }
1751 if eval \${$3+:} false; then :
1752 $as_echo_n "(cached) " >&6
1754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1755 /* end confdefs.h. */
1759 if ac_fn_c_try_compile "$LINENO"; then :
1764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1768 $as_echo "$ac_res" >&6; }
1769 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1771 } # ac_fn_c_check_header_compile
1773 # ac_fn_c_try_link LINENO
1774 # -----------------------
1775 # Try to link conftest.$ac_ext, and return whether this succeeded.
1778 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1779 rm -f conftest.$ac_objext conftest$ac_exeext
1780 if { { ac_try="$ac_link"
1782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1783 *) ac_try_echo=$ac_try;;
1785 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1786 $as_echo "$ac_try_echo"; } >&5
1787 (eval "$ac_link") 2>conftest.err
1789 if test -s conftest.err; then
1790 grep -v '^ *+' conftest.err >conftest.er1
1791 cat conftest.er1 >&5
1792 mv -f conftest.er1 conftest.err
1794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1795 test $ac_status = 0; } && {
1796 test -z "$ac_c_werror_flag" ||
1797 test ! -s conftest.err
1798 } && test -s conftest$ac_exeext && {
1799 test "$cross_compiling" = yes ||
1800 $as_test_x conftest$ac_exeext
1804 $as_echo "$as_me: failed program was:" >&5
1805 sed 's/^/| /' conftest.$ac_ext >&5
1809 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1810 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1811 # interfere with the next link command; also delete a directory that is
1812 # left behind by Apple's compiler. We do this before executing the actions.
1813 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1814 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1815 as_fn_set_status $ac_retval
1817 } # ac_fn_c_try_link
1819 # ac_fn_c_check_func LINENO FUNC VAR
1820 # ----------------------------------
1821 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1822 ac_fn_c_check_func ()
1824 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1826 $as_echo_n "checking for $2... " >&6; }
1827 if eval \${$3+:} false; then :
1828 $as_echo_n "(cached) " >&6
1830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1831 /* end confdefs.h. */
1832 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1834 #define $2 innocuous_$2
1836 /* System header to define __stub macros and hopefully few prototypes,
1837 which can conflict with char $2 (); below.
1838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1839 <limits.h> exists even on freestanding compilers. */
1842 # include <limits.h>
1844 # include <assert.h>
1849 /* Override any GCC internal prototype to avoid an error.
1850 Use char because int might match the return type of a GCC
1851 builtin and then its argument prototype would still apply. */
1856 /* The GNU C library defines this for functions which it implements
1857 to always fail with ENOSYS. Some functions are actually named
1858 something starting with __ and the normal name is an alias. */
1859 #if defined __stub_$2 || defined __stub___$2
1871 if ac_fn_c_try_link "$LINENO"; then :
1876 rm -f core conftest.err conftest.$ac_objext \
1877 conftest$ac_exeext conftest.$ac_ext
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1881 $as_echo "$ac_res" >&6; }
1882 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1884 } # ac_fn_c_check_func
1886 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1887 # -------------------------------------------
1888 # Tests whether TYPE exists after having included INCLUDES, setting cache
1889 # variable VAR accordingly.
1890 ac_fn_c_check_type ()
1892 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1894 $as_echo_n "checking for $2... " >&6; }
1895 if eval \${$3+:} false; then :
1896 $as_echo_n "(cached) " >&6
1899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1900 /* end confdefs.h. */
1911 if ac_fn_c_try_compile "$LINENO"; then :
1912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1913 /* end confdefs.h. */
1924 if ac_fn_c_try_compile "$LINENO"; then :
1929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1935 $as_echo "$ac_res" >&6; }
1936 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1938 } # ac_fn_c_check_type
1940 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1941 # ---------------------------------------------
1942 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1944 ac_fn_c_check_decl ()
1946 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1947 as_decl_name=`echo $2|sed 's/ *(.*//'`
1948 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1950 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1951 if eval \${$3+:} false; then :
1952 $as_echo_n "(cached) " >&6
1954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1955 /* end confdefs.h. */
1960 #ifndef $as_decl_name
1962 (void) $as_decl_use;
1964 (void) $as_decl_name;
1972 if ac_fn_c_try_compile "$LINENO"; then :
1977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1981 $as_echo "$ac_res" >&6; }
1982 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1984 } # ac_fn_c_check_decl
1985 cat >config.log <<_ACEOF
1986 This file contains any messages produced by compilers while
1987 running configure, to aid debugging if configure makes a mistake.
1989 It was created by pulseaudio-genivi-mir $as_me , which was
1990 generated by GNU Autoconf 2.68. Invocation command line was
2002 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2003 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2004 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2005 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2006 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2008 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2009 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2011 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2012 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2013 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2014 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2015 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2016 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2017 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2025 test -z "$as_dir" && as_dir=.
2026 $as_echo "PATH: $as_dir"
2042 # Keep a trace of the command line.
2043 # Strip out --no-create and --no-recursion so they do not pile up.
2044 # Strip out --silent because we don't want to record it for future runs.
2045 # Also quote any args containing shell meta-characters.
2046 # Make two passes to allow for proper duplicate-argument suppression.
2050 ac_must_keep_next=false
2056 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2057 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2058 | -silent | --silent | --silen | --sile | --sil)
2061 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2064 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2066 as_fn_append ac_configure_args1 " '$ac_arg'"
2067 if test $ac_must_keep_next = true; then
2068 ac_must_keep_next=false # Got value, back to normal.
2071 *=* | --config-cache | -C | -disable-* | --disable-* \
2072 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2073 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2074 | -with-* | --with-* | -without-* | --without-* | --x)
2075 case "$ac_configure_args0 " in
2076 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2079 -* ) ac_must_keep_next=true ;;
2082 as_fn_append ac_configure_args " '$ac_arg'"
2087 { ac_configure_args0=; unset ac_configure_args0;}
2088 { ac_configure_args1=; unset ac_configure_args1;}
2090 # When interrupted or exit'd, cleanup temporary files, and complete
2091 # config.log. We remove comments because anyway the quotes in there
2092 # would cause problems or look ugly.
2093 # WARNING: Use '\'' to represent an apostrophe within the trap.
2094 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2095 trap 'exit_status=$?
2096 # Save into config.log some information that might help in debugging.
2100 $as_echo "## ---------------- ##
2101 ## Cache variables. ##
2102 ## ---------------- ##"
2104 # The following way of writing the cache mishandles newlines in values,
2106 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2107 eval ac_val=\$$ac_var
2111 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2112 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2115 _ | IFS | as_nl) ;; #(
2116 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2117 *) { eval $ac_var=; unset $ac_var;} ;;
2122 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2123 *${as_nl}ac_space=\ *)
2125 "s/'\''/'\''\\\\'\'''\''/g;
2126 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2129 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2136 $as_echo "## ----------------- ##
2137 ## Output variables. ##
2138 ## ----------------- ##"
2140 for ac_var in $ac_subst_vars
2142 eval ac_val=\$$ac_var
2144 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2146 $as_echo "$ac_var='\''$ac_val'\''"
2150 if test -n "$ac_subst_files"; then
2151 $as_echo "## ------------------- ##
2152 ## File substitutions. ##
2153 ## ------------------- ##"
2155 for ac_var in $ac_subst_files
2157 eval ac_val=\$$ac_var
2159 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2161 $as_echo "$ac_var='\''$ac_val'\''"
2166 if test -s confdefs.h; then
2167 $as_echo "## ----------- ##
2174 test "$ac_signal" != 0 &&
2175 $as_echo "$as_me: caught signal $ac_signal"
2176 $as_echo "$as_me: exit $exit_status"
2178 rm -f core *.core core.conftest.* &&
2179 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2182 for ac_signal in 1 2 13 15; do
2183 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2187 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2188 rm -f -r conftest* confdefs.h
2190 $as_echo "/* confdefs.h */" > confdefs.h
2192 # Predefined preprocessor variables.
2194 cat >>confdefs.h <<_ACEOF
2195 #define PACKAGE_NAME "$PACKAGE_NAME"
2198 cat >>confdefs.h <<_ACEOF
2199 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2202 cat >>confdefs.h <<_ACEOF
2203 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2206 cat >>confdefs.h <<_ACEOF
2207 #define PACKAGE_STRING "$PACKAGE_STRING"
2210 cat >>confdefs.h <<_ACEOF
2211 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2214 cat >>confdefs.h <<_ACEOF
2215 #define PACKAGE_URL "$PACKAGE_URL"
2219 # Let the site file select an alternate cache file if it wants to.
2220 # Prefer an explicitly selected file to automatically selected ones.
2223 if test -n "$CONFIG_SITE"; then
2224 # We do not want a PATH search for config.site.
2225 case $CONFIG_SITE in #((
2226 -*) ac_site_file1=./$CONFIG_SITE;;
2227 */*) ac_site_file1=$CONFIG_SITE;;
2228 *) ac_site_file1=./$CONFIG_SITE;;
2230 elif test "x$prefix" != xNONE; then
2231 ac_site_file1=$prefix/share/config.site
2232 ac_site_file2=$prefix/etc/config.site
2234 ac_site_file1=$ac_default_prefix/share/config.site
2235 ac_site_file2=$ac_default_prefix/etc/config.site
2237 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2239 test "x$ac_site_file" = xNONE && continue
2240 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2242 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2243 sed 's/^/| /' "$ac_site_file" >&5
2245 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2246 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2247 as_fn_error $? "failed to load site script $ac_site_file
2248 See \`config.log' for more details" "$LINENO" 5; }
2252 if test -r "$cache_file"; then
2253 # Some versions of bash will fail to source /dev/null (special files
2254 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2255 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2257 $as_echo "$as_me: loading cache $cache_file" >&6;}
2259 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2260 *) . "./$cache_file";;
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2265 $as_echo "$as_me: creating cache $cache_file" >&6;}
2269 # Check that the precious variables saved in the cache have kept the same
2271 ac_cache_corrupted=false
2272 for ac_var in $ac_precious_vars; do
2273 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2274 eval ac_new_set=\$ac_env_${ac_var}_set
2275 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2276 eval ac_new_val=\$ac_env_${ac_var}_value
2277 case $ac_old_set,$ac_new_set in
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2280 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2281 ac_cache_corrupted=: ;;
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2284 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2285 ac_cache_corrupted=: ;;
2288 if test "x$ac_old_val" != "x$ac_new_val"; then
2289 # differences in whitespace do not lead to failure.
2290 ac_old_val_w=`echo x $ac_old_val`
2291 ac_new_val_w=`echo x $ac_new_val`
2292 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2294 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2295 ac_cache_corrupted=:
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2298 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2299 eval $ac_var=\$ac_old_val
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2302 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2304 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2307 # Pass precious variables to config.status.
2308 if test "$ac_new_set" = set; then
2310 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2311 *) ac_arg=$ac_var=$ac_new_val ;;
2313 case " $ac_configure_args " in
2314 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2315 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2319 if $ac_cache_corrupted; then
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2321 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2322 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2323 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2324 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2326 ## -------------------- ##
2327 ## Main body of script. ##
2328 ## -------------------- ##
2331 ac_cpp='$CPP $CPPFLAGS'
2332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2340 PD_DOC_SUPPORT_DEFVAL=true
2341 PD_DOCTOOL_PATH=/usr/share/policy-doc-tools
2343 if test -n "$ac_tool_prefix"; then
2344 # Extract the first word of "${ac_tool_prefix}lyx", so it can be a program name with args.
2345 set dummy ${ac_tool_prefix}lyx; ac_word=$2
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2347 $as_echo_n "checking for $ac_word... " >&6; }
2348 if ${ac_cv_path_PD_LYX+:} false; then :
2349 $as_echo_n "(cached) " >&6
2353 ac_cv_path_PD_LYX="$PD_LYX" # Let the user override the test with a path.
2356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2360 test -z "$as_dir" && as_dir=.
2361 for ac_exec_ext in '' $ac_executable_extensions; do
2362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2363 ac_cv_path_PD_LYX="$as_dir/$ac_word$ac_exec_ext"
2364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2374 PD_LYX=$ac_cv_path_PD_LYX
2375 if test -n "$PD_LYX"; then
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PD_LYX" >&5
2377 $as_echo "$PD_LYX" >&6; }
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2380 $as_echo "no" >&6; }
2385 if test -z "$ac_cv_path_PD_LYX"; then
2386 ac_pt_PD_LYX=$PD_LYX
2387 # Extract the first word of "lyx", so it can be a program name with args.
2388 set dummy lyx; ac_word=$2
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2390 $as_echo_n "checking for $ac_word... " >&6; }
2391 if ${ac_cv_path_ac_pt_PD_LYX+:} false; then :
2392 $as_echo_n "(cached) " >&6
2394 case $ac_pt_PD_LYX in
2396 ac_cv_path_ac_pt_PD_LYX="$ac_pt_PD_LYX" # Let the user override the test with a path.
2399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2403 test -z "$as_dir" && as_dir=.
2404 for ac_exec_ext in '' $ac_executable_extensions; do
2405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2406 ac_cv_path_ac_pt_PD_LYX="$as_dir/$ac_word$ac_exec_ext"
2407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2417 ac_pt_PD_LYX=$ac_cv_path_ac_pt_PD_LYX
2418 if test -n "$ac_pt_PD_LYX"; then
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PD_LYX" >&5
2420 $as_echo "$ac_pt_PD_LYX" >&6; }
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2423 $as_echo "no" >&6; }
2426 if test "x$ac_pt_PD_LYX" = x; then
2429 case $cross_compiling:$ac_tool_warned in
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2432 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2433 ac_tool_warned=yes ;;
2435 PD_LYX=$ac_pt_PD_LYX
2438 PD_LYX="$ac_cv_path_PD_LYX"
2442 if test x$PD_LYX = x; then :
2443 PD_DOC_SUPPORT_DEFVAL=false
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can't find lyx. doc-support is going to be disabled" >&5
2445 $as_echo "$as_me: WARNING: Can't find lyx. doc-support is going to be disabled" >&2;}
2449 if test -n "$ac_tool_prefix"; then
2450 # Extract the first word of "${ac_tool_prefix}fig2dev", so it can be a program name with args.
2451 set dummy ${ac_tool_prefix}fig2dev; ac_word=$2
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2453 $as_echo_n "checking for $ac_word... " >&6; }
2454 if ${ac_cv_path_PD_FIG2DEV+:} false; then :
2455 $as_echo_n "(cached) " >&6
2459 ac_cv_path_PD_FIG2DEV="$PD_FIG2DEV" # Let the user override the test with a path.
2462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2466 test -z "$as_dir" && as_dir=.
2467 for ac_exec_ext in '' $ac_executable_extensions; do
2468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2469 ac_cv_path_PD_FIG2DEV="$as_dir/$ac_word$ac_exec_ext"
2470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2480 PD_FIG2DEV=$ac_cv_path_PD_FIG2DEV
2481 if test -n "$PD_FIG2DEV"; then
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PD_FIG2DEV" >&5
2483 $as_echo "$PD_FIG2DEV" >&6; }
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2486 $as_echo "no" >&6; }
2491 if test -z "$ac_cv_path_PD_FIG2DEV"; then
2492 ac_pt_PD_FIG2DEV=$PD_FIG2DEV
2493 # Extract the first word of "fig2dev", so it can be a program name with args.
2494 set dummy fig2dev; ac_word=$2
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2496 $as_echo_n "checking for $ac_word... " >&6; }
2497 if ${ac_cv_path_ac_pt_PD_FIG2DEV+:} false; then :
2498 $as_echo_n "(cached) " >&6
2500 case $ac_pt_PD_FIG2DEV in
2502 ac_cv_path_ac_pt_PD_FIG2DEV="$ac_pt_PD_FIG2DEV" # Let the user override the test with a path.
2505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2509 test -z "$as_dir" && as_dir=.
2510 for ac_exec_ext in '' $ac_executable_extensions; do
2511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2512 ac_cv_path_ac_pt_PD_FIG2DEV="$as_dir/$ac_word$ac_exec_ext"
2513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2523 ac_pt_PD_FIG2DEV=$ac_cv_path_ac_pt_PD_FIG2DEV
2524 if test -n "$ac_pt_PD_FIG2DEV"; then
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PD_FIG2DEV" >&5
2526 $as_echo "$ac_pt_PD_FIG2DEV" >&6; }
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2529 $as_echo "no" >&6; }
2532 if test "x$ac_pt_PD_FIG2DEV" = x; then
2535 case $cross_compiling:$ac_tool_warned in
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2538 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2539 ac_tool_warned=yes ;;
2541 PD_FIG2DEV=$ac_pt_PD_FIG2DEV
2544 PD_FIG2DEV="$ac_cv_path_PD_FIG2DEV"
2548 if test x$PD_FIG2DEV = x; then :
2549 PD_DOC_SUPPORT_DEFVAL=false
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can't find fig2dev. doc-support is going to be disabled" >&5
2551 $as_echo "$as_me: WARNING: Can't find fig2dev. doc-support is going to be disabled" >&2;}
2555 if test -n "$ac_tool_prefix"; then
2556 # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
2557 set dummy ${ac_tool_prefix}doxygen; ac_word=$2
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2559 $as_echo_n "checking for $ac_word... " >&6; }
2560 if ${ac_cv_path_PD_DOXYGEN+:} false; then :
2561 $as_echo_n "(cached) " >&6
2565 ac_cv_path_PD_DOXYGEN="$PD_DOXYGEN" # Let the user override the test with a path.
2568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2572 test -z "$as_dir" && as_dir=.
2573 for ac_exec_ext in '' $ac_executable_extensions; do
2574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2575 ac_cv_path_PD_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
2576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2586 PD_DOXYGEN=$ac_cv_path_PD_DOXYGEN
2587 if test -n "$PD_DOXYGEN"; then
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PD_DOXYGEN" >&5
2589 $as_echo "$PD_DOXYGEN" >&6; }
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2592 $as_echo "no" >&6; }
2597 if test -z "$ac_cv_path_PD_DOXYGEN"; then
2598 ac_pt_PD_DOXYGEN=$PD_DOXYGEN
2599 # Extract the first word of "doxygen", so it can be a program name with args.
2600 set dummy doxygen; ac_word=$2
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2602 $as_echo_n "checking for $ac_word... " >&6; }
2603 if ${ac_cv_path_ac_pt_PD_DOXYGEN+:} false; then :
2604 $as_echo_n "(cached) " >&6
2606 case $ac_pt_PD_DOXYGEN in
2608 ac_cv_path_ac_pt_PD_DOXYGEN="$ac_pt_PD_DOXYGEN" # Let the user override the test with a path.
2611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2615 test -z "$as_dir" && as_dir=.
2616 for ac_exec_ext in '' $ac_executable_extensions; do
2617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2618 ac_cv_path_ac_pt_PD_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
2619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2629 ac_pt_PD_DOXYGEN=$ac_cv_path_ac_pt_PD_DOXYGEN
2630 if test -n "$ac_pt_PD_DOXYGEN"; then
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PD_DOXYGEN" >&5
2632 $as_echo "$ac_pt_PD_DOXYGEN" >&6; }
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2635 $as_echo "no" >&6; }
2638 if test "x$ac_pt_PD_DOXYGEN" = x; then
2641 case $cross_compiling:$ac_tool_warned in
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2644 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2645 ac_tool_warned=yes ;;
2647 PD_DOXYGEN=$ac_pt_PD_DOXYGEN
2650 PD_DOXYGEN="$ac_cv_path_PD_DOXYGEN"
2654 if test x$PD_DOXYGEN = x; then :
2655 PD_DOC_SUPPORT_DEFVAL=false
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can't find doxygen. doc-support is going to be disabled" >&5
2657 $as_echo "$as_me: WARNING: Can't find doxygen. doc-support is going to be disabled" >&2;}
2661 if test -n "$ac_tool_prefix"; then
2662 # Extract the first word of "${ac_tool_prefix}xsltproc", so it can be a program name with args.
2663 set dummy ${ac_tool_prefix}xsltproc; ac_word=$2
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2665 $as_echo_n "checking for $ac_word... " >&6; }
2666 if ${ac_cv_path_PD_XSLTPROC+:} false; then :
2667 $as_echo_n "(cached) " >&6
2669 case $PD_XSLTPROC in
2671 ac_cv_path_PD_XSLTPROC="$PD_XSLTPROC" # Let the user override the test with a path.
2674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2678 test -z "$as_dir" && as_dir=.
2679 for ac_exec_ext in '' $ac_executable_extensions; do
2680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2681 ac_cv_path_PD_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
2682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2692 PD_XSLTPROC=$ac_cv_path_PD_XSLTPROC
2693 if test -n "$PD_XSLTPROC"; then
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PD_XSLTPROC" >&5
2695 $as_echo "$PD_XSLTPROC" >&6; }
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2698 $as_echo "no" >&6; }
2703 if test -z "$ac_cv_path_PD_XSLTPROC"; then
2704 ac_pt_PD_XSLTPROC=$PD_XSLTPROC
2705 # Extract the first word of "xsltproc", so it can be a program name with args.
2706 set dummy xsltproc; ac_word=$2
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2708 $as_echo_n "checking for $ac_word... " >&6; }
2709 if ${ac_cv_path_ac_pt_PD_XSLTPROC+:} false; then :
2710 $as_echo_n "(cached) " >&6
2712 case $ac_pt_PD_XSLTPROC in
2714 ac_cv_path_ac_pt_PD_XSLTPROC="$ac_pt_PD_XSLTPROC" # Let the user override the test with a path.
2717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2721 test -z "$as_dir" && as_dir=.
2722 for ac_exec_ext in '' $ac_executable_extensions; do
2723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2724 ac_cv_path_ac_pt_PD_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
2725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2735 ac_pt_PD_XSLTPROC=$ac_cv_path_ac_pt_PD_XSLTPROC
2736 if test -n "$ac_pt_PD_XSLTPROC"; then
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PD_XSLTPROC" >&5
2738 $as_echo "$ac_pt_PD_XSLTPROC" >&6; }
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2741 $as_echo "no" >&6; }
2744 if test "x$ac_pt_PD_XSLTPROC" = x; then
2747 case $cross_compiling:$ac_tool_warned in
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2750 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2751 ac_tool_warned=yes ;;
2753 PD_XSLTPROC=$ac_pt_PD_XSLTPROC
2756 PD_XSLTPROC="$ac_cv_path_PD_XSLTPROC"
2760 if test x$PD_XSLTPROC = x; then :
2761 PD_DOC_SUPPORT_DEFVAL=false
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can't find xsltproc. doc-support is going to be disabled" >&5
2763 $as_echo "$as_me: WARNING: Can't find xsltproc. doc-support is going to be disabled" >&2;}
2767 PD_DOXML2DB_STY=${PD_DOCTOOL_PATH}/xslt/doxml2db.sty
2770 as_ac_File=`$as_echo "ac_cv_file_$PD_DOXML2DB_STY" | $as_tr_sh`
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $PD_DOXML2DB_STY" >&5
2772 $as_echo_n "checking for $PD_DOXML2DB_STY... " >&6; }
2773 if eval \${$as_ac_File+:} false; then :
2774 $as_echo_n "(cached) " >&6
2776 test "$cross_compiling" = yes &&
2777 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2778 if test -r "$PD_DOXML2DB_STY"; then
2779 eval "$as_ac_File=yes"
2781 eval "$as_ac_File=no"
2784 eval ac_res=\$$as_ac_File
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2786 $as_echo "$ac_res" >&6; }
2787 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
2788 PD_DOXML2DB_STY_OK=true
2792 if test x$PD_DOXML2DB_STY_OK != xtrue; then :
2793 PD_DOC_SUPPORT_DEFVAL=false
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can't find doxml2db.sty; doc-support is going to be disabled" >&5
2795 $as_echo "$as_me: WARNING: Can't find doxml2db.sty; doc-support is going to be disabled" >&2;}
2799 # Check whether --enable-doc-support was given.
2800 if test "${enable_doc_support+set}" = set; then :
2801 enableval=$enable_doc_support;
2802 case "$enableval" in #(
2803 y|Y|yes|Yes|YES) doc_support=false ;; #(
2804 n|N|no|No|NO) doc_support=true ;; #(
2805 *) as_fn_error $? "bad value '${enableval}' for --disable-doc-support" "$LINENO" 5 ;;
2809 doc_support=$PD_DOC_SUPPORT_DEFVAL
2813 if test x${doc_support} = xtrue; then
2815 PD_SUPPORT_FALSE='#'
2827 am__api_version='1.11'
2830 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2831 if test -f "$ac_dir/install-sh"; then
2833 ac_install_sh="$ac_aux_dir/install-sh -c"
2835 elif test -f "$ac_dir/install.sh"; then
2837 ac_install_sh="$ac_aux_dir/install.sh -c"
2839 elif test -f "$ac_dir/shtool"; then
2841 ac_install_sh="$ac_aux_dir/shtool install -c"
2845 if test -z "$ac_aux_dir"; then
2846 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2849 # These three variables are undocumented and unsupported,
2850 # and are intended to be withdrawn in a future Autoconf release.
2851 # They can cause serious problems if a builder's source tree is in a directory
2852 # whose full name contains unusual characters.
2853 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2854 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2855 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2858 # Find a good install program. We prefer a C program (faster),
2859 # so one script is as good as another. But avoid the broken or
2860 # incompatible versions:
2861 # SysV /etc/install, /usr/sbin/install
2862 # SunOS /usr/etc/install
2863 # IRIX /sbin/install
2865 # AmigaOS /C/install, which installs bootblocks on floppy discs
2866 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2867 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2868 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2869 # OS/2's system install, which has a completely different semantic
2870 # ./install, which can be erroneously created by make from ./install.sh.
2871 # Reject install programs that cannot install multiple files.
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2873 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2874 if test -z "$INSTALL"; then
2875 if ${ac_cv_path_install+:} false; then :
2876 $as_echo_n "(cached) " >&6
2878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2882 test -z "$as_dir" && as_dir=.
2883 # Account for people who put trailing slashes in PATH elements.
2884 case $as_dir/ in #((
2885 ./ | .// | /[cC]/* | \
2886 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2887 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2890 # OSF1 and SCO ODT 3.0 have their own names for install.
2891 # Don't use installbsd from OSF since it installs stuff as root
2893 for ac_prog in ginstall scoinst install; do
2894 for ac_exec_ext in '' $ac_executable_extensions; do
2895 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2896 if test $ac_prog = install &&
2897 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2898 # AIX install. It has an incompatible calling convention.
2900 elif test $ac_prog = install &&
2901 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2902 # program-specific install script used by HP pwplus--don't use.
2905 rm -rf conftest.one conftest.two conftest.dir
2906 echo one > conftest.one
2907 echo two > conftest.two
2909 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2910 test -s conftest.one && test -s conftest.two &&
2911 test -s conftest.dir/conftest.one &&
2912 test -s conftest.dir/conftest.two
2914 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2927 rm -rf conftest.one conftest.two conftest.dir
2930 if test "${ac_cv_path_install+set}" = set; then
2931 INSTALL=$ac_cv_path_install
2933 # As a last resort, use the slow shell script. Don't cache a
2934 # value for INSTALL within a source directory, because that will
2935 # break other packages using the cache if that directory is
2936 # removed, or if the value is a relative name.
2937 INSTALL=$ac_install_sh
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2941 $as_echo "$INSTALL" >&6; }
2943 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2944 # It thinks the first close brace ends the variable substitution.
2945 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2947 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2949 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2952 $as_echo_n "checking whether build environment is sane... " >&6; }
2955 echo timestamp > conftest.file
2956 # Reject unsafe characters in $srcdir or the absolute working directory
2957 # name. Accept space and tab only in the latter.
2961 *[\\\"\#\$\&\'\`$am_lf]*)
2962 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2965 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2966 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2969 # Do `set' in a subshell so we don't clobber the current shell's
2970 # arguments. Must try -L first in case configure is actually a
2971 # symlink; some systems play weird games with the mod time of symlinks
2972 # (eg FreeBSD returns the mod time of the symlink's containing
2975 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2976 if test "$*" = "X"; then
2978 set X `ls -t "$srcdir/configure" conftest.file`
2981 if test "$*" != "X $srcdir/configure conftest.file" \
2982 && test "$*" != "X conftest.file $srcdir/configure"; then
2984 # If neither matched, then we have a broken ls. This can happen
2985 # if, for instance, CONFIG_SHELL is bash and it inherits a
2986 # broken ls alias from the environment. This has actually
2987 # happened. Such a system could not be considered "sane".
2988 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2989 alias in your environment" "$LINENO" 5
2992 test "$2" = conftest.file
2998 as_fn_error $? "newly created file is older than distributed files!
2999 Check your system clock" "$LINENO" 5
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3002 $as_echo "yes" >&6; }
3003 test "$program_prefix" != NONE &&
3004 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3005 # Use a double $ so make ignores it.
3006 test "$program_suffix" != NONE &&
3007 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3008 # Double any \ or $.
3009 # By default was `s,x,x', remove it if useless.
3010 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3011 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3013 # expand $ac_aux_dir to an absolute path
3014 am_aux_dir=`cd $ac_aux_dir && pwd`
3016 if test x"${MISSING+set}" != xset; then
3019 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3021 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3024 # Use eval to expand $SHELL
3025 if eval "$MISSING --run true"; then
3026 am_missing_run="$MISSING --run "
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3030 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3033 if test x"${install_sh}" != xset; then
3036 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3038 install_sh="\${SHELL} $am_aux_dir/install-sh"
3042 # Installed binaries are usually stripped using `strip' when the user
3043 # run `make install-strip'. However `strip' might not be the right
3044 # tool to use in cross-compilation environments, therefore Automake
3045 # will honor the `STRIP' environment variable to overrule this program.
3046 if test "$cross_compiling" != no; then
3047 if test -n "$ac_tool_prefix"; then
3048 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3049 set dummy ${ac_tool_prefix}strip; ac_word=$2
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3051 $as_echo_n "checking for $ac_word... " >&6; }
3052 if ${ac_cv_prog_STRIP+:} false; then :
3053 $as_echo_n "(cached) " >&6
3055 if test -n "$STRIP"; then
3056 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3062 test -z "$as_dir" && as_dir=.
3063 for ac_exec_ext in '' $ac_executable_extensions; do
3064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3065 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3075 STRIP=$ac_cv_prog_STRIP
3076 if test -n "$STRIP"; then
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3078 $as_echo "$STRIP" >&6; }
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3081 $as_echo "no" >&6; }
3086 if test -z "$ac_cv_prog_STRIP"; then
3088 # Extract the first word of "strip", so it can be a program name with args.
3089 set dummy strip; ac_word=$2
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3091 $as_echo_n "checking for $ac_word... " >&6; }
3092 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3093 $as_echo_n "(cached) " >&6
3095 if test -n "$ac_ct_STRIP"; then
3096 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3102 test -z "$as_dir" && as_dir=.
3103 for ac_exec_ext in '' $ac_executable_extensions; do
3104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3105 ac_cv_prog_ac_ct_STRIP="strip"
3106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3115 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3116 if test -n "$ac_ct_STRIP"; then
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3118 $as_echo "$ac_ct_STRIP" >&6; }
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3121 $as_echo "no" >&6; }
3124 if test "x$ac_ct_STRIP" = x; then
3127 case $cross_compiling:$ac_tool_warned in
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3130 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3131 ac_tool_warned=yes ;;
3136 STRIP="$ac_cv_prog_STRIP"
3140 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3143 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3144 if test -z "$MKDIR_P"; then
3145 if ${ac_cv_path_mkdir+:} false; then :
3146 $as_echo_n "(cached) " >&6
3148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3149 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3152 test -z "$as_dir" && as_dir=.
3153 for ac_prog in mkdir gmkdir; do
3154 for ac_exec_ext in '' $ac_executable_extensions; do
3155 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3156 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3157 'mkdir (GNU coreutils) '* | \
3158 'mkdir (coreutils) '* | \
3159 'mkdir (fileutils) '4.1*)
3160 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3170 test -d ./--version && rmdir ./--version
3171 if test "${ac_cv_path_mkdir+set}" = set; then
3172 MKDIR_P="$ac_cv_path_mkdir -p"
3174 # As a last resort, use the slow shell script. Don't cache a
3175 # value for MKDIR_P within a source directory, because that will
3176 # break other packages using the cache if that directory is
3177 # removed, or if the value is a relative name.
3178 MKDIR_P="$ac_install_sh -d"
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3182 $as_echo "$MKDIR_P" >&6; }
3186 [\\/$]* | ?:[\\/]*) ;;
3187 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3190 for ac_prog in gawk mawk nawk awk
3192 # Extract the first word of "$ac_prog", so it can be a program name with args.
3193 set dummy $ac_prog; ac_word=$2
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3195 $as_echo_n "checking for $ac_word... " >&6; }
3196 if ${ac_cv_prog_AWK+:} false; then :
3197 $as_echo_n "(cached) " >&6
3199 if test -n "$AWK"; then
3200 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3206 test -z "$as_dir" && as_dir=.
3207 for ac_exec_ext in '' $ac_executable_extensions; do
3208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3209 ac_cv_prog_AWK="$ac_prog"
3210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3220 if test -n "$AWK"; then
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3222 $as_echo "$AWK" >&6; }
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3225 $as_echo "no" >&6; }
3229 test -n "$AWK" && break
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3233 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3235 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3236 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3237 $as_echo_n "(cached) " >&6
3239 cat >conftest.make <<\_ACEOF
3242 @echo '@@@%%%=$(MAKE)=@@@%%%'
3244 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3245 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3247 eval ac_cv_prog_make_${ac_make}_set=yes;;
3249 eval ac_cv_prog_make_${ac_make}_set=no;;
3253 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3255 $as_echo "yes" >&6; }
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3259 $as_echo "no" >&6; }
3260 SET_MAKE="MAKE=${MAKE-make}"
3263 rm -rf .tst 2>/dev/null
3264 mkdir .tst 2>/dev/null
3265 if test -d .tst; then
3270 rmdir .tst 2>/dev/null
3272 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3273 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3274 # is not polluted with repeated "-I."
3275 am__isrc=' -I$(srcdir)'
3276 # test to see if srcdir already configured
3277 if test -f $srcdir/config.status; then
3278 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3282 # test whether we have cygpath
3283 if test -z "$CYGPATH_W"; then
3284 if (cygpath --version) >/dev/null 2>/dev/null; then
3285 CYGPATH_W='cygpath -w'
3292 # Define the identity of the package.
3293 PACKAGE='pulseaudio-genivi-mir'
3297 cat >>confdefs.h <<_ACEOF
3298 #define PACKAGE "$PACKAGE"
3302 cat >>confdefs.h <<_ACEOF
3303 #define VERSION "$VERSION"
3306 # Some tools Automake needs.
3308 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3311 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3314 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3317 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3320 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3322 # We need awk for the "check" target. The system "awk" is bad on
3324 # Always define AMTAR for backward compatibility.
3326 AMTAR=${AMTAR-"${am_missing_run}tar"}
3328 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3335 # this would not be really needed if everything would be as it should be
3336 if test x${exec_prefix} = xNONE; then :
3337 LIBDIR=$ac_default_prefix/lib
3348 ac_cpp='$CPP $CPPFLAGS'
3349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3352 if test -n "$ac_tool_prefix"; then
3353 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3354 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3356 $as_echo_n "checking for $ac_word... " >&6; }
3357 if ${ac_cv_prog_CC+:} false; then :
3358 $as_echo_n "(cached) " >&6
3360 if test -n "$CC"; then
3361 ac_cv_prog_CC="$CC" # Let the user override the test.
3363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3367 test -z "$as_dir" && as_dir=.
3368 for ac_exec_ext in '' $ac_executable_extensions; do
3369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3370 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3381 if test -n "$CC"; then
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3383 $as_echo "$CC" >&6; }
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3386 $as_echo "no" >&6; }
3391 if test -z "$ac_cv_prog_CC"; then
3393 # Extract the first word of "gcc", so it can be a program name with args.
3394 set dummy gcc; ac_word=$2
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3396 $as_echo_n "checking for $ac_word... " >&6; }
3397 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3398 $as_echo_n "(cached) " >&6
3400 if test -n "$ac_ct_CC"; then
3401 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3407 test -z "$as_dir" && as_dir=.
3408 for ac_exec_ext in '' $ac_executable_extensions; do
3409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3410 ac_cv_prog_ac_ct_CC="gcc"
3411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3420 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3421 if test -n "$ac_ct_CC"; then
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3423 $as_echo "$ac_ct_CC" >&6; }
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3426 $as_echo "no" >&6; }
3429 if test "x$ac_ct_CC" = x; then
3432 case $cross_compiling:$ac_tool_warned in
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3435 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3436 ac_tool_warned=yes ;;
3444 if test -z "$CC"; then
3445 if test -n "$ac_tool_prefix"; then
3446 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3447 set dummy ${ac_tool_prefix}cc; ac_word=$2
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3449 $as_echo_n "checking for $ac_word... " >&6; }
3450 if ${ac_cv_prog_CC+:} false; then :
3451 $as_echo_n "(cached) " >&6
3453 if test -n "$CC"; then
3454 ac_cv_prog_CC="$CC" # Let the user override the test.
3456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3460 test -z "$as_dir" && as_dir=.
3461 for ac_exec_ext in '' $ac_executable_extensions; do
3462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3463 ac_cv_prog_CC="${ac_tool_prefix}cc"
3464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3474 if test -n "$CC"; then
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3476 $as_echo "$CC" >&6; }
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3479 $as_echo "no" >&6; }
3485 if test -z "$CC"; then
3486 # Extract the first word of "cc", so it can be a program name with args.
3487 set dummy cc; ac_word=$2
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3489 $as_echo_n "checking for $ac_word... " >&6; }
3490 if ${ac_cv_prog_CC+:} false; then :
3491 $as_echo_n "(cached) " >&6
3493 if test -n "$CC"; then
3494 ac_cv_prog_CC="$CC" # Let the user override the test.
3497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3501 test -z "$as_dir" && as_dir=.
3502 for ac_exec_ext in '' $ac_executable_extensions; do
3503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3504 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3505 ac_prog_rejected=yes
3509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3516 if test $ac_prog_rejected = yes; then
3517 # We found a bogon in the path, so make sure we never use it.
3518 set dummy $ac_cv_prog_CC
3520 if test $# != 0; then
3521 # We chose a different compiler from the bogus one.
3522 # However, it has the same basename, so the bogon will be chosen
3523 # first if we set CC to just the basename; use the full file name.
3525 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3531 if test -n "$CC"; then
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3533 $as_echo "$CC" >&6; }
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3536 $as_echo "no" >&6; }
3541 if test -z "$CC"; then
3542 if test -n "$ac_tool_prefix"; then
3543 for ac_prog in cl.exe
3545 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3546 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3548 $as_echo_n "checking for $ac_word... " >&6; }
3549 if ${ac_cv_prog_CC+:} false; then :
3550 $as_echo_n "(cached) " >&6
3552 if test -n "$CC"; then
3553 ac_cv_prog_CC="$CC" # Let the user override the test.
3555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3559 test -z "$as_dir" && as_dir=.
3560 for ac_exec_ext in '' $ac_executable_extensions; do
3561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3562 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3573 if test -n "$CC"; then
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3575 $as_echo "$CC" >&6; }
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3578 $as_echo "no" >&6; }
3582 test -n "$CC" && break
3585 if test -z "$CC"; then
3587 for ac_prog in cl.exe
3589 # Extract the first word of "$ac_prog", so it can be a program name with args.
3590 set dummy $ac_prog; ac_word=$2
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3592 $as_echo_n "checking for $ac_word... " >&6; }
3593 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3594 $as_echo_n "(cached) " >&6
3596 if test -n "$ac_ct_CC"; then
3597 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3603 test -z "$as_dir" && as_dir=.
3604 for ac_exec_ext in '' $ac_executable_extensions; do
3605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3606 ac_cv_prog_ac_ct_CC="$ac_prog"
3607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3616 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3617 if test -n "$ac_ct_CC"; then
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3619 $as_echo "$ac_ct_CC" >&6; }
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3622 $as_echo "no" >&6; }
3626 test -n "$ac_ct_CC" && break
3629 if test "x$ac_ct_CC" = x; then
3632 case $cross_compiling:$ac_tool_warned in
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3635 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3636 ac_tool_warned=yes ;;
3645 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3646 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3647 as_fn_error $? "no acceptable C compiler found in \$PATH
3648 See \`config.log' for more details" "$LINENO" 5; }
3650 # Provide some information about the compiler.
3651 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3654 for ac_option in --version -v -V -qversion; do
3655 { { ac_try="$ac_compiler $ac_option >&5"
3657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3658 *) ac_try_echo=$ac_try;;
3660 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3661 $as_echo "$ac_try_echo"; } >&5
3662 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3664 if test -s conftest.err; then
3666 ... rest of stderr output deleted ...
3667 10q' conftest.err >conftest.er1
3668 cat conftest.er1 >&5
3670 rm -f conftest.er1 conftest.err
3671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3672 test $ac_status = 0; }
3675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3676 /* end confdefs.h. */
3686 ac_clean_files_save=$ac_clean_files
3687 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3688 # Try to create an executable without -o first, disregard a.out.
3689 # It will help us diagnose broken compilers, and finding out an intuition
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3692 $as_echo_n "checking whether the C compiler works... " >&6; }
3693 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3695 # The possible output files:
3696 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3699 for ac_file in $ac_files
3702 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3703 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3708 if { { ac_try="$ac_link_default"
3710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3711 *) ac_try_echo=$ac_try;;
3713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3714 $as_echo "$ac_try_echo"; } >&5
3715 (eval "$ac_link_default") 2>&5
3717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3718 test $ac_status = 0; }; then :
3719 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3720 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3721 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3722 # so that the user can short-circuit this test for compilers unknown to
3724 for ac_file in $ac_files ''
3726 test -f "$ac_file" || continue
3728 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3731 # We found the default executable, but exeext='' is most
3735 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3737 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3739 # We set ac_cv_exeext here because the later test for it is not
3740 # safe: cross compilers may not add the suffix if given an `-o'
3741 # argument, so we may need to know it at that point already.
3742 # Even if this section looks crufty: it has the advantage of
3749 test "$ac_cv_exeext" = no && ac_cv_exeext=
3754 if test -z "$ac_file"; then :
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3756 $as_echo "no" >&6; }
3757 $as_echo "$as_me: failed program was:" >&5
3758 sed 's/^/| /' conftest.$ac_ext >&5
3760 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3761 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3762 as_fn_error 77 "C compiler cannot create executables
3763 See \`config.log' for more details" "$LINENO" 5; }
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3766 $as_echo "yes" >&6; }
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3769 $as_echo_n "checking for C compiler default output file name... " >&6; }
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3771 $as_echo "$ac_file" >&6; }
3772 ac_exeext=$ac_cv_exeext
3774 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3775 ac_clean_files=$ac_clean_files_save
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3777 $as_echo_n "checking for suffix of executables... " >&6; }
3778 if { { ac_try="$ac_link"
3780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3781 *) ac_try_echo=$ac_try;;
3783 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3784 $as_echo "$ac_try_echo"; } >&5
3785 (eval "$ac_link") 2>&5
3787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3788 test $ac_status = 0; }; then :
3789 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3790 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3791 # work properly (i.e., refer to `conftest.exe'), while it won't with
3793 for ac_file in conftest.exe conftest conftest.*; do
3794 test -f "$ac_file" || continue
3796 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3797 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3803 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3804 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3805 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3806 See \`config.log' for more details" "$LINENO" 5; }
3808 rm -f conftest conftest$ac_cv_exeext
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3810 $as_echo "$ac_cv_exeext" >&6; }
3812 rm -f conftest.$ac_ext
3813 EXEEXT=$ac_cv_exeext
3815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3816 /* end confdefs.h. */
3821 FILE *f = fopen ("conftest.out", "w");
3822 return ferror (f) || fclose (f) != 0;
3828 ac_clean_files="$ac_clean_files conftest.out"
3829 # Check that the compiler produces executables we can run. If not, either
3830 # the compiler is broken, or we cross compile.
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3832 $as_echo_n "checking whether we are cross compiling... " >&6; }
3833 if test "$cross_compiling" != yes; then
3834 { { ac_try="$ac_link"
3836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3837 *) ac_try_echo=$ac_try;;
3839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3840 $as_echo "$ac_try_echo"; } >&5
3841 (eval "$ac_link") 2>&5
3843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3844 test $ac_status = 0; }
3845 if { ac_try='./conftest$ac_cv_exeext'
3846 { { case "(($ac_try" in
3847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3848 *) ac_try_echo=$ac_try;;
3850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3851 $as_echo "$ac_try_echo"; } >&5
3852 (eval "$ac_try") 2>&5
3854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3855 test $ac_status = 0; }; }; then
3858 if test "$cross_compiling" = maybe; then
3861 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3862 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3863 as_fn_error $? "cannot run C compiled programs.
3864 If you meant to cross compile, use \`--host'.
3865 See \`config.log' for more details" "$LINENO" 5; }
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3870 $as_echo "$cross_compiling" >&6; }
3872 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3873 ac_clean_files=$ac_clean_files_save
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3875 $as_echo_n "checking for suffix of object files... " >&6; }
3876 if ${ac_cv_objext+:} false; then :
3877 $as_echo_n "(cached) " >&6
3879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3880 /* end confdefs.h. */
3890 rm -f conftest.o conftest.obj
3891 if { { ac_try="$ac_compile"
3893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3894 *) ac_try_echo=$ac_try;;
3896 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3897 $as_echo "$ac_try_echo"; } >&5
3898 (eval "$ac_compile") 2>&5
3900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3901 test $ac_status = 0; }; then :
3902 for ac_file in conftest.o conftest.obj conftest.*; do
3903 test -f "$ac_file" || continue;
3905 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3906 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3911 $as_echo "$as_me: failed program was:" >&5
3912 sed 's/^/| /' conftest.$ac_ext >&5
3914 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3915 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3916 as_fn_error $? "cannot compute suffix of object files: cannot compile
3917 See \`config.log' for more details" "$LINENO" 5; }
3919 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3922 $as_echo "$ac_cv_objext" >&6; }
3923 OBJEXT=$ac_cv_objext
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3926 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3927 if ${ac_cv_c_compiler_gnu+:} false; then :
3928 $as_echo_n "(cached) " >&6
3930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3931 /* end confdefs.h. */
3944 if ac_fn_c_try_compile "$LINENO"; then :
3949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3950 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3954 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3955 if test $ac_compiler_gnu = yes; then
3960 ac_test_CFLAGS=${CFLAGS+set}
3961 ac_save_CFLAGS=$CFLAGS
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3963 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3964 if ${ac_cv_prog_cc_g+:} false; then :
3965 $as_echo_n "(cached) " >&6
3967 ac_save_c_werror_flag=$ac_c_werror_flag
3968 ac_c_werror_flag=yes
3971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3972 /* end confdefs.h. */
3982 if ac_fn_c_try_compile "$LINENO"; then :
3986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3987 /* end confdefs.h. */
3997 if ac_fn_c_try_compile "$LINENO"; then :
4000 ac_c_werror_flag=$ac_save_c_werror_flag
4002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4003 /* end confdefs.h. */
4013 if ac_fn_c_try_compile "$LINENO"; then :
4016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4021 ac_c_werror_flag=$ac_save_c_werror_flag
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4024 $as_echo "$ac_cv_prog_cc_g" >&6; }
4025 if test "$ac_test_CFLAGS" = set; then
4026 CFLAGS=$ac_save_CFLAGS
4027 elif test $ac_cv_prog_cc_g = yes; then
4028 if test "$GCC" = yes; then
4034 if test "$GCC" = yes; then
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4041 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4042 if ${ac_cv_prog_cc_c89+:} false; then :
4043 $as_echo_n "(cached) " >&6
4045 ac_cv_prog_cc_c89=no
4047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4048 /* end confdefs.h. */
4051 #include <sys/types.h>
4052 #include <sys/stat.h>
4053 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4054 struct buf { int x; };
4055 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4056 static char *e (p, i)
4062 static char *f (char * (*g) (char **, int), char **p, ...)
4067 s = g (p, va_arg (v,int));
4072 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4073 function prototypes and stuff, but not '\xHH' hex character constants.
4074 These don't provoke an error unfortunately, instead are silently treated
4075 as 'x'. The following induces an error, until -std is added to get
4076 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4077 array size at least. It's necessary to write '\x00'==0 to get something
4078 that's true only with -std. */
4079 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4081 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4082 inside strings and character constants. */
4084 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4086 int test (int i, double x);
4087 struct s1 {int (*f) (int a);};
4088 struct s2 {int (*f) (double a);};
4089 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4095 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4100 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4101 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4103 CC="$ac_save_CC $ac_arg"
4104 if ac_fn_c_try_compile "$LINENO"; then :
4105 ac_cv_prog_cc_c89=$ac_arg
4107 rm -f core conftest.err conftest.$ac_objext
4108 test "x$ac_cv_prog_cc_c89" != "xno" && break
4110 rm -f conftest.$ac_ext
4115 case "x$ac_cv_prog_cc_c89" in
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4118 $as_echo "none needed" >&6; } ;;
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4121 $as_echo "unsupported" >&6; } ;;
4123 CC="$CC $ac_cv_prog_cc_c89"
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4125 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4127 if test "x$ac_cv_prog_cc_c89" != xno; then :
4132 ac_cpp='$CPP $CPPFLAGS'
4133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4136 DEPDIR="${am__leading_dot}deps"
4138 ac_config_commands="$ac_config_commands depfiles"
4141 am_make=${MAKE-make}
4142 cat > confinc << 'END'
4144 @echo this is the am__doit target
4147 # If we don't find an include directive, just comment out the code.
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4149 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4153 # First try GNU make style include.
4154 echo "include confinc" > confmf
4155 # Ignore all kinds of additional output from `make'.
4156 case `$am_make -s -f confmf 2> /dev/null` in #(
4157 *the\ am__doit\ target*)
4163 # Now try BSD make style include.
4164 if test "$am__include" = "#"; then
4165 echo '.include "confinc"' > confmf
4166 case `$am_make -s -f confmf 2> /dev/null` in #(
4167 *the\ am__doit\ target*)
4168 am__include=.include
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4177 $as_echo "$_am_result" >&6; }
4178 rm -f confinc confmf
4180 # Check whether --enable-dependency-tracking was given.
4181 if test "${enable_dependency_tracking+set}" = set; then :
4182 enableval=$enable_dependency_tracking;
4185 if test "x$enable_dependency_tracking" != xno; then
4186 am_depcomp="$ac_aux_dir/depcomp"
4189 if test "x$enable_dependency_tracking" != xno; then
4199 depcc="$CC" am_compiler_list=
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4202 $as_echo_n "checking dependency style of $depcc... " >&6; }
4203 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4204 $as_echo_n "(cached) " >&6
4206 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4207 # We make a subdir and do the tests there. Otherwise we can end up
4208 # making bogus files that we don't know about and never remove. For
4209 # instance it was reported that on HP-UX the gcc test will end up
4210 # making a dummy file named `D' -- because `-MD' means `put the output
4213 # Copy depcomp to subdir because otherwise we won't find it if we're
4214 # using a relative directory.
4215 cp "$am_depcomp" conftest.dir
4217 # We will build objects and dependencies in a subdirectory because
4218 # it helps to detect inapplicable dependency modes. For instance
4219 # both Tru64's cc and ICC support -MD to output dependencies as a
4220 # side effect of compilation, but ICC will put the dependencies in
4221 # the current directory while Tru64 will put them in the object
4225 am_cv_CC_dependencies_compiler_type=none
4226 if test "$am_compiler_list" = ""; then
4227 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4230 case " $depcc " in #(
4231 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4234 for depmode in $am_compiler_list; do
4235 # Setup a source with many dependencies, because some compilers
4236 # like to wrap large dependency lists on column 80 (with \), and
4237 # we should not choose a depcomp mode which is confused by this.
4239 # We need to recreate these files for each test, as the compiler may
4240 # overwrite some of them when testing with obscure command lines.
4241 # This happens at least with the AIX C compiler.
4243 for i in 1 2 3 4 5 6; do
4244 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4245 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4246 # Solaris 8's {/usr,}/bin/sh.
4247 touch sub/conftst$i.h
4249 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4251 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4252 # mode. It turns out that the SunPro C++ compiler does not properly
4253 # handle `-M -o', and we need to detect this. Also, some Intel
4254 # versions had trouble with output in subdirs
4255 am__obj=sub/conftest.${OBJEXT-o}
4256 am__minus_obj="-o $am__obj"
4259 # This depmode causes a compiler race in universal mode.
4260 test "$am__universal" = false || continue
4263 # after this tag, mechanisms are not by side-effect, so they'll
4264 # only be used when explicitly requested
4265 if test "x$enable_dependency_tracking" = xyes; then
4271 msvisualcpp | msvcmsys)
4272 # This compiler won't grok `-c -o', but also, the minuso test has
4273 # not run yet. These depmodes are late enough in the game, and
4274 # so weak that their functioning should not be impacted.
4275 am__obj=conftest.${OBJEXT-o}
4280 if depmode=$depmode \
4281 source=sub/conftest.c object=$am__obj \
4282 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4283 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4284 >/dev/null 2>conftest.err &&
4285 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4286 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4287 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4288 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4289 # icc doesn't choke on unknown options, it will just issue warnings
4290 # or remarks (even with -Werror). So we grep stderr for any message
4291 # that says an option was ignored or not supported.
4292 # When given -MP, icc 7.0 and 7.1 complain thusly:
4293 # icc: Command line warning: ignoring option '-M'; no argument required
4294 # The diagnosis changed in icc 8.0:
4295 # icc: Command line remark: option '-MP' not supported
4296 if (grep 'ignoring option' conftest.err ||
4297 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4298 am_cv_CC_dependencies_compiler_type=$depmode
4307 am_cv_CC_dependencies_compiler_type=none
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4312 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4313 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4316 test "x$enable_dependency_tracking" != xno \
4317 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4319 am__fastdepCC_FALSE='#'
4321 am__fastdepCC_TRUE='#'
4322 am__fastdepCC_FALSE=
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4327 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4328 if ${ac_cv_prog_cc_c99+:} false; then :
4329 $as_echo_n "(cached) " >&6
4331 ac_cv_prog_cc_c99=no
4333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4334 /* end confdefs.h. */
4336 #include <stdbool.h>
4341 // Check varargs macros. These examples are taken from C99 6.10.3.5.
4342 #define debug(...) fprintf (stderr, __VA_ARGS__)
4343 #define showlist(...) puts (#__VA_ARGS__)
4344 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4346 test_varargs_macros (void)
4351 debug ("X = %d\n", x);
4352 showlist (The first, second, and third items.);
4353 report (x>y, "x is %d but y is %d", x, y);
4356 // Check long long types.
4357 #define BIG64 18446744073709551615ull
4358 #define BIG32 4294967295ul
4359 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4361 your preprocessor is broken;
4365 your preprocessor is broken;
4367 static long long int bignum = -9223372036854775807LL;
4368 static unsigned long long int ubignum = BIG64;
4370 struct incomplete_array
4378 const wchar_t *name;
4382 typedef const char *ccp;
4385 test_restrict (ccp restrict text)
4387 // See if C++-style comments work.
4388 // Iterate through items via the restricted pointer.
4389 // Also check for declarations in for loops.
4390 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4395 // Check varargs and va_copy.
4397 test_varargs (const char *format, ...)
4400 va_start (args, format);
4402 va_copy (args_copy, args);
4413 str = va_arg (args_copy, const char *);
4416 number = va_arg (args_copy, int);
4419 fnumber = va_arg (args_copy, double);
4434 _Bool success = false;
4437 if (test_restrict ("String literal") == 0)
4439 char *restrict newvar = "Another string";
4442 test_varargs ("s, d' f .", "string", 65, 34.234);
4443 test_varargs_macros ();
4445 // Check flexible array members.
4446 struct incomplete_array *ia =
4447 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4449 for (int i = 0; i < ia->datasize; ++i)
4450 ia->data[i] = i * 1.234;
4452 // Check named initializers.
4453 struct named_init ni = {
4455 .name = L"Test wide string",
4456 .average = 543.34343,
4461 int dynamic_array[ni.number];
4462 dynamic_array[ni.number - 1] = 543;
4464 // work around unused variable warnings
4465 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4466 || dynamic_array[ni.number - 1] != 543);
4472 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4474 CC="$ac_save_CC $ac_arg"
4475 if ac_fn_c_try_compile "$LINENO"; then :
4476 ac_cv_prog_cc_c99=$ac_arg
4478 rm -f core conftest.err conftest.$ac_objext
4479 test "x$ac_cv_prog_cc_c99" != "xno" && break
4481 rm -f conftest.$ac_ext
4486 case "x$ac_cv_prog_cc_c99" in
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4489 $as_echo "none needed" >&6; } ;;
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4492 $as_echo "unsupported" >&6; } ;;
4494 CC="$CC $ac_cv_prog_cc_c99"
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4496 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4498 if test "x$ac_cv_prog_cc_c99" != xno; then :
4503 if test "x$CC" != xcc; then
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4505 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4508 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4510 set dummy $CC; ac_cc=`$as_echo "$2" |
4511 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4512 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4513 $as_echo_n "(cached) " >&6
4515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4516 /* end confdefs.h. */
4526 # Make sure it works both with $CC and with simple cc.
4527 # We do the test twice because some compilers refuse to overwrite an
4528 # existing .o file with -o, though they will create one.
4529 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4531 if { { case "(($ac_try" in
4532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4533 *) ac_try_echo=$ac_try;;
4535 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4536 $as_echo "$ac_try_echo"; } >&5
4537 (eval "$ac_try") 2>&5
4539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4540 test $ac_status = 0; } &&
4541 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4543 *) ac_try_echo=$ac_try;;
4545 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4546 $as_echo "$ac_try_echo"; } >&5
4547 (eval "$ac_try") 2>&5
4549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4550 test $ac_status = 0; };
4552 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4553 if test "x$CC" != xcc; then
4554 # Test first that cc exists at all.
4555 if { ac_try='cc -c conftest.$ac_ext >&5'
4556 { { case "(($ac_try" in
4557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4558 *) ac_try_echo=$ac_try;;
4560 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4561 $as_echo "$ac_try_echo"; } >&5
4562 (eval "$ac_try") 2>&5
4564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4565 test $ac_status = 0; }; }; then
4566 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4568 if { { case "(($ac_try" in
4569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4570 *) ac_try_echo=$ac_try;;
4572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4573 $as_echo "$ac_try_echo"; } >&5
4574 (eval "$ac_try") 2>&5
4576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4577 test $ac_status = 0; } &&
4578 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4580 *) ac_try_echo=$ac_try;;
4582 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4583 $as_echo "$ac_try_echo"; } >&5
4584 (eval "$ac_try") 2>&5
4586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4587 test $ac_status = 0; };
4592 # cc exists but doesn't like -o.
4593 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4598 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4600 rm -f core conftest*
4603 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4605 $as_echo "yes" >&6; }
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4608 $as_echo "no" >&6; }
4610 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4614 # FIXME: we rely on the cache variable name because
4615 # there is no other way.
4617 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4618 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4619 if test "$am_t" != yes; then
4620 # Losing compiler, so override with the script.
4621 # FIXME: It is wrong to rewrite CC.
4622 # But if we don't then we get into trouble of one sort or another.
4623 # A longer-term fix would be to have automake use am__CC in this case,
4624 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4625 CC="$am_aux_dir/compile $CC"
4631 ac_cpp='$CPP $CPPFLAGS'
4632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4636 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4637 # On Suns, sometimes $CPP names a directory.
4638 if test -n "$CPP" && test -d "$CPP"; then
4641 if test -z "$CPP"; then
4642 if ${ac_cv_prog_CPP+:} false; then :
4643 $as_echo_n "(cached) " >&6
4645 # Double quotes because CPP needs to be expanded
4646 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4649 for ac_c_preproc_warn_flag in '' yes
4651 # Use a header file that comes with gcc, so configuring glibc
4652 # with a fresh cross-compiler works.
4653 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4654 # <limits.h> exists even on freestanding compilers.
4655 # On the NeXT, cc -E runs the code through the compiler's parser,
4656 # not just through cpp. "Syntax error" is here to catch this case.
4657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4658 /* end confdefs.h. */
4660 # include <limits.h>
4662 # include <assert.h>
4666 if ac_fn_c_try_cpp "$LINENO"; then :
4669 # Broken: fails on valid input.
4672 rm -f conftest.err conftest.i conftest.$ac_ext
4674 # OK, works on sane cases. Now check whether nonexistent headers
4675 # can be detected and how.
4676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4677 /* end confdefs.h. */
4678 #include <ac_nonexistent.h>
4680 if ac_fn_c_try_cpp "$LINENO"; then :
4681 # Broken: success on invalid input.
4684 # Passes both tests.
4688 rm -f conftest.err conftest.i conftest.$ac_ext
4691 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4692 rm -f conftest.i conftest.err conftest.$ac_ext
4693 if $ac_preproc_ok; then :
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4706 $as_echo "$CPP" >&6; }
4708 for ac_c_preproc_warn_flag in '' yes
4710 # Use a header file that comes with gcc, so configuring glibc
4711 # with a fresh cross-compiler works.
4712 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4713 # <limits.h> exists even on freestanding compilers.
4714 # On the NeXT, cc -E runs the code through the compiler's parser,
4715 # not just through cpp. "Syntax error" is here to catch this case.
4716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4717 /* end confdefs.h. */
4719 # include <limits.h>
4721 # include <assert.h>
4725 if ac_fn_c_try_cpp "$LINENO"; then :
4728 # Broken: fails on valid input.
4731 rm -f conftest.err conftest.i conftest.$ac_ext
4733 # OK, works on sane cases. Now check whether nonexistent headers
4734 # can be detected and how.
4735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4736 /* end confdefs.h. */
4737 #include <ac_nonexistent.h>
4739 if ac_fn_c_try_cpp "$LINENO"; then :
4740 # Broken: success on invalid input.
4743 # Passes both tests.
4747 rm -f conftest.err conftest.i conftest.$ac_ext
4750 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4751 rm -f conftest.i conftest.err conftest.$ac_ext
4752 if $ac_preproc_ok; then :
4755 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4756 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4757 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4758 See \`config.log' for more details" "$LINENO" 5; }
4762 ac_cpp='$CPP $CPPFLAGS'
4763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4769 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4770 if ${ac_cv_path_GREP+:} false; then :
4771 $as_echo_n "(cached) " >&6
4773 if test -z "$GREP"; then
4774 ac_path_GREP_found=false
4775 # Loop through the user's path and test for each of PROGNAME-LIST
4776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4777 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4780 test -z "$as_dir" && as_dir=.
4781 for ac_prog in grep ggrep; do
4782 for ac_exec_ext in '' $ac_executable_extensions; do
4783 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4784 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4785 # Check for GNU ac_path_GREP and select it if it is found.
4786 # Check for GNU $ac_path_GREP
4787 case `"$ac_path_GREP" --version 2>&1` in
4789 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4792 $as_echo_n 0123456789 >"conftest.in"
4795 cat "conftest.in" "conftest.in" >"conftest.tmp"
4796 mv "conftest.tmp" "conftest.in"
4797 cp "conftest.in" "conftest.nl"
4798 $as_echo 'GREP' >> "conftest.nl"
4799 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4800 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4801 as_fn_arith $ac_count + 1 && ac_count=$as_val
4802 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4803 # Best one so far, save it but keep looking for a better one
4804 ac_cv_path_GREP="$ac_path_GREP"
4805 ac_path_GREP_max=$ac_count
4807 # 10*(2^10) chars as input seems more than enough
4808 test $ac_count -gt 10 && break
4810 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4813 $ac_path_GREP_found && break 3
4818 if test -z "$ac_cv_path_GREP"; then
4819 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4822 ac_cv_path_GREP=$GREP
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4827 $as_echo "$ac_cv_path_GREP" >&6; }
4828 GREP="$ac_cv_path_GREP"
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4832 $as_echo_n "checking for egrep... " >&6; }
4833 if ${ac_cv_path_EGREP+:} false; then :
4834 $as_echo_n "(cached) " >&6
4836 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4837 then ac_cv_path_EGREP="$GREP -E"
4839 if test -z "$EGREP"; then
4840 ac_path_EGREP_found=false
4841 # Loop through the user's path and test for each of PROGNAME-LIST
4842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4843 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4846 test -z "$as_dir" && as_dir=.
4847 for ac_prog in egrep; do
4848 for ac_exec_ext in '' $ac_executable_extensions; do
4849 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4850 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4851 # Check for GNU ac_path_EGREP and select it if it is found.
4852 # Check for GNU $ac_path_EGREP
4853 case `"$ac_path_EGREP" --version 2>&1` in
4855 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4858 $as_echo_n 0123456789 >"conftest.in"
4861 cat "conftest.in" "conftest.in" >"conftest.tmp"
4862 mv "conftest.tmp" "conftest.in"
4863 cp "conftest.in" "conftest.nl"
4864 $as_echo 'EGREP' >> "conftest.nl"
4865 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4866 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4867 as_fn_arith $ac_count + 1 && ac_count=$as_val
4868 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4869 # Best one so far, save it but keep looking for a better one
4870 ac_cv_path_EGREP="$ac_path_EGREP"
4871 ac_path_EGREP_max=$ac_count
4873 # 10*(2^10) chars as input seems more than enough
4874 test $ac_count -gt 10 && break
4876 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4879 $ac_path_EGREP_found && break 3
4884 if test -z "$ac_cv_path_EGREP"; then
4885 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4888 ac_cv_path_EGREP=$EGREP
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4894 $as_echo "$ac_cv_path_EGREP" >&6; }
4895 EGREP="$ac_cv_path_EGREP"
4898 if test $ac_cv_c_compiler_gnu = yes; then
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
4900 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
4901 if ${ac_cv_prog_gcc_traditional+:} false; then :
4902 $as_echo_n "(cached) " >&6
4904 ac_pattern="Autoconf.*'x'"
4905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4906 /* end confdefs.h. */
4910 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4911 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
4912 ac_cv_prog_gcc_traditional=yes
4914 ac_cv_prog_gcc_traditional=no
4919 if test $ac_cv_prog_gcc_traditional = no; then
4920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4921 /* end confdefs.h. */
4925 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4926 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
4927 ac_cv_prog_gcc_traditional=yes
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
4934 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
4935 if test $ac_cv_prog_gcc_traditional = yes; then
4936 CC="$CC -traditional"
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4941 $as_echo_n "checking for ANSI C header files... " >&6; }
4942 if ${ac_cv_header_stdc+:} false; then :
4943 $as_echo_n "(cached) " >&6
4945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4946 /* end confdefs.h. */
4960 if ac_fn_c_try_compile "$LINENO"; then :
4961 ac_cv_header_stdc=yes
4963 ac_cv_header_stdc=no
4965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4967 if test $ac_cv_header_stdc = yes; then
4968 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4970 /* end confdefs.h. */
4974 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4975 $EGREP "memchr" >/dev/null 2>&1; then :
4978 ac_cv_header_stdc=no
4984 if test $ac_cv_header_stdc = yes; then
4985 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4987 /* end confdefs.h. */
4991 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4992 $EGREP "free" >/dev/null 2>&1; then :
4995 ac_cv_header_stdc=no
5001 if test $ac_cv_header_stdc = yes; then
5002 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5003 if test "$cross_compiling" = yes; then :
5006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5007 /* end confdefs.h. */
5010 #if ((' ' & 0x0FF) == 0x020)
5011 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5012 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5014 # define ISLOWER(c) \
5015 (('a' <= (c) && (c) <= 'i') \
5016 || ('j' <= (c) && (c) <= 'r') \
5017 || ('s' <= (c) && (c) <= 'z'))
5018 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5021 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5026 for (i = 0; i < 256; i++)
5027 if (XOR (islower (i), ISLOWER (i))
5028 || toupper (i) != TOUPPER (i))
5033 if ac_fn_c_try_run "$LINENO"; then :
5036 ac_cv_header_stdc=no
5038 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5039 conftest.$ac_objext conftest.beam conftest.$ac_ext
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5045 $as_echo "$ac_cv_header_stdc" >&6; }
5046 if test $ac_cv_header_stdc = yes; then
5048 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5052 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5053 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5054 inttypes.h stdint.h unistd.h
5056 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5057 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5059 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5060 cat >>confdefs.h <<_ACEOF
5061 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5070 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5071 if test "x$ac_cv_header_minix_config_h" = xyes; then :
5078 if test "$MINIX" = yes; then
5080 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5083 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5086 $as_echo "#define _MINIX 1" >>confdefs.h
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5092 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5093 if ${ac_cv_safe_to_define___extensions__+:} false; then :
5094 $as_echo_n "(cached) " >&6
5096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5097 /* end confdefs.h. */
5099 # define __EXTENSIONS__ 1
5100 $ac_includes_default
5109 if ac_fn_c_try_compile "$LINENO"; then :
5110 ac_cv_safe_to_define___extensions__=yes
5112 ac_cv_safe_to_define___extensions__=no
5114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5117 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5118 test $ac_cv_safe_to_define___extensions__ = yes &&
5119 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5121 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5123 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5125 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5127 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5131 # Extract the first word of "m4 gm4", so it can be a program name with args.
5132 set dummy m4 gm4; ac_word=$2
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5134 $as_echo_n "checking for $ac_word... " >&6; }
5135 if ${ac_cv_path_M4+:} false; then :
5136 $as_echo_n "(cached) " >&6
5140 ac_cv_path_M4="$M4" # Let the user override the test with a path.
5143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5147 test -z "$as_dir" && as_dir=.
5148 for ac_exec_ext in '' $ac_executable_extensions; do
5149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5150 ac_cv_path_M4="$as_dir/$ac_word$ac_exec_ext"
5151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5158 test -z "$ac_cv_path_M4" && ac_cv_path_M4="no"
5163 if test -n "$M4"; then
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M4" >&5
5165 $as_echo "$M4" >&6; }
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5168 $as_echo "no" >&6; }
5172 if test "x$M4" = xno ; then
5173 as_fn_error $? "m4 missing" "$LINENO" 5
5177 #DESIRED_FLAGS="-Wall -W -Wextra -pedantic -pipe -Wno-long-long -Wvla -Wno-overlength-strings -Wconversion -Wundef -Wformat -Wlogical-op -Wpacked -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wcast-align -Wwrite-strings -Wno-unused-parameter -ffast-math"
5179 #for flag in $DESIRED_FLAGS ; do
5180 # CC_CHECK_CFLAGS([$flag], [CFLAGS="$CFLAGS $flag"])
5189 if test -f $prefix/lib/libltdl.la; then
5190 lt_save_LDFLAGS="$LDFLAGS"
5191 LDFLAGS="-L$prefix/lib $LDFLAGS"
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dlinit in -lltdl" >&5
5193 $as_echo_n "checking for lt_dlinit in -lltdl... " >&6; }
5194 if ${ac_cv_lib_ltdl_lt_dlinit+:} false; then :
5195 $as_echo_n "(cached) " >&6
5197 ac_check_lib_save_LIBS=$LIBS
5199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5200 /* end confdefs.h. */
5202 /* Override any GCC internal prototype to avoid an error.
5203 Use char because int might match the return type of a GCC
5204 builtin and then its argument prototype would still apply. */
5212 return lt_dlinit ();
5217 if ac_fn_c_try_link "$LINENO"; then :
5218 ac_cv_lib_ltdl_lt_dlinit=yes
5220 ac_cv_lib_ltdl_lt_dlinit=no
5222 rm -f core conftest.err conftest.$ac_objext \
5223 conftest$ac_exeext conftest.$ac_ext
5224 LIBS=$ac_check_lib_save_LIBS
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dlinit" >&5
5227 $as_echo "$ac_cv_lib_ltdl_lt_dlinit" >&6; }
5228 if test "x$ac_cv_lib_ltdl_lt_dlinit" = xyes; then :
5232 LDFLAGS="$lt_save_LDFLAGS"
5233 if test x"${lt_lib_ltdl-no}" = xyes; then
5234 if test x"$enable_ltdl_install" != xyes; then
5235 # Don't overwrite $prefix/lib/libltdl.la without --enable-ltdl-install
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: not overwriting libltdl at $prefix, force with \`--enable-ltdl-install'" >&5
5237 $as_echo "$as_me: WARNING: not overwriting libltdl at $prefix, force with \`--enable-ltdl-install'" >&2;}
5238 enable_ltdl_install=no
5240 elif test x"$enable_ltdl_install" = xno; then
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libltdl not installed, but installation disabled" >&5
5242 $as_echo "$as_me: WARNING: libltdl not installed, but installation disabled" >&2;}
5246 # If configure.ac declared an installable ltdl, and the user didn't override
5247 # with --disable-ltdl-install, we will install the shipped libltdl.
5248 case $enable_ltdl_install in
5249 no) ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
5254 *) enable_ltdl_install=yes
5255 ac_configure_args="$ac_configure_args --enable-ltdl-install"
5256 LIBLTDL='${top_build_prefix}'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdl.la"
5258 LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
5266 # For backwards non-gettext consistent compatibility...
5274 # Make sure we can run config.sub.
5275 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5276 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5279 $as_echo_n "checking build system type... " >&6; }
5280 if ${ac_cv_build+:} false; then :
5281 $as_echo_n "(cached) " >&6
5283 ac_build_alias=$build_alias
5284 test "x$ac_build_alias" = x &&
5285 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5286 test "x$ac_build_alias" = x &&
5287 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5288 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5289 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5293 $as_echo "$ac_cv_build" >&6; }
5294 case $ac_cv_build in
5296 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5299 ac_save_IFS=$IFS; IFS='-'
5305 # Remember, the first character of IFS is used to create $*,
5306 # except with old shells:
5309 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5313 $as_echo_n "checking host system type... " >&6; }
5314 if ${ac_cv_host+:} false; then :
5315 $as_echo_n "(cached) " >&6
5317 if test "x$host_alias" = x; then
5318 ac_cv_host=$ac_cv_build
5320 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5321 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5326 $as_echo "$ac_cv_host" >&6; }
5329 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5332 ac_save_IFS=$IFS; IFS='-'
5338 # Remember, the first character of IFS is used to create $*,
5339 # except with old shells:
5342 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5345 enable_win32_dll=yes
5348 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
5349 if test -n "$ac_tool_prefix"; then
5350 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5351 set dummy ${ac_tool_prefix}as; ac_word=$2
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5353 $as_echo_n "checking for $ac_word... " >&6; }
5354 if ${ac_cv_prog_AS+:} false; then :
5355 $as_echo_n "(cached) " >&6
5357 if test -n "$AS"; then
5358 ac_cv_prog_AS="$AS" # Let the user override the test.
5360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5364 test -z "$as_dir" && as_dir=.
5365 for ac_exec_ext in '' $ac_executable_extensions; do
5366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5367 ac_cv_prog_AS="${ac_tool_prefix}as"
5368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5378 if test -n "$AS"; then
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5380 $as_echo "$AS" >&6; }
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5383 $as_echo "no" >&6; }
5388 if test -z "$ac_cv_prog_AS"; then
5390 # Extract the first word of "as", so it can be a program name with args.
5391 set dummy as; ac_word=$2
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5393 $as_echo_n "checking for $ac_word... " >&6; }
5394 if ${ac_cv_prog_ac_ct_AS+:} false; then :
5395 $as_echo_n "(cached) " >&6
5397 if test -n "$ac_ct_AS"; then
5398 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5404 test -z "$as_dir" && as_dir=.
5405 for ac_exec_ext in '' $ac_executable_extensions; do
5406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5407 ac_cv_prog_ac_ct_AS="as"
5408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5417 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5418 if test -n "$ac_ct_AS"; then
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5420 $as_echo "$ac_ct_AS" >&6; }
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5423 $as_echo "no" >&6; }
5426 if test "x$ac_ct_AS" = x; then
5429 case $cross_compiling:$ac_tool_warned in
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5432 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5433 ac_tool_warned=yes ;;
5441 if test -n "$ac_tool_prefix"; then
5442 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5443 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5445 $as_echo_n "checking for $ac_word... " >&6; }
5446 if ${ac_cv_prog_DLLTOOL+:} false; then :
5447 $as_echo_n "(cached) " >&6
5449 if test -n "$DLLTOOL"; then
5450 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5456 test -z "$as_dir" && as_dir=.
5457 for ac_exec_ext in '' $ac_executable_extensions; do
5458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5459 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5469 DLLTOOL=$ac_cv_prog_DLLTOOL
5470 if test -n "$DLLTOOL"; then
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5472 $as_echo "$DLLTOOL" >&6; }
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5475 $as_echo "no" >&6; }
5480 if test -z "$ac_cv_prog_DLLTOOL"; then
5481 ac_ct_DLLTOOL=$DLLTOOL
5482 # Extract the first word of "dlltool", so it can be a program name with args.
5483 set dummy dlltool; ac_word=$2
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5485 $as_echo_n "checking for $ac_word... " >&6; }
5486 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5487 $as_echo_n "(cached) " >&6
5489 if test -n "$ac_ct_DLLTOOL"; then
5490 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5496 test -z "$as_dir" && as_dir=.
5497 for ac_exec_ext in '' $ac_executable_extensions; do
5498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5499 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5509 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5510 if test -n "$ac_ct_DLLTOOL"; then
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5512 $as_echo "$ac_ct_DLLTOOL" >&6; }
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5515 $as_echo "no" >&6; }
5518 if test "x$ac_ct_DLLTOOL" = x; then
5521 case $cross_compiling:$ac_tool_warned in
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5524 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5525 ac_tool_warned=yes ;;
5527 DLLTOOL=$ac_ct_DLLTOOL
5530 DLLTOOL="$ac_cv_prog_DLLTOOL"
5533 if test -n "$ac_tool_prefix"; then
5534 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5535 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5537 $as_echo_n "checking for $ac_word... " >&6; }
5538 if ${ac_cv_prog_OBJDUMP+:} false; then :
5539 $as_echo_n "(cached) " >&6
5541 if test -n "$OBJDUMP"; then
5542 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5548 test -z "$as_dir" && as_dir=.
5549 for ac_exec_ext in '' $ac_executable_extensions; do
5550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5551 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5561 OBJDUMP=$ac_cv_prog_OBJDUMP
5562 if test -n "$OBJDUMP"; then
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5564 $as_echo "$OBJDUMP" >&6; }
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5567 $as_echo "no" >&6; }
5572 if test -z "$ac_cv_prog_OBJDUMP"; then
5573 ac_ct_OBJDUMP=$OBJDUMP
5574 # Extract the first word of "objdump", so it can be a program name with args.
5575 set dummy objdump; ac_word=$2
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5577 $as_echo_n "checking for $ac_word... " >&6; }
5578 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5579 $as_echo_n "(cached) " >&6
5581 if test -n "$ac_ct_OBJDUMP"; then
5582 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5588 test -z "$as_dir" && as_dir=.
5589 for ac_exec_ext in '' $ac_executable_extensions; do
5590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5591 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5601 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5602 if test -n "$ac_ct_OBJDUMP"; then
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5604 $as_echo "$ac_ct_OBJDUMP" >&6; }
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5607 $as_echo "no" >&6; }
5610 if test "x$ac_ct_OBJDUMP" = x; then
5613 case $cross_compiling:$ac_tool_warned in
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5616 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5617 ac_tool_warned=yes ;;
5619 OBJDUMP=$ac_ct_OBJDUMP
5622 OBJDUMP="$ac_cv_prog_OBJDUMP"
5628 test -z "$AS" && AS=as
5634 test -z "$DLLTOOL" && DLLTOOL=dlltool
5640 test -z "$OBJDUMP" && OBJDUMP=objdump
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5651 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5657 macro_revision='1.3293'
5671 ltmain="$ac_aux_dir/ltmain.sh"
5673 # Backslashify metacharacters that are still active within
5674 # double-quoted strings.
5675 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5677 # Same as above, but do not quote variable references.
5678 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5680 # Sed substitution to delay expansion of an escaped shell variable in a
5681 # double_quote_subst'ed string.
5682 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5684 # Sed substitution to delay expansion of an escaped single quote.
5685 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5687 # Sed substitution to avoid accidental globbing in evaled expressions
5688 no_glob_subst='s/\*/\\\*/g'
5690 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5691 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5692 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5695 $as_echo_n "checking how to print strings... " >&6; }
5696 # Test print first, because it will be a builtin if present.
5697 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5698 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5700 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5703 # Use this function as a fallback that always works.
5704 func_fallback_echo ()
5706 eval 'cat <<_LTECHO_EOF
5710 ECHO='func_fallback_echo'
5713 # func_echo_all arg...
5714 # Invoke $ECHO with all args, space-separated.
5721 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5722 $as_echo "printf" >&6; } ;;
5723 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5724 $as_echo "print -r" >&6; } ;;
5725 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5726 $as_echo "cat" >&6; } ;;
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5743 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5744 if ${ac_cv_path_SED+:} false; then :
5745 $as_echo_n "(cached) " >&6
5747 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5748 for ac_i in 1 2 3 4 5 6 7; do
5749 ac_script="$ac_script$as_nl$ac_script"
5751 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5752 { ac_script=; unset ac_script;}
5753 if test -z "$SED"; then
5754 ac_path_SED_found=false
5755 # Loop through the user's path and test for each of PROGNAME-LIST
5756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5760 test -z "$as_dir" && as_dir=.
5761 for ac_prog in sed gsed; do
5762 for ac_exec_ext in '' $ac_executable_extensions; do
5763 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5764 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5765 # Check for GNU ac_path_SED and select it if it is found.
5766 # Check for GNU $ac_path_SED
5767 case `"$ac_path_SED" --version 2>&1` in
5769 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5772 $as_echo_n 0123456789 >"conftest.in"
5775 cat "conftest.in" "conftest.in" >"conftest.tmp"
5776 mv "conftest.tmp" "conftest.in"
5777 cp "conftest.in" "conftest.nl"
5778 $as_echo '' >> "conftest.nl"
5779 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5780 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5781 as_fn_arith $ac_count + 1 && ac_count=$as_val
5782 if test $ac_count -gt ${ac_path_SED_max-0}; then
5783 # Best one so far, save it but keep looking for a better one
5784 ac_cv_path_SED="$ac_path_SED"
5785 ac_path_SED_max=$ac_count
5787 # 10*(2^10) chars as input seems more than enough
5788 test $ac_count -gt 10 && break
5790 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5793 $ac_path_SED_found && break 3
5798 if test -z "$ac_cv_path_SED"; then
5799 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5807 $as_echo "$ac_cv_path_SED" >&6; }
5808 SED="$ac_cv_path_SED"
5811 test -z "$SED" && SED=sed
5812 Xsed="$SED -e 1s/^X//"
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5825 $as_echo_n "checking for fgrep... " >&6; }
5826 if ${ac_cv_path_FGREP+:} false; then :
5827 $as_echo_n "(cached) " >&6
5829 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5830 then ac_cv_path_FGREP="$GREP -F"
5832 if test -z "$FGREP"; then
5833 ac_path_FGREP_found=false
5834 # Loop through the user's path and test for each of PROGNAME-LIST
5835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5836 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5839 test -z "$as_dir" && as_dir=.
5840 for ac_prog in fgrep; do
5841 for ac_exec_ext in '' $ac_executable_extensions; do
5842 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5843 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5844 # Check for GNU ac_path_FGREP and select it if it is found.
5845 # Check for GNU $ac_path_FGREP
5846 case `"$ac_path_FGREP" --version 2>&1` in
5848 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5851 $as_echo_n 0123456789 >"conftest.in"
5854 cat "conftest.in" "conftest.in" >"conftest.tmp"
5855 mv "conftest.tmp" "conftest.in"
5856 cp "conftest.in" "conftest.nl"
5857 $as_echo 'FGREP' >> "conftest.nl"
5858 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5859 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5860 as_fn_arith $ac_count + 1 && ac_count=$as_val
5861 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5862 # Best one so far, save it but keep looking for a better one
5863 ac_cv_path_FGREP="$ac_path_FGREP"
5864 ac_path_FGREP_max=$ac_count
5866 # 10*(2^10) chars as input seems more than enough
5867 test $ac_count -gt 10 && break
5869 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5872 $ac_path_FGREP_found && break 3
5877 if test -z "$ac_cv_path_FGREP"; then
5878 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5881 ac_cv_path_FGREP=$FGREP
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5887 $as_echo "$ac_cv_path_FGREP" >&6; }
5888 FGREP="$ac_cv_path_FGREP"
5891 test -z "$GREP" && GREP=grep
5911 # Check whether --with-gnu-ld was given.
5912 if test "${with_gnu_ld+set}" = set; then :
5913 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5919 if test "$GCC" = yes; then
5920 # Check if gcc -print-prog-name=ld gives a path.
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5922 $as_echo_n "checking for ld used by $CC... " >&6; }
5925 # gcc leaves a trailing carriage return which upsets mingw
5926 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5928 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5931 # Accept absolute paths.
5933 re_direlt='/[^/][^/]*/\.\./'
5934 # Canonicalize the pathname of ld
5935 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5936 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5937 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5939 test -z "$LD" && LD="$ac_prog"
5942 # If it fails, then pretend we aren't using GCC.
5946 # If it is relative, then search for the first ld in PATH.
5950 elif test "$with_gnu_ld" = yes; then
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5952 $as_echo_n "checking for GNU ld... " >&6; }
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5955 $as_echo_n "checking for non-GNU ld... " >&6; }
5957 if ${lt_cv_path_LD+:} false; then :
5958 $as_echo_n "(cached) " >&6
5960 if test -z "$LD"; then
5961 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5962 for ac_dir in $PATH; do
5964 test -z "$ac_dir" && ac_dir=.
5965 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5966 lt_cv_path_LD="$ac_dir/$ac_prog"
5967 # Check to see if the program is GNU ld. I'd rather use --version,
5968 # but apparently some variants of GNU ld only accept -v.
5969 # Break only if it was the GNU/non-GNU ld that we prefer.
5970 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5971 *GNU* | *'with BFD'*)
5972 test "$with_gnu_ld" != no && break
5975 test "$with_gnu_ld" != yes && break
5982 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5987 if test -n "$LD"; then
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5989 $as_echo "$LD" >&6; }
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5992 $as_echo "no" >&6; }
5994 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5996 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5997 if ${lt_cv_prog_gnu_ld+:} false; then :
5998 $as_echo_n "(cached) " >&6
6000 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6001 case `$LD -v 2>&1 </dev/null` in
6002 *GNU* | *'with BFD'*)
6003 lt_cv_prog_gnu_ld=yes
6006 lt_cv_prog_gnu_ld=no
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6011 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6012 with_gnu_ld=$lt_cv_prog_gnu_ld
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6023 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6024 if ${lt_cv_path_NM+:} false; then :
6025 $as_echo_n "(cached) " >&6
6027 if test -n "$NM"; then
6028 # Let the user override the test.
6031 lt_nm_to_check="${ac_tool_prefix}nm"
6032 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6033 lt_nm_to_check="$lt_nm_to_check nm"
6035 for lt_tmp_nm in $lt_nm_to_check; do
6036 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6037 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6039 test -z "$ac_dir" && ac_dir=.
6040 tmp_nm="$ac_dir/$lt_tmp_nm"
6041 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6042 # Check to see if the nm accepts a BSD-compat flag.
6043 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6044 # nm: unknown option "B" ignored
6045 # Tru64's nm complains that /dev/null is an invalid object file
6046 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6047 */dev/null* | *'Invalid file or object type'*)
6048 lt_cv_path_NM="$tmp_nm -B"
6052 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6054 lt_cv_path_NM="$tmp_nm -p"
6058 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6059 continue # so that we can try to find one that supports BSD flags
6068 : ${lt_cv_path_NM=no}
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6072 $as_echo "$lt_cv_path_NM" >&6; }
6073 if test "$lt_cv_path_NM" != "no"; then
6076 # Didn't find any BSD compatible name lister, look for dumpbin.
6077 if test -n "$DUMPBIN"; then :
6078 # Let the user override the test.
6080 if test -n "$ac_tool_prefix"; then
6081 for ac_prog in dumpbin "link -dump"
6083 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6084 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6086 $as_echo_n "checking for $ac_word... " >&6; }
6087 if ${ac_cv_prog_DUMPBIN+:} false; then :
6088 $as_echo_n "(cached) " >&6
6090 if test -n "$DUMPBIN"; then
6091 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6097 test -z "$as_dir" && as_dir=.
6098 for ac_exec_ext in '' $ac_executable_extensions; do
6099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6100 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6110 DUMPBIN=$ac_cv_prog_DUMPBIN
6111 if test -n "$DUMPBIN"; then
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6113 $as_echo "$DUMPBIN" >&6; }
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6116 $as_echo "no" >&6; }
6120 test -n "$DUMPBIN" && break
6123 if test -z "$DUMPBIN"; then
6124 ac_ct_DUMPBIN=$DUMPBIN
6125 for ac_prog in dumpbin "link -dump"
6127 # Extract the first word of "$ac_prog", so it can be a program name with args.
6128 set dummy $ac_prog; ac_word=$2
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6130 $as_echo_n "checking for $ac_word... " >&6; }
6131 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6132 $as_echo_n "(cached) " >&6
6134 if test -n "$ac_ct_DUMPBIN"; then
6135 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6141 test -z "$as_dir" && as_dir=.
6142 for ac_exec_ext in '' $ac_executable_extensions; do
6143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6144 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6154 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6155 if test -n "$ac_ct_DUMPBIN"; then
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6157 $as_echo "$ac_ct_DUMPBIN" >&6; }
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6160 $as_echo "no" >&6; }
6164 test -n "$ac_ct_DUMPBIN" && break
6167 if test "x$ac_ct_DUMPBIN" = x; then
6170 case $cross_compiling:$ac_tool_warned in
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6173 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6174 ac_tool_warned=yes ;;
6176 DUMPBIN=$ac_ct_DUMPBIN
6180 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6182 DUMPBIN="$DUMPBIN -symbols"
6190 if test "$DUMPBIN" != ":"; then
6194 test -z "$NM" && NM=nm
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6202 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6203 if ${lt_cv_nm_interface+:} false; then :
6204 $as_echo_n "(cached) " >&6
6206 lt_cv_nm_interface="BSD nm"
6207 echo "int some_variable = 0;" > conftest.$ac_ext
6208 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6209 (eval "$ac_compile" 2>conftest.err)
6210 cat conftest.err >&5
6211 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6212 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6213 cat conftest.err >&5
6214 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6215 cat conftest.out >&5
6216 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6217 lt_cv_nm_interface="MS dumpbin"
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6222 $as_echo "$lt_cv_nm_interface" >&6; }
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6225 $as_echo_n "checking whether ln -s works... " >&6; }
6227 if test "$LN_S" = "ln -s"; then
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6229 $as_echo "yes" >&6; }
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6232 $as_echo "no, using $LN_S" >&6; }
6235 # find the maximum length of command line arguments
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6237 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6238 if ${lt_cv_sys_max_cmd_len+:} false; then :
6239 $as_echo_n "(cached) " >&6
6246 # On DJGPP, this test can blow up pretty badly due to problems in libc
6247 # (any single argument exceeding 2000 bytes causes a buffer overrun
6248 # during glob expansion). Even if it were fixed, the result of this
6249 # check would be larger than it should be.
6250 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6254 # Under GNU Hurd, this test is not required because there is
6255 # no limit to the length of command line arguments.
6256 # Libtool will interpret -1 as no limit whatsoever
6257 lt_cv_sys_max_cmd_len=-1;
6260 cygwin* | mingw* | cegcc*)
6261 # On Win9x/ME, this test blows up -- it succeeds, but takes
6262 # about 5 minutes as the teststring grows exponentially.
6263 # Worse, since 9x/ME are not pre-emptively multitasking,
6264 # you end up with a "frozen" computer, even though with patience
6265 # the test eventually succeeds (with a max line length of 256k).
6266 # Instead, let's just punt: use the minimum linelength reported by
6267 # all of the supported platforms: 8192 (on NT/2K/XP).
6268 lt_cv_sys_max_cmd_len=8192;
6272 # On MiNT this can take a long time and run out of memory.
6273 lt_cv_sys_max_cmd_len=8192;
6277 # On AmigaOS with pdksh, this test takes hours, literally.
6278 # So we just punt and use a minimum line length of 8192.
6279 lt_cv_sys_max_cmd_len=8192;
6282 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6283 # This has been around since 386BSD, at least. Likely further.
6284 if test -x /sbin/sysctl; then
6285 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6286 elif test -x /usr/sbin/sysctl; then
6287 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6289 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6291 # And add a safety zone
6292 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6293 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6297 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6298 lt_cv_sys_max_cmd_len=196608
6302 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6303 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6304 # nice to cause kernel panics so lets avoid the loop below.
6305 # First set a reasonable default.
6306 lt_cv_sys_max_cmd_len=16384
6308 if test -x /sbin/sysconfig; then
6309 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6310 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6315 lt_cv_sys_max_cmd_len=102400
6317 sysv5* | sco5v6* | sysv4.2uw2*)
6318 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6319 if test -n "$kargmax"; then
6320 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6322 lt_cv_sys_max_cmd_len=32768
6326 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6327 if test -n "$lt_cv_sys_max_cmd_len"; then
6328 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6329 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6331 # Make teststring a little bigger before we do anything with it.
6332 # a 1K string should be a reasonable start.
6333 for i in 1 2 3 4 5 6 7 8 ; do
6334 teststring=$teststring$teststring
6336 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6337 # If test is not a shell built-in, we'll probably end up computing a
6338 # maximum length that is only half of the actual maximum length, but
6340 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6341 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6342 test $i != 17 # 1/2 MB should be enough
6345 teststring=$teststring$teststring
6347 # Only check the string length outside the loop.
6348 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6350 # Add a significant safety factor because C++ compilers can tack on
6351 # massive amounts of additional arguments before passing them to the
6352 # linker. It appears as though 1/2 is a usable value.
6353 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6360 if test -n $lt_cv_sys_max_cmd_len ; then
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6362 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6365 $as_echo "none" >&6; }
6367 max_cmd_len=$lt_cv_sys_max_cmd_len
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6379 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6380 # Try some XSI features
6383 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6385 && eval 'test $(( 1 + 1 )) -eq 2 \
6386 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6389 $as_echo "$xsi_shell" >&6; }
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6393 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6395 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6397 && lt_shell_append=yes
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6399 $as_echo "$lt_shell_append" >&6; }
6402 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6412 # test EBCDIC or ASCII
6413 case `echo X|tr X '\101'` in
6414 A) # ASCII based system
6415 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6416 lt_SP2NL='tr \040 \012'
6417 lt_NL2SP='tr \015\012 \040\040'
6419 *) # EBCDIC based system
6420 lt_SP2NL='tr \100 \n'
6421 lt_NL2SP='tr \r\n \100\100'
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6434 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6435 if ${lt_cv_to_host_file_cmd+:} false; then :
6436 $as_echo_n "(cached) " >&6
6441 *-*-mingw* ) # actually msys
6442 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6445 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6447 * ) # otherwise, assume *nix
6448 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6454 *-*-mingw* ) # actually msys
6455 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6458 lt_cv_to_host_file_cmd=func_convert_file_noop
6460 * ) # otherwise, assume *nix
6461 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6465 * ) # unhandled hosts (and "normal" native builds)
6466 lt_cv_to_host_file_cmd=func_convert_file_noop
6472 to_host_file_cmd=$lt_cv_to_host_file_cmd
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6474 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6481 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6482 if ${lt_cv_to_tool_file_cmd+:} false; then :
6483 $as_echo_n "(cached) " >&6
6485 #assume ordinary cross tools, or native build.
6486 lt_cv_to_tool_file_cmd=func_convert_file_noop
6490 *-*-mingw* ) # actually msys
6491 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6499 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6501 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6508 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6509 if ${lt_cv_ld_reload_flag+:} false; then :
6510 $as_echo_n "(cached) " >&6
6512 lt_cv_ld_reload_flag='-r'
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6515 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6516 reload_flag=$lt_cv_ld_reload_flag
6517 case $reload_flag in
6519 *) reload_flag=" $reload_flag" ;;
6521 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6523 cygwin* | mingw* | pw32* | cegcc*)
6524 if test "$GCC" != yes; then
6529 if test "$GCC" = yes; then
6530 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6532 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6545 if test -n "$ac_tool_prefix"; then
6546 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6547 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6549 $as_echo_n "checking for $ac_word... " >&6; }
6550 if ${ac_cv_prog_OBJDUMP+:} false; then :
6551 $as_echo_n "(cached) " >&6
6553 if test -n "$OBJDUMP"; then
6554 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6560 test -z "$as_dir" && as_dir=.
6561 for ac_exec_ext in '' $ac_executable_extensions; do
6562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6563 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6573 OBJDUMP=$ac_cv_prog_OBJDUMP
6574 if test -n "$OBJDUMP"; then
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6576 $as_echo "$OBJDUMP" >&6; }
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6579 $as_echo "no" >&6; }
6584 if test -z "$ac_cv_prog_OBJDUMP"; then
6585 ac_ct_OBJDUMP=$OBJDUMP
6586 # Extract the first word of "objdump", so it can be a program name with args.
6587 set dummy objdump; ac_word=$2
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6589 $as_echo_n "checking for $ac_word... " >&6; }
6590 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6591 $as_echo_n "(cached) " >&6
6593 if test -n "$ac_ct_OBJDUMP"; then
6594 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6600 test -z "$as_dir" && as_dir=.
6601 for ac_exec_ext in '' $ac_executable_extensions; do
6602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6603 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6613 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6614 if test -n "$ac_ct_OBJDUMP"; then
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6616 $as_echo "$ac_ct_OBJDUMP" >&6; }
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6619 $as_echo "no" >&6; }
6622 if test "x$ac_ct_OBJDUMP" = x; then
6625 case $cross_compiling:$ac_tool_warned in
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6628 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6629 ac_tool_warned=yes ;;
6631 OBJDUMP=$ac_ct_OBJDUMP
6634 OBJDUMP="$ac_cv_prog_OBJDUMP"
6637 test -z "$OBJDUMP" && OBJDUMP=objdump
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6645 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6646 if ${lt_cv_deplibs_check_method+:} false; then :
6647 $as_echo_n "(cached) " >&6
6649 lt_cv_file_magic_cmd='$MAGIC_CMD'
6650 lt_cv_file_magic_test_file=
6651 lt_cv_deplibs_check_method='unknown'
6652 # Need to set the preceding variable on all platforms that support
6653 # interlibrary dependencies.
6654 # 'none' -- dependencies not supported.
6655 # `unknown' -- same as none, but documents that we really don't know.
6656 # 'pass_all' -- all dependencies passed with no checks.
6657 # 'test_compile' -- check by making test program.
6658 # 'file_magic [[regex]]' -- check by looking for files in library path
6659 # which responds to the $file_magic_cmd with a given extended regex.
6660 # If you have `file' or equivalent on your system and you're not sure
6661 # whether `pass_all' will *always* work, you probably want this one.
6665 lt_cv_deplibs_check_method=pass_all
6669 lt_cv_deplibs_check_method=pass_all
6673 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6674 lt_cv_file_magic_cmd='/usr/bin/file -L'
6675 lt_cv_file_magic_test_file=/shlib/libc.so
6679 # func_win32_libid is a shell function defined in ltmain.sh
6680 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6681 lt_cv_file_magic_cmd='func_win32_libid'
6685 # Base MSYS/MinGW do not provide the 'file' command needed by
6686 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6687 # unless we find 'file', for example because we are cross-compiling.
6688 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6689 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6690 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6691 lt_cv_file_magic_cmd='func_win32_libid'
6693 # Keep this pattern in sync with the one in func_win32_libid.
6694 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6695 lt_cv_file_magic_cmd='$OBJDUMP -f'
6700 # use the weaker test based on 'objdump'. See mingw*.
6701 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6702 lt_cv_file_magic_cmd='$OBJDUMP -f'
6705 darwin* | rhapsody*)
6706 lt_cv_deplibs_check_method=pass_all
6709 freebsd* | dragonfly*)
6710 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6713 # Not sure whether the presence of OpenBSD here was a mistake.
6714 # Let's accept both of them until this is cleared up.
6715 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6716 lt_cv_file_magic_cmd=/usr/bin/file
6717 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6721 lt_cv_deplibs_check_method=pass_all
6726 lt_cv_deplibs_check_method=pass_all
6730 lt_cv_deplibs_check_method=pass_all
6733 hpux10.20* | hpux11*)
6734 lt_cv_file_magic_cmd=/usr/bin/file
6737 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6738 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6741 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6742 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6745 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6746 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6752 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6753 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6756 irix5* | irix6* | nonstopux*)
6758 *-32|*"-32 ") libmagic=32-bit;;
6759 *-n32|*"-n32 ") libmagic=N32;;
6760 *-64|*"-64 ") libmagic=64-bit;;
6761 *) libmagic=never-match;;
6763 lt_cv_deplibs_check_method=pass_all
6766 # This must be Linux ELF.
6767 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6768 lt_cv_deplibs_check_method=pass_all
6772 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6773 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6775 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6780 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6781 lt_cv_file_magic_cmd=/usr/bin/file
6782 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6786 lt_cv_deplibs_check_method=pass_all
6790 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6791 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6793 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6797 osf3* | osf4* | osf5*)
6798 lt_cv_deplibs_check_method=pass_all
6802 lt_cv_deplibs_check_method=pass_all
6806 lt_cv_deplibs_check_method=pass_all
6809 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6810 lt_cv_deplibs_check_method=pass_all
6814 case $host_vendor in
6816 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]'
6817 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6820 lt_cv_deplibs_check_method=pass_all
6823 lt_cv_file_magic_cmd='/bin/file'
6824 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6827 lt_cv_file_magic_cmd='/bin/file'
6828 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6829 lt_cv_file_magic_test_file=/lib/libc.so
6832 lt_cv_deplibs_check_method=pass_all
6835 lt_cv_deplibs_check_method=pass_all
6841 lt_cv_deplibs_check_method=pass_all
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6847 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6851 if test "$build" = "$host"; then
6854 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6857 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6863 file_magic_cmd=$lt_cv_file_magic_cmd
6864 deplibs_check_method=$lt_cv_deplibs_check_method
6865 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6888 if test -n "$ac_tool_prefix"; then
6889 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6890 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6892 $as_echo_n "checking for $ac_word... " >&6; }
6893 if ${ac_cv_prog_DLLTOOL+:} false; then :
6894 $as_echo_n "(cached) " >&6
6896 if test -n "$DLLTOOL"; then
6897 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6903 test -z "$as_dir" && as_dir=.
6904 for ac_exec_ext in '' $ac_executable_extensions; do
6905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6906 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6916 DLLTOOL=$ac_cv_prog_DLLTOOL
6917 if test -n "$DLLTOOL"; then
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6919 $as_echo "$DLLTOOL" >&6; }
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6922 $as_echo "no" >&6; }
6927 if test -z "$ac_cv_prog_DLLTOOL"; then
6928 ac_ct_DLLTOOL=$DLLTOOL
6929 # Extract the first word of "dlltool", so it can be a program name with args.
6930 set dummy dlltool; ac_word=$2
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6932 $as_echo_n "checking for $ac_word... " >&6; }
6933 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6934 $as_echo_n "(cached) " >&6
6936 if test -n "$ac_ct_DLLTOOL"; then
6937 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6943 test -z "$as_dir" && as_dir=.
6944 for ac_exec_ext in '' $ac_executable_extensions; do
6945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6946 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6956 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6957 if test -n "$ac_ct_DLLTOOL"; then
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6959 $as_echo "$ac_ct_DLLTOOL" >&6; }
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6962 $as_echo "no" >&6; }
6965 if test "x$ac_ct_DLLTOOL" = x; then
6968 case $cross_compiling:$ac_tool_warned in
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6971 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6972 ac_tool_warned=yes ;;
6974 DLLTOOL=$ac_ct_DLLTOOL
6977 DLLTOOL="$ac_cv_prog_DLLTOOL"
6980 test -z "$DLLTOOL" && DLLTOOL=dlltool
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6989 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6990 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6991 $as_echo_n "(cached) " >&6
6993 lt_cv_sharedlib_from_linklib_cmd='unknown'
6996 cygwin* | mingw* | pw32* | cegcc*)
6997 # two different shell functions defined in ltmain.sh
6998 # decide which to use based on capabilities of $DLLTOOL
6999 case `$DLLTOOL --help 2>&1` in
7000 *--identify-strict*)
7001 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7004 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7009 # fallback: assume linklib IS sharedlib
7010 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7016 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7017 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7018 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7026 if test -n "$ac_tool_prefix"; then
7029 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7030 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7032 $as_echo_n "checking for $ac_word... " >&6; }
7033 if ${ac_cv_prog_AR+:} false; then :
7034 $as_echo_n "(cached) " >&6
7036 if test -n "$AR"; then
7037 ac_cv_prog_AR="$AR" # Let the user override the test.
7039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7043 test -z "$as_dir" && as_dir=.
7044 for ac_exec_ext in '' $ac_executable_extensions; do
7045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7046 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7057 if test -n "$AR"; then
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7059 $as_echo "$AR" >&6; }
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7062 $as_echo "no" >&6; }
7066 test -n "$AR" && break
7069 if test -z "$AR"; then
7073 # Extract the first word of "$ac_prog", so it can be a program name with args.
7074 set dummy $ac_prog; ac_word=$2
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7076 $as_echo_n "checking for $ac_word... " >&6; }
7077 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7078 $as_echo_n "(cached) " >&6
7080 if test -n "$ac_ct_AR"; then
7081 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7087 test -z "$as_dir" && as_dir=.
7088 for ac_exec_ext in '' $ac_executable_extensions; do
7089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7090 ac_cv_prog_ac_ct_AR="$ac_prog"
7091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7100 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7101 if test -n "$ac_ct_AR"; then
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7103 $as_echo "$ac_ct_AR" >&6; }
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7106 $as_echo "no" >&6; }
7110 test -n "$ac_ct_AR" && break
7113 if test "x$ac_ct_AR" = x; then
7116 case $cross_compiling:$ac_tool_warned in
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7119 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7120 ac_tool_warned=yes ;;
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7140 $as_echo_n "checking for archiver @FILE support... " >&6; }
7141 if ${lt_cv_ar_at_file+:} false; then :
7142 $as_echo_n "(cached) " >&6
7145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7146 /* end confdefs.h. */
7156 if ac_fn_c_try_compile "$LINENO"; then :
7157 echo conftest.$ac_objext > conftest.lst
7158 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7159 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7160 (eval $lt_ar_try) 2>&5
7162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7163 test $ac_status = 0; }
7164 if test "$ac_status" -eq 0; then
7165 # Ensure the archiver fails upon bogus file names.
7166 rm -f conftest.$ac_objext libconftest.a
7167 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7168 (eval $lt_ar_try) 2>&5
7170 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7171 test $ac_status = 0; }
7172 if test "$ac_status" -ne 0; then
7176 rm -f conftest.* libconftest.a
7179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7183 $as_echo "$lt_cv_ar_at_file" >&6; }
7185 if test "x$lt_cv_ar_at_file" = xno; then
7188 archiver_list_spec=$lt_cv_ar_at_file
7197 if test -n "$ac_tool_prefix"; then
7198 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7199 set dummy ${ac_tool_prefix}strip; ac_word=$2
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7201 $as_echo_n "checking for $ac_word... " >&6; }
7202 if ${ac_cv_prog_STRIP+:} false; then :
7203 $as_echo_n "(cached) " >&6
7205 if test -n "$STRIP"; then
7206 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7212 test -z "$as_dir" && as_dir=.
7213 for ac_exec_ext in '' $ac_executable_extensions; do
7214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7215 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7225 STRIP=$ac_cv_prog_STRIP
7226 if test -n "$STRIP"; then
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7228 $as_echo "$STRIP" >&6; }
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7231 $as_echo "no" >&6; }
7236 if test -z "$ac_cv_prog_STRIP"; then
7238 # Extract the first word of "strip", so it can be a program name with args.
7239 set dummy strip; ac_word=$2
7240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7241 $as_echo_n "checking for $ac_word... " >&6; }
7242 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7243 $as_echo_n "(cached) " >&6
7245 if test -n "$ac_ct_STRIP"; then
7246 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7252 test -z "$as_dir" && as_dir=.
7253 for ac_exec_ext in '' $ac_executable_extensions; do
7254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7255 ac_cv_prog_ac_ct_STRIP="strip"
7256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7265 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7266 if test -n "$ac_ct_STRIP"; then
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7268 $as_echo "$ac_ct_STRIP" >&6; }
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7271 $as_echo "no" >&6; }
7274 if test "x$ac_ct_STRIP" = x; then
7277 case $cross_compiling:$ac_tool_warned in
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7280 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7281 ac_tool_warned=yes ;;
7286 STRIP="$ac_cv_prog_STRIP"
7289 test -z "$STRIP" && STRIP=:
7296 if test -n "$ac_tool_prefix"; then
7297 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7298 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7300 $as_echo_n "checking for $ac_word... " >&6; }
7301 if ${ac_cv_prog_RANLIB+:} false; then :
7302 $as_echo_n "(cached) " >&6
7304 if test -n "$RANLIB"; then
7305 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7311 test -z "$as_dir" && as_dir=.
7312 for ac_exec_ext in '' $ac_executable_extensions; do
7313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7314 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7324 RANLIB=$ac_cv_prog_RANLIB
7325 if test -n "$RANLIB"; then
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7327 $as_echo "$RANLIB" >&6; }
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7330 $as_echo "no" >&6; }
7335 if test -z "$ac_cv_prog_RANLIB"; then
7336 ac_ct_RANLIB=$RANLIB
7337 # Extract the first word of "ranlib", so it can be a program name with args.
7338 set dummy ranlib; ac_word=$2
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7340 $as_echo_n "checking for $ac_word... " >&6; }
7341 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7342 $as_echo_n "(cached) " >&6
7344 if test -n "$ac_ct_RANLIB"; then
7345 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7351 test -z "$as_dir" && as_dir=.
7352 for ac_exec_ext in '' $ac_executable_extensions; do
7353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7354 ac_cv_prog_ac_ct_RANLIB="ranlib"
7355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7364 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7365 if test -n "$ac_ct_RANLIB"; then
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7367 $as_echo "$ac_ct_RANLIB" >&6; }
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7370 $as_echo "no" >&6; }
7373 if test "x$ac_ct_RANLIB" = x; then
7376 case $cross_compiling:$ac_tool_warned in
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7379 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7380 ac_tool_warned=yes ;;
7382 RANLIB=$ac_ct_RANLIB
7385 RANLIB="$ac_cv_prog_RANLIB"
7388 test -z "$RANLIB" && RANLIB=:
7395 # Determine commands to create old-style static archives.
7396 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7397 old_postinstall_cmds='chmod 644 $oldlib'
7398 old_postuninstall_cmds=
7400 if test -n "$RANLIB"; then
7403 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7406 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7409 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7414 lock_old_archive_extraction=yes ;;
7416 lock_old_archive_extraction=no ;;
7457 # If no C compiler was specified, use CC.
7460 # If no C compiler flags were specified, use CFLAGS.
7461 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7463 # Allow CC to be a program name with arguments.
7467 # Check for command to grab the raw symbol name followed by C symbol from nm.
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7469 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7470 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7471 $as_echo_n "(cached) " >&6
7474 # These are sane defaults that work on at least a few old systems.
7475 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7477 # Character class describing NM global symbol codes.
7478 symcode='[BCDEGRST]'
7480 # Regexp to match symbols that can be accessed directly from C.
7481 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7483 # Define system-specific variables.
7488 cygwin* | mingw* | pw32* | cegcc*)
7489 symcode='[ABCDGISTW]'
7492 if test "$host_cpu" = ia64; then
7493 symcode='[ABCDEGRST]'
7497 symcode='[BCDEGRST]'
7500 symcode='[BCDEGQRST]'
7511 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7519 # If we're using GNU nm, then use its standard symbol codes.
7520 case `$NM -V 2>&1` in
7521 *GNU* | *'with BFD'*)
7522 symcode='[ABCDGIRSTW]' ;;
7525 # Transform an extracted symbol line into a proper C declaration.
7526 # Some systems (esp. on ia64) link data and code symbols differently,
7527 # so use this general approach.
7528 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7530 # Transform an extracted symbol line into symbol name and symbol address
7531 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7532 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'"
7534 # Handle CRLF in mingw tool chain
7538 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7542 # Try without a prefix underscore, then with it.
7543 for ac_symprfx in "" "_"; do
7545 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7546 symxfrm="\\1 $ac_symprfx\\2 \\2"
7548 # Write the raw and C identifiers.
7549 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7550 # Fake it for dumpbin and say T for any non-static function
7551 # and D for any global variable.
7552 # Also find C++ and __fastcall symbols from MSVC++,
7553 # which start with @ or ?.
7554 lt_cv_sys_global_symbol_pipe="$AWK '"\
7555 " {last_section=section; section=\$ 3};"\
7556 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7557 " \$ 0!~/External *\|/{next};"\
7558 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7559 " {if(hide[section]) next};"\
7560 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7561 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7562 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7563 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7564 " ' prfx=^$ac_symprfx"
7566 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7568 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7570 # Check to see that the pipe works correctly.
7574 cat > conftest.$ac_ext <<_LT_EOF
7579 void nm_test_func(void);
7580 void nm_test_func(void){}
7584 int main(){nm_test_var='a';nm_test_func();return(0);}
7587 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7588 (eval $ac_compile) 2>&5
7590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7591 test $ac_status = 0; }; then
7592 # Now try to grab the symbols.
7594 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7595 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7598 test $ac_status = 0; } && test -s "$nlist"; then
7599 # Try sorting and uniquifying the output.
7600 if sort "$nlist" | uniq > "$nlist"T; then
7601 mv -f "$nlist"T "$nlist"
7606 # Make sure that we snagged all the symbols we need.
7607 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7608 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7609 cat <<_LT_EOF > conftest.$ac_ext
7610 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7611 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7612 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7613 relocations are performed -- see ld's documentation on pseudo-relocs. */
7614 # define LT_DLSYM_CONST
7615 #elif defined(__osf__)
7616 /* This system does not cope well with relocations in const data. */
7617 # define LT_DLSYM_CONST
7619 # define LT_DLSYM_CONST const
7627 # Now generate the symbol file.
7628 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7630 cat <<_LT_EOF >> conftest.$ac_ext
7632 /* The mapping between symbol names and symbols. */
7633 LT_DLSYM_CONST struct {
7637 lt__PROGRAM__LTX_preloaded_symbols[] =
7639 { "@PROGRAM@", (void *) 0 },
7641 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7642 cat <<\_LT_EOF >> conftest.$ac_ext
7646 /* This works around a problem in FreeBSD linker */
7647 #ifdef FREEBSD_WORKAROUND
7648 static const void *lt_preloaded_setup() {
7649 return lt__PROGRAM__LTX_preloaded_symbols;
7657 # Now try linking the two files.
7658 mv conftest.$ac_objext conftstm.$ac_objext
7659 lt_globsym_save_LIBS=$LIBS
7660 lt_globsym_save_CFLAGS=$CFLAGS
7661 LIBS="conftstm.$ac_objext"
7662 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7663 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7664 (eval $ac_link) 2>&5
7666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7667 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7670 LIBS=$lt_globsym_save_LIBS
7671 CFLAGS=$lt_globsym_save_CFLAGS
7673 echo "cannot find nm_test_func in $nlist" >&5
7676 echo "cannot find nm_test_var in $nlist" >&5
7679 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7682 echo "$progname: failed program was:" >&5
7683 cat conftest.$ac_ext >&5
7685 rm -rf conftest* conftst*
7687 # Do not use the global_symbol_pipe unless it works.
7688 if test "$pipe_works" = yes; then
7691 lt_cv_sys_global_symbol_pipe=
7697 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7698 lt_cv_sys_global_symbol_to_cdecl=
7700 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7702 $as_echo "failed" >&6; }
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7705 $as_echo "ok" >&6; }
7708 # Response file support.
7709 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7710 nm_file_list_spec='@'
7711 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7712 nm_file_list_spec='@'
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7742 $as_echo_n "checking for sysroot... " >&6; }
7744 # Check whether --with-sysroot was given.
7745 if test "${with_sysroot+set}" = set; then :
7746 withval=$with_sysroot;
7753 case ${with_sysroot} in #(
7755 if test "$GCC" = yes; then
7756 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7760 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7766 $as_echo "${with_sysroot}" >&6; }
7767 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7772 $as_echo "${lt_sysroot:-no}" >&6; }
7778 # Check whether --enable-libtool-lock was given.
7779 if test "${enable_libtool_lock+set}" = set; then :
7780 enableval=$enable_libtool_lock;
7783 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7785 # Some flags need to be propagated to the compiler or linker for good
7789 # Find out which ABI we are using.
7790 echo 'int i;' > conftest.$ac_ext
7791 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7792 (eval $ac_compile) 2>&5
7794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7795 test $ac_status = 0; }; then
7796 case `/usr/bin/file conftest.$ac_objext` in
7808 # Find out which ABI we are using.
7809 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7810 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7811 (eval $ac_compile) 2>&5
7813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7814 test $ac_status = 0; }; then
7815 if test "$lt_cv_prog_gnu_ld" = yes; then
7816 case `/usr/bin/file conftest.$ac_objext` in
7818 LD="${LD-ld} -melf32bsmip"
7821 LD="${LD-ld} -melf32bmipn32"
7824 LD="${LD-ld} -melf64bmip"
7828 case `/usr/bin/file conftest.$ac_objext` in
7844 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7845 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7846 # Find out which ABI we are using.
7847 echo 'int i;' > conftest.$ac_ext
7848 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7849 (eval $ac_compile) 2>&5
7851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7852 test $ac_status = 0; }; then
7853 case `/usr/bin/file conftest.o` in
7856 x86_64-*kfreebsd*-gnu)
7857 LD="${LD-ld} -m elf_i386_fbsd"
7860 LD="${LD-ld} -m elf_i386"
7862 ppc64-*linux*|powerpc64-*linux*)
7863 LD="${LD-ld} -m elf32ppclinux"
7866 LD="${LD-ld} -m elf_s390"
7869 LD="${LD-ld} -m elf32_sparc"
7875 x86_64-*kfreebsd*-gnu)
7876 LD="${LD-ld} -m elf_x86_64_fbsd"
7879 LD="${LD-ld} -m elf_x86_64"
7881 ppc*-*linux*|powerpc*-*linux*)
7882 LD="${LD-ld} -m elf64ppc"
7884 s390*-*linux*|s390*-*tpf*)
7885 LD="${LD-ld} -m elf64_s390"
7888 LD="${LD-ld} -m elf64_sparc"
7898 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7899 SAVE_CFLAGS="$CFLAGS"
7900 CFLAGS="$CFLAGS -belf"
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7902 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7903 if ${lt_cv_cc_needs_belf+:} false; then :
7904 $as_echo_n "(cached) " >&6
7907 ac_cpp='$CPP $CPPFLAGS'
7908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7913 /* end confdefs.h. */
7923 if ac_fn_c_try_link "$LINENO"; then :
7924 lt_cv_cc_needs_belf=yes
7926 lt_cv_cc_needs_belf=no
7928 rm -f core conftest.err conftest.$ac_objext \
7929 conftest$ac_exeext conftest.$ac_ext
7931 ac_cpp='$CPP $CPPFLAGS'
7932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7938 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7939 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7940 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7941 CFLAGS="$SAVE_CFLAGS"
7945 # Find out which ABI we are using.
7946 echo 'int i;' > conftest.$ac_ext
7947 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7948 (eval $ac_compile) 2>&5
7950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7951 test $ac_status = 0; }; then
7952 case `/usr/bin/file conftest.o` in
7954 case $lt_cv_prog_gnu_ld in
7955 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7957 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7969 need_locks="$enable_libtool_lock"
7971 if test -n "$ac_tool_prefix"; then
7972 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7973 set dummy ${ac_tool_prefix}mt; ac_word=$2
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7975 $as_echo_n "checking for $ac_word... " >&6; }
7976 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7977 $as_echo_n "(cached) " >&6
7979 if test -n "$MANIFEST_TOOL"; then
7980 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7986 test -z "$as_dir" && as_dir=.
7987 for ac_exec_ext in '' $ac_executable_extensions; do
7988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7989 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7999 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8000 if test -n "$MANIFEST_TOOL"; then
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8002 $as_echo "$MANIFEST_TOOL" >&6; }
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8005 $as_echo "no" >&6; }
8010 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8011 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8012 # Extract the first word of "mt", so it can be a program name with args.
8013 set dummy mt; ac_word=$2
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8015 $as_echo_n "checking for $ac_word... " >&6; }
8016 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8017 $as_echo_n "(cached) " >&6
8019 if test -n "$ac_ct_MANIFEST_TOOL"; then
8020 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8026 test -z "$as_dir" && as_dir=.
8027 for ac_exec_ext in '' $ac_executable_extensions; do
8028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8029 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8039 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8040 if test -n "$ac_ct_MANIFEST_TOOL"; then
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8042 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8045 $as_echo "no" >&6; }
8048 if test "x$ac_ct_MANIFEST_TOOL" = x; then
8051 case $cross_compiling:$ac_tool_warned in
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8054 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8055 ac_tool_warned=yes ;;
8057 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8060 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8063 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8065 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8066 if ${lt_cv_path_mainfest_tool+:} false; then :
8067 $as_echo_n "(cached) " >&6
8069 lt_cv_path_mainfest_tool=no
8070 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8071 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8072 cat conftest.err >&5
8073 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8074 lt_cv_path_mainfest_tool=yes
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8079 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8080 if test "x$lt_cv_path_mainfest_tool" != xyes; then
8090 rhapsody* | darwin*)
8091 if test -n "$ac_tool_prefix"; then
8092 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8093 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8095 $as_echo_n "checking for $ac_word... " >&6; }
8096 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8097 $as_echo_n "(cached) " >&6
8099 if test -n "$DSYMUTIL"; then
8100 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8106 test -z "$as_dir" && as_dir=.
8107 for ac_exec_ext in '' $ac_executable_extensions; do
8108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8109 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8119 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8120 if test -n "$DSYMUTIL"; then
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8122 $as_echo "$DSYMUTIL" >&6; }
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8125 $as_echo "no" >&6; }
8130 if test -z "$ac_cv_prog_DSYMUTIL"; then
8131 ac_ct_DSYMUTIL=$DSYMUTIL
8132 # Extract the first word of "dsymutil", so it can be a program name with args.
8133 set dummy dsymutil; ac_word=$2
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8135 $as_echo_n "checking for $ac_word... " >&6; }
8136 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8137 $as_echo_n "(cached) " >&6
8139 if test -n "$ac_ct_DSYMUTIL"; then
8140 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8146 test -z "$as_dir" && as_dir=.
8147 for ac_exec_ext in '' $ac_executable_extensions; do
8148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8149 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8159 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8160 if test -n "$ac_ct_DSYMUTIL"; then
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8162 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8165 $as_echo "no" >&6; }
8168 if test "x$ac_ct_DSYMUTIL" = x; then
8171 case $cross_compiling:$ac_tool_warned in
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8174 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8175 ac_tool_warned=yes ;;
8177 DSYMUTIL=$ac_ct_DSYMUTIL
8180 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8183 if test -n "$ac_tool_prefix"; then
8184 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8185 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8187 $as_echo_n "checking for $ac_word... " >&6; }
8188 if ${ac_cv_prog_NMEDIT+:} false; then :
8189 $as_echo_n "(cached) " >&6
8191 if test -n "$NMEDIT"; then
8192 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8198 test -z "$as_dir" && as_dir=.
8199 for ac_exec_ext in '' $ac_executable_extensions; do
8200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8201 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8211 NMEDIT=$ac_cv_prog_NMEDIT
8212 if test -n "$NMEDIT"; then
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8214 $as_echo "$NMEDIT" >&6; }
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8217 $as_echo "no" >&6; }
8222 if test -z "$ac_cv_prog_NMEDIT"; then
8223 ac_ct_NMEDIT=$NMEDIT
8224 # Extract the first word of "nmedit", so it can be a program name with args.
8225 set dummy nmedit; ac_word=$2
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8227 $as_echo_n "checking for $ac_word... " >&6; }
8228 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8229 $as_echo_n "(cached) " >&6
8231 if test -n "$ac_ct_NMEDIT"; then
8232 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8238 test -z "$as_dir" && as_dir=.
8239 for ac_exec_ext in '' $ac_executable_extensions; do
8240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8241 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8251 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8252 if test -n "$ac_ct_NMEDIT"; then
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8254 $as_echo "$ac_ct_NMEDIT" >&6; }
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8257 $as_echo "no" >&6; }
8260 if test "x$ac_ct_NMEDIT" = x; then
8263 case $cross_compiling:$ac_tool_warned in
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8266 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8267 ac_tool_warned=yes ;;
8269 NMEDIT=$ac_ct_NMEDIT
8272 NMEDIT="$ac_cv_prog_NMEDIT"
8275 if test -n "$ac_tool_prefix"; then
8276 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8277 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8279 $as_echo_n "checking for $ac_word... " >&6; }
8280 if ${ac_cv_prog_LIPO+:} false; then :
8281 $as_echo_n "(cached) " >&6
8283 if test -n "$LIPO"; then
8284 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8290 test -z "$as_dir" && as_dir=.
8291 for ac_exec_ext in '' $ac_executable_extensions; do
8292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8293 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8303 LIPO=$ac_cv_prog_LIPO
8304 if test -n "$LIPO"; then
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8306 $as_echo "$LIPO" >&6; }
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8309 $as_echo "no" >&6; }
8314 if test -z "$ac_cv_prog_LIPO"; then
8316 # Extract the first word of "lipo", so it can be a program name with args.
8317 set dummy lipo; ac_word=$2
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8319 $as_echo_n "checking for $ac_word... " >&6; }
8320 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8321 $as_echo_n "(cached) " >&6
8323 if test -n "$ac_ct_LIPO"; then
8324 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8330 test -z "$as_dir" && as_dir=.
8331 for ac_exec_ext in '' $ac_executable_extensions; do
8332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8333 ac_cv_prog_ac_ct_LIPO="lipo"
8334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8343 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8344 if test -n "$ac_ct_LIPO"; then
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8346 $as_echo "$ac_ct_LIPO" >&6; }
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8349 $as_echo "no" >&6; }
8352 if test "x$ac_ct_LIPO" = x; then
8355 case $cross_compiling:$ac_tool_warned in
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8358 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8359 ac_tool_warned=yes ;;
8364 LIPO="$ac_cv_prog_LIPO"
8367 if test -n "$ac_tool_prefix"; then
8368 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8369 set dummy ${ac_tool_prefix}otool; ac_word=$2
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8371 $as_echo_n "checking for $ac_word... " >&6; }
8372 if ${ac_cv_prog_OTOOL+:} false; then :
8373 $as_echo_n "(cached) " >&6
8375 if test -n "$OTOOL"; then
8376 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8382 test -z "$as_dir" && as_dir=.
8383 for ac_exec_ext in '' $ac_executable_extensions; do
8384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8385 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8395 OTOOL=$ac_cv_prog_OTOOL
8396 if test -n "$OTOOL"; then
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8398 $as_echo "$OTOOL" >&6; }
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8401 $as_echo "no" >&6; }
8406 if test -z "$ac_cv_prog_OTOOL"; then
8408 # Extract the first word of "otool", so it can be a program name with args.
8409 set dummy otool; ac_word=$2
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8411 $as_echo_n "checking for $ac_word... " >&6; }
8412 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8413 $as_echo_n "(cached) " >&6
8415 if test -n "$ac_ct_OTOOL"; then
8416 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8422 test -z "$as_dir" && as_dir=.
8423 for ac_exec_ext in '' $ac_executable_extensions; do
8424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8425 ac_cv_prog_ac_ct_OTOOL="otool"
8426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8435 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8436 if test -n "$ac_ct_OTOOL"; then
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8438 $as_echo "$ac_ct_OTOOL" >&6; }
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8441 $as_echo "no" >&6; }
8444 if test "x$ac_ct_OTOOL" = x; then
8447 case $cross_compiling:$ac_tool_warned in
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8450 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8451 ac_tool_warned=yes ;;
8456 OTOOL="$ac_cv_prog_OTOOL"
8459 if test -n "$ac_tool_prefix"; then
8460 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8461 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8463 $as_echo_n "checking for $ac_word... " >&6; }
8464 if ${ac_cv_prog_OTOOL64+:} false; then :
8465 $as_echo_n "(cached) " >&6
8467 if test -n "$OTOOL64"; then
8468 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8474 test -z "$as_dir" && as_dir=.
8475 for ac_exec_ext in '' $ac_executable_extensions; do
8476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8477 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8487 OTOOL64=$ac_cv_prog_OTOOL64
8488 if test -n "$OTOOL64"; then
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8490 $as_echo "$OTOOL64" >&6; }
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8493 $as_echo "no" >&6; }
8498 if test -z "$ac_cv_prog_OTOOL64"; then
8499 ac_ct_OTOOL64=$OTOOL64
8500 # Extract the first word of "otool64", so it can be a program name with args.
8501 set dummy otool64; ac_word=$2
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8503 $as_echo_n "checking for $ac_word... " >&6; }
8504 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8505 $as_echo_n "(cached) " >&6
8507 if test -n "$ac_ct_OTOOL64"; then
8508 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8514 test -z "$as_dir" && as_dir=.
8515 for ac_exec_ext in '' $ac_executable_extensions; do
8516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8517 ac_cv_prog_ac_ct_OTOOL64="otool64"
8518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8527 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8528 if test -n "$ac_ct_OTOOL64"; then
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8530 $as_echo "$ac_ct_OTOOL64" >&6; }
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8533 $as_echo "no" >&6; }
8536 if test "x$ac_ct_OTOOL64" = x; then
8539 case $cross_compiling:$ac_tool_warned in
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8542 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8543 ac_tool_warned=yes ;;
8545 OTOOL64=$ac_ct_OTOOL64
8548 OTOOL64="$ac_cv_prog_OTOOL64"
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8578 $as_echo_n "checking for -single_module linker flag... " >&6; }
8579 if ${lt_cv_apple_cc_single_mod+:} false; then :
8580 $as_echo_n "(cached) " >&6
8582 lt_cv_apple_cc_single_mod=no
8583 if test -z "${LT_MULTI_MODULE}"; then
8584 # By default we will add the -single_module flag. You can override
8585 # by either setting the environment variable LT_MULTI_MODULE
8586 # non-empty at configure time, or by adding -multi_module to the
8588 rm -rf libconftest.dylib*
8589 echo "int foo(void){return 1;}" > conftest.c
8590 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8591 -dynamiclib -Wl,-single_module conftest.c" >&5
8592 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8593 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8595 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8596 lt_cv_apple_cc_single_mod=yes
8598 cat conftest.err >&5
8600 rm -rf libconftest.dylib*
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8605 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8607 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8608 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8609 $as_echo_n "(cached) " >&6
8611 lt_cv_ld_exported_symbols_list=no
8612 save_LDFLAGS=$LDFLAGS
8613 echo "_main" > conftest.sym
8614 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8616 /* end confdefs.h. */
8626 if ac_fn_c_try_link "$LINENO"; then :
8627 lt_cv_ld_exported_symbols_list=yes
8629 lt_cv_ld_exported_symbols_list=no
8631 rm -f core conftest.err conftest.$ac_objext \
8632 conftest$ac_exeext conftest.$ac_ext
8633 LDFLAGS="$save_LDFLAGS"
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8637 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8639 $as_echo_n "checking for -force_load linker flag... " >&6; }
8640 if ${lt_cv_ld_force_load+:} false; then :
8641 $as_echo_n "(cached) " >&6
8643 lt_cv_ld_force_load=no
8644 cat > conftest.c << _LT_EOF
8645 int forced_loaded() { return 2;}
8647 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8648 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8649 echo "$AR cru libconftest.a conftest.o" >&5
8650 $AR cru libconftest.a conftest.o 2>&5
8651 echo "$RANLIB libconftest.a" >&5
8652 $RANLIB libconftest.a 2>&5
8653 cat > conftest.c << _LT_EOF
8654 int main() { return 0;}
8656 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8657 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8659 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8660 lt_cv_ld_force_load=yes
8662 cat conftest.err >&5
8664 rm -f conftest.err libconftest.a conftest conftest.c
8665 rm -rf conftest.dSYM
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8669 $as_echo "$lt_cv_ld_force_load" >&6; }
8671 rhapsody* | darwin1.[012])
8672 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8674 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8675 darwin*) # darwin 5.x on
8676 # if running on 10.5 or later, the deployment target defaults
8677 # to the OS version, if on x86, and 10.4, the deployment
8678 # target defaults to 10.4. Don't you love it?
8679 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8680 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8681 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8683 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8685 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8689 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8690 _lt_dar_single_mod='$single_module'
8692 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8693 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8695 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8697 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8698 _lt_dsymutil='~$DSYMUTIL $lib || :'
8705 for ac_header in dlfcn.h
8707 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8709 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8710 cat >>confdefs.h <<_ACEOF
8711 #define HAVE_DLFCN_H 1
8728 # Check whether --enable-shared was given.
8729 if test "${enable_shared+set}" = set; then :
8730 enableval=$enable_shared; p=${PACKAGE-default}
8732 yes) enable_shared=yes ;;
8733 no) enable_shared=no ;;
8736 # Look at the argument we got. We use all the common list separators.
8737 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8738 for pkg in $enableval; do
8740 if test "X$pkg" = "X$p"; then
8759 # Check whether --enable-static was given.
8760 if test "${enable_static+set}" = set; then :
8761 enableval=$enable_static; p=${PACKAGE-default}
8763 yes) enable_static=yes ;;
8764 no) enable_static=no ;;
8767 # Look at the argument we got. We use all the common list separators.
8768 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8769 for pkg in $enableval; do
8771 if test "X$pkg" = "X$p"; then
8791 # Check whether --with-pic was given.
8792 if test "${with_pic+set}" = set; then :
8793 withval=$with_pic; pic_mode="$withval"
8799 test -z "$pic_mode" && pic_mode=default
8807 # Check whether --enable-fast-install was given.
8808 if test "${enable_fast_install+set}" = set; then :
8809 enableval=$enable_fast_install; p=${PACKAGE-default}
8811 yes) enable_fast_install=yes ;;
8812 no) enable_fast_install=no ;;
8814 enable_fast_install=no
8815 # Look at the argument we got. We use all the common list separators.
8816 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8817 for pkg in $enableval; do
8819 if test "X$pkg" = "X$p"; then
8820 enable_fast_install=yes
8827 enable_fast_install=yes
8840 # This can be used to rebuild libtool when needed
8841 LIBTOOL_DEPS="$ltmain"
8843 # Always use our own libtool.
8844 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8871 test -z "$LN_S" && LN_S="ln -s"
8886 if test -n "${ZSH_VERSION+set}" ; then
8887 setopt NO_GLOB_SUBST
8890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8891 $as_echo_n "checking for objdir... " >&6; }
8892 if ${lt_cv_objdir+:} false; then :
8893 $as_echo_n "(cached) " >&6
8895 rm -f .libs 2>/dev/null
8896 mkdir .libs 2>/dev/null
8897 if test -d .libs; then
8900 # MS-DOS does not allow filenames that begin with a dot.
8903 rmdir .libs 2>/dev/null
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8906 $as_echo "$lt_cv_objdir" >&6; }
8907 objdir=$lt_cv_objdir
8913 cat >>confdefs.h <<_ACEOF
8914 #define LT_OBJDIR "$lt_cv_objdir/"
8922 # AIX sometimes has problems with the GCC collect2 program. For some
8923 # reason, if we set the COLLECT_NAMES environment variable, the problems
8924 # vanish in a puff of smoke.
8925 if test "X${COLLECT_NAMES+set}" != Xset; then
8927 export COLLECT_NAMES
8934 can_build_shared=yes
8936 # All known linkers require a `.a' archive for static linking (except MSVC,
8937 # which needs '.lib').
8940 with_gnu_ld="$lt_cv_prog_gnu_ld"
8943 old_CFLAGS="$CFLAGS"
8945 # Set sane defaults for various variables
8946 test -z "$CC" && CC=cc
8947 test -z "$LTCC" && LTCC=$CC
8948 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8949 test -z "$LD" && LD=ld
8950 test -z "$ac_objext" && ac_objext=o
8952 for cc_temp in $compiler""; do
8954 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8955 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8960 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8963 # Only perform the check for file, if the check method requires it
8964 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8965 case $deplibs_check_method in
8967 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8969 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8970 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8971 $as_echo_n "(cached) " >&6
8975 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8978 lt_save_MAGIC_CMD="$MAGIC_CMD"
8979 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8980 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8981 for ac_dir in $ac_dummy; do
8983 test -z "$ac_dir" && ac_dir=.
8984 if test -f $ac_dir/${ac_tool_prefix}file; then
8985 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8986 if test -n "$file_magic_test_file"; then
8987 case $deplibs_check_method in
8989 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8990 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8991 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8992 $EGREP "$file_magic_regex" > /dev/null; then
8997 *** Warning: the command libtool uses to detect shared libraries,
8998 *** $file_magic_cmd, produces output that libtool cannot recognize.
8999 *** The result is that libtool may fail to recognize shared libraries
9000 *** as such. This will affect the creation of libtool libraries that
9001 *** depend on shared libraries, but programs linked with such libtool
9002 *** libraries will work regardless of this problem. Nevertheless, you
9003 *** may want to report the problem to your system manager and/or to
9004 *** bug-libtool@gnu.org
9014 MAGIC_CMD="$lt_save_MAGIC_CMD"
9019 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9020 if test -n "$MAGIC_CMD"; then
9021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9022 $as_echo "$MAGIC_CMD" >&6; }
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9025 $as_echo "no" >&6; }
9032 if test -z "$lt_cv_path_MAGIC_CMD"; then
9033 if test -n "$ac_tool_prefix"; then
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9035 $as_echo_n "checking for file... " >&6; }
9036 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9037 $as_echo_n "(cached) " >&6
9041 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9044 lt_save_MAGIC_CMD="$MAGIC_CMD"
9045 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9046 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9047 for ac_dir in $ac_dummy; do
9049 test -z "$ac_dir" && ac_dir=.
9050 if test -f $ac_dir/file; then
9051 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9052 if test -n "$file_magic_test_file"; then
9053 case $deplibs_check_method in
9055 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9056 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9057 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9058 $EGREP "$file_magic_regex" > /dev/null; then
9063 *** Warning: the command libtool uses to detect shared libraries,
9064 *** $file_magic_cmd, produces output that libtool cannot recognize.
9065 *** The result is that libtool may fail to recognize shared libraries
9066 *** as such. This will affect the creation of libtool libraries that
9067 *** depend on shared libraries, but programs linked with such libtool
9068 *** libraries will work regardless of this problem. Nevertheless, you
9069 *** may want to report the problem to your system manager and/or to
9070 *** bug-libtool@gnu.org
9080 MAGIC_CMD="$lt_save_MAGIC_CMD"
9085 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9086 if test -n "$MAGIC_CMD"; then
9087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9088 $as_echo "$MAGIC_CMD" >&6; }
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9091 $as_echo "no" >&6; }
9104 # Use C for the default configuration in the libtool script
9108 ac_cpp='$CPP $CPPFLAGS'
9109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9114 # Source file extension for C test sources.
9117 # Object file extension for compiled C test sources.
9121 # Code to be used in simple compile tests
9122 lt_simple_compile_test_code="int some_variable = 0;"
9124 # Code to be used in simple link tests
9125 lt_simple_link_test_code='int main(){return(0);}'
9133 # If no C compiler was specified, use CC.
9136 # If no C compiler flags were specified, use CFLAGS.
9137 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9139 # Allow CC to be a program name with arguments.
9142 # Save the default compiler, since it gets overwritten when the other
9143 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9144 compiler_DEFAULT=$CC
9146 # save warnings/boilerplate of simple test code
9147 ac_outfile=conftest.$ac_objext
9148 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9149 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9150 _lt_compiler_boilerplate=`cat conftest.err`
9153 ac_outfile=conftest.$ac_objext
9154 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9155 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9156 _lt_linker_boilerplate=`cat conftest.err`
9160 if test -n "$compiler"; then
9162 lt_prog_compiler_no_builtin_flag=
9164 if test "$GCC" = yes; then
9165 case $cc_basename in
9167 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9169 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9173 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9174 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9175 $as_echo_n "(cached) " >&6
9177 lt_cv_prog_compiler_rtti_exceptions=no
9178 ac_outfile=conftest.$ac_objext
9179 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9180 lt_compiler_flag="-fno-rtti -fno-exceptions"
9181 # Insert the option either (1) after the last *FLAGS variable, or
9182 # (2) before a word containing "conftest.", or (3) at the end.
9183 # Note that $ac_compile itself does not contain backslashes and begins
9184 # with a dollar sign (not a hyphen), so the echo should work correctly.
9185 # The option is referenced via a variable to avoid confusing sed.
9186 lt_compile=`echo "$ac_compile" | $SED \
9187 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9188 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9189 -e 's:$: $lt_compiler_flag:'`
9190 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9191 (eval "$lt_compile" 2>conftest.err)
9193 cat conftest.err >&5
9194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9195 if (exit $ac_status) && test -s "$ac_outfile"; then
9196 # The compiler can only warn and ignore the option if not recognized
9197 # So say no if there are warnings other than the usual output.
9198 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9199 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9200 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9201 lt_cv_prog_compiler_rtti_exceptions=yes
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9208 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9210 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9211 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9223 lt_prog_compiler_wl=
9224 lt_prog_compiler_pic=
9225 lt_prog_compiler_static=
9228 if test "$GCC" = yes; then
9229 lt_prog_compiler_wl='-Wl,'
9230 lt_prog_compiler_static='-static'
9234 # All AIX code is PIC.
9235 if test "$host_cpu" = ia64; then
9236 # AIX 5 now supports IA64 processor
9237 lt_prog_compiler_static='-Bstatic'
9244 # see comment about AmigaOS4 .so support
9245 lt_prog_compiler_pic='-fPIC'
9248 # FIXME: we need at least 68020 code to build shared libraries, but
9249 # adding the `-m68020' flag to GCC prevents building anything better,
9251 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9256 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9257 # PIC is the default for these OSes.
9260 mingw* | cygwin* | pw32* | os2* | cegcc*)
9261 # This hack is so that the source file can tell whether it is being
9262 # built for inclusion in a dll (and should export symbols for example).
9263 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9264 # (--disable-auto-import) libraries
9265 lt_prog_compiler_pic='-DDLL_EXPORT'
9268 darwin* | rhapsody*)
9269 # PIC is the default on this platform
9270 # Common symbols not allowed in MH_DYLIB files
9271 lt_prog_compiler_pic='-fno-common'
9275 # PIC is the default for Haiku.
9276 # The "-static" flag exists, but is broken.
9277 lt_prog_compiler_static=
9281 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9282 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9283 # sets the default TLS model and affects inlining.
9289 lt_prog_compiler_pic='-fPIC'
9295 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9296 # Instead, we relocate shared libraries at runtime.
9300 # Just because we use GCC doesn't mean we suddenly get shared libraries
9301 # on systems that don't support them.
9302 lt_prog_compiler_can_build_shared=no
9307 # QNX uses GNU C++, but need to define -shared option too, otherwise
9309 lt_prog_compiler_pic='-fPIC -shared'
9313 if test -d /usr/nec; then
9314 lt_prog_compiler_pic=-Kconform_pic
9319 lt_prog_compiler_pic='-fPIC'
9323 case $cc_basename in
9324 nvcc*) # Cuda Compiler Driver 2.2
9325 lt_prog_compiler_wl='-Xlinker '
9326 lt_prog_compiler_pic='-Xcompiler -fPIC'
9330 # PORTME Check for flag to pass linker flags through the system compiler.
9333 lt_prog_compiler_wl='-Wl,'
9334 if test "$host_cpu" = ia64; then
9335 # AIX 5 now supports IA64 processor
9336 lt_prog_compiler_static='-Bstatic'
9338 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9342 mingw* | cygwin* | pw32* | os2* | cegcc*)
9343 # This hack is so that the source file can tell whether it is being
9344 # built for inclusion in a dll (and should export symbols for example).
9345 lt_prog_compiler_pic='-DDLL_EXPORT'
9348 hpux9* | hpux10* | hpux11*)
9349 lt_prog_compiler_wl='-Wl,'
9350 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9357 lt_prog_compiler_pic='+Z'
9360 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9361 lt_prog_compiler_static='${wl}-a ${wl}archive'
9364 irix5* | irix6* | nonstopux*)
9365 lt_prog_compiler_wl='-Wl,'
9366 # PIC (with -KPIC) is the default.
9367 lt_prog_compiler_static='-non_shared'
9370 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9371 case $cc_basename in
9372 # old Intel for x86_64 which still supported -KPIC.
9374 lt_prog_compiler_wl='-Wl,'
9375 lt_prog_compiler_pic='-KPIC'
9376 lt_prog_compiler_static='-static'
9378 # icc used to be incompatible with GCC.
9379 # ICC 10 doesn't accept -KPIC any more.
9381 lt_prog_compiler_wl='-Wl,'
9382 lt_prog_compiler_pic='-fPIC'
9383 lt_prog_compiler_static='-static'
9385 # Lahey Fortran 8.1.
9387 lt_prog_compiler_wl='-Wl,'
9388 lt_prog_compiler_pic='--shared'
9389 lt_prog_compiler_static='--static'
9392 # NAG Fortran compiler
9393 lt_prog_compiler_wl='-Wl,-Wl,,'
9394 lt_prog_compiler_pic='-PIC'
9395 lt_prog_compiler_static='-Bstatic'
9397 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9398 # Portland Group compilers (*not* the Pentium gcc compiler,
9399 # which looks to be a dead project)
9400 lt_prog_compiler_wl='-Wl,'
9401 lt_prog_compiler_pic='-fpic'
9402 lt_prog_compiler_static='-Bstatic'
9405 lt_prog_compiler_wl='-Wl,'
9406 # All Alpha code is PIC.
9407 lt_prog_compiler_static='-non_shared'
9409 xl* | bgxl* | bgf* | mpixl*)
9410 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9411 lt_prog_compiler_wl='-Wl,'
9412 lt_prog_compiler_pic='-qpic'
9413 lt_prog_compiler_static='-qstaticlink'
9416 case `$CC -V 2>&1 | sed 5q` in
9417 *Sun\ F* | *Sun*Fortran*)
9418 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9419 lt_prog_compiler_pic='-KPIC'
9420 lt_prog_compiler_static='-Bstatic'
9421 lt_prog_compiler_wl=''
9425 lt_prog_compiler_pic='-KPIC'
9426 lt_prog_compiler_static='-Bstatic'
9427 lt_prog_compiler_wl='-Wl,'
9435 lt_prog_compiler_pic='-KPIC'
9436 lt_prog_compiler_static='-Bstatic'
9440 # QNX uses GNU C++, but need to define -shared option too, otherwise
9442 lt_prog_compiler_pic='-fPIC -shared'
9445 osf3* | osf4* | osf5*)
9446 lt_prog_compiler_wl='-Wl,'
9447 # All OSF/1 code is PIC.
9448 lt_prog_compiler_static='-non_shared'
9452 lt_prog_compiler_static='-non_shared'
9456 lt_prog_compiler_pic='-KPIC'
9457 lt_prog_compiler_static='-Bstatic'
9458 case $cc_basename in
9459 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9460 lt_prog_compiler_wl='-Qoption ld ';;
9462 lt_prog_compiler_wl='-Wl,';;
9467 lt_prog_compiler_wl='-Qoption ld '
9468 lt_prog_compiler_pic='-PIC'
9469 lt_prog_compiler_static='-Bstatic'
9472 sysv4 | sysv4.2uw2* | sysv4.3*)
9473 lt_prog_compiler_wl='-Wl,'
9474 lt_prog_compiler_pic='-KPIC'
9475 lt_prog_compiler_static='-Bstatic'
9479 if test -d /usr/nec ;then
9480 lt_prog_compiler_pic='-Kconform_pic'
9481 lt_prog_compiler_static='-Bstatic'
9485 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9486 lt_prog_compiler_wl='-Wl,'
9487 lt_prog_compiler_pic='-KPIC'
9488 lt_prog_compiler_static='-Bstatic'
9492 lt_prog_compiler_wl='-Wl,'
9493 lt_prog_compiler_can_build_shared=no
9497 lt_prog_compiler_pic='-pic'
9498 lt_prog_compiler_static='-Bstatic'
9502 lt_prog_compiler_can_build_shared=no
9508 # For platforms which do not support PIC, -DPIC is meaningless:
9510 lt_prog_compiler_pic=
9513 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9518 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9519 if ${lt_cv_prog_compiler_pic+:} false; then :
9520 $as_echo_n "(cached) " >&6
9522 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9525 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9526 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9529 # Check to make sure the PIC flag actually works.
9531 if test -n "$lt_prog_compiler_pic"; then
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9533 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9534 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9535 $as_echo_n "(cached) " >&6
9537 lt_cv_prog_compiler_pic_works=no
9538 ac_outfile=conftest.$ac_objext
9539 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9540 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9541 # Insert the option either (1) after the last *FLAGS variable, or
9542 # (2) before a word containing "conftest.", or (3) at the end.
9543 # Note that $ac_compile itself does not contain backslashes and begins
9544 # with a dollar sign (not a hyphen), so the echo should work correctly.
9545 # The option is referenced via a variable to avoid confusing sed.
9546 lt_compile=`echo "$ac_compile" | $SED \
9547 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9548 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9549 -e 's:$: $lt_compiler_flag:'`
9550 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9551 (eval "$lt_compile" 2>conftest.err)
9553 cat conftest.err >&5
9554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9555 if (exit $ac_status) && test -s "$ac_outfile"; then
9556 # The compiler can only warn and ignore the option if not recognized
9557 # So say no if there are warnings other than the usual output.
9558 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9559 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9560 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9561 lt_cv_prog_compiler_pic_works=yes
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9568 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9570 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9571 case $lt_prog_compiler_pic in
9573 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9576 lt_prog_compiler_pic=
9577 lt_prog_compiler_can_build_shared=no
9593 # Check to make sure the static flag actually works.
9595 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9597 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9598 if ${lt_cv_prog_compiler_static_works+:} false; then :
9599 $as_echo_n "(cached) " >&6
9601 lt_cv_prog_compiler_static_works=no
9602 save_LDFLAGS="$LDFLAGS"
9603 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9604 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9605 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9606 # The linker can only warn and ignore the option if not recognized
9607 # So say no if there are warnings
9608 if test -s conftest.err; then
9609 # Append any errors to the config.log.
9610 cat conftest.err 1>&5
9611 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9612 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9613 if diff conftest.exp conftest.er2 >/dev/null; then
9614 lt_cv_prog_compiler_static_works=yes
9617 lt_cv_prog_compiler_static_works=yes
9621 LDFLAGS="$save_LDFLAGS"
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9625 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9627 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9630 lt_prog_compiler_static=
9639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9640 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9641 if ${lt_cv_prog_compiler_c_o+:} false; then :
9642 $as_echo_n "(cached) " >&6
9644 lt_cv_prog_compiler_c_o=no
9645 $RM -r conftest 2>/dev/null
9649 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9651 lt_compiler_flag="-o out/conftest2.$ac_objext"
9652 # Insert the option either (1) after the last *FLAGS variable, or
9653 # (2) before a word containing "conftest.", or (3) at the end.
9654 # Note that $ac_compile itself does not contain backslashes and begins
9655 # with a dollar sign (not a hyphen), so the echo should work correctly.
9656 lt_compile=`echo "$ac_compile" | $SED \
9657 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9658 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9659 -e 's:$: $lt_compiler_flag:'`
9660 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9661 (eval "$lt_compile" 2>out/conftest.err)
9663 cat out/conftest.err >&5
9664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9665 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9667 # The compiler can only warn and ignore the option if not recognized
9668 # So say no if there are warnings
9669 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9670 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9671 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9672 lt_cv_prog_compiler_c_o=yes
9677 # SGI C++ compiler will create directory out/ii_files/ for
9678 # template instantiation
9679 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9680 $RM out/* && rmdir out
9686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9687 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9695 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9696 if ${lt_cv_prog_compiler_c_o+:} false; then :
9697 $as_echo_n "(cached) " >&6
9699 lt_cv_prog_compiler_c_o=no
9700 $RM -r conftest 2>/dev/null
9704 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9706 lt_compiler_flag="-o out/conftest2.$ac_objext"
9707 # Insert the option either (1) after the last *FLAGS variable, or
9708 # (2) before a word containing "conftest.", or (3) at the end.
9709 # Note that $ac_compile itself does not contain backslashes and begins
9710 # with a dollar sign (not a hyphen), so the echo should work correctly.
9711 lt_compile=`echo "$ac_compile" | $SED \
9712 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9713 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9714 -e 's:$: $lt_compiler_flag:'`
9715 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9716 (eval "$lt_compile" 2>out/conftest.err)
9718 cat out/conftest.err >&5
9719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9720 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9722 # The compiler can only warn and ignore the option if not recognized
9723 # So say no if there are warnings
9724 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9725 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9726 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9727 lt_cv_prog_compiler_c_o=yes
9732 # SGI C++ compiler will create directory out/ii_files/ for
9733 # template instantiation
9734 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9735 $RM out/* && rmdir out
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9742 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9747 hard_links="nottested"
9748 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9749 # do not overwrite the value of need_locks provided by the user
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9751 $as_echo_n "checking if we can lock with hard links... " >&6; }
9754 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9756 ln conftest.a conftest.b 2>&5 || hard_links=no
9757 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9759 $as_echo "$hard_links" >&6; }
9760 if test "$hard_links" = no; then
9761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9762 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9775 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9778 allow_undefined_flag=
9779 always_export_symbols=no
9781 archive_expsym_cmds=
9782 compiler_needs_object=no
9783 enable_shared_with_static_runtimes=no
9784 export_dynamic_flag_spec=
9785 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9786 hardcode_automatic=no
9788 hardcode_direct_absolute=no
9789 hardcode_libdir_flag_spec=
9790 hardcode_libdir_flag_spec_ld=
9791 hardcode_libdir_separator=
9793 hardcode_shlibpath_var=unsupported
9795 link_all_deplibs=unknown
9798 old_archive_from_new_cmds=
9799 old_archive_from_expsyms_cmds=
9800 thread_safe_flag_spec=
9801 whole_archive_flag_spec=
9802 # include_expsyms should be a list of space-separated symbols to be *always*
9803 # included in the symbol list
9805 # exclude_expsyms can be an extended regexp of symbols to exclude
9806 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9807 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9808 # as well as any symbol that contains `d'.
9809 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9810 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9811 # platforms (ab)use it in PIC code, but their linkers get confused if
9812 # the symbol is explicitly referenced. Since portable code cannot
9813 # rely on this symbol name, it's probably fine to never include it in
9814 # preloaded symbol tables.
9815 # Exclude shared library initialization/finalization symbols.
9816 extract_expsyms_cmds=
9819 cygwin* | mingw* | pw32* | cegcc*)
9820 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9821 # When not using gcc, we currently assume that we are using
9822 # Microsoft Visual C++.
9823 if test "$GCC" != yes; then
9828 # we just hope/assume this is gcc and not c89 (= MSVC++)
9838 # On some targets, GNU ld is compatible enough with the native linker
9839 # that we're better off using the native interface for both.
9840 lt_use_gnu_ld_interface=no
9841 if test "$with_gnu_ld" = yes; then
9844 # The AIX port of GNU ld has always aspired to compatibility
9845 # with the native linker. However, as the warning in the GNU ld
9846 # block says, versions before 2.19.5* couldn't really create working
9847 # shared libraries, regardless of the interface used.
9848 case `$LD -v 2>&1` in
9849 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9850 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9851 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9853 lt_use_gnu_ld_interface=yes
9858 lt_use_gnu_ld_interface=yes
9863 if test "$lt_use_gnu_ld_interface" = yes; then
9864 # If archive_cmds runs LD, not CC, wlarc should be empty
9867 # Set some defaults for GNU ld with shared library support. These
9868 # are reset later if shared libraries are not supported. Putting them
9869 # here allows them to be overridden if necessary.
9870 runpath_var=LD_RUN_PATH
9871 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9872 export_dynamic_flag_spec='${wl}--export-dynamic'
9873 # ancient GNU ld didn't support --whole-archive et. al.
9874 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9875 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9877 whole_archive_flag_spec=
9879 supports_anon_versioning=no
9880 case `$LD -v 2>&1` in
9881 *GNU\ gold*) supports_anon_versioning=yes ;;
9882 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9883 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9884 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9885 *\ 2.11.*) ;; # other 2.11 versions
9886 *) supports_anon_versioning=yes ;;
9889 # See if GNU ld supports shared libraries.
9892 # On AIX/PPC, the GNU linker is very broken
9893 if test "$host_cpu" != ia64; then
9897 *** Warning: the GNU linker, at least up to release 2.19, is reported
9898 *** to be unable to reliably create shared libraries on AIX.
9899 *** Therefore, libtool is disabling shared libraries support. If you
9900 *** really care for shared libraries, you may want to install binutils
9901 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9902 *** You will then need to restart the configuration process.
9911 # see comment about AmigaOS4 .so support
9912 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9913 archive_expsym_cmds=''
9916 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)'
9917 hardcode_libdir_flag_spec='-L$libdir'
9918 hardcode_minus_L=yes
9924 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9925 allow_undefined_flag=unsupported
9926 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9927 # support --undefined. This deserves some investigation. FIXME
9928 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9934 cygwin* | mingw* | pw32* | cegcc*)
9935 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9936 # as there is no search path for DLLs.
9937 hardcode_libdir_flag_spec='-L$libdir'
9938 export_dynamic_flag_spec='${wl}--export-all-symbols'
9939 allow_undefined_flag=unsupported
9940 always_export_symbols=no
9941 enable_shared_with_static_runtimes=yes
9942 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9943 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9945 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9946 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9947 # If the export-symbols file already is a .def file (1st line
9948 # is EXPORTS), use it as is; otherwise, prepend...
9949 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9950 cp $export_symbols $output_objdir/$soname.def;
9952 echo EXPORTS > $output_objdir/$soname.def;
9953 cat $export_symbols >> $output_objdir/$soname.def;
9955 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9962 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9963 link_all_deplibs=yes
9968 hardcode_shlibpath_var=no
9969 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9970 export_dynamic_flag_spec='${wl}-E'
9971 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9972 # Instead, shared libraries are loaded at an image base (0x10000000 by
9973 # default) and relocated if they conflict, which is a slow very memory
9974 # consuming and fragmenting process. To avoid this, we pick a random,
9975 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9976 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9977 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9978 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'
9981 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9983 if test "$host_os" = linux-dietlibc; then
9984 case $cc_basename in
9985 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9988 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9989 && test "$tmp_diet" = no
9991 tmp_addflag=' $pic_flag'
9992 tmp_sharedflag='-shared'
9993 case $cc_basename,$host_cpu in
9994 pgcc*) # Portland Group C compiler
9995 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9996 tmp_addflag=' $pic_flag'
9998 pgf77* | pgf90* | pgf95* | pgfortran*)
9999 # Portland Group f77 and f90 compilers
10000 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10001 tmp_addflag=' $pic_flag -Mnomain' ;;
10002 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10003 tmp_addflag=' -i_dynamic' ;;
10004 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10005 tmp_addflag=' -i_dynamic -nofor_main' ;;
10006 ifc* | ifort*) # Intel Fortran compiler
10007 tmp_addflag=' -nofor_main' ;;
10008 lf95*) # Lahey Fortran 8.1
10009 whole_archive_flag_spec=
10010 tmp_sharedflag='--shared' ;;
10011 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10012 tmp_sharedflag='-qmkshrobj'
10014 nvcc*) # Cuda Compiler Driver 2.2
10015 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10016 compiler_needs_object=yes
10019 case `$CC -V 2>&1 | sed 5q` in
10020 *Sun\ C*) # Sun C 5.9
10021 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10022 compiler_needs_object=yes
10023 tmp_sharedflag='-G' ;;
10024 *Sun\ F*) # Sun Fortran 8.3
10025 tmp_sharedflag='-G' ;;
10027 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10029 if test "x$supports_anon_versioning" = xyes; then
10030 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10031 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10032 echo "local: *; };" >> $output_objdir/$libname.ver~
10033 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10036 case $cc_basename in
10037 xlf* | bgf* | bgxlf* | mpixlf*)
10038 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10039 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10040 hardcode_libdir_flag_spec=
10041 hardcode_libdir_flag_spec_ld='-rpath $libdir'
10042 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10043 if test "x$supports_anon_versioning" = xyes; then
10044 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10045 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10046 echo "local: *; };" >> $output_objdir/$libname.ver~
10047 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10057 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10058 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10061 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10062 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10067 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10071 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10072 *** create shared libraries on Solaris systems. Therefore, libtool
10073 *** is disabling shared libraries support. We urge you to upgrade GNU
10074 *** binutils to release 2.9.1 or newer. Another option is to modify
10075 *** your PATH or compiler configuration so that the native linker is
10076 *** used, and then restart.
10079 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10080 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10081 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10087 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10088 case `$LD -v 2>&1` in
10089 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10093 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10094 *** reliably create shared libraries on SCO systems. Therefore, libtool
10095 *** is disabling shared libraries support. We urge you to upgrade GNU
10096 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10097 *** your PATH or compiler configuration so that the native linker is
10098 *** used, and then restart.
10103 # For security reasons, it is highly recommended that you always
10104 # use absolute paths for naming shared libraries, and exclude the
10105 # DT_RUNPATH tag from executables and libraries. But doing so
10106 # requires that you compile everything twice, which is a pain.
10107 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10108 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10109 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10110 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10119 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10121 hardcode_direct=yes
10122 hardcode_shlibpath_var=no
10126 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10127 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10128 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10135 if test "$ld_shlibs" = no; then
10137 hardcode_libdir_flag_spec=
10138 export_dynamic_flag_spec=
10139 whole_archive_flag_spec=
10142 # PORTME fill in a description of your system's linker (not GNU ld)
10145 allow_undefined_flag=unsupported
10146 always_export_symbols=yes
10147 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'
10148 # Note: this linker hardcodes the directories in LIBPATH if there
10149 # are no directories specified by -L.
10150 hardcode_minus_L=yes
10151 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10152 # Neither direct hardcoding nor static linking is supported with a
10154 hardcode_direct=unsupported
10159 if test "$host_cpu" = ia64; then
10160 # On IA64, the linker does run time linking by default, so we don't
10161 # have to do anything special.
10162 aix_use_runtimelinking=no
10163 exp_sym_flag='-Bexport'
10166 # If we're using GNU nm, then we don't want the "-C" option.
10167 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10168 # Also, AIX nm treats weak defined symbols like other global
10169 # defined symbols, whereas GNU nm marks them as "W".
10170 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10171 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10173 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'
10175 aix_use_runtimelinking=no
10177 # Test if we are trying to use run time linking or normal
10178 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10179 # need to do runtime linking.
10180 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10181 for ld_flag in $LDFLAGS; do
10182 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10183 aix_use_runtimelinking=yes
10190 exp_sym_flag='-bexport'
10191 no_entry_flag='-bnoentry'
10194 # When large executables or shared objects are built, AIX ld can
10195 # have problems creating the table of contents. If linking a library
10196 # or program results in "error TOC overflow" add -mminimal-toc to
10197 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10198 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10201 hardcode_direct=yes
10202 hardcode_direct_absolute=yes
10203 hardcode_libdir_separator=':'
10204 link_all_deplibs=yes
10205 file_list_spec='${wl}-f,'
10207 if test "$GCC" = yes; then
10208 case $host_os in aix4.[012]|aix4.[012].*)
10209 # We only want to do this on AIX 4.2 and lower, the check
10210 # below for broken collect2 doesn't work under 4.3+
10211 collect2name=`${CC} -print-prog-name=collect2`
10212 if test -f "$collect2name" &&
10213 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10215 # We have reworked collect2
10218 # We have old collect2
10219 hardcode_direct=unsupported
10220 # It fails to find uninstalled libraries when the uninstalled
10221 # path is not listed in the libpath. Setting hardcode_minus_L
10222 # to unsupported forces relinking
10223 hardcode_minus_L=yes
10224 hardcode_libdir_flag_spec='-L$libdir'
10225 hardcode_libdir_separator=
10229 shared_flag='-shared'
10230 if test "$aix_use_runtimelinking" = yes; then
10231 shared_flag="$shared_flag "'${wl}-G'
10235 if test "$host_cpu" = ia64; then
10236 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10237 # chokes on -Wl,-G. The following line is correct:
10240 if test "$aix_use_runtimelinking" = yes; then
10241 shared_flag='${wl}-G'
10243 shared_flag='${wl}-bM:SRE'
10248 export_dynamic_flag_spec='${wl}-bexpall'
10249 # It seems that -bexpall does not export symbols beginning with
10250 # underscore (_), so it is better to generate a list of symbols to export.
10251 always_export_symbols=yes
10252 if test "$aix_use_runtimelinking" = yes; then
10253 # Warning - without using the other runtime loading flags (-brtl),
10254 # -berok will link without error, but may produce a broken library.
10255 allow_undefined_flag='-berok'
10256 # Determine the default libpath from the value encoded in an
10257 # empty executable.
10258 if test "${lt_cv_aix_libpath+set}" = set; then
10259 aix_libpath=$lt_cv_aix_libpath
10261 if ${lt_cv_aix_libpath_+:} false; then :
10262 $as_echo_n "(cached) " >&6
10264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10265 /* end confdefs.h. */
10275 if ac_fn_c_try_link "$LINENO"; then :
10277 lt_aix_libpath_sed='
10278 /Import File Strings/,/^$/ {
10280 s/^0 *\([^ ]*\) *$/\1/
10284 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10285 # Check for a 64-bit object if we didn't find anything.
10286 if test -z "$lt_cv_aix_libpath_"; then
10287 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10290 rm -f core conftest.err conftest.$ac_objext \
10291 conftest$ac_exeext conftest.$ac_ext
10292 if test -z "$lt_cv_aix_libpath_"; then
10293 lt_cv_aix_libpath_="/usr/lib:/lib"
10298 aix_libpath=$lt_cv_aix_libpath_
10301 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10302 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10304 if test "$host_cpu" = ia64; then
10305 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10306 allow_undefined_flag="-z nodefs"
10307 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"
10309 # Determine the default libpath from the value encoded in an
10310 # empty executable.
10311 if test "${lt_cv_aix_libpath+set}" = set; then
10312 aix_libpath=$lt_cv_aix_libpath
10314 if ${lt_cv_aix_libpath_+:} false; then :
10315 $as_echo_n "(cached) " >&6
10317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10318 /* end confdefs.h. */
10328 if ac_fn_c_try_link "$LINENO"; then :
10330 lt_aix_libpath_sed='
10331 /Import File Strings/,/^$/ {
10333 s/^0 *\([^ ]*\) *$/\1/
10337 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10338 # Check for a 64-bit object if we didn't find anything.
10339 if test -z "$lt_cv_aix_libpath_"; then
10340 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10343 rm -f core conftest.err conftest.$ac_objext \
10344 conftest$ac_exeext conftest.$ac_ext
10345 if test -z "$lt_cv_aix_libpath_"; then
10346 lt_cv_aix_libpath_="/usr/lib:/lib"
10351 aix_libpath=$lt_cv_aix_libpath_
10354 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10355 # Warning - without using the other run time loading flags,
10356 # -berok will link without error, but may produce a broken library.
10357 no_undefined_flag=' ${wl}-bernotok'
10358 allow_undefined_flag=' ${wl}-berok'
10359 if test "$with_gnu_ld" = yes; then
10360 # We only use this code for GNU lds that support --whole-archive.
10361 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10363 # Exported symbols can be pulled into shared objects from archives
10364 whole_archive_flag_spec='$convenience'
10366 archive_cmds_need_lc=yes
10367 # This is similar to how AIX traditionally builds its shared libraries.
10368 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'
10376 # see comment about AmigaOS4 .so support
10377 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10378 archive_expsym_cmds=''
10381 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)'
10382 hardcode_libdir_flag_spec='-L$libdir'
10383 hardcode_minus_L=yes
10389 export_dynamic_flag_spec=-rdynamic
10392 cygwin* | mingw* | pw32* | cegcc*)
10393 # When not using gcc, we currently assume that we are using
10394 # Microsoft Visual C++.
10395 # hardcode_libdir_flag_spec is actually meaningless, as there is
10396 # no search path for DLLs.
10397 case $cc_basename in
10400 hardcode_libdir_flag_spec=' '
10401 allow_undefined_flag=unsupported
10402 always_export_symbols=yes
10404 # Tell ltmain to make .lib files, not .a files.
10406 # Tell ltmain to make .dll files, not .so files.
10408 # FIXME: Setting linknames here is a bad hack.
10409 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10410 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10411 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10413 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10415 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10417 # The linker will not automatically build a static lib if we build a DLL.
10418 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10419 enable_shared_with_static_runtimes=yes
10420 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10422 old_postinstall_cmds='chmod 644 $oldlib'
10423 postlink_cmds='lt_outputfile="@OUTPUT@"~
10424 lt_tool_outputfile="@TOOL_OUTPUT@"~
10425 case $lt_outputfile in
10428 lt_outputfile="$lt_outputfile.exe"
10429 lt_tool_outputfile="$lt_tool_outputfile.exe"
10432 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10433 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10434 $RM "$lt_outputfile.manifest";
10438 # Assume MSVC wrapper
10439 hardcode_libdir_flag_spec=' '
10440 allow_undefined_flag=unsupported
10441 # Tell ltmain to make .lib files, not .a files.
10443 # Tell ltmain to make .dll files, not .so files.
10445 # FIXME: Setting linknames here is a bad hack.
10446 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10447 # The linker will automatically build a .lib file if we build a DLL.
10448 old_archive_from_new_cmds='true'
10449 # FIXME: Should let the user specify the lib program.
10450 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10451 enable_shared_with_static_runtimes=yes
10456 darwin* | rhapsody*)
10459 archive_cmds_need_lc=no
10461 hardcode_automatic=yes
10462 hardcode_shlibpath_var=unsupported
10463 if test "$lt_cv_ld_force_load" = "yes"; then
10464 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10466 whole_archive_flag_spec=''
10468 link_all_deplibs=yes
10469 allow_undefined_flag="$_lt_dar_allow_undefined"
10470 case $cc_basename in
10471 ifort*) _lt_dar_can_shared=yes ;;
10472 *) _lt_dar_can_shared=$GCC ;;
10474 if test "$_lt_dar_can_shared" = "yes"; then
10475 output_verbose_link_cmd=func_echo_all
10476 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10477 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10478 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}"
10479 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}"
10488 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10489 hardcode_libdir_flag_spec='-L$libdir'
10490 hardcode_shlibpath_var=no
10497 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10498 # support. Future versions do this automatically, but an explicit c++rt0.o
10499 # does not break anything, and helps significantly (at the cost of a little
10502 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10503 hardcode_libdir_flag_spec='-R$libdir'
10504 hardcode_direct=yes
10505 hardcode_shlibpath_var=no
10508 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10510 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10511 hardcode_direct=yes
10512 hardcode_minus_L=yes
10513 hardcode_shlibpath_var=no
10516 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10517 freebsd* | dragonfly*)
10518 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10519 hardcode_libdir_flag_spec='-R$libdir'
10520 hardcode_direct=yes
10521 hardcode_shlibpath_var=no
10525 if test "$GCC" = yes; then
10526 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10528 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'
10530 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10531 hardcode_libdir_separator=:
10532 hardcode_direct=yes
10534 # hardcode_minus_L: Not really in the search PATH,
10535 # but as the default location of the library.
10536 hardcode_minus_L=yes
10537 export_dynamic_flag_spec='${wl}-E'
10541 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10542 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10544 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10546 if test "$with_gnu_ld" = no; then
10547 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10548 hardcode_libdir_flag_spec_ld='+b $libdir'
10549 hardcode_libdir_separator=:
10550 hardcode_direct=yes
10551 hardcode_direct_absolute=yes
10552 export_dynamic_flag_spec='${wl}-E'
10553 # hardcode_minus_L: Not really in the search PATH,
10554 # but as the default location of the library.
10555 hardcode_minus_L=yes
10560 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10563 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10566 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10569 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10575 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10578 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10582 # Older versions of the 11.00 compiler do not understand -b yet
10583 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10585 $as_echo_n "checking if $CC understands -b... " >&6; }
10586 if ${lt_cv_prog_compiler__b+:} false; then :
10587 $as_echo_n "(cached) " >&6
10589 lt_cv_prog_compiler__b=no
10590 save_LDFLAGS="$LDFLAGS"
10591 LDFLAGS="$LDFLAGS -b"
10592 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10593 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10594 # The linker can only warn and ignore the option if not recognized
10595 # So say no if there are warnings
10596 if test -s conftest.err; then
10597 # Append any errors to the config.log.
10598 cat conftest.err 1>&5
10599 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10600 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10601 if diff conftest.exp conftest.er2 >/dev/null; then
10602 lt_cv_prog_compiler__b=yes
10605 lt_cv_prog_compiler__b=yes
10609 LDFLAGS="$save_LDFLAGS"
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10613 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10615 if test x"$lt_cv_prog_compiler__b" = xyes; then
10616 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10618 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10624 if test "$with_gnu_ld" = no; then
10625 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10626 hardcode_libdir_separator=:
10631 hardcode_shlibpath_var=no
10634 hardcode_direct=yes
10635 hardcode_direct_absolute=yes
10636 export_dynamic_flag_spec='${wl}-E'
10638 # hardcode_minus_L: Not really in the search PATH,
10639 # but as the default location of the library.
10640 hardcode_minus_L=yes
10646 irix5* | irix6* | nonstopux*)
10647 if test "$GCC" = yes; then
10648 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10649 # Try to use the -exported_symbol ld option, if it does not
10650 # work, assume that -exports_file does not work either and
10651 # implicitly export all symbols.
10652 # This should be the same for all languages, so no per-tag cache variable.
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10654 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10655 if ${lt_cv_irix_exported_symbol+:} false; then :
10656 $as_echo_n "(cached) " >&6
10658 save_LDFLAGS="$LDFLAGS"
10659 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10661 /* end confdefs.h. */
10662 int foo (void) { return 0; }
10664 if ac_fn_c_try_link "$LINENO"; then :
10665 lt_cv_irix_exported_symbol=yes
10667 lt_cv_irix_exported_symbol=no
10669 rm -f core conftest.err conftest.$ac_objext \
10670 conftest$ac_exeext conftest.$ac_ext
10671 LDFLAGS="$save_LDFLAGS"
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10674 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10675 if test "$lt_cv_irix_exported_symbol" = yes; then
10676 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10679 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10680 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10682 archive_cmds_need_lc='no'
10683 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10684 hardcode_libdir_separator=:
10686 link_all_deplibs=yes
10690 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10691 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10693 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10695 hardcode_libdir_flag_spec='-R$libdir'
10696 hardcode_direct=yes
10697 hardcode_shlibpath_var=no
10701 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10702 hardcode_direct=yes
10703 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10704 hardcode_libdir_separator=:
10705 hardcode_shlibpath_var=no
10712 if test -f /usr/libexec/ld.so; then
10713 hardcode_direct=yes
10714 hardcode_shlibpath_var=no
10715 hardcode_direct_absolute=yes
10716 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10717 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10718 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10719 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10720 export_dynamic_flag_spec='${wl}-E'
10723 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10724 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10725 hardcode_libdir_flag_spec='-R$libdir'
10728 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10729 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10739 hardcode_libdir_flag_spec='-L$libdir'
10740 hardcode_minus_L=yes
10741 allow_undefined_flag=unsupported
10742 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'
10743 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10747 if test "$GCC" = yes; then
10748 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10749 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10751 allow_undefined_flag=' -expect_unresolved \*'
10752 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10754 archive_cmds_need_lc='no'
10755 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10756 hardcode_libdir_separator=:
10759 osf4* | osf5*) # as osf3* with the addition of -msym flag
10760 if test "$GCC" = yes; then
10761 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10762 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10763 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10765 allow_undefined_flag=' -expect_unresolved \*'
10766 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10767 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~
10768 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10770 # Both c and cxx compiler support -rpath directly
10771 hardcode_libdir_flag_spec='-rpath $libdir'
10773 archive_cmds_need_lc='no'
10774 hardcode_libdir_separator=:
10778 no_undefined_flag=' -z defs'
10779 if test "$GCC" = yes; then
10781 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10782 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10783 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10785 case `$CC -V 2>&1` in
10788 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10789 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10790 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10794 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10795 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10796 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10800 hardcode_libdir_flag_spec='-R$libdir'
10801 hardcode_shlibpath_var=no
10803 solaris2.[0-5] | solaris2.[0-5].*) ;;
10805 # The compiler driver will combine and reorder linker options,
10806 # but understands `-z linker_flag'. GCC discards it without `$wl',
10807 # but is careful enough not to reorder.
10808 # Supported since Solaris 2.6 (maybe 2.5.1?)
10809 if test "$GCC" = yes; then
10810 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10812 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10816 link_all_deplibs=yes
10820 if test "x$host_vendor" = xsequent; then
10821 # Use $CC to link under sequent, because it throws in some extra .o
10822 # files that make .init and .fini sections work.
10823 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10825 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10827 hardcode_libdir_flag_spec='-L$libdir'
10828 hardcode_direct=yes
10829 hardcode_minus_L=yes
10830 hardcode_shlibpath_var=no
10834 case $host_vendor in
10836 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10837 hardcode_direct=yes # is this really true???
10840 ## LD is ld it makes a PLAMLIB
10841 ## CC just makes a GrossModule.
10842 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10843 reload_cmds='$CC -r -o $output$reload_objs'
10847 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10848 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10851 runpath_var='LD_RUN_PATH'
10852 hardcode_shlibpath_var=no
10856 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10857 hardcode_shlibpath_var=no
10858 export_dynamic_flag_spec='-Bexport'
10862 if test -d /usr/nec; then
10863 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10864 hardcode_shlibpath_var=no
10865 runpath_var=LD_RUN_PATH
10866 hardcode_runpath_var=yes
10871 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10872 no_undefined_flag='${wl}-z,text'
10873 archive_cmds_need_lc=no
10874 hardcode_shlibpath_var=no
10875 runpath_var='LD_RUN_PATH'
10877 if test "$GCC" = yes; then
10878 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10879 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10881 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10882 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10886 sysv5* | sco3.2v5* | sco5v6*)
10887 # Note: We can NOT use -z defs as we might desire, because we do not
10888 # link with -lc, and that would cause any symbols used from libc to
10889 # always be unresolved, which means just about no library would
10890 # ever link correctly. If we're not using GNU ld we use -z text
10891 # though, which does catch some bad symbols but isn't as heavy-handed
10893 no_undefined_flag='${wl}-z,text'
10894 allow_undefined_flag='${wl}-z,nodefs'
10895 archive_cmds_need_lc=no
10896 hardcode_shlibpath_var=no
10897 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10898 hardcode_libdir_separator=':'
10899 link_all_deplibs=yes
10900 export_dynamic_flag_spec='${wl}-Bexport'
10901 runpath_var='LD_RUN_PATH'
10903 if test "$GCC" = yes; then
10904 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10905 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10907 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10908 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10913 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10914 hardcode_libdir_flag_spec='-L$libdir'
10915 hardcode_shlibpath_var=no
10923 if test x$host_vendor = xsni; then
10925 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10926 export_dynamic_flag_spec='${wl}-Blargedynsym'
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10933 $as_echo "$ld_shlibs" >&6; }
10934 test "$ld_shlibs" = no && can_build_shared=no
10936 with_gnu_ld=$with_gnu_ld
10953 # Do we need to explicitly link libc?
10955 case "x$archive_cmds_need_lc" in
10957 # Assume -lc should be added
10958 archive_cmds_need_lc=yes
10960 if test "$enable_shared" = yes && test "$GCC" = yes; then
10961 case $archive_cmds in
10963 # FIXME: we may have to deal with multi-command sequences.
10966 # Test whether the compiler implicitly links with -lc since on some
10967 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10968 # to ld, don't add -lc before -lgcc.
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10970 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10971 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10972 $as_echo_n "(cached) " >&6
10975 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10977 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10978 (eval $ac_compile) 2>&5
10980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10981 test $ac_status = 0; } 2>conftest.err; then
10984 libobjs=conftest.$ac_objext
10986 wl=$lt_prog_compiler_wl
10987 pic_flag=$lt_prog_compiler_pic
10993 lt_save_allow_undefined_flag=$allow_undefined_flag
10994 allow_undefined_flag=
10995 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10996 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10999 test $ac_status = 0; }
11001 lt_cv_archive_cmds_need_lc=no
11003 lt_cv_archive_cmds_need_lc=yes
11005 allow_undefined_flag=$lt_save_allow_undefined_flag
11007 cat conftest.err 1>&5
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11013 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11014 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11178 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11180 if test "$GCC" = yes; then
11182 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11183 *) lt_awk_arg="/^libraries:/" ;;
11186 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11187 *) lt_sed_strip_eq="s,=/,/,g" ;;
11189 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11190 case $lt_search_path_spec in
11192 # if the path contains ";" then we assume it to be the separator
11193 # otherwise default to the standard path separator (i.e. ":") - it is
11194 # assumed that no part of a normal pathname contains ";" but that should
11195 # okay in the real world where ";" in dirpaths is itself problematic.
11196 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11199 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11202 # Ok, now we have the path, separated by spaces, we can step through it
11203 # and add multilib dir if necessary.
11204 lt_tmp_lt_search_path_spec=
11205 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11206 for lt_sys_path in $lt_search_path_spec; do
11207 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11208 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11210 test -d "$lt_sys_path" && \
11211 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11214 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11215 BEGIN {RS=" "; FS="/|\n";} {
11218 for (lt_i = NF; lt_i > 0; lt_i--) {
11219 if ($lt_i != "" && $lt_i != ".") {
11220 if ($lt_i == "..") {
11223 if (lt_count == 0) {
11224 lt_foo="/" $lt_i lt_foo;
11231 if (lt_foo != "") { lt_freq[lt_foo]++; }
11232 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11234 # AWK program above erroneously prepends '/' to C:/dos/paths
11237 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11238 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11240 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11242 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11244 library_names_spec=
11245 libname_spec='lib$name'
11249 postuninstall_cmds=
11253 shlibpath_overrides_runpath=unknown
11255 dynamic_linker="$host_os ld.so"
11256 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11257 need_lib_prefix=unknown
11258 hardcode_into_libs=no
11260 # when you set need_version to no, make sure it does not cause -set_version
11261 # flags to be left without arguments
11262 need_version=unknown
11267 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11268 shlibpath_var=LIBPATH
11270 # AIX 3 has no versioning support, so we append a major version to the name.
11271 soname_spec='${libname}${release}${shared_ext}$major'
11278 hardcode_into_libs=yes
11279 if test "$host_cpu" = ia64; then
11280 # AIX 5 supports IA64
11281 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11282 shlibpath_var=LD_LIBRARY_PATH
11284 # With GCC up to 2.95.x, collect2 would create an import file
11285 # for dependence libraries. The import file would start with
11286 # the line `#! .'. This would cause the generated library to
11287 # depend on `.', always an invalid library. This was fixed in
11288 # development snapshots of GCC prior to 3.0.
11290 aix4 | aix4.[01] | aix4.[01].*)
11291 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11293 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11296 can_build_shared=no
11300 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11301 # soname into executable. Probably we can add versioning support to
11302 # collect2, so additional links can be useful in future.
11303 if test "$aix_use_runtimelinking" = yes; then
11304 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11305 # instead of lib<name>.a to let people know that these are not
11306 # typical AIX shared libraries.
11307 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11309 # We preserve .a as extension for shared libraries through AIX4.2
11310 # and later when we are not doing run time linking.
11311 library_names_spec='${libname}${release}.a $libname.a'
11312 soname_spec='${libname}${release}${shared_ext}$major'
11314 shlibpath_var=LIBPATH
11321 # Since July 2007 AmigaOS4 officially supports .so libraries.
11322 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11323 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11326 library_names_spec='$libname.ixlibrary $libname.a'
11327 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11328 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11334 library_names_spec='${libname}${shared_ext}'
11335 dynamic_linker="$host_os ld.so"
11336 shlibpath_var=LIBRARY_PATH
11342 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11343 soname_spec='${libname}${release}${shared_ext}$major'
11344 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11345 shlibpath_var=LD_LIBRARY_PATH
11346 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11347 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11348 # the default ld.so.conf also contains /usr/contrib/lib and
11349 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11350 # libtool to hard-code these into programs
11353 cygwin* | mingw* | pw32* | cegcc*)
11354 version_type=windows
11359 case $GCC,$cc_basename in
11362 library_names_spec='$libname.dll.a'
11363 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11364 postinstall_cmds='base_file=`basename \${file}`~
11365 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11366 dldir=$destdir/`dirname \$dlpath`~
11367 test -d \$dldir || mkdir -p \$dldir~
11368 $install_prog $dir/$dlname \$dldir/$dlname~
11369 chmod a+x \$dldir/$dlname~
11370 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11371 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11373 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11374 dlpath=$dir/\$dldll~
11376 shlibpath_overrides_runpath=yes
11380 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11381 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11383 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11386 # MinGW DLLs use traditional 'lib' prefix
11387 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11390 # pw32 DLLs use 'pw' prefix rather than 'lib'
11391 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11394 dynamic_linker='Win32 ld.exe'
11399 libname_spec='$name'
11400 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11401 library_names_spec='${libname}.dll.lib'
11405 sys_lib_search_path_spec=
11408 for lt_path in $LIB
11411 # Let DOS variable expansion print the short 8.3 style file name.
11412 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11413 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11416 # Convert to MSYS style.
11417 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11420 # Convert to unix form, then to dos form, then back to unix form
11421 # but this time dos style (no spaces!) so that the unix form looks
11422 # like /cygdrive/c/PROGRA~1:/cygdr...
11423 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11424 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11425 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11428 sys_lib_search_path_spec="$LIB"
11429 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11430 # It is most probably a Windows format PATH.
11431 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11433 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11435 # FIXME: find the short name or the path components, as spaces are
11436 # common. (e.g. "Program Files" -> "PROGRA~1")
11440 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11441 postinstall_cmds='base_file=`basename \${file}`~
11442 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11443 dldir=$destdir/`dirname \$dlpath`~
11444 test -d \$dldir || mkdir -p \$dldir~
11445 $install_prog $dir/$dlname \$dldir/$dlname'
11446 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11447 dlpath=$dir/\$dldll~
11449 shlibpath_overrides_runpath=yes
11450 dynamic_linker='Win32 link.exe'
11454 # Assume MSVC wrapper
11455 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11456 dynamic_linker='Win32 ld.exe'
11459 # FIXME: first we should search . and the directory the executable is in
11463 darwin* | rhapsody*)
11464 dynamic_linker="$host_os dyld"
11465 version_type=darwin
11468 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11469 soname_spec='${libname}${release}${major}$shared_ext'
11470 shlibpath_overrides_runpath=yes
11471 shlibpath_var=DYLD_LIBRARY_PATH
11472 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11474 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11475 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11482 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11483 soname_spec='${libname}${release}${shared_ext}$major'
11484 shlibpath_var=LD_LIBRARY_PATH
11491 freebsd* | dragonfly*)
11492 # DragonFly does not have aout. When/if they implement a new
11493 # versioning mechanism, adjust this.
11494 if test -x /usr/bin/objformat; then
11495 objformat=`/usr/bin/objformat`
11498 freebsd[123]*) objformat=aout ;;
11499 *) objformat=elf ;;
11502 version_type=freebsd-$objformat
11503 case $version_type in
11505 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11510 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11514 shlibpath_var=LD_LIBRARY_PATH
11517 shlibpath_overrides_runpath=yes
11519 freebsd3.[01]* | freebsdelf3.[01]*)
11520 shlibpath_overrides_runpath=yes
11521 hardcode_into_libs=yes
11523 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11524 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11525 shlibpath_overrides_runpath=no
11526 hardcode_into_libs=yes
11528 *) # from 4.6 on, and DragonFly
11529 shlibpath_overrides_runpath=yes
11530 hardcode_into_libs=yes
11539 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11540 soname_spec='${libname}${release}${shared_ext}$major'
11541 shlibpath_var=LD_LIBRARY_PATH
11542 hardcode_into_libs=yes
11549 dynamic_linker="$host_os runtime_loader"
11550 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11551 soname_spec='${libname}${release}${shared_ext}$major'
11552 shlibpath_var=LIBRARY_PATH
11553 shlibpath_overrides_runpath=yes
11554 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11555 hardcode_into_libs=yes
11558 hpux9* | hpux10* | hpux11*)
11559 # Give a soname corresponding to the major version so that dld.sl refuses to
11560 # link against other versions.
11567 hardcode_into_libs=yes
11568 dynamic_linker="$host_os dld.so"
11569 shlibpath_var=LD_LIBRARY_PATH
11570 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11571 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11572 soname_spec='${libname}${release}${shared_ext}$major'
11573 if test "X$HPUX_IA64_MODE" = X32; then
11574 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11576 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11578 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11582 hardcode_into_libs=yes
11583 dynamic_linker="$host_os dld.sl"
11584 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11585 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11586 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11587 soname_spec='${libname}${release}${shared_ext}$major'
11588 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11589 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11593 dynamic_linker="$host_os dld.sl"
11594 shlibpath_var=SHLIB_PATH
11595 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11596 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11597 soname_spec='${libname}${release}${shared_ext}$major'
11600 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11601 postinstall_cmds='chmod 555 $lib'
11602 # or fails outright, so override atomically:
11603 install_override_mode=555
11610 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11611 soname_spec='${libname}${release}${shared_ext}$major'
11612 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11613 shlibpath_var=LD_LIBRARY_PATH
11614 shlibpath_overrides_runpath=no
11615 hardcode_into_libs=yes
11618 irix5* | irix6* | nonstopux*)
11620 nonstopux*) version_type=nonstopux ;;
11622 if test "$lt_cv_prog_gnu_ld" = yes; then
11630 soname_spec='${libname}${release}${shared_ext}$major'
11631 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11633 irix5* | nonstopux*)
11634 libsuff= shlibsuff=
11637 case $LD in # libtool.m4 will add one of these switches to LD
11638 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11639 libsuff= shlibsuff= libmagic=32-bit;;
11640 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11641 libsuff=32 shlibsuff=N32 libmagic=N32;;
11642 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11643 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11644 *) libsuff= shlibsuff= libmagic=never-match;;
11648 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11649 shlibpath_overrides_runpath=no
11650 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11651 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11652 hardcode_into_libs=yes
11655 # No shared lib support for Linux oldld, aout, or coff.
11656 linux*oldld* | linux*aout* | linux*coff*)
11660 # This must be Linux ELF.
11661 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11665 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11666 soname_spec='${libname}${release}${shared_ext}$major'
11667 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11668 shlibpath_var=LD_LIBRARY_PATH
11669 shlibpath_overrides_runpath=no
11671 # Some binutils ld are patched to set DT_RUNPATH
11672 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11673 $as_echo_n "(cached) " >&6
11675 lt_cv_shlibpath_overrides_runpath=no
11676 save_LDFLAGS=$LDFLAGS
11677 save_libdir=$libdir
11678 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11679 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11681 /* end confdefs.h. */
11691 if ac_fn_c_try_link "$LINENO"; then :
11692 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11693 lt_cv_shlibpath_overrides_runpath=yes
11696 rm -f core conftest.err conftest.$ac_objext \
11697 conftest$ac_exeext conftest.$ac_ext
11698 LDFLAGS=$save_LDFLAGS
11699 libdir=$save_libdir
11703 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11705 # This implies no fast_install, which is unacceptable.
11706 # Some rework will be needed to allow for fast_install
11707 # before this can be enabled.
11708 hardcode_into_libs=yes
11710 # Add ABI-specific directories to the system library path.
11711 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11713 # Append ld.so.conf contents to the search path
11714 if test -f /etc/ld.so.conf; then
11715 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11716 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11720 # We used to test for /lib/ld.so.1 and disable shared libraries on
11721 # powerpc, because MkLinux only supported shared libraries with the
11722 # GNU dynamic linker. Since this was broken with cross compilers,
11723 # most powerpc-linux boxes support dynamic linking these days and
11724 # people can always --disable-shared, the test was removed, and we
11725 # assume the GNU/Linux dynamic linker is in use.
11726 dynamic_linker='GNU/Linux ld.so'
11733 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11735 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11736 dynamic_linker='NetBSD (a.out) ld.so'
11738 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11739 soname_spec='${libname}${release}${shared_ext}$major'
11740 dynamic_linker='NetBSD ld.elf_so'
11742 shlibpath_var=LD_LIBRARY_PATH
11743 shlibpath_overrides_runpath=yes
11744 hardcode_into_libs=yes
11749 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11750 shlibpath_var=LD_LIBRARY_PATH
11751 shlibpath_overrides_runpath=yes
11758 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11759 soname_spec='${libname}${release}${shared_ext}$major'
11760 shlibpath_var=LD_LIBRARY_PATH
11761 shlibpath_overrides_runpath=no
11762 hardcode_into_libs=yes
11763 dynamic_linker='ldqnx.so'
11768 sys_lib_dlsearch_path_spec="/usr/lib"
11770 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11772 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11773 *) need_version=no ;;
11775 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11776 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11777 shlibpath_var=LD_LIBRARY_PATH
11778 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11780 openbsd2.[89] | openbsd2.[89].*)
11781 shlibpath_overrides_runpath=no
11784 shlibpath_overrides_runpath=yes
11788 shlibpath_overrides_runpath=yes
11793 libname_spec='$name'
11796 library_names_spec='$libname${shared_ext} $libname.a'
11797 dynamic_linker='OS/2 ld.exe'
11798 shlibpath_var=LIBPATH
11801 osf3* | osf4* | osf5*)
11805 soname_spec='${libname}${release}${shared_ext}$major'
11806 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11807 shlibpath_var=LD_LIBRARY_PATH
11808 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11809 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11820 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11821 soname_spec='${libname}${release}${shared_ext}$major'
11822 shlibpath_var=LD_LIBRARY_PATH
11823 shlibpath_overrides_runpath=yes
11824 hardcode_into_libs=yes
11825 # ldd complains unless libraries are executable
11826 postinstall_cmds='chmod +x $lib'
11831 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11832 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11833 shlibpath_var=LD_LIBRARY_PATH
11834 shlibpath_overrides_runpath=yes
11835 if test "$with_gnu_ld" = yes; then
11843 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11844 soname_spec='${libname}${release}${shared_ext}$major'
11845 shlibpath_var=LD_LIBRARY_PATH
11846 case $host_vendor in
11848 shlibpath_overrides_runpath=no
11850 runpath_var=LD_RUN_PATH
11858 shlibpath_overrides_runpath=no
11859 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11865 if test -d /usr/nec ;then
11867 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11868 soname_spec='$libname${shared_ext}.$major'
11869 shlibpath_var=LD_LIBRARY_PATH
11873 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11874 version_type=freebsd-elf
11877 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11878 soname_spec='${libname}${release}${shared_ext}$major'
11879 shlibpath_var=LD_LIBRARY_PATH
11880 shlibpath_overrides_runpath=yes
11881 hardcode_into_libs=yes
11882 if test "$with_gnu_ld" = yes; then
11883 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11885 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11888 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11892 sys_lib_dlsearch_path_spec='/usr/lib'
11896 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11900 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11901 shlibpath_var=LD_LIBRARY_PATH
11902 shlibpath_overrides_runpath=no
11903 hardcode_into_libs=yes
11908 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11909 soname_spec='${libname}${release}${shared_ext}$major'
11910 shlibpath_var=LD_LIBRARY_PATH
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11918 $as_echo "$dynamic_linker" >&6; }
11919 test "$dynamic_linker" = no && can_build_shared=no
11921 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11922 if test "$GCC" = yes; then
11923 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11926 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11927 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11929 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11930 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12025 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12027 if test -n "$hardcode_libdir_flag_spec" ||
12028 test -n "$runpath_var" ||
12029 test "X$hardcode_automatic" = "Xyes" ; then
12031 # We can hardcode non-existent directories.
12032 if test "$hardcode_direct" != no &&
12033 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12034 # have to relink, otherwise we might link with an installed library
12035 # when we should be linking with a yet-to-be-installed one
12036 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12037 test "$hardcode_minus_L" != no; then
12038 # Linking always hardcodes the temporary library directory.
12039 hardcode_action=relink
12041 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12042 hardcode_action=immediate
12045 # We cannot hardcode anything, or else we can only hardcode existing
12047 hardcode_action=unsupported
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12050 $as_echo "$hardcode_action" >&6; }
12052 if test "$hardcode_action" = relink ||
12053 test "$inherit_rpath" = yes; then
12054 # Fast installation is not supported
12055 enable_fast_install=no
12056 elif test "$shlibpath_overrides_runpath" = yes ||
12057 test "$enable_shared" = no; then
12058 # Fast installation is not necessary
12059 enable_fast_install=needless
12067 if test "x$enable_dlopen" != xyes; then
12068 enable_dlopen=unknown
12069 enable_dlopen_self=unknown
12070 enable_dlopen_self_static=unknown
12077 lt_cv_dlopen="load_add_on"
12079 lt_cv_dlopen_self=yes
12082 mingw* | pw32* | cegcc*)
12083 lt_cv_dlopen="LoadLibrary"
12088 lt_cv_dlopen="dlopen"
12093 # if libdl is installed we need to link against it
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12095 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12096 if ${ac_cv_lib_dl_dlopen+:} false; then :
12097 $as_echo_n "(cached) " >&6
12099 ac_check_lib_save_LIBS=$LIBS
12101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12102 /* end confdefs.h. */
12104 /* Override any GCC internal prototype to avoid an error.
12105 Use char because int might match the return type of a GCC
12106 builtin and then its argument prototype would still apply. */
12119 if ac_fn_c_try_link "$LINENO"; then :
12120 ac_cv_lib_dl_dlopen=yes
12122 ac_cv_lib_dl_dlopen=no
12124 rm -f core conftest.err conftest.$ac_objext \
12125 conftest$ac_exeext conftest.$ac_ext
12126 LIBS=$ac_check_lib_save_LIBS
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12129 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12130 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12131 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12134 lt_cv_dlopen="dyld"
12136 lt_cv_dlopen_self=yes
12143 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12144 if test "x$ac_cv_func_shl_load" = xyes; then :
12145 lt_cv_dlopen="shl_load"
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12148 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12149 if ${ac_cv_lib_dld_shl_load+:} false; then :
12150 $as_echo_n "(cached) " >&6
12152 ac_check_lib_save_LIBS=$LIBS
12154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12155 /* end confdefs.h. */
12157 /* Override any GCC internal prototype to avoid an error.
12158 Use char because int might match the return type of a GCC
12159 builtin and then its argument prototype would still apply. */
12167 return shl_load ();
12172 if ac_fn_c_try_link "$LINENO"; then :
12173 ac_cv_lib_dld_shl_load=yes
12175 ac_cv_lib_dld_shl_load=no
12177 rm -f core conftest.err conftest.$ac_objext \
12178 conftest$ac_exeext conftest.$ac_ext
12179 LIBS=$ac_check_lib_save_LIBS
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12182 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12183 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12184 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12186 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12187 if test "x$ac_cv_func_dlopen" = xyes; then :
12188 lt_cv_dlopen="dlopen"
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12191 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12192 if ${ac_cv_lib_dl_dlopen+:} false; then :
12193 $as_echo_n "(cached) " >&6
12195 ac_check_lib_save_LIBS=$LIBS
12197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12198 /* end confdefs.h. */
12200 /* Override any GCC internal prototype to avoid an error.
12201 Use char because int might match the return type of a GCC
12202 builtin and then its argument prototype would still apply. */
12215 if ac_fn_c_try_link "$LINENO"; then :
12216 ac_cv_lib_dl_dlopen=yes
12218 ac_cv_lib_dl_dlopen=no
12220 rm -f core conftest.err conftest.$ac_objext \
12221 conftest$ac_exeext conftest.$ac_ext
12222 LIBS=$ac_check_lib_save_LIBS
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12225 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12226 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12227 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12230 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12231 if ${ac_cv_lib_svld_dlopen+:} false; then :
12232 $as_echo_n "(cached) " >&6
12234 ac_check_lib_save_LIBS=$LIBS
12235 LIBS="-lsvld $LIBS"
12236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12237 /* end confdefs.h. */
12239 /* Override any GCC internal prototype to avoid an error.
12240 Use char because int might match the return type of a GCC
12241 builtin and then its argument prototype would still apply. */
12254 if ac_fn_c_try_link "$LINENO"; then :
12255 ac_cv_lib_svld_dlopen=yes
12257 ac_cv_lib_svld_dlopen=no
12259 rm -f core conftest.err conftest.$ac_objext \
12260 conftest$ac_exeext conftest.$ac_ext
12261 LIBS=$ac_check_lib_save_LIBS
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12264 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12265 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12266 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12269 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12270 if ${ac_cv_lib_dld_dld_link+:} false; then :
12271 $as_echo_n "(cached) " >&6
12273 ac_check_lib_save_LIBS=$LIBS
12275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12276 /* end confdefs.h. */
12278 /* Override any GCC internal prototype to avoid an error.
12279 Use char because int might match the return type of a GCC
12280 builtin and then its argument prototype would still apply. */
12288 return dld_link ();
12293 if ac_fn_c_try_link "$LINENO"; then :
12294 ac_cv_lib_dld_dld_link=yes
12296 ac_cv_lib_dld_dld_link=no
12298 rm -f core conftest.err conftest.$ac_objext \
12299 conftest$ac_exeext conftest.$ac_ext
12300 LIBS=$ac_check_lib_save_LIBS
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12303 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12304 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12305 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12326 if test "x$lt_cv_dlopen" != xno; then
12332 case $lt_cv_dlopen in
12334 save_CPPFLAGS="$CPPFLAGS"
12335 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12337 save_LDFLAGS="$LDFLAGS"
12338 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12341 LIBS="$lt_cv_dlopen_libs $LIBS"
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12344 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12345 if ${lt_cv_dlopen_self+:} false; then :
12346 $as_echo_n "(cached) " >&6
12348 if test "$cross_compiling" = yes; then :
12349 lt_cv_dlopen_self=cross
12351 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12352 lt_status=$lt_dlunknown
12353 cat > conftest.$ac_ext <<_LT_EOF
12354 #line $LINENO "configure"
12355 #include "confdefs.h"
12364 # define LT_DLGLOBAL RTLD_GLOBAL
12367 # define LT_DLGLOBAL DL_GLOBAL
12369 # define LT_DLGLOBAL 0
12373 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12374 find out it does not work in some platform. */
12375 #ifndef LT_DLLAZY_OR_NOW
12377 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12380 # define LT_DLLAZY_OR_NOW DL_LAZY
12383 # define LT_DLLAZY_OR_NOW RTLD_NOW
12386 # define LT_DLLAZY_OR_NOW DL_NOW
12388 # define LT_DLLAZY_OR_NOW 0
12395 /* When -fvisbility=hidden is used, assume the code has been annotated
12396 correspondingly for the symbols needed. */
12397 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12398 int fnord () __attribute__((visibility("default")));
12401 int fnord () { return 42; }
12404 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12405 int status = $lt_dlunknown;
12409 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12412 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12413 else puts (dlerror ());
12415 /* dlclose (self); */
12423 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12424 (eval $ac_link) 2>&5
12426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12427 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12428 (./conftest; exit; ) >&5 2>/dev/null
12430 case x$lt_status in
12431 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12432 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12433 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12436 # compilation failed
12437 lt_cv_dlopen_self=no
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12445 $as_echo "$lt_cv_dlopen_self" >&6; }
12447 if test "x$lt_cv_dlopen_self" = xyes; then
12448 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12450 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12451 if ${lt_cv_dlopen_self_static+:} false; then :
12452 $as_echo_n "(cached) " >&6
12454 if test "$cross_compiling" = yes; then :
12455 lt_cv_dlopen_self_static=cross
12457 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12458 lt_status=$lt_dlunknown
12459 cat > conftest.$ac_ext <<_LT_EOF
12460 #line $LINENO "configure"
12461 #include "confdefs.h"
12470 # define LT_DLGLOBAL RTLD_GLOBAL
12473 # define LT_DLGLOBAL DL_GLOBAL
12475 # define LT_DLGLOBAL 0
12479 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12480 find out it does not work in some platform. */
12481 #ifndef LT_DLLAZY_OR_NOW
12483 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12486 # define LT_DLLAZY_OR_NOW DL_LAZY
12489 # define LT_DLLAZY_OR_NOW RTLD_NOW
12492 # define LT_DLLAZY_OR_NOW DL_NOW
12494 # define LT_DLLAZY_OR_NOW 0
12501 /* When -fvisbility=hidden is used, assume the code has been annotated
12502 correspondingly for the symbols needed. */
12503 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12504 int fnord () __attribute__((visibility("default")));
12507 int fnord () { return 42; }
12510 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12511 int status = $lt_dlunknown;
12515 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12518 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12519 else puts (dlerror ());
12521 /* dlclose (self); */
12529 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12530 (eval $ac_link) 2>&5
12532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12533 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12534 (./conftest; exit; ) >&5 2>/dev/null
12536 case x$lt_status in
12537 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12538 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12539 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12542 # compilation failed
12543 lt_cv_dlopen_self_static=no
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12551 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12554 CPPFLAGS="$save_CPPFLAGS"
12555 LDFLAGS="$save_LDFLAGS"
12560 case $lt_cv_dlopen_self in
12561 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12562 *) enable_dlopen_self=unknown ;;
12565 case $lt_cv_dlopen_self_static in
12566 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12567 *) enable_dlopen_self_static=unknown ;;
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12590 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12591 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12592 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12593 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12595 $as_echo "yes" >&6; }
12597 # FIXME - insert some real tests, host_os isn't really good enough
12600 if test -n "$STRIP" ; then
12601 striplib="$STRIP -x"
12602 old_striplib="$STRIP -S"
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12604 $as_echo "yes" >&6; }
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12607 $as_echo "no" >&6; }
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12612 $as_echo "no" >&6; }
12628 # Report which library types will actually be built
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12630 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12632 $as_echo "$can_build_shared" >&6; }
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12635 $as_echo_n "checking whether to build shared libraries... " >&6; }
12636 test "$can_build_shared" = "no" && enable_shared=no
12638 # On AIX, shared libraries and static libraries use the same namespace, and
12639 # are all built from PIC.
12642 test "$enable_shared" = yes && enable_static=no
12643 if test -n "$RANLIB"; then
12644 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12645 postinstall_cmds='$RANLIB $lib'
12650 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12651 test "$enable_shared" = yes && enable_static=no
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12656 $as_echo "$enable_shared" >&6; }
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12659 $as_echo_n "checking whether to build static libraries... " >&6; }
12660 # Make sure either enable_shared or enable_static is yes.
12661 test "$enable_shared" = yes || enable_static=yes
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12663 $as_echo "$enable_static" >&6; }
12670 ac_cpp='$CPP $CPPFLAGS'
12671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12689 ac_config_commands="$ac_config_commands libtool"
12694 # Only expand once:
12701 subdirs="$subdirs libltdl"
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12705 $as_echo_n "checking for ANSI C header files... " >&6; }
12706 if ${ac_cv_header_stdc+:} false; then :
12707 $as_echo_n "(cached) " >&6
12709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12710 /* end confdefs.h. */
12711 #include <stdlib.h>
12712 #include <stdarg.h>
12713 #include <string.h>
12724 if ac_fn_c_try_compile "$LINENO"; then :
12725 ac_cv_header_stdc=yes
12727 ac_cv_header_stdc=no
12729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12731 if test $ac_cv_header_stdc = yes; then
12732 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12734 /* end confdefs.h. */
12735 #include <string.h>
12738 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12739 $EGREP "memchr" >/dev/null 2>&1; then :
12742 ac_cv_header_stdc=no
12748 if test $ac_cv_header_stdc = yes; then
12749 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12751 /* end confdefs.h. */
12752 #include <stdlib.h>
12755 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12756 $EGREP "free" >/dev/null 2>&1; then :
12759 ac_cv_header_stdc=no
12765 if test $ac_cv_header_stdc = yes; then
12766 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12767 if test "$cross_compiling" = yes; then :
12770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12771 /* end confdefs.h. */
12773 #include <stdlib.h>
12774 #if ((' ' & 0x0FF) == 0x020)
12775 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12776 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12778 # define ISLOWER(c) \
12779 (('a' <= (c) && (c) <= 'i') \
12780 || ('j' <= (c) && (c) <= 'r') \
12781 || ('s' <= (c) && (c) <= 'z'))
12782 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12785 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12790 for (i = 0; i < 256; i++)
12791 if (XOR (islower (i), ISLOWER (i))
12792 || toupper (i) != TOUPPER (i))
12797 if ac_fn_c_try_run "$LINENO"; then :
12800 ac_cv_header_stdc=no
12802 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12803 conftest.$ac_objext conftest.beam conftest.$ac_ext
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12809 $as_echo "$ac_cv_header_stdc" >&6; }
12810 if test $ac_cv_header_stdc = yes; then
12812 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12817 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12818 if ${ac_cv_c_const+:} false; then :
12819 $as_echo_n "(cached) " >&6
12821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12822 /* end confdefs.h. */
12827 /* FIXME: Include the comments suggested by Paul. */
12828 #ifndef __cplusplus
12829 /* Ultrix mips cc rejects this. */
12830 typedef int charset[2];
12832 /* SunOS 4.1.1 cc rejects this. */
12833 char const *const *pcpcc;
12835 /* NEC SVR4.0.2 mips cc rejects this. */
12836 struct point {int x, y;};
12837 static struct point const zero = {0,0};
12838 /* AIX XL C 1.02.0.0 rejects this.
12839 It does not let you subtract one const X* pointer from another in
12840 an arm of an if-expression whose if-part is not a constant
12842 const char *g = "string";
12843 pcpcc = &g + (g ? g-g : 0);
12844 /* HPUX 7.0 cc rejects these. */
12846 ppc = (char**) pcpcc;
12847 pcpcc = (char const *const *) ppc;
12848 { /* SCO 3.2v4 cc rejects this. */
12850 char const *s = 0 ? (char *) 0 : (char const *) 0;
12855 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12856 int x[] = {25, 17};
12857 const int *foo = &x[0];
12860 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12861 typedef const int *iptr;
12865 { /* AIX XL C 1.02.0.0 rejects this saying
12866 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12867 struct s { int j; const int *ap[3]; };
12868 struct s *b; b->j = 5;
12870 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12871 const int foo = 10;
12872 if (!foo) return 0;
12874 return !cs[0] && !zero.x;
12881 if ac_fn_c_try_compile "$LINENO"; then :
12886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12889 $as_echo "$ac_cv_c_const" >&6; }
12890 if test $ac_cv_c_const = no; then
12892 $as_echo "#define const /**/" >>confdefs.h
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
12897 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
12898 if ${ac_cv_c_bigendian+:} false; then :
12899 $as_echo_n "(cached) " >&6
12901 ac_cv_c_bigendian=unknown
12902 # See if we're dealing with a universal compiler.
12903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12904 /* end confdefs.h. */
12905 #ifndef __APPLE_CC__
12906 not a universal capable compiler
12911 if ac_fn_c_try_compile "$LINENO"; then :
12913 # Check for potential -arch flags. It is not universal unless
12914 # there are at least two -arch flags with different values.
12917 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
12918 if test -n "$ac_prev"; then
12920 i?86 | x86_64 | ppc | ppc64)
12921 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
12924 ac_cv_c_bigendian=universal
12930 elif test "x$ac_word" = "x-arch"; then
12935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12936 if test $ac_cv_c_bigendian = unknown; then
12937 # See if sys/param.h defines the BYTE_ORDER macro.
12938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12939 /* end confdefs.h. */
12940 #include <sys/types.h>
12941 #include <sys/param.h>
12946 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
12947 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
12949 bogus endian macros
12956 if ac_fn_c_try_compile "$LINENO"; then :
12957 # It does; now see whether it defined to BIG_ENDIAN or not.
12958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12959 /* end confdefs.h. */
12960 #include <sys/types.h>
12961 #include <sys/param.h>
12966 #if BYTE_ORDER != BIG_ENDIAN
12974 if ac_fn_c_try_compile "$LINENO"; then :
12975 ac_cv_c_bigendian=yes
12977 ac_cv_c_bigendian=no
12979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12983 if test $ac_cv_c_bigendian = unknown; then
12984 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
12985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12986 /* end confdefs.h. */
12987 #include <limits.h>
12992 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
12993 bogus endian macros
13000 if ac_fn_c_try_compile "$LINENO"; then :
13001 # It does; now see whether it defined to _BIG_ENDIAN or not.
13002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13003 /* end confdefs.h. */
13004 #include <limits.h>
13009 #ifndef _BIG_ENDIAN
13017 if ac_fn_c_try_compile "$LINENO"; then :
13018 ac_cv_c_bigendian=yes
13020 ac_cv_c_bigendian=no
13022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13026 if test $ac_cv_c_bigendian = unknown; then
13027 # Compile a test program.
13028 if test "$cross_compiling" = yes; then :
13029 # Try to guess by grepping values from an object file.
13030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13031 /* end confdefs.h. */
13032 short int ascii_mm[] =
13033 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
13034 short int ascii_ii[] =
13035 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
13036 int use_ascii (int i) {
13037 return ascii_mm[i] + ascii_ii[i];
13039 short int ebcdic_ii[] =
13040 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
13041 short int ebcdic_mm[] =
13042 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
13043 int use_ebcdic (int i) {
13044 return ebcdic_mm[i] + ebcdic_ii[i];
13051 return use_ascii (foo) == use_ebcdic (foo);
13056 if ac_fn_c_try_compile "$LINENO"; then :
13057 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
13058 ac_cv_c_bigendian=yes
13060 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
13061 if test "$ac_cv_c_bigendian" = unknown; then
13062 ac_cv_c_bigendian=no
13064 # finding both strings is unlikely to happen, but who knows?
13065 ac_cv_c_bigendian=unknown
13069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13072 /* end confdefs.h. */
13073 $ac_includes_default
13078 /* Are we little or big endian? From Harbison&Steele. */
13082 char c[sizeof (long int)];
13085 return u.c[sizeof (long int) - 1] == 1;
13091 if ac_fn_c_try_run "$LINENO"; then :
13092 ac_cv_c_bigendian=no
13094 ac_cv_c_bigendian=yes
13096 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13097 conftest.$ac_objext conftest.beam conftest.$ac_ext
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
13103 $as_echo "$ac_cv_c_bigendian" >&6; }
13104 case $ac_cv_c_bigendian in #(
13106 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
13112 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
13116 as_fn_error $? "unknown endianness
13117 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13120 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13121 if test "x$ac_cv_type_pid_t" = xyes; then :
13125 cat >>confdefs.h <<_ACEOF
13131 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13132 if test "x$ac_cv_type_size_t" = xyes; then :
13136 cat >>confdefs.h <<_ACEOF
13137 #define size_t unsigned int
13142 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
13143 if test "x$ac_cv_type_ssize_t" = xyes; then :
13145 cat >>confdefs.h <<_ACEOF
13146 #define HAVE_SSIZE_T 1
13152 $as_echo "#define ssize_t signed long" >>confdefs.h
13156 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13157 if test "x$ac_cv_type_off_t" = xyes; then :
13161 cat >>confdefs.h <<_ACEOF
13162 #define off_t long int
13167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
13168 $as_echo_n "checking return type of signal handlers... " >&6; }
13169 if ${ac_cv_type_signal+:} false; then :
13170 $as_echo_n "(cached) " >&6
13172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13173 /* end confdefs.h. */
13174 #include <sys/types.h>
13175 #include <signal.h>
13180 return *(signal (0, 0)) (0) == 1;
13185 if ac_fn_c_try_compile "$LINENO"; then :
13186 ac_cv_type_signal=int
13188 ac_cv_type_signal=void
13190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
13193 $as_echo "$ac_cv_type_signal" >&6; }
13195 cat >>confdefs.h <<_ACEOF
13196 #define RETSIGTYPE $ac_cv_type_signal
13200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
13201 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
13202 if ${ac_cv_type_uid_t+:} false; then :
13203 $as_echo_n "(cached) " >&6
13205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13206 /* end confdefs.h. */
13207 #include <sys/types.h>
13210 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13211 $EGREP "uid_t" >/dev/null 2>&1; then :
13212 ac_cv_type_uid_t=yes
13214 ac_cv_type_uid_t=no
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
13220 $as_echo "$ac_cv_type_uid_t" >&6; }
13221 if test $ac_cv_type_uid_t = no; then
13223 $as_echo "#define uid_t int" >>confdefs.h
13226 $as_echo "#define gid_t int" >>confdefs.h
13230 ac_fn_c_check_decl "$LINENO" "environ" "ac_cv_have_decl_environ" "$ac_includes_default"
13231 if test "x$ac_cv_have_decl_environ" = xyes; then :
13237 cat >>confdefs.h <<_ACEOF
13238 #define HAVE_DECL_ENVIRON $ac_have_decl
13243 cat >>confdefs.h <<_ACEOF
13244 #define PA_CFLAGS "$CFLAGS"
13254 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13255 if test -n "$ac_tool_prefix"; then
13256 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13257 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13259 $as_echo_n "checking for $ac_word... " >&6; }
13260 if ${ac_cv_path_PKG_CONFIG+:} false; then :
13261 $as_echo_n "(cached) " >&6
13263 case $PKG_CONFIG in
13265 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13269 for as_dir in $PATH
13272 test -z "$as_dir" && as_dir=.
13273 for ac_exec_ext in '' $ac_executable_extensions; do
13274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13275 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13286 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13287 if test -n "$PKG_CONFIG"; then
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13289 $as_echo "$PKG_CONFIG" >&6; }
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13292 $as_echo "no" >&6; }
13297 if test -z "$ac_cv_path_PKG_CONFIG"; then
13298 ac_pt_PKG_CONFIG=$PKG_CONFIG
13299 # Extract the first word of "pkg-config", so it can be a program name with args.
13300 set dummy pkg-config; ac_word=$2
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13302 $as_echo_n "checking for $ac_word... " >&6; }
13303 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13304 $as_echo_n "(cached) " >&6
13306 case $ac_pt_PKG_CONFIG in
13308 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13312 for as_dir in $PATH
13315 test -z "$as_dir" && as_dir=.
13316 for ac_exec_ext in '' $ac_executable_extensions; do
13317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13318 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13329 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13330 if test -n "$ac_pt_PKG_CONFIG"; then
13331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13332 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13335 $as_echo "no" >&6; }
13338 if test "x$ac_pt_PKG_CONFIG" = x; then
13341 case $cross_compiling:$ac_tool_warned in
13343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13344 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13345 ac_tool_warned=yes ;;
13347 PKG_CONFIG=$ac_pt_PKG_CONFIG
13350 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13354 if test -n "$PKG_CONFIG"; then
13355 _pkg_min_version=0.9.0
13356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13357 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13358 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13360 $as_echo "yes" >&6; }
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13363 $as_echo "no" >&6; }
13369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBPULSE" >&5
13370 $as_echo_n "checking for LIBPULSE... " >&6; }
13372 if test -n "$LIBPULSE_CFLAGS"; then
13373 pkg_cv_LIBPULSE_CFLAGS="$LIBPULSE_CFLAGS"
13374 elif test -n "$PKG_CONFIG"; then
13375 if test -n "$PKG_CONFIG" && \
13376 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpulse\""; } >&5
13377 ($PKG_CONFIG --exists --print-errors "libpulse") 2>&5
13379 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13380 test $ac_status = 0; }; then
13381 pkg_cv_LIBPULSE_CFLAGS=`$PKG_CONFIG --cflags "libpulse" 2>/dev/null`
13388 if test -n "$LIBPULSE_LIBS"; then
13389 pkg_cv_LIBPULSE_LIBS="$LIBPULSE_LIBS"
13390 elif test -n "$PKG_CONFIG"; then
13391 if test -n "$PKG_CONFIG" && \
13392 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpulse\""; } >&5
13393 ($PKG_CONFIG --exists --print-errors "libpulse") 2>&5
13395 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13396 test $ac_status = 0; }; then
13397 pkg_cv_LIBPULSE_LIBS=`$PKG_CONFIG --libs "libpulse" 2>/dev/null`
13407 if test $pkg_failed = yes; then
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13409 $as_echo "no" >&6; }
13411 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13412 _pkg_short_errors_supported=yes
13414 _pkg_short_errors_supported=no
13416 if test $_pkg_short_errors_supported = yes; then
13417 LIBPULSE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpulse" 2>&1`
13419 LIBPULSE_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpulse" 2>&1`
13421 # Put the nasty error message in config.log where it belongs
13422 echo "$LIBPULSE_PKG_ERRORS" >&5
13424 as_fn_error $? "Package requirements (libpulse) were not met:
13426 $LIBPULSE_PKG_ERRORS
13428 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13429 installed software in a non-standard prefix.
13431 Alternatively, you may set the environment variables LIBPULSE_CFLAGS
13432 and LIBPULSE_LIBS to avoid the need to call pkg-config.
13433 See the pkg-config man page for more details." "$LINENO" 5
13435 elif test $pkg_failed = untried; then
13436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13437 $as_echo "no" >&6; }
13438 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13439 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13440 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13441 is in your PATH or set the PKG_CONFIG environment variable to the full
13442 path to pkg-config.
13444 Alternatively, you may set the environment variables LIBPULSE_CFLAGS
13445 and LIBPULSE_LIBS to avoid the need to call pkg-config.
13446 See the pkg-config man page for more details.
13448 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13449 See \`config.log' for more details" "$LINENO" 5; }
13452 LIBPULSE_CFLAGS=$pkg_cv_LIBPULSE_CFLAGS
13453 LIBPULSE_LIBS=$pkg_cv_LIBPULSE_LIBS
13454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13455 $as_echo "yes" >&6; }
13461 #PKG_CHECK_MODULES(LIBPULSECORE, [pulsecore])
13462 #AC_SUBST(LIBPULSECORE_CFLAGS)
13463 #AC_SUBST(LIBPULSECORE_LIBS)
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PULSEDEVEL" >&5
13468 $as_echo_n "checking for PULSEDEVEL... " >&6; }
13470 if test -n "$PULSEDEVEL_CFLAGS"; then
13471 pkg_cv_PULSEDEVEL_CFLAGS="$PULSEDEVEL_CFLAGS"
13472 elif test -n "$PKG_CONFIG"; then
13473 if test -n "$PKG_CONFIG" && \
13474 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pulseaudio-module-devel\""; } >&5
13475 ($PKG_CONFIG --exists --print-errors "pulseaudio-module-devel") 2>&5
13477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13478 test $ac_status = 0; }; then
13479 pkg_cv_PULSEDEVEL_CFLAGS=`$PKG_CONFIG --cflags "pulseaudio-module-devel" 2>/dev/null`
13486 if test -n "$PULSEDEVEL_LIBS"; then
13487 pkg_cv_PULSEDEVEL_LIBS="$PULSEDEVEL_LIBS"
13488 elif test -n "$PKG_CONFIG"; then
13489 if test -n "$PKG_CONFIG" && \
13490 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pulseaudio-module-devel\""; } >&5
13491 ($PKG_CONFIG --exists --print-errors "pulseaudio-module-devel") 2>&5
13493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13494 test $ac_status = 0; }; then
13495 pkg_cv_PULSEDEVEL_LIBS=`$PKG_CONFIG --libs "pulseaudio-module-devel" 2>/dev/null`
13505 if test $pkg_failed = yes; then
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13507 $as_echo "no" >&6; }
13509 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13510 _pkg_short_errors_supported=yes
13512 _pkg_short_errors_supported=no
13514 if test $_pkg_short_errors_supported = yes; then
13515 PULSEDEVEL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pulseaudio-module-devel" 2>&1`
13517 PULSEDEVEL_PKG_ERRORS=`$PKG_CONFIG --print-errors "pulseaudio-module-devel" 2>&1`
13519 # Put the nasty error message in config.log where it belongs
13520 echo "$PULSEDEVEL_PKG_ERRORS" >&5
13522 as_fn_error $? "Package requirements (pulseaudio-module-devel) were not met:
13524 $PULSEDEVEL_PKG_ERRORS
13526 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13527 installed software in a non-standard prefix.
13529 Alternatively, you may set the environment variables PULSEDEVEL_CFLAGS
13530 and PULSEDEVEL_LIBS to avoid the need to call pkg-config.
13531 See the pkg-config man page for more details." "$LINENO" 5
13533 elif test $pkg_failed = untried; then
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13535 $as_echo "no" >&6; }
13536 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13537 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13538 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13539 is in your PATH or set the PKG_CONFIG environment variable to the full
13540 path to pkg-config.
13542 Alternatively, you may set the environment variables PULSEDEVEL_CFLAGS
13543 and PULSEDEVEL_LIBS to avoid the need to call pkg-config.
13544 See the pkg-config man page for more details.
13546 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13547 See \`config.log' for more details" "$LINENO" 5; }
13550 PULSEDEVEL_CFLAGS=$pkg_cv_PULSEDEVEL_CFLAGS
13551 PULSEDEVEL_LIBS=$pkg_cv_PULSEDEVEL_LIBS
13552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13553 $as_echo "yes" >&6; }
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
13563 $as_echo_n "checking for DBUS... " >&6; }
13565 if test -n "$DBUS_CFLAGS"; then
13566 pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
13567 elif test -n "$PKG_CONFIG"; then
13568 if test -n "$PKG_CONFIG" && \
13569 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
13570 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
13572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13573 test $ac_status = 0; }; then
13574 pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1" 2>/dev/null`
13581 if test -n "$DBUS_LIBS"; then
13582 pkg_cv_DBUS_LIBS="$DBUS_LIBS"
13583 elif test -n "$PKG_CONFIG"; then
13584 if test -n "$PKG_CONFIG" && \
13585 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
13586 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
13588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13589 test $ac_status = 0; }; then
13590 pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1" 2>/dev/null`
13600 if test $pkg_failed = yes; then
13601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13602 $as_echo "no" >&6; }
13604 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13605 _pkg_short_errors_supported=yes
13607 _pkg_short_errors_supported=no
13609 if test $_pkg_short_errors_supported = yes; then
13610 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-1" 2>&1`
13612 DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-1" 2>&1`
13614 # Put the nasty error message in config.log where it belongs
13615 echo "$DBUS_PKG_ERRORS" >&5
13617 as_fn_error $? "Package requirements (dbus-1) were not met:
13621 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13622 installed software in a non-standard prefix.
13624 Alternatively, you may set the environment variables DBUS_CFLAGS
13625 and DBUS_LIBS to avoid the need to call pkg-config.
13626 See the pkg-config man page for more details." "$LINENO" 5
13628 elif test $pkg_failed = untried; then
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13630 $as_echo "no" >&6; }
13631 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13632 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13633 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13634 is in your PATH or set the PKG_CONFIG environment variable to the full
13635 path to pkg-config.
13637 Alternatively, you may set the environment variables DBUS_CFLAGS
13638 and DBUS_LIBS to avoid the need to call pkg-config.
13639 See the pkg-config man page for more details.
13641 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13642 See \`config.log' for more details" "$LINENO" 5; }
13645 DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
13646 DBUS_LIBS=$pkg_cv_DBUS_LIBS
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13648 $as_echo "yes" >&6; }
13656 # Check whether --with-module-dir was given.
13657 if test "${with_module_dir+set}" = set; then :
13658 withval=$with_module_dir; modlibexecdir=$withval
13660 modlibexecdir=${LIBDIR}/pulse-${PA_MAJORMINOR}/modules
13664 PULSEAUDIO_HAS_PORTS=0
13665 echo -e "#include <pulsecore/pulsecore-config.h>\n #include <pulsecore/sink.h>\nint main() {\nreturn pa_sink_set_port((struct pa_sink *)0,\"\",0);\n}" | ${CC} ${CFLAGS} ${LIBPULSECORE_CFLAGS} ${LIBPULSE_CFLAGS} ${AM_LIBADD} ${LIBPULSECORE_LIBS} ${LIBPULSE_LIBS} -Wmissing-declarations -Werror -x c -c -o /dev/null - && PULSEAUDIO_HAS_PORTS=1
13671 ac_config_files="$ac_config_files Makefile src/Makefile doc/Makefile"
13673 cat >confcache <<\_ACEOF
13674 # This file is a shell script that caches the results of configure
13675 # tests run on this system so they can be shared between configure
13676 # scripts and configure runs, see configure's option --config-cache.
13677 # It is not useful on other systems. If it contains results you don't
13678 # want to keep, you may remove or edit it.
13680 # config.status only pays attention to the cache file if you give it
13681 # the --recheck option to rerun configure.
13683 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13684 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13685 # following values.
13689 # The following way of writing the cache mishandles newlines in values,
13690 # but we know of no workaround that is simple, portable, and efficient.
13691 # So, we kill variables containing newlines.
13692 # Ultrix sh set writes to stderr and can't be redirected directly,
13693 # and sets the high bit in the cache file unless we assign to the vars.
13695 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13696 eval ac_val=\$$ac_var
13700 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13701 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13704 _ | IFS | as_nl) ;; #(
13705 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13706 *) { eval $ac_var=; unset $ac_var;} ;;
13712 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13713 *${as_nl}ac_space=\ *)
13714 # `set' does not quote correctly, so add quotes: double-quote
13715 # substitution turns \\\\ into \\, and sed turns \\ into \.
13718 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13721 # `set' quotes correctly as required by POSIX, so do not add quotes.
13722 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13731 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13733 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13735 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13736 if test -w "$cache_file"; then
13737 if test "x$cache_file" != "x/dev/null"; then
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13739 $as_echo "$as_me: updating cache $cache_file" >&6;}
13740 if test ! -f "$cache_file" || test -h "$cache_file"; then
13741 cat confcache >"$cache_file"
13743 case $cache_file in #(
13745 mv -f confcache "$cache_file"$$ &&
13746 mv -f "$cache_file"$$ "$cache_file" ;; #(
13748 mv -f confcache "$cache_file" ;;
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13754 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13759 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13760 # Let make expand exec_prefix.
13761 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13763 # Transform confdefs.h into DEFS.
13764 # Protect against shell expansion while executing Makefile rules.
13765 # Protect against Makefile macro expansion.
13767 # If the first sed substitution is executed (which looks for macros that
13768 # take arguments), then branch to the quote section. Otherwise,
13769 # look for a macro that doesn't take arguments.
13779 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
13781 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
13785 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
13798 DEFS=`sed -n "$ac_script" confdefs.h`
13804 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13805 # 1. Remove the extension, and $U if already installed.
13806 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13807 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13808 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13809 # will be set to the directory where LIBOBJS objects are built.
13810 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13811 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13813 LIBOBJS=$ac_libobjs
13815 LTLIBOBJS=$ac_ltlibobjs
13818 if test -z "${PD_SUPPORT_TRUE}" && test -z "${PD_SUPPORT_FALSE}"; then
13819 as_fn_error $? "conditional \"PD_SUPPORT\" was never defined.
13820 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13822 if test -n "$EXEEXT"; then
13824 am__EXEEXT_FALSE='#'
13826 am__EXEEXT_TRUE='#'
13830 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13831 as_fn_error $? "conditional \"AMDEP\" was never defined.
13832 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13834 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13835 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13836 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13840 : "${CONFIG_STATUS=./config.status}"
13842 ac_clean_files_save=$ac_clean_files
13843 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13845 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13847 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13849 # Generated by $as_me.
13850 # Run this file to recreate the current configuration.
13851 # Compiler output produced by configure, useful for debugging
13852 # configure, is in config.log if it exists.
13855 ac_cs_recheck=false
13858 SHELL=\${CONFIG_SHELL-$SHELL}
13861 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13862 ## -------------------- ##
13863 ## M4sh Initialization. ##
13864 ## -------------------- ##
13866 # Be more Bourne compatible
13867 DUALCASE=1; export DUALCASE # for MKS sh
13868 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13871 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13872 # is contrary to our usage. Disable this feature.
13873 alias -g '${1+"$@"}'='"$@"'
13874 setopt NO_GLOB_SUBST
13876 case `(set -o) 2>/dev/null` in #(
13888 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13889 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13890 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13891 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13892 # Prefer a ksh shell builtin over an external printf program on Solaris,
13893 # but without wasting forks for bash or zsh.
13894 if test -z "$BASH_VERSION$ZSH_VERSION" \
13895 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13896 as_echo='print -r --'
13897 as_echo_n='print -rn --'
13898 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13899 as_echo='printf %s\n'
13900 as_echo_n='printf %s'
13902 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13903 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13904 as_echo_n='/usr/ucb/echo -n'
13906 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13907 as_echo_n_body='eval
13911 expr "X$arg" : "X\\(.*\\)$as_nl";
13912 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13914 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13916 export as_echo_n_body
13917 as_echo_n='sh -c $as_echo_n_body as_echo'
13919 export as_echo_body
13920 as_echo='sh -c $as_echo_body as_echo'
13923 # The user is always right.
13924 if test "${PATH_SEPARATOR+set}" != set; then
13926 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13927 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13934 # We need space, tab and new line, in precisely that order. Quoting is
13935 # there to prevent editors from complaining about space-tab.
13936 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13937 # splitting by setting IFS to empty value.)
13940 # Find who we are. Look in the path if we contain no directory separator.
13943 *[\\/]* ) as_myself=$0 ;;
13944 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13945 for as_dir in $PATH
13948 test -z "$as_dir" && as_dir=.
13949 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13955 # We did not find ourselves, most probably we were run as `sh COMMAND'
13956 # in which case we are not to be found in the path.
13957 if test "x$as_myself" = x; then
13960 if test ! -f "$as_myself"; then
13961 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13965 # Unset variables that we do not need and which cause bugs (e.g. in
13966 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13967 # suppresses any "Segmentation fault" message there. '((' could
13968 # trigger a bug in pdksh 5.2.14.
13969 for as_var in BASH_ENV ENV MAIL MAILPATH
13970 do eval test x\${$as_var+set} = xset \
13971 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13984 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13987 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13988 # ----------------------------------------
13989 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13990 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13991 # script with STATUS, using 1 if that was 0.
13994 as_status=$1; test $as_status -eq 0 && as_status=1
13996 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13997 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13999 $as_echo "$as_me: error: $2" >&2
14000 as_fn_exit $as_status
14004 # as_fn_set_status STATUS
14005 # -----------------------
14006 # Set $? to STATUS, without forking.
14007 as_fn_set_status ()
14010 } # as_fn_set_status
14012 # as_fn_exit STATUS
14013 # -----------------
14014 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14018 as_fn_set_status $1
14024 # Portably unset VAR.
14027 { eval $1=; unset $1;}
14029 as_unset=as_fn_unset
14030 # as_fn_append VAR VALUE
14031 # ----------------------
14032 # Append the text in VALUE to the end of the definition contained in VAR. Take
14033 # advantage of any shell optimizations that allow amortized linear growth over
14034 # repeated appends, instead of the typical quadratic growth present in naive
14036 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14037 eval 'as_fn_append ()
14048 # as_fn_arith ARG...
14049 # ------------------
14050 # Perform arithmetic evaluation on the ARGs, and store the result in the
14051 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14052 # must be portable across $(()) and expr.
14053 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14054 eval 'as_fn_arith ()
14061 as_val=`expr "$@" || test $? -eq 1`
14066 if expr a : '\(a\)' >/dev/null 2>&1 &&
14067 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14073 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14074 as_basename=basename
14079 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14085 as_me=`$as_basename -- "$0" ||
14086 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14087 X"$0" : 'X\(//\)$' \| \
14088 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14090 sed '/^.*\/\([^/][^/]*\)\/*$/{
14104 # Avoid depending upon Character Ranges.
14105 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14106 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14107 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14108 as_cr_digits='0123456789'
14109 as_cr_alnum=$as_cr_Letters$as_cr_digits
14111 ECHO_C= ECHO_N= ECHO_T=
14112 case `echo -n x` in #(((((
14114 case `echo 'xy\c'` in
14115 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14117 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14124 rm -f conf$$ conf$$.exe conf$$.file
14125 if test -d conf$$.dir; then
14126 rm -f conf$$.dir/conf$$.file
14129 mkdir conf$$.dir 2>/dev/null
14131 if (echo >conf$$.file) 2>/dev/null; then
14132 if ln -s conf$$.file conf$$ 2>/dev/null; then
14134 # ... but there are two gotchas:
14135 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14136 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14137 # In both cases, we have to default to `cp -p'.
14138 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14140 elif ln conf$$.file conf$$ 2>/dev/null; then
14148 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14149 rmdir conf$$.dir 2>/dev/null
14154 # Create "$as_dir" as a directory, including parents if necessary.
14159 -*) as_dir=./$as_dir;;
14161 test -d "$as_dir" || eval $as_mkdir_p || {
14165 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14166 *) as_qdir=$as_dir;;
14168 as_dirs="'$as_qdir' $as_dirs"
14169 as_dir=`$as_dirname -- "$as_dir" ||
14170 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14171 X"$as_dir" : 'X\(//\)[^/]' \| \
14172 X"$as_dir" : 'X\(//\)$' \| \
14173 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14174 $as_echo X"$as_dir" |
14175 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14179 /^X\(\/\/\)[^/].*/{
14192 test -d "$as_dir" && break
14194 test -z "$as_dirs" || eval "mkdir $as_dirs"
14195 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14199 if mkdir -p . 2>/dev/null; then
14200 as_mkdir_p='mkdir -p "$as_dir"'
14202 test -d ./-p && rmdir ./-p
14206 if test -x / >/dev/null 2>&1; then
14207 as_test_x='test -x'
14209 if ls -dL / >/dev/null 2>&1; then
14216 if test -d "$1"; then
14222 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14223 ???[sx]*):;;*)false;;esac;fi
14227 as_executable_p=$as_test_x
14229 # Sed expression to map a string onto a valid CPP name.
14230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14232 # Sed expression to map a string onto a valid variable name.
14233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14237 ## ----------------------------------- ##
14238 ## Main body of $CONFIG_STATUS script. ##
14239 ## ----------------------------------- ##
14241 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14243 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14244 # Save the log message, to keep $0 and so on meaningful, and to
14245 # report actual input values of CONFIG_FILES etc. instead of their
14246 # values after options handling.
14248 This file was extended by pulseaudio-genivi-mir $as_me , which was
14249 generated by GNU Autoconf 2.68. Invocation command line was
14251 CONFIG_FILES = $CONFIG_FILES
14252 CONFIG_HEADERS = $CONFIG_HEADERS
14253 CONFIG_LINKS = $CONFIG_LINKS
14254 CONFIG_COMMANDS = $CONFIG_COMMANDS
14257 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14262 case $ac_config_files in *"
14263 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14268 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14269 # Files that config.status was made for.
14270 config_files="$ac_config_files"
14271 config_commands="$ac_config_commands"
14275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14277 \`$as_me' instantiates files and other configuration actions
14278 from templates according to the current configuration. Unless the files
14279 and actions are specified as TAGs, all are instantiated by default.
14281 Usage: $0 [OPTION]... [TAG]...
14283 -h, --help print this help, then exit
14284 -V, --version print version number and configuration settings, then exit
14285 --config print configuration, then exit
14286 -q, --quiet, --silent
14287 do not print progress messages
14288 -d, --debug don't remove temporary files
14289 --recheck update $as_me by reconfiguring in the same conditions
14290 --file=FILE[:TEMPLATE]
14291 instantiate the configuration file FILE
14293 Configuration files:
14296 Configuration commands:
14299 Report bugs to <janos.f.kovacs@nokia.com>."
14302 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14303 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14305 pulseaudio-genivi-mir config.status
14306 configured by $0, generated by GNU Autoconf 2.68,
14307 with options \\"\$ac_cs_config\\"
14309 Copyright (C) 2010 Free Software Foundation, Inc.
14310 This config.status script is free software; the Free Software Foundation
14311 gives unlimited permission to copy, distribute and modify it."
14318 test -n "\$AWK" || AWK=awk
14321 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14322 # The default lists apply if the user does not specify any file.
14328 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14329 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14333 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14345 # Handling of the options.
14346 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14348 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14349 $as_echo "$ac_cs_version"; exit ;;
14350 --config | --confi | --conf | --con | --co | --c )
14351 $as_echo "$ac_cs_config"; exit ;;
14352 --debug | --debu | --deb | --de | --d | -d )
14354 --file | --fil | --fi | --f )
14357 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14358 '') as_fn_error $? "missing file argument" ;;
14360 as_fn_append CONFIG_FILES " '$ac_optarg'"
14361 ac_need_defaults=false;;
14362 --he | --h | --help | --hel | -h )
14363 $as_echo "$ac_cs_usage"; exit ;;
14364 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14365 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14368 # This is an error.
14369 -*) as_fn_error $? "unrecognized option: \`$1'
14370 Try \`$0 --help' for more information." ;;
14372 *) as_fn_append ac_config_targets " $1"
14373 ac_need_defaults=false ;;
14379 ac_configure_extra_args=
14381 if $ac_cs_silent; then
14383 ac_configure_extra_args="$ac_configure_extra_args --silent"
14387 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14388 if \$ac_cs_recheck; then
14389 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14391 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14392 CONFIG_SHELL='$SHELL'
14393 export CONFIG_SHELL
14398 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14402 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14403 ## Running $as_me. ##
14409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14413 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14416 # The HP-UX ksh and POSIX shell print the target directory to stdout
14417 # if CDPATH is set.
14418 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14420 sed_quote_subst='$sed_quote_subst'
14421 double_quote_subst='$double_quote_subst'
14422 delay_variable_subst='$delay_variable_subst'
14423 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
14424 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14425 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14426 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14427 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14428 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14429 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14430 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14431 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14432 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14433 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14434 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14435 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14436 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14437 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14438 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14439 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14440 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14441 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14442 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14443 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14444 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14445 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14446 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14447 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14448 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14449 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14450 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14451 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14452 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14453 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14454 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14455 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14456 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14457 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14458 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14459 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14460 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14461 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14462 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14463 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14464 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14465 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14466 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14467 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14468 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14469 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14470 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14471 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14472 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14473 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14474 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14475 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14476 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14477 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14478 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14479 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
14480 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14481 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14482 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14483 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14484 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14485 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14486 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14487 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14488 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14489 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14490 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14491 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14492 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14493 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14494 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14495 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14496 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14497 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14498 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14499 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14500 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14501 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14502 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14503 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14504 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14505 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14506 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14507 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14508 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14509 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14510 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14511 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14512 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14513 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14514 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
14515 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14516 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14517 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14518 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14519 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14520 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14521 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14522 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14523 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14524 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14525 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14526 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14527 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14528 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14529 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14530 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14531 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14532 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14533 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14534 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14535 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14536 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14537 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14538 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14539 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14540 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14541 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14542 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14543 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14544 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14545 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14546 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14547 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14548 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14549 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14550 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14551 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14552 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14553 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14556 LTCFLAGS='$LTCFLAGS'
14557 compiler='$compiler_DEFAULT'
14559 # A function that is used when there is no print builtin or printf.
14560 func_fallback_echo ()
14562 eval 'cat <<_LTECHO_EOF
14567 # Quote evaled strings.
14583 deplibs_check_method \
14587 sharedlib_from_linklib_cmd \
14590 archiver_list_spec \
14596 lt_cv_sys_global_symbol_pipe \
14597 lt_cv_sys_global_symbol_to_cdecl \
14598 lt_cv_sys_global_symbol_to_c_name_address \
14599 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14600 nm_file_list_spec \
14601 lt_prog_compiler_no_builtin_flag \
14602 lt_prog_compiler_pic \
14603 lt_prog_compiler_wl \
14604 lt_prog_compiler_static \
14605 lt_cv_prog_compiler_c_o \
14614 export_dynamic_flag_spec \
14615 whole_archive_flag_spec \
14616 compiler_needs_object \
14618 allow_undefined_flag \
14619 no_undefined_flag \
14620 hardcode_libdir_flag_spec \
14621 hardcode_libdir_flag_spec_ld \
14622 hardcode_libdir_separator \
14626 variables_saved_for_relink \
14628 library_names_spec \
14630 install_override_mode \
14634 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14635 *[\\\\\\\`\\"\\\$]*)
14636 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14639 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14644 # Double-quote double-evaled strings.
14645 for var in reload_cmds \
14646 old_postinstall_cmds \
14647 old_postuninstall_cmds \
14649 extract_expsyms_cmds \
14650 old_archive_from_new_cmds \
14651 old_archive_from_expsyms_cmds \
14653 archive_expsym_cmds \
14655 module_expsym_cmds \
14656 export_symbols_cmds \
14660 postuninstall_cmds \
14662 sys_lib_search_path_spec \
14663 sys_lib_dlsearch_path_spec; do
14664 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14665 *[\\\\\\\`\\"\\\$]*)
14666 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14669 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14674 ac_aux_dir='$ac_aux_dir'
14675 xsi_shell='$xsi_shell'
14676 lt_shell_append='$lt_shell_append'
14678 # See if we are running on zsh, and set the options which allow our
14679 # commands through without removal of \ escapes INIT.
14680 if test -n "\${ZSH_VERSION+set}" ; then
14681 setopt NO_GLOB_SUBST
14687 TIMESTAMP='$TIMESTAMP'
14696 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14698 # Handling of arguments.
14699 for ac_config_target in $ac_config_targets
14701 case $ac_config_target in
14702 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14703 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14704 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14705 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14706 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
14708 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14713 # If the user did not use the arguments to specify the items to instantiate,
14714 # then the envvar interface is used. Set only those that are not.
14715 # We use the long form for the default assignment because of an extremely
14716 # bizarre bug on SunOS 4.1.3.
14717 if $ac_need_defaults; then
14718 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14719 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14722 # Have a temporary directory for convenience. Make it in the build tree
14723 # simply because there is no reason against having it here, and in addition,
14724 # creating and moving files from /tmp can sometimes cause problems.
14725 # Hook for its removal unless debugging.
14726 # Note that there is a small window in which the directory will not be cleaned:
14727 # after its creation but before its name has been assigned to `$tmp'.
14731 trap 'exit_status=$?
14732 : "${ac_tmp:=$tmp}"
14733 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14735 trap 'as_fn_exit 1' 1 2 13 15
14737 # Create a (secure) tmp directory for tmp files.
14740 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14744 tmp=./conf$$-$RANDOM
14745 (umask 077 && mkdir "$tmp")
14746 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14749 # Set up the scripts for CONFIG_FILES section.
14750 # No need to generate them if there are no CONFIG_FILES.
14751 # This happens for instance with `./config.status config.h'.
14752 if test -n "$CONFIG_FILES"; then
14755 ac_cr=`echo X | tr X '\015'`
14756 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14757 # But we know of no other shell where ac_cr would be empty at this
14758 # point, so we can use a bashism as a fallback.
14759 if test "x$ac_cr" = x; then
14760 eval ac_cr=\$\'\\r\'
14762 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14763 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14766 ac_cs_awk_cr=$ac_cr
14769 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14774 echo "cat >conf$$subs.awk <<_ACEOF" &&
14775 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14777 } >conf$$subs.sh ||
14778 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14779 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14781 for ac_last_try in false false false false false :; do
14782 . ./conf$$subs.sh ||
14783 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14785 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14786 if test $ac_delim_n = $ac_delim_num; then
14788 elif $ac_last_try; then
14789 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14791 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14794 rm -f conf$$subs.sh
14796 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14797 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14801 s/^/S["/; s/!.*/"]=/
14811 s/\(.\{148\}\)..*/\1/
14813 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14818 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14825 s/\(.\{148\}\)..*/\1/
14827 s/["\\]/\\&/g; s/^/"/; s/$/"/
14831 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14836 ' <conf$$subs.awk | sed '
14841 ' >>$CONFIG_STATUS || ac_write_fail=1
14842 rm -f conf$$subs.awk
14843 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14845 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14846 for (key in S) S_is_set[key] = 1
14852 nfields = split(line, field, "@")
14854 len = length(field[1])
14855 for (i = 2; i < nfields; i++) {
14857 keylen = length(key)
14858 if (S_is_set[key]) {
14860 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14861 len += length(value) + length(field[++i])
14872 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14873 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14874 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14877 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14878 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14881 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14882 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14883 # trailing colons and then remove the whole line if VPATH becomes empty
14884 # (actually we leave an empty line to preserve line numbers).
14885 if test "x$srcdir" = x.; then
14886 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14904 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14905 fi # test -n "$CONFIG_FILES"
14908 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
14913 :[FHLC]) ac_mode=$ac_tag; continue;;
14915 case $ac_mode$ac_tag in
14917 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14918 :[FH]-) ac_tag=-:-;;
14919 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14936 -) ac_f="$ac_tmp/stdin";;
14937 *) # Look for the file first in the build tree, then in the source tree
14938 # (if the path is not absolute). The absolute path cannot be DOS-style,
14939 # because $ac_f cannot contain `:'.
14943 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14945 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14947 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14948 as_fn_append ac_file_inputs " '$ac_f'"
14951 # Let's still pretend it is `configure' which instantiates (i.e., don't
14952 # use $as_me), people would be surprised to read:
14953 # /* config.h. Generated by config.status. */
14954 configure_input='Generated from '`
14955 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14957 if test x"$ac_file" != x-; then
14958 configure_input="$ac_file. $configure_input"
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14960 $as_echo "$as_me: creating $ac_file" >&6;}
14962 # Neutralize special characters interpreted by sed in replacement strings.
14963 case $configure_input in #(
14964 *\&* | *\|* | *\\* )
14965 ac_sed_conf_input=`$as_echo "$configure_input" |
14966 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14967 *) ac_sed_conf_input=$configure_input;;
14971 *:-:* | *:-) cat >"$ac_tmp/stdin" \
14972 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14977 ac_dir=`$as_dirname -- "$ac_file" ||
14978 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14979 X"$ac_file" : 'X\(//\)[^/]' \| \
14980 X"$ac_file" : 'X\(//\)$' \| \
14981 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14982 $as_echo X"$ac_file" |
14983 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14987 /^X\(\/\/\)[^/].*/{
15000 as_dir="$ac_dir"; as_fn_mkdir_p
15004 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15006 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15007 # A ".." for each directory in $ac_dir_suffix.
15008 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15009 case $ac_top_builddir_sub in
15010 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15011 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15014 ac_abs_top_builddir=$ac_pwd
15015 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15016 # for backward compatibility:
15017 ac_top_builddir=$ac_top_build_prefix
15020 .) # We are building in place.
15022 ac_top_srcdir=$ac_top_builddir_sub
15023 ac_abs_top_srcdir=$ac_pwd ;;
15024 [\\/]* | ?:[\\/]* ) # Absolute name.
15025 ac_srcdir=$srcdir$ac_dir_suffix;
15026 ac_top_srcdir=$srcdir
15027 ac_abs_top_srcdir=$srcdir ;;
15028 *) # Relative name.
15029 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15030 ac_top_srcdir=$ac_top_build_prefix$srcdir
15031 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15033 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15043 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15044 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15046 ac_MKDIR_P=$MKDIR_P
15048 [\\/$]* | ?:[\\/]* ) ;;
15049 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15053 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15054 # If the template does not know about datarootdir, expand it.
15055 # FIXME: This hack should be removed a few years after 2.60.
15056 ac_datarootdir_hack=; ac_datarootdir_seen=
15067 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15068 *datarootdir*) ac_datarootdir_seen=yes;;
15069 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15071 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15073 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15074 ac_datarootdir_hack='
15075 s&@datadir@&$datadir&g
15076 s&@docdir@&$docdir&g
15077 s&@infodir@&$infodir&g
15078 s&@localedir@&$localedir&g
15079 s&@mandir@&$mandir&g
15080 s&\\\${datarootdir}&$datarootdir&g' ;;
15084 # Neutralize VPATH when `$srcdir' = `.'.
15085 # Shell code in configure.ac might set extrasub.
15086 # FIXME: do we really want to maintain this feature?
15087 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15088 ac_sed_extra="$ac_vpsub
15091 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15093 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15094 s|@configure_input@|$ac_sed_conf_input|;t t
15095 s&@top_builddir@&$ac_top_builddir_sub&;t t
15096 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15097 s&@srcdir@&$ac_srcdir&;t t
15098 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15099 s&@top_srcdir@&$ac_top_srcdir&;t t
15100 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15101 s&@builddir@&$ac_builddir&;t t
15102 s&@abs_builddir@&$ac_abs_builddir&;t t
15103 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15104 s&@INSTALL@&$ac_INSTALL&;t t
15105 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15106 $ac_datarootdir_hack
15108 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15109 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15111 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15112 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15113 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15114 "$ac_tmp/out"`; test -z "$ac_out"; } &&
15115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15116 which seems to be undefined. Please make sure it is defined" >&5
15117 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15118 which seems to be undefined. Please make sure it is defined" >&2;}
15120 rm -f "$ac_tmp/stdin"
15122 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15123 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15125 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15129 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15130 $as_echo "$as_me: executing $ac_file commands" >&6;}
15135 case $ac_file$ac_mode in
15136 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15137 # Autoconf 2.62 quotes --file arguments for eval, but not when files
15138 # are listed without --file. Let's play safe and only enable the eval
15139 # if we detect the quoting.
15140 case $CONFIG_FILES in
15141 *\'*) eval set x "$CONFIG_FILES" ;;
15142 *) set x $CONFIG_FILES ;;
15147 # Strip MF so we end up with the name of the file.
15148 mf=`echo "$mf" | sed -e 's/:.*$//'`
15149 # Check whether this is an Automake generated Makefile or not.
15150 # We used to match only the files named `Makefile.in', but
15151 # some people rename them; so instead we look at the file content.
15152 # Grep'ing the first line is not enough: some people post-process
15153 # each Makefile.in and add a new line on top of each file to say so.
15154 # Grep'ing the whole file is not good either: AIX grep has a line
15155 # limit of 2048, but all sed's we know have understand at least 4000.
15156 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15157 dirpart=`$as_dirname -- "$mf" ||
15158 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15159 X"$mf" : 'X\(//\)[^/]' \| \
15160 X"$mf" : 'X\(//\)$' \| \
15161 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15163 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15167 /^X\(\/\/\)[^/].*/{
15183 # Extract the definition of DEPDIR, am__include, and am__quote
15184 # from the Makefile without running `make'.
15185 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15186 test -z "$DEPDIR" && continue
15187 am__include=`sed -n 's/^am__include = //p' < "$mf"`
15188 test -z "am__include" && continue
15189 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15190 # When using ansi2knr, U may be empty or an underscore; expand it
15191 U=`sed -n 's/^U = //p' < "$mf"`
15192 # Find all dependency output files, they are included files with
15193 # $(DEPDIR) in their names. We invoke sed twice because it is the
15194 # simplest approach to changing $(DEPDIR) to its actual value in the
15196 for file in `sed -n "
15197 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15198 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15199 # Make sure the directory exists.
15200 test -f "$dirpart/$file" && continue
15201 fdir=`$as_dirname -- "$file" ||
15202 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15203 X"$file" : 'X\(//\)[^/]' \| \
15204 X"$file" : 'X\(//\)$' \| \
15205 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15206 $as_echo X"$file" |
15207 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15211 /^X\(\/\/\)[^/].*/{
15224 as_dir=$dirpart/$fdir; as_fn_mkdir_p
15225 # echo "creating $dirpart/$file"
15226 echo '# dummy' > "$dirpart/$file"
15233 # See if we are running on zsh, and set the options which allow our
15234 # commands through without removal of \ escapes.
15235 if test -n "${ZSH_VERSION+set}" ; then
15236 setopt NO_GLOB_SUBST
15239 cfgfile="${ofile}T"
15240 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15243 cat <<_LT_EOF >> "$cfgfile"
15246 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15247 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15248 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15249 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15251 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15252 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
15254 # Written by Gordon Matzigkeit, 1996
15256 # This file is part of GNU Libtool.
15258 # GNU Libtool is free software; you can redistribute it and/or
15259 # modify it under the terms of the GNU General Public License as
15260 # published by the Free Software Foundation; either version 2 of
15261 # the License, or (at your option) any later version.
15263 # As a special exception to the GNU General Public License,
15264 # if you distribute this file as part of a program or library that
15265 # is built using GNU Libtool, you may include this file under the
15266 # same distribution terms that you use for the rest of that program.
15268 # GNU Libtool is distributed in the hope that it will be useful,
15269 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15270 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15271 # GNU General Public License for more details.
15273 # You should have received a copy of the GNU General Public License
15274 # along with GNU Libtool; see the file COPYING. If not, a copy
15275 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15276 # obtained by writing to the Free Software Foundation, Inc.,
15277 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15280 # The names of the tagged configurations supported by this script.
15283 # ### BEGIN LIBTOOL CONFIG
15285 # Assembler program.
15288 # DLL creation program.
15289 DLLTOOL=$lt_DLLTOOL
15291 # Object dumper program.
15292 OBJDUMP=$lt_OBJDUMP
15294 # Which release of libtool.m4 was used?
15295 macro_version=$macro_version
15296 macro_revision=$macro_revision
15298 # Whether or not to build shared libraries.
15299 build_libtool_libs=$enable_shared
15301 # Whether or not to build static libraries.
15302 build_old_libs=$enable_static
15304 # What type of objects to build.
15307 # Whether or not to optimize for fast installation.
15308 fast_install=$enable_fast_install
15310 # Shell to use when invoking shell scripts.
15313 # An echo program that protects backslashes.
15317 host_alias=$host_alias
15321 # The build system.
15322 build_alias=$build_alias
15326 # A sed program that does not truncate output.
15329 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15330 Xsed="\$SED -e 1s/^X//"
15332 # A grep program that handles long lines.
15338 # A literal string matcher.
15341 # A BSD- or MS-compatible name lister.
15344 # Whether we need soft or hard links.
15347 # What is the maximum length of a command?
15348 max_cmd_len=$max_cmd_len
15350 # Object file suffix (normally "o").
15353 # Executable file suffix (normally "").
15356 # whether the shell understands "unset".
15359 # turn spaces into newlines.
15362 # turn newlines into spaces.
15365 # convert \$build file names to \$host format.
15366 to_host_file_cmd=$lt_cv_to_host_file_cmd
15368 # convert \$build files to toolchain format.
15369 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15371 # Method to check whether dependent libraries are shared objects.
15372 deplibs_check_method=$lt_deplibs_check_method
15374 # Command to use when deplibs_check_method = "file_magic".
15375 file_magic_cmd=$lt_file_magic_cmd
15377 # How to find potential files when deplibs_check_method = "file_magic".
15378 file_magic_glob=$lt_file_magic_glob
15380 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15381 want_nocaseglob=$lt_want_nocaseglob
15383 # Command to associate shared and link libraries.
15384 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15389 # Flags to create an archive.
15390 AR_FLAGS=$lt_AR_FLAGS
15392 # How to feed a file listing to the archiver.
15393 archiver_list_spec=$lt_archiver_list_spec
15395 # A symbol stripping program.
15398 # Commands used to install an old-style archive.
15400 old_postinstall_cmds=$lt_old_postinstall_cmds
15401 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15403 # Whether to use a lock for old archive extraction.
15404 lock_old_archive_extraction=$lock_old_archive_extraction
15409 # LTCC compiler flags.
15410 LTCFLAGS=$lt_CFLAGS
15412 # Take the output of nm and produce a listing of raw symbols and C names.
15413 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15415 # Transform the output of nm in a proper C declaration.
15416 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15418 # Transform the output of nm in a C name address pair.
15419 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15421 # Transform the output of nm in a C name address pair when lib prefix is needed.
15422 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15424 # Specify filename containing input files for \$NM.
15425 nm_file_list_spec=$lt_nm_file_list_spec
15427 # The root where to search for dependent libraries,and in which our libraries should be installed.
15428 lt_sysroot=$lt_sysroot
15430 # The name of the directory that contains temporary libtool files.
15433 # Used to examine libraries when file_magic_cmd begins with "file".
15434 MAGIC_CMD=$MAGIC_CMD
15436 # Must we lock files when doing compilation?
15437 need_locks=$lt_need_locks
15440 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15442 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15443 DSYMUTIL=$lt_DSYMUTIL
15445 # Tool to change global to local symbols on Mac OS X.
15448 # Tool to manipulate fat objects and archives on Mac OS X.
15451 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15454 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15455 OTOOL64=$lt_OTOOL64
15457 # Old archive suffix (normally "a").
15460 # Shared library suffix (normally ".so").
15461 shrext_cmds=$lt_shrext_cmds
15463 # The commands to extract the exported symbol list from a shared archive.
15464 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15466 # Variables whose values should be saved in libtool wrapper scripts and
15467 # restored at link time.
15468 variables_saved_for_relink=$lt_variables_saved_for_relink
15470 # Do we need the "lib" prefix for modules?
15471 need_lib_prefix=$need_lib_prefix
15473 # Do we need a version for libraries?
15474 need_version=$need_version
15476 # Library versioning type.
15477 version_type=$version_type
15479 # Shared library runtime path variable.
15480 runpath_var=$runpath_var
15482 # Shared library path variable.
15483 shlibpath_var=$shlibpath_var
15485 # Is shlibpath searched before the hard-coded library search path?
15486 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15488 # Format of library name prefix.
15489 libname_spec=$lt_libname_spec
15491 # List of archive names. First name is the real one, the rest are links.
15492 # The last name is the one that the linker finds with -lNAME
15493 library_names_spec=$lt_library_names_spec
15495 # The coded name of the library, if different from the real name.
15496 soname_spec=$lt_soname_spec
15498 # Permission mode override for installation of shared libraries.
15499 install_override_mode=$lt_install_override_mode
15501 # Command to use after installation of a shared archive.
15502 postinstall_cmds=$lt_postinstall_cmds
15504 # Command to use after uninstallation of a shared archive.
15505 postuninstall_cmds=$lt_postuninstall_cmds
15507 # Commands used to finish a libtool library installation in a directory.
15508 finish_cmds=$lt_finish_cmds
15510 # As "finish_cmds", except a single script fragment to be evaled but
15512 finish_eval=$lt_finish_eval
15514 # Whether we should hardcode library paths into libraries.
15515 hardcode_into_libs=$hardcode_into_libs
15517 # Compile-time system search path for libraries.
15518 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15520 # Run-time system search path for libraries.
15521 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15523 # Whether dlopen is supported.
15524 dlopen_support=$enable_dlopen
15526 # Whether dlopen of programs is supported.
15527 dlopen_self=$enable_dlopen_self
15529 # Whether dlopen of statically linked programs is supported.
15530 dlopen_self_static=$enable_dlopen_self_static
15532 # Commands to strip libraries.
15533 old_striplib=$lt_old_striplib
15534 striplib=$lt_striplib
15537 # The linker used to build libraries.
15540 # How to create reloadable object files.
15541 reload_flag=$lt_reload_flag
15542 reload_cmds=$lt_reload_cmds
15544 # Commands used to build an old-style archive.
15545 old_archive_cmds=$lt_old_archive_cmds
15547 # A language specific compiler.
15550 # Is the compiler the GNU compiler?
15553 # Compiler flag to turn off builtin functions.
15554 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15556 # Additional compiler flags for building library objects.
15557 pic_flag=$lt_lt_prog_compiler_pic
15559 # How to pass a linker flag through the compiler.
15560 wl=$lt_lt_prog_compiler_wl
15562 # Compiler flag to prevent dynamic linking.
15563 link_static_flag=$lt_lt_prog_compiler_static
15565 # Does compiler simultaneously support -c and -o options?
15566 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15568 # Whether or not to add -lc for building shared libraries.
15569 build_libtool_need_lc=$archive_cmds_need_lc
15571 # Whether or not to disallow shared libs when runtime libs are static.
15572 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15574 # Compiler flag to allow reflexive dlopens.
15575 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15577 # Compiler flag to generate shared objects directly from archives.
15578 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15580 # Whether the compiler copes with passing no objects directly.
15581 compiler_needs_object=$lt_compiler_needs_object
15583 # Create an old-style archive from a shared archive.
15584 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15586 # Create a temporary old-style archive to link instead of a shared archive.
15587 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15589 # Commands used to build a shared archive.
15590 archive_cmds=$lt_archive_cmds
15591 archive_expsym_cmds=$lt_archive_expsym_cmds
15593 # Commands used to build a loadable module if different from building
15594 # a shared archive.
15595 module_cmds=$lt_module_cmds
15596 module_expsym_cmds=$lt_module_expsym_cmds
15598 # Whether we are building with GNU ld or not.
15599 with_gnu_ld=$lt_with_gnu_ld
15601 # Flag that allows shared libraries with undefined symbols to be built.
15602 allow_undefined_flag=$lt_allow_undefined_flag
15604 # Flag that enforces no undefined symbols.
15605 no_undefined_flag=$lt_no_undefined_flag
15607 # Flag to hardcode \$libdir into a binary during linking.
15608 # This must work even if \$libdir does not exist
15609 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15611 # If ld is used when linking, flag to hardcode \$libdir into a binary
15612 # during linking. This must work even if \$libdir does not exist.
15613 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15615 # Whether we need a single "-rpath" flag with a separated argument.
15616 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15618 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15619 # DIR into the resulting binary.
15620 hardcode_direct=$hardcode_direct
15622 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15623 # DIR into the resulting binary and the resulting library dependency is
15624 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15625 # library is relocated.
15626 hardcode_direct_absolute=$hardcode_direct_absolute
15628 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15629 # into the resulting binary.
15630 hardcode_minus_L=$hardcode_minus_L
15632 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15633 # into the resulting binary.
15634 hardcode_shlibpath_var=$hardcode_shlibpath_var
15636 # Set to "yes" if building a shared library automatically hardcodes DIR
15637 # into the library and all subsequent libraries and executables linked
15639 hardcode_automatic=$hardcode_automatic
15641 # Set to yes if linker adds runtime paths of dependent libraries
15642 # to runtime path list.
15643 inherit_rpath=$inherit_rpath
15645 # Whether libtool must link a program against all its dependency libraries.
15646 link_all_deplibs=$link_all_deplibs
15648 # Set to "yes" if exported symbols are required.
15649 always_export_symbols=$always_export_symbols
15651 # The commands to list exported symbols.
15652 export_symbols_cmds=$lt_export_symbols_cmds
15654 # Symbols that should not be listed in the preloaded symbols.
15655 exclude_expsyms=$lt_exclude_expsyms
15657 # Symbols that must always be exported.
15658 include_expsyms=$lt_include_expsyms
15660 # Commands necessary for linking programs (against libraries) with templates.
15661 prelink_cmds=$lt_prelink_cmds
15663 # Commands necessary for finishing linking programs.
15664 postlink_cmds=$lt_postlink_cmds
15666 # Specify filename containing input files.
15667 file_list_spec=$lt_file_list_spec
15669 # How to hardcode a shared library path into an executable.
15670 hardcode_action=$hardcode_action
15672 # ### END LIBTOOL CONFIG
15678 cat <<\_LT_EOF >> "$cfgfile"
15679 # AIX sometimes has problems with the GCC collect2 program. For some
15680 # reason, if we set the COLLECT_NAMES environment variable, the problems
15681 # vanish in a puff of smoke.
15682 if test "X${COLLECT_NAMES+set}" != Xset; then
15684 export COLLECT_NAMES
15691 ltmain="$ac_aux_dir/ltmain.sh"
15694 # We use sed instead of cat because bash on DJGPP gets confused if
15695 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15696 # text mode, it properly converts lines to CR/LF. This bash problem
15697 # is reportedly fixed, but why not run on old versions too?
15698 sed '$q' "$ltmain" >> "$cfgfile" \
15699 || (rm -f "$cfgfile"; exit 1)
15701 if test x"$xsi_shell" = xyes; then
15702 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15706 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15707 \ * ) func_dirname_result="${3}" ;;\
15709 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15710 && mv -f "$cfgfile.tmp" "$cfgfile" \
15711 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15712 test 0 -eq $? || _lt_function_replace_fail=:
15715 sed -e '/^func_basename ()$/,/^} # func_basename /c\
15718 \ func_basename_result="${1##*/}"\
15719 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15720 && mv -f "$cfgfile.tmp" "$cfgfile" \
15721 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15722 test 0 -eq $? || _lt_function_replace_fail=:
15725 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15726 func_dirname_and_basename ()\
15729 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15730 \ * ) func_dirname_result="${3}" ;;\
15732 \ func_basename_result="${1##*/}"\
15733 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15734 && mv -f "$cfgfile.tmp" "$cfgfile" \
15735 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15736 test 0 -eq $? || _lt_function_replace_fail=:
15739 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15742 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15743 \ # positional parameters, so assign one to ordinary parameter first.\
15744 \ func_stripname_result=${3}\
15745 \ func_stripname_result=${func_stripname_result#"${1}"}\
15746 \ func_stripname_result=${func_stripname_result%"${2}"}\
15747 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15748 && mv -f "$cfgfile.tmp" "$cfgfile" \
15749 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15750 test 0 -eq $? || _lt_function_replace_fail=:
15753 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15754 func_split_long_opt ()\
15756 \ func_split_long_opt_name=${1%%=*}\
15757 \ func_split_long_opt_arg=${1#*=}\
15758 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15759 && mv -f "$cfgfile.tmp" "$cfgfile" \
15760 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15761 test 0 -eq $? || _lt_function_replace_fail=:
15764 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15765 func_split_short_opt ()\
15767 \ func_split_short_opt_arg=${1#??}\
15768 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15769 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15770 && mv -f "$cfgfile.tmp" "$cfgfile" \
15771 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15772 test 0 -eq $? || _lt_function_replace_fail=:
15775 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15779 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15780 \ *) func_lo2o_result=${1} ;;\
15782 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15783 && mv -f "$cfgfile.tmp" "$cfgfile" \
15784 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15785 test 0 -eq $? || _lt_function_replace_fail=:
15788 sed -e '/^func_xform ()$/,/^} # func_xform /c\
15791 func_xform_result=${1%.*}.lo\
15792 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15793 && mv -f "$cfgfile.tmp" "$cfgfile" \
15794 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15795 test 0 -eq $? || _lt_function_replace_fail=:
15798 sed -e '/^func_arith ()$/,/^} # func_arith /c\
15801 func_arith_result=$(( $* ))\
15802 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15803 && mv -f "$cfgfile.tmp" "$cfgfile" \
15804 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15805 test 0 -eq $? || _lt_function_replace_fail=:
15808 sed -e '/^func_len ()$/,/^} # func_len /c\
15811 func_len_result=${#1}\
15812 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15813 && mv -f "$cfgfile.tmp" "$cfgfile" \
15814 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15815 test 0 -eq $? || _lt_function_replace_fail=:
15819 if test x"$lt_shell_append" = xyes; then
15820 sed -e '/^func_append ()$/,/^} # func_append /c\
15823 eval "${1}+=\\${2}"\
15824 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15825 && mv -f "$cfgfile.tmp" "$cfgfile" \
15826 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15827 test 0 -eq $? || _lt_function_replace_fail=:
15830 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15831 func_append_quoted ()\
15833 \ func_quote_for_eval "${2}"\
15834 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15835 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15836 && mv -f "$cfgfile.tmp" "$cfgfile" \
15837 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15838 test 0 -eq $? || _lt_function_replace_fail=:
15841 # Save a `func_append' function call where possible by direct use of '+='
15842 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15843 && mv -f "$cfgfile.tmp" "$cfgfile" \
15844 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15845 test 0 -eq $? || _lt_function_replace_fail=:
15847 # Save a `func_append' function call even when '+=' is not available
15848 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15849 && mv -f "$cfgfile.tmp" "$cfgfile" \
15850 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15851 test 0 -eq $? || _lt_function_replace_fail=:
15854 if test x"$_lt_function_replace_fail" = x":"; then
15855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15856 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15860 mv -f "$cfgfile" "$ofile" ||
15861 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15872 ac_clean_files=$ac_clean_files_save
15874 test $ac_write_fail = 0 ||
15875 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15878 # configure is writing to config.log, and then calls config.status.
15879 # config.status does its own redirection, appending to config.log.
15880 # Unfortunately, on DOS this fails, as config.log is still kept open
15881 # by configure, so config.status won't be able to write to it; its
15882 # output is simply discarded. So we exec the FD to /dev/null,
15883 # effectively closing config.log, so it can be properly (re)opened and
15884 # appended to by config.status. When coming back to configure, we
15885 # need to make the FD available again.
15886 if test "$no_create" != yes; then
15888 ac_config_status_args=
15889 test "$silent" = yes &&
15890 ac_config_status_args="$ac_config_status_args --quiet"
15892 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15894 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15895 # would make configure fail if this is the last instruction.
15896 $ac_cs_success || as_fn_exit 1
15900 # CONFIG_SUBDIRS section.
15902 if test "$no_recursion" != yes; then
15904 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
15905 # so they do not pile up.
15906 ac_sub_configure_args=
15908 eval "set x $ac_configure_args"
15912 if test -n "$ac_prev"; then
15917 -cache-file | --cache-file | --cache-fil | --cache-fi \
15918 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
15919 ac_prev=cache_file ;;
15920 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
15921 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
15924 --config-cache | -C)
15926 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
15928 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
15930 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
15932 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
15934 --disable-option-checking)
15938 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15940 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
15944 # Always prepend --prefix to ensure using the same prefix
15945 # in subdir configurations.
15946 ac_arg="--prefix=$prefix"
15948 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15950 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
15953 if test "$silent" = yes; then
15954 ac_sub_configure_args="--silent $ac_sub_configure_args"
15957 # Always prepend --disable-option-checking to silence warnings, since
15958 # different subdirs can have different --enable and --with options.
15959 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
15962 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
15964 # Do not complain, so a configure script can configure whichever
15965 # parts of a large source tree are present.
15966 test -d "$srcdir/$ac_dir" || continue
15968 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
15969 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
15970 $as_echo "$ac_msg" >&6
15971 as_dir="$ac_dir"; as_fn_mkdir_p
15975 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15977 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15978 # A ".." for each directory in $ac_dir_suffix.
15979 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15980 case $ac_top_builddir_sub in
15981 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15982 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15985 ac_abs_top_builddir=$ac_pwd
15986 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15987 # for backward compatibility:
15988 ac_top_builddir=$ac_top_build_prefix
15991 .) # We are building in place.
15993 ac_top_srcdir=$ac_top_builddir_sub
15994 ac_abs_top_srcdir=$ac_pwd ;;
15995 [\\/]* | ?:[\\/]* ) # Absolute name.
15996 ac_srcdir=$srcdir$ac_dir_suffix;
15997 ac_top_srcdir=$srcdir
15998 ac_abs_top_srcdir=$srcdir ;;
15999 *) # Relative name.
16000 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16001 ac_top_srcdir=$ac_top_build_prefix$srcdir
16002 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16004 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16009 # Check for guested configure; otherwise get Cygnus style configure.
16010 if test -f "$ac_srcdir/configure.gnu"; then
16011 ac_sub_configure=$ac_srcdir/configure.gnu
16012 elif test -f "$ac_srcdir/configure"; then
16013 ac_sub_configure=$ac_srcdir/configure
16014 elif test -f "$ac_srcdir/configure.in"; then
16015 # This should be Cygnus configure.
16016 ac_sub_configure=$ac_aux_dir/configure
16018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
16019 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
16023 # The recursion is here.
16024 if test -n "$ac_sub_configure"; then
16025 # Make the cache file name correct relative to the subdirectory.
16026 case $cache_file in
16027 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
16028 *) # Relative name.
16029 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
16032 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
16033 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
16034 # The eval makes quoting arguments work.
16035 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
16036 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
16037 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
16043 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16045 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16050 ---{ $PACKAGE_NAME $VERSION }---
16053 sysconfdir: ${sysconfdir}
16054 localstatedir: ${localstatedir}
16055 modlibexecdir: ${modlibexecdir}
16059 LIBPULSE_CFLAGS: ${LIBPULSE_CFLAGS}
16060 LIBPULSE_LIBS: ${LIBPULSE_LIBS}
16061 LIBPULSECORE_CFLAGS: ${LIBPULSECORE_CFLAGS}
16062 LIBPULSECORE_LIBS: ${LIBPULSECORE_LIBS}
16063 MAJORMINOR: ${PA_MAJORMINOR}
16064 PULSEAUDIO_HAS_PORTS: ${PULSEAUDIO_HAS_PORTS}
16065 DBUS_CFLAGS: ${DBUS_CFLAGS}
16066 DBUS_LIBS: ${DBUS_LIBS}
16067 PD_SUPPORT: ${PD_SUPPORT}