2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.58.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
244 # Find the correct PATH separator. Usually this is `:', but
245 # DJGPP uses `;' like DOS.
246 if test "X${PATH_SEPARATOR+set}" != Xset; then
247 UNAME=${UNAME-`uname 2>/dev/null`}
249 *-DOS) lt_cv_sys_path_separator=';' ;;
250 *) lt_cv_sys_path_separator=':' ;;
252 PATH_SEPARATOR=$lt_cv_sys_path_separator
256 # Check that we are running under the correct shell.
257 SHELL=${CONFIG_SHELL-/bin/sh}
261 # Remove one level of quotation (which was required for Make).
262 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
267 if test "X$1" = X--no-reexec; then
268 # Discard the --no-reexec flag, and continue.
270 elif test "X$1" = X--fallback-echo; then
271 # Avoid inline document here, it may be left over
273 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
274 # Yippee, $echo works!
277 # Restart under the correct shell.
278 exec $SHELL "$0" --no-reexec ${1+"$@"}
281 if test "X$1" = X--fallback-echo; then
282 # used as fallback echo
290 # The HP-UX ksh and POSIX shell print the target directory to stdout
292 if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
294 if test -z "$ECHO"; then
295 if test "X${echo_test_string+set}" != Xset; then
296 # find a string as large as possible, as long as the shell can cope with it
297 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
298 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
299 if (echo_test_string="`eval $cmd`") 2>/dev/null &&
300 echo_test_string="`eval $cmd`" &&
301 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
308 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
309 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
310 test "X$echo_testing_string" = "X$echo_test_string"; then
313 # The Solaris, AIX, and Digital Unix default echo programs unquote
314 # backslashes. This makes it impossible to quote backslashes using
315 # echo "$something" | sed 's/\\/\\\\/g'
317 # So, first we look for a working echo in the user's PATH.
319 IFS="${IFS= }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
320 for dir in $PATH /usr/ucb; do
321 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
322 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
323 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
324 test "X$echo_testing_string" = "X$echo_test_string"; then
331 if test "X$echo" = Xecho; then
332 # We didn't find a better echo, so look for alternatives.
333 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
334 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
335 test "X$echo_testing_string" = "X$echo_test_string"; then
336 # This shell has a builtin print -r that does the trick.
338 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
339 test "X$CONFIG_SHELL" != X/bin/ksh; then
340 # If we have ksh, try running configure again with it.
341 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
342 export ORIGINAL_CONFIG_SHELL
343 CONFIG_SHELL=/bin/ksh
345 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
349 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
350 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
351 test "X$echo_testing_string" = "X$echo_test_string"; then
354 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
355 test "X$echo_testing_string" = 'X\t' &&
356 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
357 test "X$echo_testing_string" = "X$echo_test_string"; then
358 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
360 SHELL="$CONFIG_SHELL"
362 echo="$CONFIG_SHELL $0 --fallback-echo"
363 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
364 test "X$echo_testing_string" = 'X\t' &&
365 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
366 test "X$echo_testing_string" = "X$echo_test_string"; then
367 echo="$CONFIG_SHELL $0 --fallback-echo"
369 # maybe with a smaller string...
372 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
373 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
380 if test "$prev" != 'sed 50q "$0"'; then
381 echo_test_string=`eval $prev`
382 export echo_test_string
383 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
385 # Oops. We lost completely, so just stick with echo.
394 # Copy echo and quote the copy suitably for passing to libtool from
395 # the Makefile, instead of quoting the original, which is used later.
397 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
398 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
404 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
405 # so uname gets run too.
406 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
413 ac_default_prefix=/usr/local
414 ac_config_libobj_dir=.
419 SHELL=${CONFIG_SHELL-/bin/sh}
421 # Maximum number of lines to put in a shell here document.
422 # This variable seems obsolete. It should probably be removed, and
423 # only ac_max_sed_lines should be used.
424 : ${ac_max_here_lines=38}
426 # Identity of this package.
433 ac_unique_file="src/"
434 # Factoring default headers for most tests.
435 ac_includes_default="\
438 # include <sys/types.h>
441 # include <sys/stat.h>
452 # if !STDC_HEADERS && HAVE_MEMORY_H
458 # include <strings.h>
461 # include <inttypes.h>
471 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP RANLIB ac_ct_RANLIB SET_MAKE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S ECHO STRIP ac_ct_STRIP EGREP LIBTOOL UNCOMPRESS AR FREETYPE_CONFIG target target_cpu target_vendor target_os WORDS_BIGENDIAN SYSTEM_BACKTICKS PACKAGE VERSION HAVE_UNISTD_H AVIFILE_CONFIG lame_objects USE_GZIP JPEG2SWF PNG2SWF LIBOBJS LTLIBOBJS'
474 # Initialize some variables set by options.
476 ac_init_version=false
477 # The variables have the same names as the options, with
478 # dashes changed to underlines.
486 program_transform_name=s,x,x,
494 # Installation directory options.
495 # These are left unexpanded so users can "make install exec_prefix=/foo"
496 # and all the variables that are supposed to be based on exec_prefix
497 # by default will actually change.
498 # Use braces instead of parens because sh, perl, etc. also accept them.
499 bindir='${exec_prefix}/bin'
500 sbindir='${exec_prefix}/sbin'
501 libexecdir='${exec_prefix}/libexec'
502 datadir='${prefix}/share'
503 sysconfdir='${prefix}/etc'
504 sharedstatedir='${prefix}/com'
505 localstatedir='${prefix}/var'
506 libdir='${exec_prefix}/lib'
507 includedir='${prefix}/include'
508 oldincludedir='/usr/include'
509 infodir='${prefix}/info'
510 mandir='${prefix}/man'
515 # If the previous option needs an argument, assign it.
516 if test -n "$ac_prev"; then
517 eval "$ac_prev=\$ac_option"
522 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
524 # Accept the important Cygnus configure options, so we can diagnose typos.
528 -bindir | --bindir | --bindi | --bind | --bin | --bi)
530 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
533 -build | --build | --buil | --bui | --bu)
534 ac_prev=build_alias ;;
535 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
536 build_alias=$ac_optarg ;;
538 -cache-file | --cache-file | --cache-fil | --cache-fi \
539 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
540 ac_prev=cache_file ;;
541 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
542 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
543 cache_file=$ac_optarg ;;
546 cache_file=config.cache ;;
548 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
550 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
552 datadir=$ac_optarg ;;
554 -disable-* | --disable-*)
555 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
556 # Reject names that are not valid shell variable names.
557 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
558 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
559 { (exit 1); exit 1; }; }
560 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
561 eval "enable_$ac_feature=no" ;;
563 -enable-* | --enable-*)
564 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
565 # Reject names that are not valid shell variable names.
566 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
567 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
568 { (exit 1); exit 1; }; }
569 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
571 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
574 eval "enable_$ac_feature='$ac_optarg'" ;;
576 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
577 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
578 | --exec | --exe | --ex)
579 ac_prev=exec_prefix ;;
580 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
581 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
582 | --exec=* | --exe=* | --ex=*)
583 exec_prefix=$ac_optarg ;;
585 -gas | --gas | --ga | --g)
586 # Obsolete; use --with-gas.
589 -help | --help | --hel | --he | -h)
591 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
592 ac_init_help=recursive ;;
593 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
594 ac_init_help=short ;;
596 -host | --host | --hos | --ho)
597 ac_prev=host_alias ;;
598 -host=* | --host=* | --hos=* | --ho=*)
599 host_alias=$ac_optarg ;;
601 -includedir | --includedir | --includedi | --included | --include \
602 | --includ | --inclu | --incl | --inc)
603 ac_prev=includedir ;;
604 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
605 | --includ=* | --inclu=* | --incl=* | --inc=*)
606 includedir=$ac_optarg ;;
608 -infodir | --infodir | --infodi | --infod | --info | --inf)
610 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
611 infodir=$ac_optarg ;;
613 -libdir | --libdir | --libdi | --libd)
615 -libdir=* | --libdir=* | --libdi=* | --libd=*)
618 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
619 | --libexe | --libex | --libe)
620 ac_prev=libexecdir ;;
621 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
622 | --libexe=* | --libex=* | --libe=*)
623 libexecdir=$ac_optarg ;;
625 -localstatedir | --localstatedir | --localstatedi | --localstated \
626 | --localstate | --localstat | --localsta | --localst \
627 | --locals | --local | --loca | --loc | --lo)
628 ac_prev=localstatedir ;;
629 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
630 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
631 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
632 localstatedir=$ac_optarg ;;
634 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
636 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
640 # Obsolete; use --without-fp.
643 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
644 | --no-cr | --no-c | -n)
647 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
648 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
651 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
652 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
653 | --oldin | --oldi | --old | --ol | --o)
654 ac_prev=oldincludedir ;;
655 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
656 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
657 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
658 oldincludedir=$ac_optarg ;;
660 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
662 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
665 -program-prefix | --program-prefix | --program-prefi | --program-pref \
666 | --program-pre | --program-pr | --program-p)
667 ac_prev=program_prefix ;;
668 -program-prefix=* | --program-prefix=* | --program-prefi=* \
669 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
670 program_prefix=$ac_optarg ;;
672 -program-suffix | --program-suffix | --program-suffi | --program-suff \
673 | --program-suf | --program-su | --program-s)
674 ac_prev=program_suffix ;;
675 -program-suffix=* | --program-suffix=* | --program-suffi=* \
676 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
677 program_suffix=$ac_optarg ;;
679 -program-transform-name | --program-transform-name \
680 | --program-transform-nam | --program-transform-na \
681 | --program-transform-n | --program-transform- \
682 | --program-transform | --program-transfor \
683 | --program-transfo | --program-transf \
684 | --program-trans | --program-tran \
685 | --progr-tra | --program-tr | --program-t)
686 ac_prev=program_transform_name ;;
687 -program-transform-name=* | --program-transform-name=* \
688 | --program-transform-nam=* | --program-transform-na=* \
689 | --program-transform-n=* | --program-transform-=* \
690 | --program-transform=* | --program-transfor=* \
691 | --program-transfo=* | --program-transf=* \
692 | --program-trans=* | --program-tran=* \
693 | --progr-tra=* | --program-tr=* | --program-t=*)
694 program_transform_name=$ac_optarg ;;
696 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
697 | -silent | --silent | --silen | --sile | --sil)
700 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
702 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
704 sbindir=$ac_optarg ;;
706 -sharedstatedir | --sharedstatedir | --sharedstatedi \
707 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
708 | --sharedst | --shareds | --shared | --share | --shar \
710 ac_prev=sharedstatedir ;;
711 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
712 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
713 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
715 sharedstatedir=$ac_optarg ;;
717 -site | --site | --sit)
719 -site=* | --site=* | --sit=*)
722 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
724 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
727 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
728 | --syscon | --sysco | --sysc | --sys | --sy)
729 ac_prev=sysconfdir ;;
730 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
731 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
732 sysconfdir=$ac_optarg ;;
734 -target | --target | --targe | --targ | --tar | --ta | --t)
735 ac_prev=target_alias ;;
736 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
737 target_alias=$ac_optarg ;;
739 -v | -verbose | --verbose | --verbos | --verbo | --verb)
742 -version | --version | --versio | --versi | --vers | -V)
746 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
747 # Reject names that are not valid shell variable names.
748 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
749 { echo "$as_me: error: invalid package name: $ac_package" >&2
750 { (exit 1); exit 1; }; }
751 ac_package=`echo $ac_package| sed 's/-/_/g'`
753 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
756 eval "with_$ac_package='$ac_optarg'" ;;
758 -without-* | --without-*)
759 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
760 # Reject names that are not valid shell variable names.
761 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
762 { echo "$as_me: error: invalid package name: $ac_package" >&2
763 { (exit 1); exit 1; }; }
764 ac_package=`echo $ac_package | sed 's/-/_/g'`
765 eval "with_$ac_package=no" ;;
768 # Obsolete; use --with-x.
771 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
772 | --x-incl | --x-inc | --x-in | --x-i)
773 ac_prev=x_includes ;;
774 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
775 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
776 x_includes=$ac_optarg ;;
778 -x-libraries | --x-libraries | --x-librarie | --x-librari \
779 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
780 ac_prev=x_libraries ;;
781 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
782 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
783 x_libraries=$ac_optarg ;;
785 -*) { echo "$as_me: error: unrecognized option: $ac_option
786 Try \`$0 --help' for more information." >&2
787 { (exit 1); exit 1; }; }
791 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
792 # Reject names that are not valid shell variable names.
793 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
794 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
795 { (exit 1); exit 1; }; }
796 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
797 eval "$ac_envvar='$ac_optarg'"
801 # FIXME: should be removed in autoconf 3.0.
802 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
803 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
804 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
805 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
811 if test -n "$ac_prev"; then
812 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
813 { echo "$as_me: error: missing argument to $ac_option" >&2
814 { (exit 1); exit 1; }; }
817 # Be sure to have absolute paths.
818 for ac_var in exec_prefix prefix
820 eval ac_val=$`echo $ac_var`
822 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
823 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
824 { (exit 1); exit 1; }; };;
828 # Be sure to have absolute paths.
829 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
830 localstatedir libdir includedir oldincludedir infodir mandir
832 eval ac_val=$`echo $ac_var`
834 [\\/$]* | ?:[\\/]* ) ;;
835 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
836 { (exit 1); exit 1; }; };;
840 # There might be people who depend on the old broken behavior: `$host'
841 # used to hold the argument of --host etc.
842 # FIXME: To remove some day.
847 # FIXME: To remove some day.
848 if test "x$host_alias" != x; then
849 if test "x$build_alias" = x; then
850 cross_compiling=maybe
851 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
852 If a cross compiler is detected then cross compile mode will be used." >&2
853 elif test "x$build_alias" != "x$host_alias"; then
859 test -n "$host_alias" && ac_tool_prefix=$host_alias-
861 test "$silent" = yes && exec 6>/dev/null
864 # Find the source files, if location was not specified.
865 if test -z "$srcdir"; then
866 ac_srcdir_defaulted=yes
867 # Try the directory containing this script, then its parent.
868 ac_confdir=`(dirname "$0") 2>/dev/null ||
869 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
870 X"$0" : 'X\(//\)[^/]' \| \
871 X"$0" : 'X\(//\)$' \| \
872 X"$0" : 'X\(/\)' \| \
873 . : '\(.\)' 2>/dev/null ||
875 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
876 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
877 /^X\(\/\/\)$/{ s//\1/; q; }
878 /^X\(\/\).*/{ s//\1/; q; }
881 if test ! -r $srcdir/$ac_unique_file; then
885 ac_srcdir_defaulted=no
887 if test ! -r $srcdir/$ac_unique_file; then
888 if test "$ac_srcdir_defaulted" = yes; then
889 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
890 { (exit 1); exit 1; }; }
892 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
893 { (exit 1); exit 1; }; }
896 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
897 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
898 { (exit 1); exit 1; }; }
899 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
900 ac_env_build_alias_set=${build_alias+set}
901 ac_env_build_alias_value=$build_alias
902 ac_cv_env_build_alias_set=${build_alias+set}
903 ac_cv_env_build_alias_value=$build_alias
904 ac_env_host_alias_set=${host_alias+set}
905 ac_env_host_alias_value=$host_alias
906 ac_cv_env_host_alias_set=${host_alias+set}
907 ac_cv_env_host_alias_value=$host_alias
908 ac_env_target_alias_set=${target_alias+set}
909 ac_env_target_alias_value=$target_alias
910 ac_cv_env_target_alias_set=${target_alias+set}
911 ac_cv_env_target_alias_value=$target_alias
912 ac_env_CC_set=${CC+set}
914 ac_cv_env_CC_set=${CC+set}
915 ac_cv_env_CC_value=$CC
916 ac_env_CFLAGS_set=${CFLAGS+set}
917 ac_env_CFLAGS_value=$CFLAGS
918 ac_cv_env_CFLAGS_set=${CFLAGS+set}
919 ac_cv_env_CFLAGS_value=$CFLAGS
920 ac_env_LDFLAGS_set=${LDFLAGS+set}
921 ac_env_LDFLAGS_value=$LDFLAGS
922 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
923 ac_cv_env_LDFLAGS_value=$LDFLAGS
924 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
925 ac_env_CPPFLAGS_value=$CPPFLAGS
926 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
927 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
928 ac_env_CXX_set=${CXX+set}
929 ac_env_CXX_value=$CXX
930 ac_cv_env_CXX_set=${CXX+set}
931 ac_cv_env_CXX_value=$CXX
932 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
933 ac_env_CXXFLAGS_value=$CXXFLAGS
934 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
935 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
936 ac_env_CPP_set=${CPP+set}
937 ac_env_CPP_value=$CPP
938 ac_cv_env_CPP_set=${CPP+set}
939 ac_cv_env_CPP_value=$CPP
942 # Report the --help message.
944 if test "$ac_init_help" = "long"; then
945 # Omit some internal or obsolete options to make the list less imposing.
946 # This message is too long to be a string in the A/UX 3.1 sh.
948 \`configure' configures this package to adapt to many kinds of systems.
950 Usage: $0 [OPTION]... [VAR=VALUE]...
952 To assign environment variables (e.g., CC, CFLAGS...), specify them as
953 VAR=VALUE. See below for descriptions of some of the useful variables.
955 Defaults for the options are specified in brackets.
958 -h, --help display this help and exit
959 --help=short display options specific to this package
960 --help=recursive display the short help of all the included packages
961 -V, --version display version information and exit
962 -q, --quiet, --silent do not print \`checking...' messages
963 --cache-file=FILE cache test results in FILE [disabled]
964 -C, --config-cache alias for \`--cache-file=config.cache'
965 -n, --no-create do not create output files
966 --srcdir=DIR find the sources in DIR [configure dir or \`..']
971 Installation directories:
972 --prefix=PREFIX install architecture-independent files in PREFIX
974 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
977 By default, \`make install' will install all the files in
978 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
979 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
980 for instance \`--prefix=\$HOME'.
982 For better control, use the options below.
984 Fine tuning of the installation directories:
985 --bindir=DIR user executables [EPREFIX/bin]
986 --sbindir=DIR system admin executables [EPREFIX/sbin]
987 --libexecdir=DIR program executables [EPREFIX/libexec]
988 --datadir=DIR read-only architecture-independent data [PREFIX/share]
989 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
990 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
991 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
992 --libdir=DIR object code libraries [EPREFIX/lib]
993 --includedir=DIR C header files [PREFIX/include]
994 --oldincludedir=DIR C header files for non-gcc [/usr/include]
995 --infodir=DIR info documentation [PREFIX/info]
996 --mandir=DIR man documentation [PREFIX/man]
1002 --program-prefix=PREFIX prepend PREFIX to installed program names
1003 --program-suffix=SUFFIX append SUFFIX to installed program names
1004 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1007 --build=BUILD configure for building on BUILD [guessed]
1008 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1009 --target=TARGET configure for building compilers for TARGET [HOST]
1013 if test -n "$ac_init_help"; then
1018 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1019 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1020 --enable-checkmem turn on ccmalloc debugging
1021 --enable-debug turn on debugging
1022 --enable-warnings turn on compiler warnings
1023 --enable-optimizations turn on compiler optimizations (recommended for avi2swf)
1024 --disable-lame don't compile any L.A.M.E. mp3 encoding code in
1025 --enable-shared=PKGS build shared libraries default=yes
1026 --enable-static=PKGS build static libraries default=yes
1027 --enable-fast-install=PKGS optimize for fast installation default=yes
1028 --disable-libtool-lock avoid locking (might break parallel builds)
1031 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1032 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1033 --with-gnu-ld assume the C compiler uses GNU ld default=no
1034 --with-pic try to use only PIC/non-PIC objects default=use both
1036 Some influential environment variables:
1037 CC C compiler command
1038 CFLAGS C compiler flags
1039 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1040 nonstandard directory <lib dir>
1041 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1042 headers in a nonstandard directory <include dir>
1043 CXX C++ compiler command
1044 CXXFLAGS C++ compiler flags
1047 Use these variables to override the choices made by `configure' or to help
1048 it to find libraries and programs with nonstandard names/locations.
1053 if test "$ac_init_help" = "recursive"; then
1054 # If there are subdirs, report their specific --help.
1056 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1057 test -d $ac_dir || continue
1060 if test "$ac_dir" != .; then
1061 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1062 # A "../" for each directory in $ac_dir_suffix.
1063 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1065 ac_dir_suffix= ac_top_builddir=
1069 .) # No --srcdir option. We are building in place.
1071 if test -z "$ac_top_builddir"; then
1074 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1076 [\\/]* | ?:[\\/]* ) # Absolute path.
1077 ac_srcdir=$srcdir$ac_dir_suffix;
1078 ac_top_srcdir=$srcdir ;;
1080 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1081 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1084 .) ac_abs_builddir=$ac_builddir;;
1086 case $ac_builddir in
1087 .) ac_abs_builddir="$ac_dir";;
1088 [\\/]* | ?:[\\/]* ) ac_abs_builddir=$ac_builddir;;
1089 *) ac_abs_builddir="$ac_dir"/$ac_builddir;;
1093 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1095 case ${ac_top_builddir}. in
1096 .) ac_abs_top_builddir="$ac_dir";;
1097 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1098 *) ac_abs_top_builddir="$ac_dir"/${ac_top_builddir}.;;
1102 .) ac_abs_srcdir=$ac_srcdir;;
1105 .) ac_abs_srcdir="$ac_dir";;
1106 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1107 *) ac_abs_srcdir="$ac_dir"/$ac_srcdir;;
1111 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1113 case $ac_top_srcdir in
1114 .) ac_abs_top_srcdir="$ac_dir";;
1115 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1116 *) ac_abs_top_srcdir="$ac_dir"/$ac_top_srcdir;;
1121 # Check for guested configure; otherwise get Cygnus style configure.
1122 if test -f $ac_srcdir/configure.gnu; then
1124 $SHELL $ac_srcdir/configure.gnu --help=recursive
1125 elif test -f $ac_srcdir/configure; then
1127 $SHELL $ac_srcdir/configure --help=recursive
1128 elif test -f $ac_srcdir/configure.ac ||
1129 test -f $ac_srcdir/configure.in; then
1131 $ac_configure --help
1133 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1139 test -n "$ac_init_help" && exit 0
1140 if $ac_init_version; then
1143 Copyright (C) 2003 Free Software Foundation, Inc.
1144 This configure script is free software; the Free Software Foundation
1145 gives unlimited permission to copy, distribute and modify it.
1151 This file contains any messages produced by compilers while
1152 running configure, to aid debugging if configure makes a mistake.
1154 It was created by $as_me, which was
1155 generated by GNU Autoconf 2.58. Invocation command line was
1166 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1167 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1168 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1169 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1170 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1172 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1173 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1175 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1176 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1177 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1178 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1179 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1180 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1181 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1189 test -z "$as_dir" && as_dir=.
1190 echo "PATH: $as_dir"
1205 # Keep a trace of the command line.
1206 # Strip out --no-create and --no-recursion so they do not pile up.
1207 # Strip out --silent because we don't want to record it for future runs.
1208 # Also quote any args containing shell meta-characters.
1209 # Make two passes to allow for proper duplicate-argument suppression.
1214 ac_must_keep_next=false
1220 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1221 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1222 | -silent | --silent | --silen | --sile | --sil)
1224 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1225 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1228 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1230 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1231 if test $ac_must_keep_next = true; then
1232 ac_must_keep_next=false # Got value, back to normal.
1235 *=* | --config-cache | -C | -disable-* | --disable-* \
1236 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1237 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1238 | -with-* | --with-* | -without-* | --without-* | --x)
1239 case "$ac_configure_args0 " in
1240 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1243 -* ) ac_must_keep_next=true ;;
1246 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1247 # Get rid of the leading space.
1253 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1254 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1256 # When interrupted or exit'd, cleanup temporary files, and complete
1257 # config.log. We remove comments because anyway the quotes in there
1258 # would cause problems or look ugly.
1259 # WARNING: Be sure not to use single quotes in there, as some shells,
1260 # such as our DU 5.0 friend, will then `close' the trap.
1261 trap 'exit_status=$?
1262 # Save into config.log some information that might help in debugging.
1267 ## ---------------- ##
1268 ## Cache variables. ##
1269 ## ---------------- ##
1272 # The following way of writing the cache mishandles newlines in values,
1275 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1278 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1279 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1283 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1290 ## ----------------- ##
1291 ## Output variables. ##
1292 ## ----------------- ##
1295 for ac_var in $ac_subst_vars
1297 eval ac_val=$`echo $ac_var`
1298 echo "$ac_var='"'"'$ac_val'"'"'"
1302 if test -n "$ac_subst_files"; then
1309 for ac_var in $ac_subst_files
1311 eval ac_val=$`echo $ac_var`
1312 echo "$ac_var='"'"'$ac_val'"'"'"
1317 if test -s confdefs.h; then
1324 sed "/^$/d" confdefs.h | sort
1327 test "$ac_signal" != 0 &&
1328 echo "$as_me: caught signal $ac_signal"
1329 echo "$as_me: exit $exit_status"
1331 rm -f core *.core &&
1332 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1335 for ac_signal in 1 2 13 15; do
1336 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1340 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1341 rm -rf conftest* confdefs.h
1342 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1345 # Predefined preprocessor variables.
1347 cat >>confdefs.h <<_ACEOF
1348 #define PACKAGE_NAME "$PACKAGE_NAME"
1352 cat >>confdefs.h <<_ACEOF
1353 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1357 cat >>confdefs.h <<_ACEOF
1358 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1362 cat >>confdefs.h <<_ACEOF
1363 #define PACKAGE_STRING "$PACKAGE_STRING"
1367 cat >>confdefs.h <<_ACEOF
1368 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1372 # Let the site file select an alternate cache file if it wants to.
1373 # Prefer explicitly selected file to automatically selected ones.
1374 if test -z "$CONFIG_SITE"; then
1375 if test "x$prefix" != xNONE; then
1376 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1378 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1381 for ac_site_file in $CONFIG_SITE; do
1382 if test -r "$ac_site_file"; then
1383 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1384 echo "$as_me: loading site script $ac_site_file" >&6;}
1385 sed 's/^/| /' "$ac_site_file" >&5
1390 if test -r "$cache_file"; then
1391 # Some versions of bash will fail to source /dev/null (special
1392 # files actually), so we avoid doing that.
1393 if test -f "$cache_file"; then
1394 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1395 echo "$as_me: loading cache $cache_file" >&6;}
1397 [\\/]* | ?:[\\/]* ) . $cache_file;;
1398 *) . ./$cache_file;;
1402 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1403 echo "$as_me: creating cache $cache_file" >&6;}
1407 # Check that the precious variables saved in the cache have kept the same
1409 ac_cache_corrupted=false
1410 for ac_var in `(set) 2>&1 |
1411 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1412 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1413 eval ac_new_set=\$ac_env_${ac_var}_set
1414 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1415 eval ac_new_val="\$ac_env_${ac_var}_value"
1416 case $ac_old_set,$ac_new_set in
1418 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1419 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1420 ac_cache_corrupted=: ;;
1422 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1423 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1424 ac_cache_corrupted=: ;;
1427 if test "x$ac_old_val" != "x$ac_new_val"; then
1428 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1429 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1430 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1431 echo "$as_me: former value: $ac_old_val" >&2;}
1432 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1433 echo "$as_me: current value: $ac_new_val" >&2;}
1434 ac_cache_corrupted=:
1437 # Pass precious variables to config.status.
1438 if test "$ac_new_set" = set; then
1440 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1441 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1442 *) ac_arg=$ac_var=$ac_new_val ;;
1444 case " $ac_configure_args " in
1445 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1446 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1450 if $ac_cache_corrupted; then
1451 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1452 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1453 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1454 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1455 { (exit 1); exit 1; }; }
1459 ac_cpp='$CPP $CPPFLAGS'
1460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1484 # Check whether --enable-checkmem or --disable-checkmem was given.
1485 if test "${enable_checkmem+set}" = set; then
1486 enableval="$enable_checkmem"
1489 # Check whether --enable-debug or --disable-debug was given.
1490 if test "${enable_debug+set}" = set; then
1491 enableval="$enable_debug"
1494 # Check whether --enable-warnings or --disable-warnings was given.
1495 if test "${enable_warnings+set}" = set; then
1496 enableval="$enable_warnings"
1497 ENABLE_WARNINGS=true
1499 # Check whether --enable-optimizations or --disable-optimizations was given.
1500 if test "${enable_optimizations+set}" = set; then
1501 enableval="$enable_optimizations"
1504 # Check whether --enable-lame or --disable-lame was given.
1505 if test "${enable_lame+set}" = set; then
1506 enableval="$enable_lame"
1511 VERSION=2004-05-18-1254
1515 WARNINGS="-Wparentheses -Wimplicit -Wreturn-type"
1516 if test "x$ENABLE_WARNINGS" '!=' "x";then
1517 WARNINGS="-Wall -Wno-unused -Wno-format -Wno-redundant-decls"
1520 if test "x$CHECKMEM" '!=' "x";then
1523 if test "x$DEBUG" '!=' "x";then
1524 CFLAGS="$WARNINGS -g $CFLAGS"
1525 CXXFLAGS="$WARNINGS -g $CXXFLAGS"
1526 else if test "x$OPTIMIZE" '!=' "x"; then
1527 CFLAGS="$WARNINGS -O3 -fomit-frame-pointer -Winline $CFLAGS"
1528 CXXFLAGS="$WARNINGS -O3 -fomit-frame-pointer -Winline $CXXFLAGS"
1530 CFLAGS="$WARNINGS -O -fomit-frame-pointer $CFLAGS"
1531 CXXFLAGS="$WARNINGS -O -fomit-frame-pointer $CXXFLAGS"
1535 #if test "x$OLDGCC" '!=' "x";then
1536 # #CFLAGS="$CFLAGS --std=c89 -ansi -pendantic"
1537 # #CXXFLAGS="$CXXFLAGS --std=c89 -ansi -pendantic"
1538 # CFLAGS="$CFLAGS -ansi -pendantic"
1539 # CXXFLAGS="$CXXFLAGS -ansi -pendantic"
1542 export PACKAGE VERSION CFLAGS CXXFLAGS
1545 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1546 if test -f $ac_dir/install-sh; then
1548 ac_install_sh="$ac_aux_dir/install-sh -c"
1550 elif test -f $ac_dir/install.sh; then
1552 ac_install_sh="$ac_aux_dir/install.sh -c"
1554 elif test -f $ac_dir/shtool; then
1556 ac_install_sh="$ac_aux_dir/shtool install -c"
1560 if test -z "$ac_aux_dir"; then
1561 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1562 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1563 { (exit 1); exit 1; }; }
1565 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1566 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1567 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1569 # Make sure we can run config.sub.
1570 $ac_config_sub sun4 >/dev/null 2>&1 ||
1571 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1572 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1573 { (exit 1); exit 1; }; }
1575 echo "$as_me:$LINENO: checking build system type" >&5
1576 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1577 if test "${ac_cv_build+set}" = set; then
1578 echo $ECHO_N "(cached) $ECHO_C" >&6
1580 ac_cv_build_alias=$build_alias
1581 test -z "$ac_cv_build_alias" &&
1582 ac_cv_build_alias=`$ac_config_guess`
1583 test -z "$ac_cv_build_alias" &&
1584 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1585 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1586 { (exit 1); exit 1; }; }
1587 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1588 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1589 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1590 { (exit 1); exit 1; }; }
1593 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1594 echo "${ECHO_T}$ac_cv_build" >&6
1596 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1597 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1598 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1601 echo "$as_me:$LINENO: checking host system type" >&5
1602 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1603 if test "${ac_cv_host+set}" = set; then
1604 echo $ECHO_N "(cached) $ECHO_C" >&6
1606 ac_cv_host_alias=$host_alias
1607 test -z "$ac_cv_host_alias" &&
1608 ac_cv_host_alias=$ac_cv_build_alias
1609 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1610 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1611 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1612 { (exit 1); exit 1; }; }
1615 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1616 echo "${ECHO_T}$ac_cv_host" >&6
1618 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1619 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1620 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1627 CFLAGS="$CFLAGS -fno-rtti"
1628 CXXFLAGS="$CXXFLAGS -fno-rtti"
1632 ac_cpp='$CPP $CPPFLAGS'
1633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1636 if test -n "$ac_tool_prefix"; then
1637 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1638 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1639 echo "$as_me:$LINENO: checking for $ac_word" >&5
1640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1641 if test "${ac_cv_prog_CC+set}" = set; then
1642 echo $ECHO_N "(cached) $ECHO_C" >&6
1644 if test -n "$CC"; then
1645 ac_cv_prog_CC="$CC" # Let the user override the test.
1647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1651 test -z "$as_dir" && as_dir=.
1652 for ac_exec_ext in '' $ac_executable_extensions; do
1653 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1654 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1664 if test -n "$CC"; then
1665 echo "$as_me:$LINENO: result: $CC" >&5
1666 echo "${ECHO_T}$CC" >&6
1668 echo "$as_me:$LINENO: result: no" >&5
1669 echo "${ECHO_T}no" >&6
1673 if test -z "$ac_cv_prog_CC"; then
1675 # Extract the first word of "gcc", so it can be a program name with args.
1676 set dummy gcc; ac_word=$2
1677 echo "$as_me:$LINENO: checking for $ac_word" >&5
1678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1679 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1680 echo $ECHO_N "(cached) $ECHO_C" >&6
1682 if test -n "$ac_ct_CC"; then
1683 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1689 test -z "$as_dir" && as_dir=.
1690 for ac_exec_ext in '' $ac_executable_extensions; do
1691 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1692 ac_cv_prog_ac_ct_CC="gcc"
1693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1701 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1702 if test -n "$ac_ct_CC"; then
1703 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1704 echo "${ECHO_T}$ac_ct_CC" >&6
1706 echo "$as_me:$LINENO: result: no" >&5
1707 echo "${ECHO_T}no" >&6
1715 if test -z "$CC"; then
1716 if test -n "$ac_tool_prefix"; then
1717 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1718 set dummy ${ac_tool_prefix}cc; ac_word=$2
1719 echo "$as_me:$LINENO: checking for $ac_word" >&5
1720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1721 if test "${ac_cv_prog_CC+set}" = set; then
1722 echo $ECHO_N "(cached) $ECHO_C" >&6
1724 if test -n "$CC"; then
1725 ac_cv_prog_CC="$CC" # Let the user override the test.
1727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1731 test -z "$as_dir" && as_dir=.
1732 for ac_exec_ext in '' $ac_executable_extensions; do
1733 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1734 ac_cv_prog_CC="${ac_tool_prefix}cc"
1735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1744 if test -n "$CC"; then
1745 echo "$as_me:$LINENO: result: $CC" >&5
1746 echo "${ECHO_T}$CC" >&6
1748 echo "$as_me:$LINENO: result: no" >&5
1749 echo "${ECHO_T}no" >&6
1753 if test -z "$ac_cv_prog_CC"; then
1755 # Extract the first word of "cc", so it can be a program name with args.
1756 set dummy cc; ac_word=$2
1757 echo "$as_me:$LINENO: checking for $ac_word" >&5
1758 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1759 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1760 echo $ECHO_N "(cached) $ECHO_C" >&6
1762 if test -n "$ac_ct_CC"; then
1763 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1769 test -z "$as_dir" && as_dir=.
1770 for ac_exec_ext in '' $ac_executable_extensions; do
1771 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1772 ac_cv_prog_ac_ct_CC="cc"
1773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1781 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1782 if test -n "$ac_ct_CC"; then
1783 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1784 echo "${ECHO_T}$ac_ct_CC" >&6
1786 echo "$as_me:$LINENO: result: no" >&5
1787 echo "${ECHO_T}no" >&6
1796 if test -z "$CC"; then
1797 # Extract the first word of "cc", so it can be a program name with args.
1798 set dummy cc; ac_word=$2
1799 echo "$as_me:$LINENO: checking for $ac_word" >&5
1800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1801 if test "${ac_cv_prog_CC+set}" = set; then
1802 echo $ECHO_N "(cached) $ECHO_C" >&6
1804 if test -n "$CC"; then
1805 ac_cv_prog_CC="$CC" # Let the user override the test.
1808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1812 test -z "$as_dir" && as_dir=.
1813 for ac_exec_ext in '' $ac_executable_extensions; do
1814 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1815 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1816 ac_prog_rejected=yes
1820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1826 if test $ac_prog_rejected = yes; then
1827 # We found a bogon in the path, so make sure we never use it.
1828 set dummy $ac_cv_prog_CC
1830 if test $# != 0; then
1831 # We chose a different compiler from the bogus one.
1832 # However, it has the same basename, so the bogon will be chosen
1833 # first if we set CC to just the basename; use the full file name.
1835 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1841 if test -n "$CC"; then
1842 echo "$as_me:$LINENO: result: $CC" >&5
1843 echo "${ECHO_T}$CC" >&6
1845 echo "$as_me:$LINENO: result: no" >&5
1846 echo "${ECHO_T}no" >&6
1850 if test -z "$CC"; then
1851 if test -n "$ac_tool_prefix"; then
1854 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1855 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1856 echo "$as_me:$LINENO: checking for $ac_word" >&5
1857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1858 if test "${ac_cv_prog_CC+set}" = set; then
1859 echo $ECHO_N "(cached) $ECHO_C" >&6
1861 if test -n "$CC"; then
1862 ac_cv_prog_CC="$CC" # Let the user override the test.
1864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1868 test -z "$as_dir" && as_dir=.
1869 for ac_exec_ext in '' $ac_executable_extensions; do
1870 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1871 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1872 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1881 if test -n "$CC"; then
1882 echo "$as_me:$LINENO: result: $CC" >&5
1883 echo "${ECHO_T}$CC" >&6
1885 echo "$as_me:$LINENO: result: no" >&5
1886 echo "${ECHO_T}no" >&6
1889 test -n "$CC" && break
1892 if test -z "$CC"; then
1896 # Extract the first word of "$ac_prog", so it can be a program name with args.
1897 set dummy $ac_prog; ac_word=$2
1898 echo "$as_me:$LINENO: checking for $ac_word" >&5
1899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1900 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1901 echo $ECHO_N "(cached) $ECHO_C" >&6
1903 if test -n "$ac_ct_CC"; then
1904 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1910 test -z "$as_dir" && as_dir=.
1911 for ac_exec_ext in '' $ac_executable_extensions; do
1912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1913 ac_cv_prog_ac_ct_CC="$ac_prog"
1914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1922 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1923 if test -n "$ac_ct_CC"; then
1924 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1925 echo "${ECHO_T}$ac_ct_CC" >&6
1927 echo "$as_me:$LINENO: result: no" >&5
1928 echo "${ECHO_T}no" >&6
1931 test -n "$ac_ct_CC" && break
1940 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1941 See \`config.log' for more details." >&5
1942 echo "$as_me: error: no acceptable C compiler found in \$PATH
1943 See \`config.log' for more details." >&2;}
1944 { (exit 1); exit 1; }; }
1946 # Provide some information about the compiler.
1947 echo "$as_me:$LINENO:" \
1948 "checking for C compiler version" >&5
1949 ac_compiler=`set X $ac_compile; echo $2`
1950 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1951 (eval $ac_compiler --version </dev/null >&5) 2>&5
1953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1954 (exit $ac_status); }
1955 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1956 (eval $ac_compiler -v </dev/null >&5) 2>&5
1958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1959 (exit $ac_status); }
1960 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1961 (eval $ac_compiler -V </dev/null >&5) 2>&5
1963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1964 (exit $ac_status); }
1966 cat >conftest.$ac_ext <<_ACEOF
1969 cat confdefs.h >>conftest.$ac_ext
1970 cat >>conftest.$ac_ext <<_ACEOF
1971 /* end confdefs.h. */
1981 ac_clean_files_save=$ac_clean_files
1982 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1983 # Try to create an executable without -o first, disregard a.out.
1984 # It will help us diagnose broken compilers, and finding out an intuition
1986 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1987 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1988 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1989 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1990 (eval $ac_link_default) 2>&5
1992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1993 (exit $ac_status); }; then
1994 # Find the output, starting from the most likely. This scheme is
1995 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1998 # Be careful to initialize this variable, since it used to be cached.
1999 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2001 # b.out is created by i960 compilers.
2002 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2004 test -f "$ac_file" || continue
2006 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2009 # This is the source file.
2012 # We found the default executable, but exeext='' is most
2016 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2017 # FIXME: I believe we export ac_cv_exeext for Libtool,
2018 # but it would be cool to find out if it's true. Does anybody
2019 # maintain Libtool? --akim.
2027 echo "$as_me: failed program was:" >&5
2028 sed 's/^/| /' conftest.$ac_ext >&5
2030 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2031 See \`config.log' for more details." >&5
2032 echo "$as_me: error: C compiler cannot create executables
2033 See \`config.log' for more details." >&2;}
2034 { (exit 77); exit 77; }; }
2037 ac_exeext=$ac_cv_exeext
2038 echo "$as_me:$LINENO: result: $ac_file" >&5
2039 echo "${ECHO_T}$ac_file" >&6
2041 # Check the compiler produces executables we can run. If not, either
2042 # the compiler is broken, or we cross compile.
2043 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2044 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2045 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2046 # If not cross compiling, check that we can run a simple program.
2047 if test "$cross_compiling" != yes; then
2048 if { ac_try='./$ac_file'
2049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2053 (exit $ac_status); }; }; then
2056 if test "$cross_compiling" = maybe; then
2059 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2060 If you meant to cross compile, use \`--host'.
2061 See \`config.log' for more details." >&5
2062 echo "$as_me: error: cannot run C compiled programs.
2063 If you meant to cross compile, use \`--host'.
2064 See \`config.log' for more details." >&2;}
2065 { (exit 1); exit 1; }; }
2069 echo "$as_me:$LINENO: result: yes" >&5
2070 echo "${ECHO_T}yes" >&6
2072 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2073 ac_clean_files=$ac_clean_files_save
2074 # Check the compiler produces executables we can run. If not, either
2075 # the compiler is broken, or we cross compile.
2076 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2077 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2078 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2079 echo "${ECHO_T}$cross_compiling" >&6
2081 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2082 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2084 (eval $ac_link) 2>&5
2086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2087 (exit $ac_status); }; then
2088 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2089 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2090 # work properly (i.e., refer to `conftest.exe'), while it won't with
2092 for ac_file in conftest.exe conftest conftest.*; do
2093 test -f "$ac_file" || continue
2095 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2096 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2103 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2104 See \`config.log' for more details." >&5
2105 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2106 See \`config.log' for more details." >&2;}
2107 { (exit 1); exit 1; }; }
2110 rm -f conftest$ac_cv_exeext
2111 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2112 echo "${ECHO_T}$ac_cv_exeext" >&6
2114 rm -f conftest.$ac_ext
2115 EXEEXT=$ac_cv_exeext
2117 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2118 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2119 if test "${ac_cv_objext+set}" = set; then
2120 echo $ECHO_N "(cached) $ECHO_C" >&6
2122 cat >conftest.$ac_ext <<_ACEOF
2125 cat confdefs.h >>conftest.$ac_ext
2126 cat >>conftest.$ac_ext <<_ACEOF
2127 /* end confdefs.h. */
2137 rm -f conftest.o conftest.obj
2138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2139 (eval $ac_compile) 2>&5
2141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2142 (exit $ac_status); }; then
2143 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2145 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2146 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2151 echo "$as_me: failed program was:" >&5
2152 sed 's/^/| /' conftest.$ac_ext >&5
2154 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2155 See \`config.log' for more details." >&5
2156 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2157 See \`config.log' for more details." >&2;}
2158 { (exit 1); exit 1; }; }
2161 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2163 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2164 echo "${ECHO_T}$ac_cv_objext" >&6
2165 OBJEXT=$ac_cv_objext
2167 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2168 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2169 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2170 echo $ECHO_N "(cached) $ECHO_C" >&6
2172 cat >conftest.$ac_ext <<_ACEOF
2175 cat confdefs.h >>conftest.$ac_ext
2176 cat >>conftest.$ac_ext <<_ACEOF
2177 /* end confdefs.h. */
2190 rm -f conftest.$ac_objext
2191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2192 (eval $ac_compile) 2>conftest.er1
2194 grep -v '^ *+' conftest.er1 >conftest.err
2196 cat conftest.err >&5
2197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2198 (exit $ac_status); } &&
2199 { ac_try='test -z "$ac_c_werror_flag"
2200 || test ! -s conftest.err'
2201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2205 (exit $ac_status); }; } &&
2206 { ac_try='test -s conftest.$ac_objext'
2207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2211 (exit $ac_status); }; }; then
2214 echo "$as_me: failed program was:" >&5
2215 sed 's/^/| /' conftest.$ac_ext >&5
2219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2220 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2223 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2224 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2225 GCC=`test $ac_compiler_gnu = yes && echo yes`
2226 ac_test_CFLAGS=${CFLAGS+set}
2227 ac_save_CFLAGS=$CFLAGS
2229 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2230 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2231 if test "${ac_cv_prog_cc_g+set}" = set; then
2232 echo $ECHO_N "(cached) $ECHO_C" >&6
2234 cat >conftest.$ac_ext <<_ACEOF
2237 cat confdefs.h >>conftest.$ac_ext
2238 cat >>conftest.$ac_ext <<_ACEOF
2239 /* end confdefs.h. */
2249 rm -f conftest.$ac_objext
2250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2251 (eval $ac_compile) 2>conftest.er1
2253 grep -v '^ *+' conftest.er1 >conftest.err
2255 cat conftest.err >&5
2256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2257 (exit $ac_status); } &&
2258 { ac_try='test -z "$ac_c_werror_flag"
2259 || test ! -s conftest.err'
2260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2264 (exit $ac_status); }; } &&
2265 { ac_try='test -s conftest.$ac_objext'
2266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2270 (exit $ac_status); }; }; then
2273 echo "$as_me: failed program was:" >&5
2274 sed 's/^/| /' conftest.$ac_ext >&5
2278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2280 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2281 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2282 if test "$ac_test_CFLAGS" = set; then
2283 CFLAGS=$ac_save_CFLAGS
2284 elif test $ac_cv_prog_cc_g = yes; then
2285 if test "$GCC" = yes; then
2291 if test "$GCC" = yes; then
2297 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2298 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2299 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2300 echo $ECHO_N "(cached) $ECHO_C" >&6
2302 ac_cv_prog_cc_stdc=no
2304 cat >conftest.$ac_ext <<_ACEOF
2307 cat confdefs.h >>conftest.$ac_ext
2308 cat >>conftest.$ac_ext <<_ACEOF
2309 /* end confdefs.h. */
2312 #include <sys/types.h>
2313 #include <sys/stat.h>
2314 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2315 struct buf { int x; };
2316 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2317 static char *e (p, i)
2323 static char *f (char * (*g) (char **, int), char **p, ...)
2328 s = g (p, va_arg (v,int));
2333 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2334 function prototypes and stuff, but not '\xHH' hex character constants.
2335 These don't provoke an error unfortunately, instead are silently treated
2336 as 'x'. The following induces an error, until -std1 is added to get
2337 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2338 array size at least. It's necessary to write '\x00'==0 to get something
2339 that's true only with -std1. */
2340 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2342 int test (int i, double x);
2343 struct s1 {int (*f) (int a);};
2344 struct s2 {int (*f) (double a);};
2345 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2351 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2356 # Don't try gcc -ansi; that turns off useful extensions and
2357 # breaks some systems' header files.
2358 # AIX -qlanglvl=ansi
2359 # Ultrix and OSF/1 -std1
2360 # HP-UX 10.20 and later -Ae
2361 # HP-UX older versions -Aa -D_HPUX_SOURCE
2362 # SVR4 -Xc -D__EXTENSIONS__
2363 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2365 CC="$ac_save_CC $ac_arg"
2366 rm -f conftest.$ac_objext
2367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2368 (eval $ac_compile) 2>conftest.er1
2370 grep -v '^ *+' conftest.er1 >conftest.err
2372 cat conftest.err >&5
2373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2374 (exit $ac_status); } &&
2375 { ac_try='test -z "$ac_c_werror_flag"
2376 || test ! -s conftest.err'
2377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2381 (exit $ac_status); }; } &&
2382 { ac_try='test -s conftest.$ac_objext'
2383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2387 (exit $ac_status); }; }; then
2388 ac_cv_prog_cc_stdc=$ac_arg
2391 echo "$as_me: failed program was:" >&5
2392 sed 's/^/| /' conftest.$ac_ext >&5
2395 rm -f conftest.err conftest.$ac_objext
2397 rm -f conftest.$ac_ext conftest.$ac_objext
2402 case "x$ac_cv_prog_cc_stdc" in
2404 echo "$as_me:$LINENO: result: none needed" >&5
2405 echo "${ECHO_T}none needed" >&6 ;;
2407 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2408 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2409 CC="$CC $ac_cv_prog_cc_stdc" ;;
2412 # Some people use a C++ compiler to compile C. Since we use `exit',
2413 # in C++ we need to declare it. In case someone uses the same compiler
2414 # for both compiling C and C++ we need to have the C++ compiler decide
2415 # the declaration of exit, since it's the most demanding environment.
2416 cat >conftest.$ac_ext <<_ACEOF
2421 rm -f conftest.$ac_objext
2422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2423 (eval $ac_compile) 2>conftest.er1
2425 grep -v '^ *+' conftest.er1 >conftest.err
2427 cat conftest.err >&5
2428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2429 (exit $ac_status); } &&
2430 { ac_try='test -z "$ac_c_werror_flag"
2431 || test ! -s conftest.err'
2432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2436 (exit $ac_status); }; } &&
2437 { ac_try='test -s conftest.$ac_objext'
2438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2442 (exit $ac_status); }; }; then
2443 for ac_declaration in \
2445 'extern "C" void std::exit (int) throw (); using std::exit;' \
2446 'extern "C" void std::exit (int); using std::exit;' \
2447 'extern "C" void exit (int) throw ();' \
2448 'extern "C" void exit (int);' \
2451 cat >conftest.$ac_ext <<_ACEOF
2454 cat confdefs.h >>conftest.$ac_ext
2455 cat >>conftest.$ac_ext <<_ACEOF
2456 /* end confdefs.h. */
2467 rm -f conftest.$ac_objext
2468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2469 (eval $ac_compile) 2>conftest.er1
2471 grep -v '^ *+' conftest.er1 >conftest.err
2473 cat conftest.err >&5
2474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2475 (exit $ac_status); } &&
2476 { ac_try='test -z "$ac_c_werror_flag"
2477 || test ! -s conftest.err'
2478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2482 (exit $ac_status); }; } &&
2483 { ac_try='test -s conftest.$ac_objext'
2484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2488 (exit $ac_status); }; }; then
2491 echo "$as_me: failed program was:" >&5
2492 sed 's/^/| /' conftest.$ac_ext >&5
2496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2497 cat >conftest.$ac_ext <<_ACEOF
2500 cat confdefs.h >>conftest.$ac_ext
2501 cat >>conftest.$ac_ext <<_ACEOF
2502 /* end confdefs.h. */
2512 rm -f conftest.$ac_objext
2513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2514 (eval $ac_compile) 2>conftest.er1
2516 grep -v '^ *+' conftest.er1 >conftest.err
2518 cat conftest.err >&5
2519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2520 (exit $ac_status); } &&
2521 { ac_try='test -z "$ac_c_werror_flag"
2522 || test ! -s conftest.err'
2523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2527 (exit $ac_status); }; } &&
2528 { ac_try='test -s conftest.$ac_objext'
2529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2533 (exit $ac_status); }; }; then
2536 echo "$as_me: failed program was:" >&5
2537 sed 's/^/| /' conftest.$ac_ext >&5
2540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2543 if test -n "$ac_declaration"; then
2544 echo '#ifdef __cplusplus' >>confdefs.h
2545 echo $ac_declaration >>confdefs.h
2546 echo '#endif' >>confdefs.h
2550 echo "$as_me: failed program was:" >&5
2551 sed 's/^/| /' conftest.$ac_ext >&5
2554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2556 ac_cpp='$CPP $CPPFLAGS'
2557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2562 ac_cpp='$CXXCPP $CPPFLAGS'
2563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2566 if test -n "$ac_tool_prefix"; then
2567 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2569 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2570 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2571 echo "$as_me:$LINENO: checking for $ac_word" >&5
2572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2573 if test "${ac_cv_prog_CXX+set}" = set; then
2574 echo $ECHO_N "(cached) $ECHO_C" >&6
2576 if test -n "$CXX"; then
2577 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2583 test -z "$as_dir" && as_dir=.
2584 for ac_exec_ext in '' $ac_executable_extensions; do
2585 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2586 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2596 if test -n "$CXX"; then
2597 echo "$as_me:$LINENO: result: $CXX" >&5
2598 echo "${ECHO_T}$CXX" >&6
2600 echo "$as_me:$LINENO: result: no" >&5
2601 echo "${ECHO_T}no" >&6
2604 test -n "$CXX" && break
2607 if test -z "$CXX"; then
2609 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2611 # Extract the first word of "$ac_prog", so it can be a program name with args.
2612 set dummy $ac_prog; ac_word=$2
2613 echo "$as_me:$LINENO: checking for $ac_word" >&5
2614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2615 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2616 echo $ECHO_N "(cached) $ECHO_C" >&6
2618 if test -n "$ac_ct_CXX"; then
2619 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2625 test -z "$as_dir" && as_dir=.
2626 for ac_exec_ext in '' $ac_executable_extensions; do
2627 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2628 ac_cv_prog_ac_ct_CXX="$ac_prog"
2629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2637 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2638 if test -n "$ac_ct_CXX"; then
2639 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2640 echo "${ECHO_T}$ac_ct_CXX" >&6
2642 echo "$as_me:$LINENO: result: no" >&5
2643 echo "${ECHO_T}no" >&6
2646 test -n "$ac_ct_CXX" && break
2648 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2654 # Provide some information about the compiler.
2655 echo "$as_me:$LINENO:" \
2656 "checking for C++ compiler version" >&5
2657 ac_compiler=`set X $ac_compile; echo $2`
2658 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2659 (eval $ac_compiler --version </dev/null >&5) 2>&5
2661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662 (exit $ac_status); }
2663 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2664 (eval $ac_compiler -v </dev/null >&5) 2>&5
2666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2667 (exit $ac_status); }
2668 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2669 (eval $ac_compiler -V </dev/null >&5) 2>&5
2671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2672 (exit $ac_status); }
2674 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2675 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2676 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2677 echo $ECHO_N "(cached) $ECHO_C" >&6
2679 cat >conftest.$ac_ext <<_ACEOF
2682 cat confdefs.h >>conftest.$ac_ext
2683 cat >>conftest.$ac_ext <<_ACEOF
2684 /* end confdefs.h. */
2697 rm -f conftest.$ac_objext
2698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2699 (eval $ac_compile) 2>conftest.er1
2701 grep -v '^ *+' conftest.er1 >conftest.err
2703 cat conftest.err >&5
2704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2705 (exit $ac_status); } &&
2706 { ac_try='test -z "$ac_cxx_werror_flag"
2707 || test ! -s conftest.err'
2708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2712 (exit $ac_status); }; } &&
2713 { ac_try='test -s conftest.$ac_objext'
2714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2718 (exit $ac_status); }; }; then
2721 echo "$as_me: failed program was:" >&5
2722 sed 's/^/| /' conftest.$ac_ext >&5
2726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2727 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2730 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2731 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2732 GXX=`test $ac_compiler_gnu = yes && echo yes`
2733 ac_test_CXXFLAGS=${CXXFLAGS+set}
2734 ac_save_CXXFLAGS=$CXXFLAGS
2736 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2737 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2738 if test "${ac_cv_prog_cxx_g+set}" = set; then
2739 echo $ECHO_N "(cached) $ECHO_C" >&6
2741 cat >conftest.$ac_ext <<_ACEOF
2744 cat confdefs.h >>conftest.$ac_ext
2745 cat >>conftest.$ac_ext <<_ACEOF
2746 /* end confdefs.h. */
2756 rm -f conftest.$ac_objext
2757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2758 (eval $ac_compile) 2>conftest.er1
2760 grep -v '^ *+' conftest.er1 >conftest.err
2762 cat conftest.err >&5
2763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2764 (exit $ac_status); } &&
2765 { ac_try='test -z "$ac_cxx_werror_flag"
2766 || test ! -s conftest.err'
2767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771 (exit $ac_status); }; } &&
2772 { ac_try='test -s conftest.$ac_objext'
2773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777 (exit $ac_status); }; }; then
2778 ac_cv_prog_cxx_g=yes
2780 echo "$as_me: failed program was:" >&5
2781 sed 's/^/| /' conftest.$ac_ext >&5
2785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2787 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2788 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2789 if test "$ac_test_CXXFLAGS" = set; then
2790 CXXFLAGS=$ac_save_CXXFLAGS
2791 elif test $ac_cv_prog_cxx_g = yes; then
2792 if test "$GXX" = yes; then
2798 if test "$GXX" = yes; then
2804 for ac_declaration in \
2806 'extern "C" void std::exit (int) throw (); using std::exit;' \
2807 'extern "C" void std::exit (int); using std::exit;' \
2808 'extern "C" void exit (int) throw ();' \
2809 'extern "C" void exit (int);' \
2812 cat >conftest.$ac_ext <<_ACEOF
2815 cat confdefs.h >>conftest.$ac_ext
2816 cat >>conftest.$ac_ext <<_ACEOF
2817 /* end confdefs.h. */
2828 rm -f conftest.$ac_objext
2829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2830 (eval $ac_compile) 2>conftest.er1
2832 grep -v '^ *+' conftest.er1 >conftest.err
2834 cat conftest.err >&5
2835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836 (exit $ac_status); } &&
2837 { ac_try='test -z "$ac_cxx_werror_flag"
2838 || test ! -s conftest.err'
2839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2843 (exit $ac_status); }; } &&
2844 { ac_try='test -s conftest.$ac_objext'
2845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2849 (exit $ac_status); }; }; then
2852 echo "$as_me: failed program was:" >&5
2853 sed 's/^/| /' conftest.$ac_ext >&5
2857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2858 cat >conftest.$ac_ext <<_ACEOF
2861 cat confdefs.h >>conftest.$ac_ext
2862 cat >>conftest.$ac_ext <<_ACEOF
2863 /* end confdefs.h. */
2873 rm -f conftest.$ac_objext
2874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2875 (eval $ac_compile) 2>conftest.er1
2877 grep -v '^ *+' conftest.er1 >conftest.err
2879 cat conftest.err >&5
2880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881 (exit $ac_status); } &&
2882 { ac_try='test -z "$ac_cxx_werror_flag"
2883 || test ! -s conftest.err'
2884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2888 (exit $ac_status); }; } &&
2889 { ac_try='test -s conftest.$ac_objext'
2890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2894 (exit $ac_status); }; }; then
2897 echo "$as_me: failed program was:" >&5
2898 sed 's/^/| /' conftest.$ac_ext >&5
2901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2904 if test -n "$ac_declaration"; then
2905 echo '#ifdef __cplusplus' >>confdefs.h
2906 echo $ac_declaration >>confdefs.h
2907 echo '#endif' >>confdefs.h
2911 ac_cpp='$CPP $CPPFLAGS'
2912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2917 if test "x$CHECKMEM" '!=' "x";then
2921 #unset ac_cv_prog_CC
2922 #unset ac_cv_prog_CXX
2927 ac_cpp='$CPP $CPPFLAGS'
2928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2931 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2932 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2933 # On Suns, sometimes $CPP names a directory.
2934 if test -n "$CPP" && test -d "$CPP"; then
2937 if test -z "$CPP"; then
2938 if test "${ac_cv_prog_CPP+set}" = set; then
2939 echo $ECHO_N "(cached) $ECHO_C" >&6
2941 # Double quotes because CPP needs to be expanded
2942 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2945 for ac_c_preproc_warn_flag in '' yes
2947 # Use a header file that comes with gcc, so configuring glibc
2948 # with a fresh cross-compiler works.
2949 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2950 # <limits.h> exists even on freestanding compilers.
2951 # On the NeXT, cc -E runs the code through the compiler's parser,
2952 # not just through cpp. "Syntax error" is here to catch this case.
2953 cat >conftest.$ac_ext <<_ACEOF
2956 cat confdefs.h >>conftest.$ac_ext
2957 cat >>conftest.$ac_ext <<_ACEOF
2958 /* end confdefs.h. */
2960 # include <limits.h>
2962 # include <assert.h>
2966 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2967 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2969 grep -v '^ *+' conftest.er1 >conftest.err
2971 cat conftest.err >&5
2972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2973 (exit $ac_status); } >/dev/null; then
2974 if test -s conftest.err; then
2975 ac_cpp_err=$ac_c_preproc_warn_flag
2976 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2983 if test -z "$ac_cpp_err"; then
2986 echo "$as_me: failed program was:" >&5
2987 sed 's/^/| /' conftest.$ac_ext >&5
2989 # Broken: fails on valid input.
2992 rm -f conftest.err conftest.$ac_ext
2994 # OK, works on sane cases. Now check whether non-existent headers
2995 # can be detected and how.
2996 cat >conftest.$ac_ext <<_ACEOF
2999 cat confdefs.h >>conftest.$ac_ext
3000 cat >>conftest.$ac_ext <<_ACEOF
3001 /* end confdefs.h. */
3002 #include <ac_nonexistent.h>
3004 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3005 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3007 grep -v '^ *+' conftest.er1 >conftest.err
3009 cat conftest.err >&5
3010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3011 (exit $ac_status); } >/dev/null; then
3012 if test -s conftest.err; then
3013 ac_cpp_err=$ac_c_preproc_warn_flag
3014 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3021 if test -z "$ac_cpp_err"; then
3022 # Broken: success on invalid input.
3025 echo "$as_me: failed program was:" >&5
3026 sed 's/^/| /' conftest.$ac_ext >&5
3028 # Passes both tests.
3032 rm -f conftest.err conftest.$ac_ext
3035 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3036 rm -f conftest.err conftest.$ac_ext
3037 if $ac_preproc_ok; then
3049 echo "$as_me:$LINENO: result: $CPP" >&5
3050 echo "${ECHO_T}$CPP" >&6
3052 for ac_c_preproc_warn_flag in '' yes
3054 # Use a header file that comes with gcc, so configuring glibc
3055 # with a fresh cross-compiler works.
3056 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3057 # <limits.h> exists even on freestanding compilers.
3058 # On the NeXT, cc -E runs the code through the compiler's parser,
3059 # not just through cpp. "Syntax error" is here to catch this case.
3060 cat >conftest.$ac_ext <<_ACEOF
3063 cat confdefs.h >>conftest.$ac_ext
3064 cat >>conftest.$ac_ext <<_ACEOF
3065 /* end confdefs.h. */
3067 # include <limits.h>
3069 # include <assert.h>
3073 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3074 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3076 grep -v '^ *+' conftest.er1 >conftest.err
3078 cat conftest.err >&5
3079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3080 (exit $ac_status); } >/dev/null; then
3081 if test -s conftest.err; then
3082 ac_cpp_err=$ac_c_preproc_warn_flag
3083 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3090 if test -z "$ac_cpp_err"; then
3093 echo "$as_me: failed program was:" >&5
3094 sed 's/^/| /' conftest.$ac_ext >&5
3096 # Broken: fails on valid input.
3099 rm -f conftest.err conftest.$ac_ext
3101 # OK, works on sane cases. Now check whether non-existent headers
3102 # can be detected and how.
3103 cat >conftest.$ac_ext <<_ACEOF
3106 cat confdefs.h >>conftest.$ac_ext
3107 cat >>conftest.$ac_ext <<_ACEOF
3108 /* end confdefs.h. */
3109 #include <ac_nonexistent.h>
3111 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3112 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3114 grep -v '^ *+' conftest.er1 >conftest.err
3116 cat conftest.err >&5
3117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3118 (exit $ac_status); } >/dev/null; then
3119 if test -s conftest.err; then
3120 ac_cpp_err=$ac_c_preproc_warn_flag
3121 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3128 if test -z "$ac_cpp_err"; then
3129 # Broken: success on invalid input.
3132 echo "$as_me: failed program was:" >&5
3133 sed 's/^/| /' conftest.$ac_ext >&5
3135 # Passes both tests.
3139 rm -f conftest.err conftest.$ac_ext
3142 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3143 rm -f conftest.err conftest.$ac_ext
3144 if $ac_preproc_ok; then
3147 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3148 See \`config.log' for more details." >&5
3149 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3150 See \`config.log' for more details." >&2;}
3151 { (exit 1); exit 1; }; }
3155 ac_cpp='$CPP $CPPFLAGS'
3156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3161 if test -n "$ac_tool_prefix"; then
3162 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3163 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3164 echo "$as_me:$LINENO: checking for $ac_word" >&5
3165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3166 if test "${ac_cv_prog_RANLIB+set}" = set; then
3167 echo $ECHO_N "(cached) $ECHO_C" >&6
3169 if test -n "$RANLIB"; then
3170 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3176 test -z "$as_dir" && as_dir=.
3177 for ac_exec_ext in '' $ac_executable_extensions; do
3178 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3179 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3188 RANLIB=$ac_cv_prog_RANLIB
3189 if test -n "$RANLIB"; then
3190 echo "$as_me:$LINENO: result: $RANLIB" >&5
3191 echo "${ECHO_T}$RANLIB" >&6
3193 echo "$as_me:$LINENO: result: no" >&5
3194 echo "${ECHO_T}no" >&6
3198 if test -z "$ac_cv_prog_RANLIB"; then
3199 ac_ct_RANLIB=$RANLIB
3200 # Extract the first word of "ranlib", so it can be a program name with args.
3201 set dummy ranlib; ac_word=$2
3202 echo "$as_me:$LINENO: checking for $ac_word" >&5
3203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3204 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3205 echo $ECHO_N "(cached) $ECHO_C" >&6
3207 if test -n "$ac_ct_RANLIB"; then
3208 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3214 test -z "$as_dir" && as_dir=.
3215 for ac_exec_ext in '' $ac_executable_extensions; do
3216 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3217 ac_cv_prog_ac_ct_RANLIB="ranlib"
3218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3224 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3227 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3228 if test -n "$ac_ct_RANLIB"; then
3229 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3230 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3232 echo "$as_me:$LINENO: result: no" >&5
3233 echo "${ECHO_T}no" >&6
3236 RANLIB=$ac_ct_RANLIB
3238 RANLIB="$ac_cv_prog_RANLIB"
3241 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3242 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3243 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3244 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3245 echo $ECHO_N "(cached) $ECHO_C" >&6
3247 cat >conftest.make <<\_ACEOF
3249 @echo 'ac_maketemp="$(MAKE)"'
3251 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3252 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3253 if test -n "$ac_maketemp"; then
3254 eval ac_cv_prog_make_${ac_make}_set=yes
3256 eval ac_cv_prog_make_${ac_make}_set=no
3260 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3261 echo "$as_me:$LINENO: result: yes" >&5
3262 echo "${ECHO_T}yes" >&6
3265 echo "$as_me:$LINENO: result: no" >&5
3266 echo "${ECHO_T}no" >&6
3267 SET_MAKE="MAKE=${MAKE-make}"
3270 # Find a good install program. We prefer a C program (faster),
3271 # so one script is as good as another. But avoid the broken or
3272 # incompatible versions:
3273 # SysV /etc/install, /usr/sbin/install
3274 # SunOS /usr/etc/install
3275 # IRIX /sbin/install
3277 # AmigaOS /C/install, which installs bootblocks on floppy discs
3278 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3279 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3280 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3281 # OS/2's system install, which has a completely different semantic
3282 # ./install, which can be erroneously created by make from ./install.sh.
3283 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3284 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3285 if test -z "$INSTALL"; then
3286 if test "${ac_cv_path_install+set}" = set; then
3287 echo $ECHO_N "(cached) $ECHO_C" >&6
3289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3293 test -z "$as_dir" && as_dir=.
3294 # Account for people who put trailing slashes in PATH elements.
3296 ./ | .// | /cC/* | \
3297 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3298 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3301 # OSF1 and SCO ODT 3.0 have their own names for install.
3302 # Don't use installbsd from OSF since it installs stuff as root
3304 for ac_prog in ginstall scoinst install; do
3305 for ac_exec_ext in '' $ac_executable_extensions; do
3306 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3307 if test $ac_prog = install &&
3308 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3309 # AIX install. It has an incompatible calling convention.
3311 elif test $ac_prog = install &&
3312 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3313 # program-specific install script used by HP pwplus--don't use.
3316 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3328 if test "${ac_cv_path_install+set}" = set; then
3329 INSTALL=$ac_cv_path_install
3331 # As a last resort, use the slow shell script. We don't cache a
3332 # path for INSTALL within a source directory, because that will
3333 # break other packages using the cache if that directory is
3334 # removed, or if the path is relative.
3335 INSTALL=$ac_install_sh
3338 echo "$as_me:$LINENO: result: $INSTALL" >&5
3339 echo "${ECHO_T}$INSTALL" >&6
3341 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3342 # It thinks the first close brace ends the variable substitution.
3343 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3345 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3347 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3349 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3350 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3352 if test "$LN_S" = "ln -s"; then
3353 echo "$as_me:$LINENO: result: yes" >&5
3354 echo "${ECHO_T}yes" >&6
3356 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3357 echo "${ECHO_T}no, using $LN_S" >&6
3360 # Check whether --enable-shared or --disable-shared was given.
3361 if test "${enable_shared+set}" = set; then
3362 enableval="$enable_shared"
3363 p=${PACKAGE-default}
3365 yes) enable_shared=yes ;;
3366 no) enable_shared=no ;;
3369 # Look at the argument we got. We use all the common list separators.
3370 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3371 for pkg in $enableval; do
3372 if test "X$pkg" = "X$p"; then
3382 # Check whether --enable-static or --disable-static was given.
3383 if test "${enable_static+set}" = set; then
3384 enableval="$enable_static"
3385 p=${PACKAGE-default}
3387 yes) enable_static=yes ;;
3388 no) enable_static=no ;;
3391 # Look at the argument we got. We use all the common list separators.
3392 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3393 for pkg in $enableval; do
3394 if test "X$pkg" = "X$p"; then
3404 # Check whether --enable-fast-install or --disable-fast-install was given.
3405 if test "${enable_fast_install+set}" = set; then
3406 enableval="$enable_fast_install"
3407 p=${PACKAGE-default}
3409 yes) enable_fast_install=yes ;;
3410 no) enable_fast_install=no ;;
3412 enable_fast_install=no
3413 # Look at the argument we got. We use all the common list separators.
3414 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3415 for pkg in $enableval; do
3416 if test "X$pkg" = "X$p"; then
3417 enable_fast_install=yes
3424 enable_fast_install=yes
3426 # Find the correct PATH separator. Usually this is `:', but
3427 # DJGPP uses `;' like DOS.
3428 if test "X${PATH_SEPARATOR+set}" != Xset; then
3429 UNAME=${UNAME-`uname 2>/dev/null`}
3431 *-DOS) lt_cv_sys_path_separator=';' ;;
3432 *) lt_cv_sys_path_separator=':' ;;
3434 PATH_SEPARATOR=$lt_cv_sys_path_separator
3438 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3439 if test "${with_gnu_ld+set}" = set; then
3440 withval="$with_gnu_ld"
3441 test "$withval" = no || with_gnu_ld=yes
3446 if test "$GCC" = yes; then
3447 # Check if gcc -print-prog-name=ld gives a path.
3448 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3449 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3452 # gcc leaves a trailing carriage return which upsets mingw
3453 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3455 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3458 # Accept absolute paths.
3459 [\\/]* | [A-Za-z]:[\\/]*)
3460 re_direlt='/[^/][^/]*/\.\./'
3461 # Canonicalize the path of ld
3462 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3463 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3464 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3466 test -z "$LD" && LD="$ac_prog"
3469 # If it fails, then pretend we aren't using GCC.
3473 # If it is relative, then search for the first ld in PATH.
3477 elif test "$with_gnu_ld" = yes; then
3478 echo "$as_me:$LINENO: checking for GNU ld" >&5
3479 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3481 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3482 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3484 if test "${lt_cv_path_LD+set}" = set; then
3485 echo $ECHO_N "(cached) $ECHO_C" >&6
3487 if test -z "$LD"; then
3488 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3489 for ac_dir in $PATH; do
3490 test -z "$ac_dir" && ac_dir=.
3491 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3492 lt_cv_path_LD="$ac_dir/$ac_prog"
3493 # Check to see if the program is GNU ld. I'd rather use --version,
3494 # but apparently some GNU ld's only accept -v.
3495 # Break only if it was the GNU/non-GNU ld that we prefer.
3496 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3497 test "$with_gnu_ld" != no && break
3499 test "$with_gnu_ld" != yes && break
3505 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3510 if test -n "$LD"; then
3511 echo "$as_me:$LINENO: result: $LD" >&5
3512 echo "${ECHO_T}$LD" >&6
3514 echo "$as_me:$LINENO: result: no" >&5
3515 echo "${ECHO_T}no" >&6
3517 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3518 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3519 { (exit 1); exit 1; }; }
3520 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3521 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3522 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3523 echo $ECHO_N "(cached) $ECHO_C" >&6
3525 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3526 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3527 lt_cv_prog_gnu_ld=yes
3529 lt_cv_prog_gnu_ld=no
3532 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3533 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3534 with_gnu_ld=$lt_cv_prog_gnu_ld
3537 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3538 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3539 if test "${lt_cv_ld_reload_flag+set}" = set; then
3540 echo $ECHO_N "(cached) $ECHO_C" >&6
3542 lt_cv_ld_reload_flag='-r'
3544 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3545 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3546 reload_flag=$lt_cv_ld_reload_flag
3547 test -n "$reload_flag" && reload_flag=" $reload_flag"
3549 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3550 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3551 if test "${lt_cv_path_NM+set}" = set; then
3552 echo $ECHO_N "(cached) $ECHO_C" >&6
3554 if test -n "$NM"; then
3555 # Let the user override the test.
3558 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3559 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3560 test -z "$ac_dir" && ac_dir=.
3561 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3562 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3563 # Check to see if the nm accepts a BSD-compat flag.
3564 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3565 # nm: unknown option "B" ignored
3566 # Tru64's nm complains that /dev/null is an invalid object file
3567 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3568 lt_cv_path_NM="$tmp_nm -B"
3570 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3571 lt_cv_path_NM="$tmp_nm -p"
3574 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3575 continue # so that we can try to find one that supports BSD flags
3580 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3585 echo "$as_me:$LINENO: result: $NM" >&5
3586 echo "${ECHO_T}$NM" >&6
3588 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3589 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3590 if test "${lt_cv_path_SED+set}" = set; then
3591 echo $ECHO_N "(cached) $ECHO_C" >&6
3593 # Loop through the user's path and test for sed and gsed.
3594 # Then use that list of sed's as ones to test for truncation.
3595 as_executable_p="test -f"
3596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3600 test -z "$as_dir" && as_dir=.
3601 for ac_prog in sed gsed; do
3602 for ac_exec_ext in '' $ac_executable_extensions; do
3603 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3604 _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext"
3610 # Create a temporary directory, and hook for its removal unless debugging.
3613 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3614 trap '{ (exit 1); exit 1; }' 1 2 13 15
3617 # Create a (secure) tmp directory for tmp files.
3620 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` &&
3621 test -n "$tmp" && test -d "$tmp"
3624 tmp=$TMPDIR/sed$$-$RANDOM
3625 (umask 077 && mkdir $tmp)
3628 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
3629 { (exit 1); exit 1; }
3633 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3634 # along with /bin/sed that truncates output.
3635 for _sed in $_sed_list /usr/xpg4/bin/sed; do
3636 test ! -f ${_sed} && break
3637 cat /dev/null > "$tmp/sed.in"
3639 echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in"
3640 # Check for GNU sed and select it if it is found.
3641 if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then
3642 lt_cv_path_SED=${_sed}
3646 cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp"
3647 mv "$tmp/sed.tmp" "$tmp/sed.in"
3648 cp "$tmp/sed.in" "$tmp/sed.nl"
3649 echo >>"$tmp/sed.nl"
3650 ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break
3651 cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break
3652 # 40000 chars as input seems more than enough
3653 test $_count -gt 10 && break
3654 _count=`expr $_count + 1`
3655 if test $_count -gt $_max; then
3657 lt_cv_path_SED=$_sed
3665 if test "X$SED" != "X"; then
3670 echo "$as_me:$LINENO: result: $SED" >&5
3671 echo "${ECHO_T}$SED" >&6
3673 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3674 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
3675 if test "${lt_cv_deplibs_check_method+set}" = set; then
3676 echo $ECHO_N "(cached) $ECHO_C" >&6
3678 lt_cv_file_magic_cmd='$MAGIC_CMD'
3679 lt_cv_file_magic_test_file=
3680 lt_cv_deplibs_check_method='unknown'
3681 # Need to set the preceding variable on all platforms that support
3682 # interlibrary dependencies.
3683 # 'none' -- dependencies not supported.
3684 # `unknown' -- same as none, but documents that we really don't know.
3685 # 'pass_all' -- all dependencies passed with no checks.
3686 # 'test_compile' -- check by making test program.
3687 # 'file_magic [[regex]]' -- check by looking for files in library path
3688 # which responds to the $file_magic_cmd with a given egrep regex.
3689 # If you have `file' or equivalent on your system and you're not sure
3690 # whether `pass_all' will *always* work, you probably want this one.
3694 lt_cv_deplibs_check_method=pass_all
3698 lt_cv_deplibs_check_method=pass_all
3702 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3703 lt_cv_file_magic_cmd='/usr/bin/file -L'
3704 lt_cv_file_magic_test_file=/shlib/libc.so
3707 cygwin* | mingw* | pw32*)
3708 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3709 lt_cv_file_magic_cmd='$OBJDUMP -f'
3712 darwin* | rhapsody*)
3713 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3714 lt_cv_file_magic_cmd='/usr/bin/file -L'
3716 rhapsody* | darwin1.[012])
3717 lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
3720 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3726 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3729 # Not sure whether the presence of OpenBSD here was a mistake.
3730 # Let's accept both of them until this is cleared up.
3731 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3732 lt_cv_file_magic_cmd=/usr/bin/file
3733 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3737 lt_cv_deplibs_check_method=pass_all
3742 lt_cv_deplibs_check_method=pass_all
3746 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3747 lt_cv_file_magic_cmd=/usr/bin/file
3748 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3751 irix5* | irix6* | nonstopux*)
3753 irix5* | nonstopux*)
3754 # this will be overridden with pass_all, but let us keep it just in case
3755 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3759 *-32|*"-32 ") libmagic=32-bit;;
3760 *-n32|*"-n32 ") libmagic=N32;;
3761 *-64|*"-64 ") libmagic=64-bit;;
3762 *) libmagic=never-match;;
3764 # this will be overridden with pass_all, but let us keep it just in case
3765 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3768 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3769 lt_cv_deplibs_check_method=pass_all
3772 # This must be Linux ELF.
3775 alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* | s390* | x86_64*)
3776 lt_cv_deplibs_check_method=pass_all ;;
3778 # glibc up to 2.1.1 does not perform some relocations on ARM
3779 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3781 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
3785 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3786 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3788 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3793 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3794 lt_cv_file_magic_cmd=/usr/bin/file
3795 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3799 lt_cv_file_magic_cmd=/usr/bin/file
3800 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3801 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3802 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
3804 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
3808 osf3* | osf4* | osf5*)
3809 # this will be overridden with pass_all, but let us keep it just in case
3810 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3811 lt_cv_file_magic_test_file=/shlib/libc.so
3812 lt_cv_deplibs_check_method=pass_all
3816 lt_cv_deplibs_check_method=pass_all
3820 lt_cv_deplibs_check_method=pass_all
3821 lt_cv_file_magic_test_file=/lib/libc.so
3824 sysv5uw[78]* | sysv4*uw2*)
3825 lt_cv_deplibs_check_method=pass_all
3828 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3829 case $host_vendor in
3831 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]'
3832 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3835 lt_cv_deplibs_check_method=pass_all
3838 lt_cv_file_magic_cmd='/bin/file'
3839 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
3842 lt_cv_file_magic_cmd='/bin/file'
3843 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
3844 lt_cv_file_magic_test_file=/lib/libc.so
3847 lt_cv_deplibs_check_method=pass_all
3854 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3855 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3856 file_magic_cmd=$lt_cv_file_magic_cmd
3857 deplibs_check_method=$lt_cv_deplibs_check_method
3866 # Check for command to grab the raw symbol name followed by C symbol from nm.
3867 echo "$as_me:$LINENO: checking command to parse $NM output" >&5
3868 echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
3869 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
3870 echo $ECHO_N "(cached) $ECHO_C" >&6
3873 # These are sane defaults that work on at least a few old systems.
3874 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
3876 # Character class describing NM global symbol codes.
3877 symcode='[BCDEGRST]'
3879 # Regexp to match symbols that can be accessed directly from C.
3880 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
3882 # Transform the above into a raw symbol and a C symbol.
3883 symxfrm='\1 \2\3 \3'
3885 # Transform an extracted symbol line into a proper C declaration
3886 lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
3888 # Transform an extracted symbol line into symbol name and symbol address
3889 lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
3891 # Define system-specific variables.
3896 cygwin* | mingw* | pw32*)
3897 symcode='[ABCDGISTW]'
3899 hpux*) # Its linker distinguishes data from code symbols
3900 lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
3901 lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
3904 symcode='[BCDEGRST]'
3907 symcode='[BCDEGQRST]'
3917 # Handle CRLF in mingw tool chain
3921 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
3925 # If we're using GNU nm, then use its standard symbol codes.
3926 if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
3927 symcode='[ABCDGISTW]'
3930 # Try without a prefix undercore, then with it.
3931 for ac_symprfx in "" "_"; do
3933 # Write the raw and C identifiers.
3934 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
3936 # Check to see that the pipe works correctly.
3939 cat > conftest.$ac_ext <<EOF
3944 void nm_test_func(){}
3948 int main(){nm_test_var='a';nm_test_func();return(0);}
3951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3952 (eval $ac_compile) 2>&5
3954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3955 (exit $ac_status); }; then
3956 # Now try to grab the symbols.
3958 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
3959 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
3961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3962 (exit $ac_status); } && test -s "$nlist"; then
3963 # Try sorting and uniquifying the output.
3964 if sort "$nlist" | uniq > "$nlist"T; then
3965 mv -f "$nlist"T "$nlist"
3970 # Make sure that we snagged all the symbols we need.
3971 if egrep ' nm_test_var$' "$nlist" >/dev/null; then
3972 if egrep ' nm_test_func$' "$nlist" >/dev/null; then
3973 cat <<EOF > conftest.$ac_ext
3979 # Now generate the symbol file.
3980 eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
3982 cat <<EOF >> conftest.$ac_ext
3983 #if defined (__STDC__) && __STDC__
3984 # define lt_ptr void *
3986 # define lt_ptr char *
3990 /* The mapping between symbol names and symbols. */
3995 lt_preloaded_symbols[] =
3998 sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
3999 cat <<\EOF >> conftest.$ac_ext
4007 # Now try linking the two files.
4008 mv conftest.$ac_objext conftstm.$ac_objext
4010 save_CFLAGS="$CFLAGS"
4011 LIBS="conftstm.$ac_objext"
4012 CFLAGS="$CFLAGS$no_builtin_flag"
4013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4014 (eval $ac_link) 2>&5
4016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4017 (exit $ac_status); } && test -s conftest$ac_exeext; then
4021 CFLAGS="$save_CFLAGS"
4023 echo "cannot find nm_test_func in $nlist" >&5
4026 echo "cannot find nm_test_var in $nlist" >&5
4029 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
4032 echo "$progname: failed program was:" >&5
4033 cat conftest.$ac_ext >&5
4035 rm -f conftest* conftst*
4037 # Do not use the global_symbol_pipe unless it works.
4038 if test "$pipe_works" = yes; then
4041 lt_cv_sys_global_symbol_pipe=
4047 global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
4048 if test -z "$lt_cv_sys_global_symbol_pipe"; then
4049 global_symbol_to_cdecl=
4050 global_symbol_to_c_name_address=
4052 global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
4053 global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
4055 if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
4057 echo "$as_me:$LINENO: result: failed" >&5
4058 echo "${ECHO_T}failed" >&6
4060 echo "$as_me:$LINENO: result: ok" >&5
4061 echo "${ECHO_T}ok" >&6
4065 echo "$as_me:$LINENO: checking for egrep" >&5
4066 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4067 if test "${ac_cv_prog_egrep+set}" = set; then
4068 echo $ECHO_N "(cached) $ECHO_C" >&6
4070 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4071 then ac_cv_prog_egrep='grep -E'
4072 else ac_cv_prog_egrep='egrep'
4075 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4076 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4077 EGREP=$ac_cv_prog_egrep
4080 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4081 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4082 if test "${ac_cv_header_stdc+set}" = set; then
4083 echo $ECHO_N "(cached) $ECHO_C" >&6
4085 cat >conftest.$ac_ext <<_ACEOF
4088 cat confdefs.h >>conftest.$ac_ext
4089 cat >>conftest.$ac_ext <<_ACEOF
4090 /* end confdefs.h. */
4104 rm -f conftest.$ac_objext
4105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4106 (eval $ac_compile) 2>conftest.er1
4108 grep -v '^ *+' conftest.er1 >conftest.err
4110 cat conftest.err >&5
4111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4112 (exit $ac_status); } &&
4113 { ac_try='test -z "$ac_c_werror_flag"
4114 || test ! -s conftest.err'
4115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4119 (exit $ac_status); }; } &&
4120 { ac_try='test -s conftest.$ac_objext'
4121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4125 (exit $ac_status); }; }; then
4126 ac_cv_header_stdc=yes
4128 echo "$as_me: failed program was:" >&5
4129 sed 's/^/| /' conftest.$ac_ext >&5
4131 ac_cv_header_stdc=no
4133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4135 if test $ac_cv_header_stdc = yes; then
4136 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4137 cat >conftest.$ac_ext <<_ACEOF
4140 cat confdefs.h >>conftest.$ac_ext
4141 cat >>conftest.$ac_ext <<_ACEOF
4142 /* end confdefs.h. */
4146 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4147 $EGREP "memchr" >/dev/null 2>&1; then
4150 ac_cv_header_stdc=no
4156 if test $ac_cv_header_stdc = yes; then
4157 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4158 cat >conftest.$ac_ext <<_ACEOF
4161 cat confdefs.h >>conftest.$ac_ext
4162 cat >>conftest.$ac_ext <<_ACEOF
4163 /* end confdefs.h. */
4167 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4168 $EGREP "free" >/dev/null 2>&1; then
4171 ac_cv_header_stdc=no
4177 if test $ac_cv_header_stdc = yes; then
4178 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4179 if test "$cross_compiling" = yes; then
4182 cat >conftest.$ac_ext <<_ACEOF
4185 cat confdefs.h >>conftest.$ac_ext
4186 cat >>conftest.$ac_ext <<_ACEOF
4187 /* end confdefs.h. */
4189 #if ((' ' & 0x0FF) == 0x020)
4190 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4191 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4193 # define ISLOWER(c) \
4194 (('a' <= (c) && (c) <= 'i') \
4195 || ('j' <= (c) && (c) <= 'r') \
4196 || ('s' <= (c) && (c) <= 'z'))
4197 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4200 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4205 for (i = 0; i < 256; i++)
4206 if (XOR (islower (i), ISLOWER (i))
4207 || toupper (i) != TOUPPER (i))
4212 rm -f conftest$ac_exeext
4213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4214 (eval $ac_link) 2>&5
4216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4217 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4222 (exit $ac_status); }; }; then
4225 echo "$as_me: program exited with status $ac_status" >&5
4226 echo "$as_me: failed program was:" >&5
4227 sed 's/^/| /' conftest.$ac_ext >&5
4230 ac_cv_header_stdc=no
4232 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4236 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4237 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4238 if test $ac_cv_header_stdc = yes; then
4240 cat >>confdefs.h <<\_ACEOF
4241 #define STDC_HEADERS 1
4246 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4256 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4257 inttypes.h stdint.h unistd.h
4259 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4260 echo "$as_me:$LINENO: checking for $ac_header" >&5
4261 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4262 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4263 echo $ECHO_N "(cached) $ECHO_C" >&6
4265 cat >conftest.$ac_ext <<_ACEOF
4268 cat confdefs.h >>conftest.$ac_ext
4269 cat >>conftest.$ac_ext <<_ACEOF
4270 /* end confdefs.h. */
4271 $ac_includes_default
4273 #include <$ac_header>
4275 rm -f conftest.$ac_objext
4276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4277 (eval $ac_compile) 2>conftest.er1
4279 grep -v '^ *+' conftest.er1 >conftest.err
4281 cat conftest.err >&5
4282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4283 (exit $ac_status); } &&
4284 { ac_try='test -z "$ac_c_werror_flag"
4285 || test ! -s conftest.err'
4286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4290 (exit $ac_status); }; } &&
4291 { ac_try='test -s conftest.$ac_objext'
4292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4296 (exit $ac_status); }; }; then
4297 eval "$as_ac_Header=yes"
4299 echo "$as_me: failed program was:" >&5
4300 sed 's/^/| /' conftest.$ac_ext >&5
4302 eval "$as_ac_Header=no"
4304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4307 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4308 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4309 cat >>confdefs.h <<_ACEOF
4310 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4319 for ac_header in dlfcn.h
4321 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4322 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4323 echo "$as_me:$LINENO: checking for $ac_header" >&5
4324 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4325 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4326 echo $ECHO_N "(cached) $ECHO_C" >&6
4328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4329 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4331 # Is the header compilable?
4332 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4333 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4334 cat >conftest.$ac_ext <<_ACEOF
4337 cat confdefs.h >>conftest.$ac_ext
4338 cat >>conftest.$ac_ext <<_ACEOF
4339 /* end confdefs.h. */
4340 $ac_includes_default
4341 #include <$ac_header>
4343 rm -f conftest.$ac_objext
4344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4345 (eval $ac_compile) 2>conftest.er1
4347 grep -v '^ *+' conftest.er1 >conftest.err
4349 cat conftest.err >&5
4350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4351 (exit $ac_status); } &&
4352 { ac_try='test -z "$ac_c_werror_flag"
4353 || test ! -s conftest.err'
4354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4358 (exit $ac_status); }; } &&
4359 { ac_try='test -s conftest.$ac_objext'
4360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4364 (exit $ac_status); }; }; then
4365 ac_header_compiler=yes
4367 echo "$as_me: failed program was:" >&5
4368 sed 's/^/| /' conftest.$ac_ext >&5
4370 ac_header_compiler=no
4372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4373 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4374 echo "${ECHO_T}$ac_header_compiler" >&6
4376 # Is the header present?
4377 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4378 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4379 cat >conftest.$ac_ext <<_ACEOF
4382 cat confdefs.h >>conftest.$ac_ext
4383 cat >>conftest.$ac_ext <<_ACEOF
4384 /* end confdefs.h. */
4385 #include <$ac_header>
4387 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4388 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4390 grep -v '^ *+' conftest.er1 >conftest.err
4392 cat conftest.err >&5
4393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4394 (exit $ac_status); } >/dev/null; then
4395 if test -s conftest.err; then
4396 ac_cpp_err=$ac_c_preproc_warn_flag
4397 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4404 if test -z "$ac_cpp_err"; then
4405 ac_header_preproc=yes
4407 echo "$as_me: failed program was:" >&5
4408 sed 's/^/| /' conftest.$ac_ext >&5
4410 ac_header_preproc=no
4412 rm -f conftest.err conftest.$ac_ext
4413 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4414 echo "${ECHO_T}$ac_header_preproc" >&6
4416 # So? What about this header?
4417 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4419 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4420 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4421 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4422 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4423 ac_header_preproc=yes
4426 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4427 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4428 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4429 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4430 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4431 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4432 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4433 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4434 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4435 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4436 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4437 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4440 ## ------------------------------------------ ##
4441 ## Report this to the AC_PACKAGE_NAME lists. ##
4442 ## ------------------------------------------ ##
4445 sed "s/^/$as_me: WARNING: /" >&2
4448 echo "$as_me:$LINENO: checking for $ac_header" >&5
4449 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4450 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4451 echo $ECHO_N "(cached) $ECHO_C" >&6
4453 eval "$as_ac_Header=\$ac_header_preproc"
4455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4456 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4459 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4460 cat >>confdefs.h <<_ACEOF
4461 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4473 # Only perform the check for file, if the check method requires it
4474 case $deplibs_check_method in
4476 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4477 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4478 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4479 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4480 echo $ECHO_N "(cached) $ECHO_C" >&6
4484 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4487 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4490 ac_save_MAGIC_CMD="$MAGIC_CMD"
4491 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4492 ac_dummy="/usr/bin:$PATH"
4493 for ac_dir in $ac_dummy; do
4494 test -z "$ac_dir" && ac_dir=.
4495 if test -f $ac_dir/${ac_tool_prefix}file; then
4496 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4497 if test -n "$file_magic_test_file"; then
4498 case $deplibs_check_method in
4500 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4501 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4502 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4503 egrep "$file_magic_regex" > /dev/null; then
4508 *** Warning: the command libtool uses to detect shared libraries,
4509 *** $file_magic_cmd, produces output that libtool cannot recognize.
4510 *** The result is that libtool may fail to recognize shared libraries
4511 *** as such. This will affect the creation of libtool libraries that
4512 *** depend on shared libraries, but programs linked with such libtool
4513 *** libraries will work regardless of this problem. Nevertheless, you
4514 *** may want to report the problem to your system manager and/or to
4515 *** bug-libtool@gnu.org
4525 MAGIC_CMD="$ac_save_MAGIC_CMD"
4530 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4531 if test -n "$MAGIC_CMD"; then
4532 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4533 echo "${ECHO_T}$MAGIC_CMD" >&6
4535 echo "$as_me:$LINENO: result: no" >&5
4536 echo "${ECHO_T}no" >&6
4539 if test -z "$lt_cv_path_MAGIC_CMD"; then
4540 if test -n "$ac_tool_prefix"; then
4541 echo "$as_me:$LINENO: checking for file" >&5
4542 echo $ECHO_N "checking for file... $ECHO_C" >&6
4543 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4544 echo $ECHO_N "(cached) $ECHO_C" >&6
4548 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4551 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4554 ac_save_MAGIC_CMD="$MAGIC_CMD"
4555 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4556 ac_dummy="/usr/bin:$PATH"
4557 for ac_dir in $ac_dummy; do
4558 test -z "$ac_dir" && ac_dir=.
4559 if test -f $ac_dir/file; then
4560 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4561 if test -n "$file_magic_test_file"; then
4562 case $deplibs_check_method in
4564 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4565 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4566 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4567 egrep "$file_magic_regex" > /dev/null; then
4572 *** Warning: the command libtool uses to detect shared libraries,
4573 *** $file_magic_cmd, produces output that libtool cannot recognize.
4574 *** The result is that libtool may fail to recognize shared libraries
4575 *** as such. This will affect the creation of libtool libraries that
4576 *** depend on shared libraries, but programs linked with such libtool
4577 *** libraries will work regardless of this problem. Nevertheless, you
4578 *** may want to report the problem to your system manager and/or to
4579 *** bug-libtool@gnu.org
4589 MAGIC_CMD="$ac_save_MAGIC_CMD"
4594 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4595 if test -n "$MAGIC_CMD"; then
4596 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4597 echo "${ECHO_T}$MAGIC_CMD" >&6
4599 echo "$as_me:$LINENO: result: no" >&5
4600 echo "${ECHO_T}no" >&6
4612 if test -n "$ac_tool_prefix"; then
4613 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4614 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4615 echo "$as_me:$LINENO: checking for $ac_word" >&5
4616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4617 if test "${ac_cv_prog_RANLIB+set}" = set; then
4618 echo $ECHO_N "(cached) $ECHO_C" >&6
4620 if test -n "$RANLIB"; then
4621 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4627 test -z "$as_dir" && as_dir=.
4628 for ac_exec_ext in '' $ac_executable_extensions; do
4629 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4630 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4631 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4639 RANLIB=$ac_cv_prog_RANLIB
4640 if test -n "$RANLIB"; then
4641 echo "$as_me:$LINENO: result: $RANLIB" >&5
4642 echo "${ECHO_T}$RANLIB" >&6
4644 echo "$as_me:$LINENO: result: no" >&5
4645 echo "${ECHO_T}no" >&6
4649 if test -z "$ac_cv_prog_RANLIB"; then
4650 ac_ct_RANLIB=$RANLIB
4651 # Extract the first word of "ranlib", so it can be a program name with args.
4652 set dummy ranlib; ac_word=$2
4653 echo "$as_me:$LINENO: checking for $ac_word" >&5
4654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4655 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4656 echo $ECHO_N "(cached) $ECHO_C" >&6
4658 if test -n "$ac_ct_RANLIB"; then
4659 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4665 test -z "$as_dir" && as_dir=.
4666 for ac_exec_ext in '' $ac_executable_extensions; do
4667 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4668 ac_cv_prog_ac_ct_RANLIB="ranlib"
4669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4675 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4678 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4679 if test -n "$ac_ct_RANLIB"; then
4680 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4681 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4683 echo "$as_me:$LINENO: result: no" >&5
4684 echo "${ECHO_T}no" >&6
4687 RANLIB=$ac_ct_RANLIB
4689 RANLIB="$ac_cv_prog_RANLIB"
4692 if test -n "$ac_tool_prefix"; then
4693 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4694 set dummy ${ac_tool_prefix}strip; ac_word=$2
4695 echo "$as_me:$LINENO: checking for $ac_word" >&5
4696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4697 if test "${ac_cv_prog_STRIP+set}" = set; then
4698 echo $ECHO_N "(cached) $ECHO_C" >&6
4700 if test -n "$STRIP"; then
4701 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4707 test -z "$as_dir" && as_dir=.
4708 for ac_exec_ext in '' $ac_executable_extensions; do
4709 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4710 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4719 STRIP=$ac_cv_prog_STRIP
4720 if test -n "$STRIP"; then
4721 echo "$as_me:$LINENO: result: $STRIP" >&5
4722 echo "${ECHO_T}$STRIP" >&6
4724 echo "$as_me:$LINENO: result: no" >&5
4725 echo "${ECHO_T}no" >&6
4729 if test -z "$ac_cv_prog_STRIP"; then
4731 # Extract the first word of "strip", so it can be a program name with args.
4732 set dummy strip; ac_word=$2
4733 echo "$as_me:$LINENO: checking for $ac_word" >&5
4734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4735 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4736 echo $ECHO_N "(cached) $ECHO_C" >&6
4738 if test -n "$ac_ct_STRIP"; then
4739 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4745 test -z "$as_dir" && as_dir=.
4746 for ac_exec_ext in '' $ac_executable_extensions; do
4747 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4748 ac_cv_prog_ac_ct_STRIP="strip"
4749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4755 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4758 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4759 if test -n "$ac_ct_STRIP"; then
4760 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4761 echo "${ECHO_T}$ac_ct_STRIP" >&6
4763 echo "$as_me:$LINENO: result: no" >&5
4764 echo "${ECHO_T}no" >&6
4769 STRIP="$ac_cv_prog_STRIP"
4776 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4777 if test "${enable_libtool_lock+set}" = set; then
4778 enableval="$enable_libtool_lock"
4781 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4783 # Some flags need to be propagated to the compiler or linker for good
4787 # Find out which ABI we are using.
4788 echo '#line 4788 "configure"' > conftest.$ac_ext
4789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4790 (eval $ac_compile) 2>&5
4792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4793 (exit $ac_status); }; then
4794 case `/usr/bin/file conftest.$ac_objext` in
4810 # Test if the compiler is 64bit
4811 echo 'int i;' > conftest.$ac_ext
4812 lt_cv_cc_64bit_output=no
4813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4814 (eval $ac_compile) 2>&5
4816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4817 (exit $ac_status); }; then
4818 case `/usr/bin/file conftest.$ac_objext` in
4820 lt_cv_cc_64bit_output=yes
4828 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4829 SAVE_CFLAGS="$CFLAGS"
4830 CFLAGS="$CFLAGS -belf"
4831 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4832 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4833 if test "${lt_cv_cc_needs_belf+set}" = set; then
4834 echo $ECHO_N "(cached) $ECHO_C" >&6
4839 ac_cpp='$CPP $CPPFLAGS'
4840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4844 cat >conftest.$ac_ext <<_ACEOF
4847 cat confdefs.h >>conftest.$ac_ext
4848 cat >>conftest.$ac_ext <<_ACEOF
4849 /* end confdefs.h. */
4859 rm -f conftest.$ac_objext conftest$ac_exeext
4860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4861 (eval $ac_link) 2>conftest.er1
4863 grep -v '^ *+' conftest.er1 >conftest.err
4865 cat conftest.err >&5
4866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4867 (exit $ac_status); } &&
4868 { ac_try='test -z "$ac_c_werror_flag"
4869 || test ! -s conftest.err'
4870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4874 (exit $ac_status); }; } &&
4875 { ac_try='test -s conftest$ac_exeext'
4876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4880 (exit $ac_status); }; }; then
4881 lt_cv_cc_needs_belf=yes
4883 echo "$as_me: failed program was:" >&5
4884 sed 's/^/| /' conftest.$ac_ext >&5
4886 lt_cv_cc_needs_belf=no
4888 rm -f conftest.err conftest.$ac_objext \
4889 conftest$ac_exeext conftest.$ac_ext
4891 ac_cpp='$CPP $CPPFLAGS'
4892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4897 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4898 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4899 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4900 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4901 CFLAGS="$SAVE_CFLAGS"
4908 # Sed substitution that helps us do robust quoting. It backslashifies
4909 # metacharacters that are still active within double-quoted strings.
4910 Xsed='sed -e s/^X//'
4911 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
4913 # Same as above, but do not quote variable references.
4914 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
4916 # Sed substitution to delay expansion of an escaped shell variable in a
4917 # double_quote_subst'ed string.
4918 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4924 default_ofile=libtool
4925 can_build_shared=yes
4927 # All known linkers require a `.a' archive for static linking (except M$VC,
4928 # which needs '.lib').
4930 ltmain="$ac_aux_dir/ltmain.sh"
4931 ofile="$default_ofile"
4932 with_gnu_ld="$lt_cv_prog_gnu_ld"
4933 need_locks="$enable_libtool_lock"
4936 old_CFLAGS="$CFLAGS"
4938 # Set sane defaults for various variables
4939 test -z "$AR" && AR=ar
4940 test -z "$AR_FLAGS" && AR_FLAGS=cru
4941 test -z "$AS" && AS=as
4942 test -z "$CC" && CC=cc
4943 test -z "$DLLTOOL" && DLLTOOL=dlltool
4944 test -z "$LD" && LD=ld
4945 test -z "$LN_S" && LN_S="ln -s"
4946 test -z "$MAGIC_CMD" && MAGIC_CMD=file
4947 test -z "$NM" && NM=nm
4948 test -z "$OBJDUMP" && OBJDUMP=objdump
4949 test -z "$RANLIB" && RANLIB=:
4950 test -z "$STRIP" && STRIP=:
4951 test -z "$ac_objext" && ac_objext=o
4953 if test x"$host" != x"$build"; then
4954 ac_tool_prefix=${host_alias}-
4959 # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
4962 linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
4967 # AIX sometimes has problems with the GCC collect2 program. For some
4968 # reason, if we set the COLLECT_NAMES environment variable, the problems
4969 # vanish in a puff of smoke.
4970 if test "X${COLLECT_NAMES+set}" != Xset; then
4972 export COLLECT_NAMES
4977 # Determine commands to create old-style static archives.
4978 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
4979 old_postinstall_cmds='chmod 644 $oldlib'
4980 old_postuninstall_cmds=
4982 if test -n "$RANLIB"; then
4985 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
4988 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
4991 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
4994 # Allow CC to be a program name with arguments.
4998 echo "$as_me:$LINENO: checking for objdir" >&5
4999 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5000 rm -f .libs 2>/dev/null
5001 mkdir .libs 2>/dev/null
5002 if test -d .libs; then
5005 # MS-DOS does not allow filenames that begin with a dot.
5008 rmdir .libs 2>/dev/null
5009 echo "$as_me:$LINENO: result: $objdir" >&5
5010 echo "${ECHO_T}$objdir" >&6
5014 # Check whether --with-pic or --without-pic was given.
5015 if test "${with_pic+set}" = set; then
5021 test -z "$pic_mode" && pic_mode=default
5023 # We assume here that the value for lt_cv_prog_cc_pic will not be cached
5024 # in isolation, and that seeing it set (from the cache) indicates that
5025 # the associated values are set (in the cache) correctly too.
5026 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
5027 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
5028 if test "${lt_cv_prog_cc_pic+set}" = set; then
5029 echo $ECHO_N "(cached) $ECHO_C" >&6
5032 lt_cv_prog_cc_shlib=
5034 lt_cv_prog_cc_static=
5035 lt_cv_prog_cc_no_builtin=
5036 lt_cv_prog_cc_can_build_shared=$can_build_shared
5038 if test "$GCC" = yes; then
5039 lt_cv_prog_cc_wl='-Wl,'
5040 lt_cv_prog_cc_static='-static'
5044 # Below there is a dirty hack to force normal static linking with -ldl
5045 # The problem is because libdl dynamically linked with both libc and
5046 # libC (AIX C++ library), which obviously doesn't included in libraries
5047 # list by gcc. This cause undefined symbols with -static flags.
5048 # This hack allows C programs to be linked with "-static -ldl", but
5049 # not sure about C++ programs.
5050 lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
5053 # FIXME: we need at least 68020 code to build shared libraries, but
5054 # adding the `-m68020' flag to GCC prevents building anything better,
5056 lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
5058 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
5059 # PIC is the default for these OSes.
5061 darwin* | rhapsody*)
5062 # PIC is the default on this platform
5063 # Common symbols not allowed in MH_DYLIB files
5064 lt_cv_prog_cc_pic='-fno-common'
5066 cygwin* | mingw* | pw32* | os2*)
5067 # This hack is so that the source file can tell whether it is being
5068 # built for inclusion in a dll (and should export symbols for example).
5069 lt_cv_prog_cc_pic='-DDLL_EXPORT'
5072 if test -d /usr/nec; then
5073 lt_cv_prog_cc_pic=-Kconform_pic
5077 lt_cv_prog_cc_pic='-fPIC'
5081 # PORTME Check for PIC flags for the system compiler.
5083 aix3* | aix4* | aix5*)
5084 lt_cv_prog_cc_wl='-Wl,'
5085 # All AIX code is PIC.
5086 if test "$host_cpu" = ia64; then
5087 # AIX 5 now supports IA64 processor
5088 lt_cv_prog_cc_static='-Bstatic'
5090 lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
5094 hpux9* | hpux10* | hpux11*)
5095 # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
5096 lt_cv_prog_cc_wl='-Wl,'
5097 lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
5098 lt_cv_prog_cc_pic='+Z'
5101 irix5* | irix6* | nonstopux*)
5102 lt_cv_prog_cc_wl='-Wl,'
5103 lt_cv_prog_cc_static='-non_shared'
5104 # PIC (with -KPIC) is the default.
5107 cygwin* | mingw* | pw32* | os2*)
5108 # This hack is so that the source file can tell whether it is being
5109 # built for inclusion in a dll (and should export symbols for example).
5110 lt_cv_prog_cc_pic='-DDLL_EXPORT'
5114 lt_cv_prog_cc_pic='-KPIC'
5115 lt_cv_prog_cc_static='-Bstatic'
5118 osf3* | osf4* | osf5*)
5119 # All OSF/1 code is PIC.
5120 lt_cv_prog_cc_wl='-Wl,'
5121 lt_cv_prog_cc_static='-non_shared'
5125 lt_cv_prog_cc_pic='-Kpic'
5126 lt_cv_prog_cc_static='-dn'
5127 lt_cv_prog_cc_shlib='-belf'
5131 lt_cv_prog_cc_pic='-KPIC'
5132 lt_cv_prog_cc_static='-Bstatic'
5133 lt_cv_prog_cc_wl='-Wl,'
5137 lt_cv_prog_cc_pic='-PIC'
5138 lt_cv_prog_cc_static='-Bstatic'
5139 lt_cv_prog_cc_wl='-Qoption ld '
5142 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
5143 lt_cv_prog_cc_pic='-KPIC'
5144 lt_cv_prog_cc_static='-Bstatic'
5145 lt_cv_prog_cc_wl='-Wl,'
5149 lt_cv_prog_cc_pic='-pic'
5150 lt_cv_prog_cc_static='-Bstatic'
5154 if test -d /usr/nec ;then
5155 lt_cv_prog_cc_pic='-Kconform_pic'
5156 lt_cv_prog_cc_static='-Bstatic'
5161 lt_cv_prog_cc_can_build_shared=no
5168 if test -z "$lt_cv_prog_cc_pic"; then
5169 echo "$as_me:$LINENO: result: none" >&5
5170 echo "${ECHO_T}none" >&6
5172 echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5
5173 echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6
5175 # Check to make sure the pic_flag actually works.
5176 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
5177 echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6
5178 if test "${lt_cv_prog_cc_pic_works+set}" = set; then
5179 echo $ECHO_N "(cached) $ECHO_C" >&6
5181 save_CFLAGS="$CFLAGS"
5182 CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
5183 cat >conftest.$ac_ext <<_ACEOF
5186 cat confdefs.h >>conftest.$ac_ext
5187 cat >>conftest.$ac_ext <<_ACEOF
5188 /* end confdefs.h. */
5198 rm -f conftest.$ac_objext
5199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5200 (eval $ac_compile) 2>conftest.er1
5202 grep -v '^ *+' conftest.er1 >conftest.err
5204 cat conftest.err >&5
5205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5206 (exit $ac_status); } &&
5207 { ac_try='test -z "$ac_c_werror_flag"
5208 || test ! -s conftest.err'
5209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5213 (exit $ac_status); }; } &&
5214 { ac_try='test -s conftest.$ac_objext'
5215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5219 (exit $ac_status); }; }; then
5221 hpux9* | hpux10* | hpux11*)
5222 # On HP-UX, both CC and GCC only warn that PIC is supported... then
5223 # they create non-PIC objects. So, if there were any warnings, we
5224 # assume that PIC is not supported.
5225 if test -s conftest.err; then
5226 lt_cv_prog_cc_pic_works=no
5228 lt_cv_prog_cc_pic_works=yes
5232 lt_cv_prog_cc_pic_works=yes
5237 echo "$as_me: failed program was:" >&5
5238 sed 's/^/| /' conftest.$ac_ext >&5
5240 lt_cv_prog_cc_pic_works=no
5243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5244 CFLAGS="$save_CFLAGS"
5249 if test "X$lt_cv_prog_cc_pic_works" = Xno; then
5251 lt_cv_prog_cc_can_build_shared=no
5253 lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
5256 echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5
5257 echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6
5260 # Check for any special shared library compilation flags.
5261 if test -n "$lt_cv_prog_cc_shlib"; then
5262 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5
5263 echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}
5264 if echo "$old_CC $old_CFLAGS " | egrep -e "[ ]$lt_cv_prog_cc_shlib[ ]" >/dev/null; then :
5266 { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
5267 echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
5268 lt_cv_prog_cc_can_build_shared=no
5272 echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
5273 echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6
5274 if test "${lt_cv_prog_cc_static_works+set}" = set; then
5275 echo $ECHO_N "(cached) $ECHO_C" >&6
5277 lt_cv_prog_cc_static_works=no
5278 save_LDFLAGS="$LDFLAGS"
5279 LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
5280 cat >conftest.$ac_ext <<_ACEOF
5283 cat confdefs.h >>conftest.$ac_ext
5284 cat >>conftest.$ac_ext <<_ACEOF
5285 /* end confdefs.h. */
5295 rm -f conftest.$ac_objext conftest$ac_exeext
5296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5297 (eval $ac_link) 2>conftest.er1
5299 grep -v '^ *+' conftest.er1 >conftest.err
5301 cat conftest.err >&5
5302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5303 (exit $ac_status); } &&
5304 { ac_try='test -z "$ac_c_werror_flag"
5305 || test ! -s conftest.err'
5306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5310 (exit $ac_status); }; } &&
5311 { ac_try='test -s conftest$ac_exeext'
5312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5316 (exit $ac_status); }; }; then
5317 lt_cv_prog_cc_static_works=yes
5319 echo "$as_me: failed program was:" >&5
5320 sed 's/^/| /' conftest.$ac_ext >&5
5323 rm -f conftest.err conftest.$ac_objext \
5324 conftest$ac_exeext conftest.$ac_ext
5325 LDFLAGS="$save_LDFLAGS"
5330 # Belt *and* braces to stop my trousers falling down:
5331 test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
5332 echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5
5333 echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6
5335 pic_flag="$lt_cv_prog_cc_pic"
5336 special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
5337 wl="$lt_cv_prog_cc_wl"
5338 link_static_flag="$lt_cv_prog_cc_static"
5339 no_builtin_flag="$lt_cv_prog_cc_no_builtin"
5340 can_build_shared="$lt_cv_prog_cc_can_build_shared"
5343 # Check to see if options -o and -c are simultaneously supported by compiler
5344 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
5345 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
5346 if test "${lt_cv_compiler_c_o+set}" = set; then
5347 echo $ECHO_N "(cached) $ECHO_C" >&6
5350 $rm -r conftest 2>/dev/null
5353 echo "int some_variable = 0;" > conftest.$ac_ext
5355 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
5356 # that will create temporary files in the current directory regardless of
5357 # the output directory. Thus, making CWD read-only will cause this test
5358 # to fail, enabling locking or at least warning the user not to do parallel
5361 save_CFLAGS="$CFLAGS"
5362 CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
5364 if { (eval echo configure:5364: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
5365 # The compiler can only warn and ignore the option if not recognized
5366 # So say no if there are warnings
5367 if test -s out/conftest.err; then
5368 lt_cv_compiler_c_o=no
5370 lt_cv_compiler_c_o=yes
5373 # Append any errors to the config.log.
5374 cat out/conftest.err 1>&5
5375 lt_cv_compiler_c_o=no
5377 CFLAGS="$save_CFLAGS"
5383 $rm -r conftest 2>/dev/null
5387 compiler_c_o=$lt_cv_compiler_c_o
5388 echo "$as_me:$LINENO: result: $compiler_c_o" >&5
5389 echo "${ECHO_T}$compiler_c_o" >&6
5391 if test x"$compiler_c_o" = x"yes"; then
5392 # Check to see if we can write to a .lo
5393 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5
5394 echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6
5395 if test "${lt_cv_compiler_o_lo+set}" = set; then
5396 echo $ECHO_N "(cached) $ECHO_C" >&6
5399 lt_cv_compiler_o_lo=no
5400 save_CFLAGS="$CFLAGS"
5401 CFLAGS="$CFLAGS -c -o conftest.lo"
5402 save_objext="$ac_objext"
5404 cat >conftest.$ac_ext <<_ACEOF
5407 cat confdefs.h >>conftest.$ac_ext
5408 cat >>conftest.$ac_ext <<_ACEOF
5409 /* end confdefs.h. */
5414 int some_variable = 0;
5419 rm -f conftest.$ac_objext
5420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5421 (eval $ac_compile) 2>conftest.er1
5423 grep -v '^ *+' conftest.er1 >conftest.err
5425 cat conftest.err >&5
5426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5427 (exit $ac_status); } &&
5428 { ac_try='test -z "$ac_c_werror_flag"
5429 || test ! -s conftest.err'
5430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5434 (exit $ac_status); }; } &&
5435 { ac_try='test -s conftest.$ac_objext'
5436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5440 (exit $ac_status); }; }; then
5441 # The compiler can only warn and ignore the option if not recognized
5442 # So say no if there are warnings
5443 if test -s conftest.err; then
5444 lt_cv_compiler_o_lo=no
5446 lt_cv_compiler_o_lo=yes
5450 echo "$as_me: failed program was:" >&5
5451 sed 's/^/| /' conftest.$ac_ext >&5
5454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5455 ac_objext="$save_objext"
5456 CFLAGS="$save_CFLAGS"
5460 compiler_o_lo=$lt_cv_compiler_o_lo
5461 echo "$as_me:$LINENO: result: $compiler_o_lo" >&5
5462 echo "${ECHO_T}$compiler_o_lo" >&6
5467 # Check to see if we can do hard links to lock some files if needed
5468 hard_links="nottested"
5469 if test "$compiler_c_o" = no && test "$need_locks" != no; then
5470 # do not overwrite the value of need_locks provided by the user
5471 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
5472 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
5475 ln conftest.a conftest.b 2>/dev/null && hard_links=no
5477 ln conftest.a conftest.b 2>&5 || hard_links=no
5478 ln conftest.a conftest.b 2>/dev/null && hard_links=no
5479 echo "$as_me:$LINENO: result: $hard_links" >&5
5480 echo "${ECHO_T}$hard_links" >&6
5481 if test "$hard_links" = no; then
5482 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
5483 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
5490 if test "$GCC" = yes; then
5491 # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
5492 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
5493 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
5494 echo "int some_variable = 0;" > conftest.$ac_ext
5495 save_CFLAGS="$CFLAGS"
5496 CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
5497 compiler_rtti_exceptions=no
5498 cat >conftest.$ac_ext <<_ACEOF
5501 cat confdefs.h >>conftest.$ac_ext
5502 cat >>conftest.$ac_ext <<_ACEOF
5503 /* end confdefs.h. */
5508 int some_variable = 0;
5513 rm -f conftest.$ac_objext
5514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5515 (eval $ac_compile) 2>conftest.er1
5517 grep -v '^ *+' conftest.er1 >conftest.err
5519 cat conftest.err >&5
5520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5521 (exit $ac_status); } &&
5522 { ac_try='test -z "$ac_c_werror_flag"
5523 || test ! -s conftest.err'
5524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5528 (exit $ac_status); }; } &&
5529 { ac_try='test -s conftest.$ac_objext'
5530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5534 (exit $ac_status); }; }; then
5535 # The compiler can only warn and ignore the option if not recognized
5536 # So say no if there are warnings
5537 if test -s conftest.err; then
5538 compiler_rtti_exceptions=no
5540 compiler_rtti_exceptions=yes
5544 echo "$as_me: failed program was:" >&5
5545 sed 's/^/| /' conftest.$ac_ext >&5
5548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5549 CFLAGS="$save_CFLAGS"
5550 echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5
5551 echo "${ECHO_T}$compiler_rtti_exceptions" >&6
5553 if test "$compiler_rtti_exceptions" = "yes"; then
5554 no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
5556 no_builtin_flag=' -fno-builtin'
5560 # See if the linker supports building shared libraries.
5561 echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5
5562 echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6
5564 allow_undefined_flag=
5566 need_lib_prefix=unknown
5567 need_version=unknown
5568 # when you set need_version to no, make sure it does not cause -set_version
5569 # flags to be left without arguments
5571 archive_expsym_cmds=
5572 old_archive_from_new_cmds=
5573 old_archive_from_expsyms_cmds=
5574 export_dynamic_flag_spec=
5575 whole_archive_flag_spec=
5576 thread_safe_flag_spec=
5577 hardcode_into_libs=no
5578 hardcode_libdir_flag_spec=
5579 hardcode_libdir_separator=
5582 hardcode_shlibpath_var=unsupported
5584 link_all_deplibs=unknown
5585 always_export_symbols=no
5586 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
5587 # include_expsyms should be a list of space-separated symbols to be *always*
5588 # included in the symbol list
5590 # exclude_expsyms can be an egrep regular expression of symbols to exclude
5591 # it will be wrapped by ` (' and `)$', so one must not match beginning or
5592 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
5593 # as well as any symbol that contains `d'.
5594 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
5595 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
5596 # platforms (ab)use it in PIC code, but their linkers get confused if
5597 # the symbol is explicitly referenced. Since portable code cannot
5598 # rely on this symbol name, it's probably fine to never include it in
5599 # preloaded symbol tables.
5600 extract_expsyms_cmds=
5603 cygwin* | mingw* | pw32*)
5604 # FIXME: the MSVC++ port hasn't been tested in a loooong time
5605 # When not using gcc, we currently assume that we are using
5606 # Microsoft Visual C++.
5607 if test "$GCC" != yes; then
5617 if test "$with_gnu_ld" = yes; then
5618 # If archive_cmds runs LD, not CC, wlarc should be empty
5621 # See if GNU ld supports shared libraries.
5623 aix3* | aix4* | aix5*)
5624 # On AIX, the GNU linker is very broken
5625 # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
5629 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
5630 *** to be unable to reliably create shared libraries on AIX.
5631 *** Therefore, libtool is disabling shared libraries support. If you
5632 *** really care for shared libraries, you may want to modify your PATH
5633 *** so that a non-GNU linker is found, and then restart.
5639 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)'
5640 hardcode_libdir_flag_spec='-L$libdir'
5641 hardcode_minus_L=yes
5643 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
5644 # that the semantics of dynamic libraries on AmigaOS, at least up
5645 # to version 4, is to share data among multiple programs linked
5646 # with the same dynamic library. Since this doesn't match the
5647 # behavior of shared libraries on other platforms, we can use
5653 if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
5654 allow_undefined_flag=unsupported
5655 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
5656 # support --undefined. This deserves some investigation. FIXME
5657 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5663 cygwin* | mingw* | pw32*)
5664 # hardcode_libdir_flag_spec is actually meaningless, as there is
5665 # no search path for DLLs.
5666 hardcode_libdir_flag_spec='-L$libdir'
5667 allow_undefined_flag=unsupported
5668 always_export_symbols=yes
5670 extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
5671 sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
5672 test -f $output_objdir/impgen.exe || (cd $output_objdir && \
5673 if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
5674 else $CC -o impgen impgen.c ; fi)~
5675 $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
5677 old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
5679 # cygwin and mingw dlls have different entry points and sets of symbols
5681 # FIXME: what about values for MSVC?
5682 dll_entry=__cygwin_dll_entry@12
5683 dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
5687 dll_entry=_DllMainCRTStartup@12
5688 dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
5692 # mingw and cygwin differ, and it's simplest to just exclude the union
5693 # of the two symbol sets.
5694 dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
5696 # recent cygwin and mingw systems supply a stub DllMain which the user
5697 # can override, but on older systems we have to supply one (in ltdll.c)
5698 if test "x$lt_cv_need_dllmain" = "xyes"; then
5699 ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
5700 ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~
5701 test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
5707 # Extract the symbol export list from an `--export-all' def file,
5708 # then regenerate the def file from the symbol export list, so that
5709 # the compiled dll only exports the symbol export list.
5710 # Be careful not to strip the DATA tag left be newer dlltools.
5711 export_symbols_cmds="$ltdll_cmds"'
5712 $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
5713 sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
5715 # If the export-symbols file already is a .def file (1st line
5716 # is EXPORTS), use it as is.
5717 # If DATA tags from a recent dlltool are present, honour them!
5718 archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then
5719 cp $export_symbols $output_objdir/$soname-def;
5721 echo EXPORTS > $output_objdir/$soname-def;
5723 cat $export_symbols | while read symbol; do
5726 2) echo " \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
5727 4) echo " \$2 \$3 \$4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;;
5728 *) echo " \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
5730 _lt_hint=`expr 1 + \$_lt_hint`;
5734 $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
5735 $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~
5736 $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
5737 $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~
5738 $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
5742 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
5743 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
5746 archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5747 archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
5752 if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
5756 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
5757 *** create shared libraries on Solaris systems. Therefore, libtool
5758 *** is disabling shared libraries support. We urge you to upgrade GNU
5759 *** binutils to release 2.9.1 or newer. Another option is to modify
5760 *** your PATH or compiler configuration so that the native linker is
5761 *** used, and then restart.
5764 elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
5765 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5766 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
5773 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5776 hardcode_shlibpath_var=no
5780 if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
5781 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5782 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
5789 if test "$ld_shlibs" = yes; then
5790 runpath_var=LD_RUN_PATH
5791 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
5792 export_dynamic_flag_spec='${wl}--export-dynamic'
5794 cygwin* | mingw* | pw32*)
5795 # dlltool doesn't understand --whole-archive et. al.
5796 whole_archive_flag_spec=
5799 # ancient GNU ld didn't support --whole-archive et. al.
5800 if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
5801 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
5803 whole_archive_flag_spec=
5809 # PORTME fill in a description of your system's linker (not GNU ld)
5812 allow_undefined_flag=unsupported
5813 always_export_symbols=yes
5814 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'
5815 # Note: this linker hardcodes the directories in LIBPATH if there
5816 # are no directories specified by -L.
5817 hardcode_minus_L=yes
5818 if test "$GCC" = yes && test -z "$link_static_flag"; then
5819 # Neither direct hardcoding nor static linking is supported with a
5821 hardcode_direct=unsupported
5826 if test "$host_cpu" = ia64; then
5827 # On IA64, the linker does run time linking by default, so we don't
5828 # have to do anything special.
5829 aix_use_runtimelinking=no
5830 exp_sym_flag='-Bexport'
5833 aix_use_runtimelinking=no
5835 # Test if we are trying to use run time linking or normal
5836 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
5837 # need to do runtime linking.
5838 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
5839 for ld_flag in $LDFLAGS; do
5842 aix_use_runtimelinking=yes
5849 exp_sym_flag='-bexport'
5850 no_entry_flag='-bnoentry'
5853 # When large executables or shared objects are built, AIX ld can
5854 # have problems creating the table of contents. If linking a library
5855 # or program results in "error TOC overflow" add -mminimal-toc to
5856 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
5857 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
5861 hardcode_libdir_separator=':'
5862 if test "$GCC" = yes; then
5863 case $host_os in aix4.[012]|aix4.[012].*)
5864 collect2name=`${CC} -print-prog-name=collect2`
5865 if test -f "$collect2name" && \
5866 strings "$collect2name" | grep resolve_lib_name >/dev/null
5868 # We have reworked collect2
5871 # We have old collect2
5872 hardcode_direct=unsupported
5873 # It fails to find uninstalled libraries when the uninstalled
5874 # path is not listed in the libpath. Setting hardcode_minus_L
5875 # to unsupported forces relinking
5876 hardcode_minus_L=yes
5877 hardcode_libdir_flag_spec='-L$libdir'
5878 hardcode_libdir_separator=
5882 shared_flag='-shared'
5885 if test "$host_cpu" = ia64; then
5886 shared_flag='${wl}-G'
5888 if test "$aix_use_runtimelinking" = yes; then
5889 shared_flag='${wl}-G'
5891 shared_flag='${wl}-bM:SRE'
5896 # It seems that -bexpall can do strange things, so it is better to
5897 # generate a list of symbols to export.
5898 always_export_symbols=yes
5899 if test "$aix_use_runtimelinking" = yes; then
5900 # Warning - without using the other runtime loading flags (-brtl),
5901 # -berok will link without error, but may produce a broken library.
5902 allow_undefined_flag='-berok'
5903 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
5904 archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
5906 if test "$host_cpu" = ia64; then
5907 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
5908 allow_undefined_flag="-z nodefs"
5909 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
5911 hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
5912 # Warning - without using the other run time loading flags,
5913 # -berok will link without error, but may produce a broken library.
5914 allow_undefined_flag='${wl}-berok'
5915 # This is a bit strange, but is similar to how AIX traditionally builds
5916 # it's shared libraries.
5917 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname'
5923 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)'
5924 hardcode_libdir_flag_spec='-L$libdir'
5925 hardcode_minus_L=yes
5926 # see comment about different semantics on the GNU ld section
5930 cygwin* | mingw* | pw32*)
5931 # When not using gcc, we currently assume that we are using
5932 # Microsoft Visual C++.
5933 # hardcode_libdir_flag_spec is actually meaningless, as there is
5934 # no search path for DLLs.
5935 hardcode_libdir_flag_spec=' '
5936 allow_undefined_flag=unsupported
5937 # Tell ltmain to make .lib files, not .a files.
5939 # FIXME: Setting linknames here is a bad hack.
5940 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
5941 # The linker will automatically build a .lib file if we build a DLL.
5942 old_archive_from_new_cmds='true'
5943 # FIXME: Should let the user specify the lib program.
5944 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
5945 fix_srcfile_path='`cygpath -w "$srcfile"`'
5948 darwin* | rhapsody*)
5950 rhapsody* | darwin1.[012])
5951 allow_undefined_flag='-undefined suppress'
5954 allow_undefined_flag='-flat_namespace -undefined suppress'
5957 # FIXME: Relying on posixy $() will cause problems for
5958 # cross-compilation, but unfortunately the echo tests do not
5959 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
5960 # `"' quotes if we put them in here... so don't!
5961 archive_cmds='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs && $CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib ${lib}-master.o $deplibs$linker_flags $(test .$module != .yes && echo -install_name $rpath/$soname $verstring)'
5962 # We need to add '_' to the symbols in $export_symbols first
5963 #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
5965 hardcode_shlibpath_var=no
5966 whole_archive_flag_spec='-all_load $convenience'
5973 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
5974 # support. Future versions do this automatically, but an explicit c++rt0.o
5975 # does not break anything, and helps significantly (at the cost of a little
5978 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
5979 hardcode_libdir_flag_spec='-R$libdir'
5981 hardcode_shlibpath_var=no
5984 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
5986 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5988 hardcode_minus_L=yes
5989 hardcode_shlibpath_var=no
5992 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
5994 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
5995 hardcode_libdir_flag_spec='-R$libdir'
5997 hardcode_shlibpath_var=no
6000 hpux9* | hpux10* | hpux11*)
6002 hpux9*) 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' ;;
6003 *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
6005 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
6006 hardcode_libdir_separator=:
6008 hardcode_minus_L=yes # Not in the search PATH, but as the default
6009 # location of the library.
6010 export_dynamic_flag_spec='${wl}-E'
6013 irix5* | irix6* | nonstopux*)
6014 if test "$GCC" = yes; then
6015 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
6016 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
6018 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
6019 hardcode_libdir_flag_spec='-rpath $libdir'
6021 hardcode_libdir_separator=:
6022 link_all_deplibs=yes
6026 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6027 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
6029 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
6031 hardcode_libdir_flag_spec='-R$libdir'
6033 hardcode_shlibpath_var=no
6037 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6039 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
6040 hardcode_libdir_separator=:
6041 hardcode_shlibpath_var=no
6046 hardcode_shlibpath_var=no
6047 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6048 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
6049 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
6050 export_dynamic_flag_spec='${wl}-E'
6053 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
6054 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6055 hardcode_libdir_flag_spec='-R$libdir'
6058 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
6059 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
6066 hardcode_libdir_flag_spec='-L$libdir'
6067 hardcode_minus_L=yes
6068 allow_undefined_flag=unsupported
6069 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'
6070 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
6074 if test "$GCC" = yes; then
6075 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
6076 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
6078 allow_undefined_flag=' -expect_unresolved \*'
6079 archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
6081 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
6082 hardcode_libdir_separator=:
6085 osf4* | osf5*) # as osf3* with the addition of -msym flag
6086 if test "$GCC" = yes; then
6087 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
6088 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
6089 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
6091 allow_undefined_flag=' -expect_unresolved \*'
6092 archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
6093 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
6094 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
6096 #Both c and cxx compiler support -rpath directly
6097 hardcode_libdir_flag_spec='-rpath $libdir'
6099 hardcode_libdir_separator=:
6103 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6104 hardcode_shlibpath_var=no
6105 runpath_var=LD_RUN_PATH
6106 hardcode_runpath_var=yes
6107 export_dynamic_flag_spec='${wl}-Bexport'
6111 # gcc --version < 3.0 without binutils cannot create self contained
6112 # shared libraries reliably, requiring libgcc.a to resolve some of
6113 # the object symbols generated in some cases. Libraries that use
6114 # assert need libgcc.a to resolve __eprintf, for example. Linking
6115 # a copy of libgcc.a into every shared library to guarantee resolving
6116 # such symbols causes other problems: According to Tim Van Holder
6117 # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
6118 # (to the application) exception stack for one thing.
6119 no_undefined_flag=' -z defs'
6120 if test "$GCC" = yes; then
6121 case `$CC --version 2>/dev/null` in
6125 *** Warning: Releases of GCC earlier than version 3.0 cannot reliably
6126 *** create self contained shared libraries on Solaris systems, without
6127 *** introducing a dependency on libgcc.a. Therefore, libtool is disabling
6128 *** -no-undefined support, which will at least allow you to build shared
6129 *** libraries. However, you may find that when you link such libraries
6130 *** into an application without using GCC, you have to manually add
6131 *** \`gcc --print-libgcc-file-name\` to the link command. We urge you to
6132 *** upgrade to a newer version of GCC. Another option is to rebuild your
6133 *** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
6140 # $CC -shared without GNU ld will not create a library from C++
6141 # object files and a static libstdc++, better avoid it by now
6142 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
6143 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6144 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
6145 hardcode_libdir_flag_spec='-R$libdir'
6146 hardcode_shlibpath_var=no
6148 solaris2.[0-5] | solaris2.[0-5].*) ;;
6149 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
6150 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
6152 link_all_deplibs=yes
6156 if test "x$host_vendor" = xsequent; then
6157 # Use $CC to link under sequent, because it throws in some extra .o
6158 # files that make .init and .fini sections work.
6159 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
6161 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
6163 hardcode_libdir_flag_spec='-L$libdir'
6165 hardcode_minus_L=yes
6166 hardcode_shlibpath_var=no
6170 case $host_vendor in
6172 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6173 hardcode_direct=yes # is this really true???
6176 ## LD is ld it makes a PLAMLIB
6177 ## CC just makes a GrossModule.
6178 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
6179 reload_cmds='$CC -r -o $output$reload_objs'
6183 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6184 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
6187 runpath_var='LD_RUN_PATH'
6188 hardcode_shlibpath_var=no
6192 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6193 hardcode_shlibpath_var=no
6194 export_dynamic_flag_spec='-Bexport'
6198 no_undefined_flag=' -z text'
6199 # $CC -shared without GNU ld will not create a library from C++
6200 # object files and a static libstdc++, better avoid it by now
6201 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
6202 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6203 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
6204 hardcode_libdir_flag_spec=
6205 hardcode_shlibpath_var=no
6206 runpath_var='LD_RUN_PATH'
6210 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6211 hardcode_libdir_flag_spec='-L$libdir'
6212 hardcode_shlibpath_var=no
6216 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6217 hardcode_libdir_flag_spec='-L$libdir'
6218 hardcode_shlibpath_var=no
6222 if test -d /usr/nec; then
6223 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6224 hardcode_shlibpath_var=no
6225 runpath_var=LD_RUN_PATH
6226 hardcode_runpath_var=yes
6232 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
6235 hardcode_shlibpath_var=no
6236 hardcode_runpath_var=yes
6237 runpath_var=LD_RUN_PATH
6240 sysv5uw7* | unixware7*)
6241 no_undefined_flag='${wl}-z ${wl}text'
6242 if test "$GCC" = yes; then
6243 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6245 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6247 runpath_var='LD_RUN_PATH'
6248 hardcode_shlibpath_var=no
6256 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
6257 echo "${ECHO_T}$ld_shlibs" >&6
6258 test "$ld_shlibs" = no && can_build_shared=no
6260 # Check hardcoding attributes.
6261 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
6262 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
6264 if test -n "$hardcode_libdir_flag_spec" || \
6265 test -n "$runpath_var"; then
6267 # We can hardcode non-existant directories.
6268 if test "$hardcode_direct" != no &&
6269 # If the only mechanism to avoid hardcoding is shlibpath_var, we
6270 # have to relink, otherwise we might link with an installed library
6271 # when we should be linking with a yet-to-be-installed one
6272 ## test "$hardcode_shlibpath_var" != no &&
6273 test "$hardcode_minus_L" != no; then
6274 # Linking always hardcodes the temporary library directory.
6275 hardcode_action=relink
6277 # We can link without hardcoding, and we can hardcode nonexisting dirs.
6278 hardcode_action=immediate
6281 # We cannot hardcode anything, or else we can only hardcode existing
6283 hardcode_action=unsupported
6285 echo "$as_me:$LINENO: result: $hardcode_action" >&5
6286 echo "${ECHO_T}$hardcode_action" >&6
6290 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
6291 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
6292 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
6293 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
6294 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
6295 echo "$as_me:$LINENO: result: yes" >&5
6296 echo "${ECHO_T}yes" >&6
6298 echo "$as_me:$LINENO: result: no" >&5
6299 echo "${ECHO_T}no" >&6
6302 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6303 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6305 # PORTME Fill in your ld.so characteristics
6306 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
6307 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
6309 libname_spec='lib$name'
6316 shlibpath_overrides_runpath=unknown
6318 dynamic_linker="$host_os ld.so"
6319 sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/X11R6/lib"
6320 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib /usr/X11R6/lib"
6325 library_names_spec='${libname}${release}.so$versuffix $libname.a'
6326 shlibpath_var=LIBPATH
6328 # AIX has no versioning support, so we append a major version to the name.
6329 soname_spec='${libname}${release}.so$major'
6336 hardcode_into_libs=yes
6337 if test "$host_cpu" = ia64; then
6338 # AIX 5 supports IA64
6339 library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
6340 shlibpath_var=LD_LIBRARY_PATH
6342 # With GCC up to 2.95.x, collect2 would create an import file
6343 # for dependence libraries. The import file would start with
6344 # the line `#! .'. This would cause the generated library to
6345 # depend on `.', always an invalid library. This was fixed in
6346 # development snapshots of GCC prior to 3.0.
6348 aix4 | aix4.[01] | aix4.[01].*)
6349 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
6351 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
6358 # AIX (on Power*) has no versioning support, so currently we can
6359 # not hardcode correct soname into executable. Probably we can
6360 # add versioning support to collect2, so additional links can
6361 # be useful in future.
6362 if test "$aix_use_runtimelinking" = yes; then
6363 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
6364 # instead of lib<name>.a to let people know that these are not
6365 # typical AIX shared libraries.
6366 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6368 # We preserve .a as extension for shared libraries through AIX4.2
6369 # and later when we are not doing run time linking.
6370 library_names_spec='${libname}${release}.a $libname.a'
6371 soname_spec='${libname}${release}.so$major'
6373 shlibpath_var=LIBPATH
6375 hardcode_into_libs=yes
6379 library_names_spec='$libname.ixlibrary $libname.a'
6380 # Create ${libname}_ixlibrary.a entries in /sys/libs.
6381 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
6385 library_names_spec='${libname}.so'
6386 dynamic_linker="$host_os ld.so"
6387 shlibpath_var=LIBRARY_PATH
6393 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6394 soname_spec='${libname}${release}.so$major'
6395 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
6396 shlibpath_var=LD_LIBRARY_PATH
6397 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
6398 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
6399 export_dynamic_flag_spec=-rdynamic
6400 # the default ld.so.conf also contains /usr/contrib/lib and
6401 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
6402 # libtool to hard-code these into programs
6405 cygwin* | mingw* | pw32*)
6406 version_type=windows
6409 case $GCC,$host_os in
6411 library_names_spec='$libname.dll.a'
6412 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
6413 postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
6414 dldir=$destdir/`dirname \$dlpath`~
6415 test -d \$dldir || mkdir -p \$dldir~
6416 $install_prog .libs/$dlname \$dldir/$dlname'
6417 postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
6418 dlpath=$dir/\$dldll~
6422 library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
6423 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"`
6426 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll'
6429 library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib'
6432 dynamic_linker='Win32 ld.exe'
6433 # FIXME: first we should search . and the directory the executable is in
6437 darwin* | rhapsody*)
6438 dynamic_linker="$host_os dyld"
6442 # FIXME: Relying on posixy $() will cause problems for
6443 # cross-compilation, but unfortunately the echo tests do not
6444 # yet detect zsh echo's removal of \ escapes.
6445 library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)'
6446 soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
6447 shlibpath_overrides_runpath=yes
6448 shlibpath_var=DYLD_LIBRARY_PATH
6456 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
6457 version_type=freebsd-$objformat
6458 case $version_type in
6460 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
6465 library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
6469 shlibpath_var=LD_LIBRARY_PATH
6472 shlibpath_overrides_runpath=yes
6475 shlibpath_overrides_runpath=no
6476 hardcode_into_libs=yes
6485 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
6486 soname_spec='${libname}${release}.so$major'
6487 shlibpath_var=LD_LIBRARY_PATH
6488 hardcode_into_libs=yes
6491 hpux9* | hpux10* | hpux11*)
6492 # Give a soname corresponding to the major version so that dld.sl refuses to
6493 # link against other versions.
6494 dynamic_linker="$host_os dld.sl"
6498 shlibpath_var=SHLIB_PATH
6499 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
6500 library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
6501 soname_spec='${libname}${release}.sl$major'
6502 # HP-UX runs *really* slowly unless shared libraries are mode 555.
6503 postinstall_cmds='chmod 555 $lib'
6506 irix5* | irix6* | nonstopux*)
6508 nonstopux*) version_type=nonstopux ;;
6509 *) version_type=irix ;;
6513 soname_spec='${libname}${release}.so$major'
6514 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
6516 irix5* | nonstopux*)
6520 case $LD in # libtool.m4 will add one of these switches to LD
6521 *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
6522 *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
6523 *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
6524 *) libsuff= shlibsuff= libmagic=never-match;;
6528 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
6529 shlibpath_overrides_runpath=no
6530 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
6531 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
6534 # No shared lib support for Linux oldld, aout, or coff.
6535 linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
6539 # This must be Linux ELF.
6544 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6545 soname_spec='${libname}${release}.so$major'
6546 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
6547 shlibpath_var=LD_LIBRARY_PATH
6548 shlibpath_overrides_runpath=no
6549 # This implies no fast_install, which is unacceptable.
6550 # Some rework will be needed to allow for fast_install
6551 # before this can be enabled.
6552 hardcode_into_libs=yes
6554 case $host_cpu:$lt_cv_cc_64bit_output in
6555 powerpc64:yes | s390x:yes | sparc64:yes | x86_64:yes)
6556 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /usr/X11R6/lib64"
6557 sys_lib_search_path_spec="/lib64 /usr/lib64 /usr/local/lib64 /usr/X11R6/lib64"
6561 # We used to test for /lib/ld.so.1 and disable shared libraries on
6562 # powerpc, because MkLinux only supported shared libraries with the
6563 # GNU dynamic linker. Since this was broken with cross compilers,
6564 # most powerpc-linux boxes support dynamic linking these days and
6565 # people can always --disable-shared, the test was removed, and we
6566 # assume the GNU/Linux dynamic linker is in use.
6567 dynamic_linker='GNU/Linux ld.so'
6569 # Find out which ABI we are using (multilib Linux x86_64 hack).
6573 echo '#line 6573 "configure"' > conftest.$ac_ext
6574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6575 (eval $ac_compile) 2>&5
6577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6578 (exit $ac_status); }; then
6579 case `/usr/bin/file conftest.$ac_objext` in
6590 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
6591 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
6598 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6599 library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
6600 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6601 dynamic_linker='NetBSD (a.out) ld.so'
6603 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
6604 soname_spec='${libname}${release}.so$major'
6605 dynamic_linker='NetBSD ld.elf_so'
6607 shlibpath_var=LD_LIBRARY_PATH
6608 shlibpath_overrides_runpath=yes
6609 hardcode_into_libs=yes
6614 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6615 shlibpath_var=LD_LIBRARY_PATH
6616 shlibpath_overrides_runpath=yes
6623 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6625 openbsd2.[89] | openbsd2.[89].*)
6626 shlibpath_overrides_runpath=no
6629 shlibpath_overrides_runpath=yes
6633 shlibpath_overrides_runpath=yes
6635 library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
6636 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6637 shlibpath_var=LD_LIBRARY_PATH
6641 libname_spec='$name'
6643 library_names_spec='$libname.dll $libname.a'
6644 dynamic_linker='OS/2 ld.exe'
6645 shlibpath_var=LIBPATH
6648 osf3* | osf4* | osf5*)
6651 soname_spec='${libname}${release}.so$major'
6652 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6653 shlibpath_var=LD_LIBRARY_PATH
6654 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
6655 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
6656 hardcode_into_libs=yes
6661 soname_spec='${libname}${release}.so$major'
6662 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6663 shlibpath_var=LD_LIBRARY_PATH
6670 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6671 soname_spec='${libname}${release}.so$major'
6672 shlibpath_var=LD_LIBRARY_PATH
6673 shlibpath_overrides_runpath=yes
6674 hardcode_into_libs=yes
6675 # ldd complains unless libraries are executable
6676 postinstall_cmds='chmod +x $lib'
6681 library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
6682 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
6683 shlibpath_var=LD_LIBRARY_PATH
6684 shlibpath_overrides_runpath=yes
6685 if test "$with_gnu_ld" = yes; then
6691 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6693 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6694 soname_spec='${libname}${release}.so$major'
6695 shlibpath_var=LD_LIBRARY_PATH
6696 case $host_vendor in
6698 shlibpath_overrides_runpath=no
6700 export_dynamic_flag_spec='${wl}-Blargedynsym'
6701 runpath_var=LD_RUN_PATH
6709 shlibpath_overrides_runpath=no
6710 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
6717 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6718 soname_spec='${libname}${release}.so$major'
6719 shlibpath_var=LD_LIBRARY_PATH
6726 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6727 soname_spec='${libname}${release}.so$major'
6728 shlibpath_var=LD_LIBRARY_PATH
6732 if test -d /usr/nec ;then
6734 library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
6735 soname_spec='$libname.so.$major'
6736 shlibpath_var=LD_LIBRARY_PATH
6744 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
6745 echo "${ECHO_T}$dynamic_linker" >&6
6746 test "$dynamic_linker" = no && can_build_shared=no
6748 # Report the final consequences.
6749 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
6750 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
6751 echo "$as_me:$LINENO: result: $can_build_shared" >&5
6752 echo "${ECHO_T}$can_build_shared" >&6
6754 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
6755 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
6756 test "$can_build_shared" = "no" && enable_shared=no
6758 # On AIX, shared libraries and static libraries use the same namespace, and
6759 # are all built from PIC.
6762 test "$enable_shared" = yes && enable_static=no
6763 if test -n "$RANLIB"; then
6764 archive_cmds="$archive_cmds~\$RANLIB \$lib"
6765 postinstall_cmds='$RANLIB $lib'
6770 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
6771 test "$enable_shared" = yes && enable_static=no
6775 echo "$as_me:$LINENO: result: $enable_shared" >&5
6776 echo "${ECHO_T}$enable_shared" >&6
6778 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
6779 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
6780 # Make sure either enable_shared or enable_static is yes.
6781 test "$enable_shared" = yes || enable_static=yes
6782 echo "$as_me:$LINENO: result: $enable_static" >&5
6783 echo "${ECHO_T}$enable_static" >&6
6785 if test "$hardcode_action" = relink; then
6786 # Fast installation is not supported
6787 enable_fast_install=no
6788 elif test "$shlibpath_overrides_runpath" = yes ||
6789 test "$enable_shared" = no; then
6790 # Fast installation is not necessary
6791 enable_fast_install=needless
6794 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
6795 if test "$GCC" = yes; then
6796 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
6799 if test "x$enable_dlopen" != xyes; then
6800 enable_dlopen=unknown
6801 enable_dlopen_self=unknown
6802 enable_dlopen_self_static=unknown
6809 lt_cv_dlopen="load_add_on"
6811 lt_cv_dlopen_self=yes
6814 cygwin* | mingw* | pw32*)
6815 lt_cv_dlopen="LoadLibrary"
6820 echo "$as_me:$LINENO: checking for shl_load" >&5
6821 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
6822 if test "${ac_cv_func_shl_load+set}" = set; then
6823 echo $ECHO_N "(cached) $ECHO_C" >&6
6825 cat >conftest.$ac_ext <<_ACEOF
6828 cat confdefs.h >>conftest.$ac_ext
6829 cat >>conftest.$ac_ext <<_ACEOF
6830 /* end confdefs.h. */
6831 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
6832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6833 #define shl_load innocuous_shl_load
6835 /* System header to define __stub macros and hopefully few prototypes,
6836 which can conflict with char shl_load (); below.
6837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6838 <limits.h> exists even on freestanding compilers. */
6841 # include <limits.h>
6843 # include <assert.h>
6848 /* Override any gcc2 internal prototype to avoid an error. */
6853 /* We use char because int might match the return type of a gcc2
6854 builtin and then its argument prototype would still apply. */
6856 /* The GNU C library defines this for functions which it implements
6857 to always fail with ENOSYS. Some functions are actually named
6858 something starting with __ and the normal name is an alias. */
6859 #if defined (__stub_shl_load) || defined (__stub___shl_load)
6862 char (*f) () = shl_load;
6871 return f != shl_load;
6876 rm -f conftest.$ac_objext conftest$ac_exeext
6877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6878 (eval $ac_link) 2>conftest.er1
6880 grep -v '^ *+' conftest.er1 >conftest.err
6882 cat conftest.err >&5
6883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6884 (exit $ac_status); } &&
6885 { ac_try='test -z "$ac_c_werror_flag"
6886 || test ! -s conftest.err'
6887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6891 (exit $ac_status); }; } &&
6892 { ac_try='test -s conftest$ac_exeext'
6893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6897 (exit $ac_status); }; }; then
6898 ac_cv_func_shl_load=yes
6900 echo "$as_me: failed program was:" >&5
6901 sed 's/^/| /' conftest.$ac_ext >&5
6903 ac_cv_func_shl_load=no
6905 rm -f conftest.err conftest.$ac_objext \
6906 conftest$ac_exeext conftest.$ac_ext
6908 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
6909 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
6910 if test $ac_cv_func_shl_load = yes; then
6911 lt_cv_dlopen="shl_load"
6913 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
6914 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
6915 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
6916 echo $ECHO_N "(cached) $ECHO_C" >&6
6918 ac_check_lib_save_LIBS=$LIBS
6920 cat >conftest.$ac_ext <<_ACEOF
6923 cat confdefs.h >>conftest.$ac_ext
6924 cat >>conftest.$ac_ext <<_ACEOF
6925 /* end confdefs.h. */
6927 /* Override any gcc2 internal prototype to avoid an error. */
6931 /* We use char because int might match the return type of a gcc2
6932 builtin and then its argument prototype would still apply. */
6942 rm -f conftest.$ac_objext conftest$ac_exeext
6943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6944 (eval $ac_link) 2>conftest.er1
6946 grep -v '^ *+' conftest.er1 >conftest.err
6948 cat conftest.err >&5
6949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6950 (exit $ac_status); } &&
6951 { ac_try='test -z "$ac_c_werror_flag"
6952 || test ! -s conftest.err'
6953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6957 (exit $ac_status); }; } &&
6958 { ac_try='test -s conftest$ac_exeext'
6959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6963 (exit $ac_status); }; }; then
6964 ac_cv_lib_dld_shl_load=yes
6966 echo "$as_me: failed program was:" >&5
6967 sed 's/^/| /' conftest.$ac_ext >&5
6969 ac_cv_lib_dld_shl_load=no
6971 rm -f conftest.err conftest.$ac_objext \
6972 conftest$ac_exeext conftest.$ac_ext
6973 LIBS=$ac_check_lib_save_LIBS
6975 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
6976 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
6977 if test $ac_cv_lib_dld_shl_load = yes; then
6978 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
6980 echo "$as_me:$LINENO: checking for dlopen" >&5
6981 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
6982 if test "${ac_cv_func_dlopen+set}" = set; then
6983 echo $ECHO_N "(cached) $ECHO_C" >&6
6985 cat >conftest.$ac_ext <<_ACEOF
6988 cat confdefs.h >>conftest.$ac_ext
6989 cat >>conftest.$ac_ext <<_ACEOF
6990 /* end confdefs.h. */
6991 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
6992 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6993 #define dlopen innocuous_dlopen
6995 /* System header to define __stub macros and hopefully few prototypes,
6996 which can conflict with char dlopen (); below.
6997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6998 <limits.h> exists even on freestanding compilers. */
7001 # include <limits.h>
7003 # include <assert.h>
7008 /* Override any gcc2 internal prototype to avoid an error. */
7013 /* We use char because int might match the return type of a gcc2
7014 builtin and then its argument prototype would still apply. */
7016 /* The GNU C library defines this for functions which it implements
7017 to always fail with ENOSYS. Some functions are actually named
7018 something starting with __ and the normal name is an alias. */
7019 #if defined (__stub_dlopen) || defined (__stub___dlopen)
7022 char (*f) () = dlopen;
7036 rm -f conftest.$ac_objext conftest$ac_exeext
7037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7038 (eval $ac_link) 2>conftest.er1
7040 grep -v '^ *+' conftest.er1 >conftest.err
7042 cat conftest.err >&5
7043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7044 (exit $ac_status); } &&
7045 { ac_try='test -z "$ac_c_werror_flag"
7046 || test ! -s conftest.err'
7047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7051 (exit $ac_status); }; } &&
7052 { ac_try='test -s conftest$ac_exeext'
7053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7057 (exit $ac_status); }; }; then
7058 ac_cv_func_dlopen=yes
7060 echo "$as_me: failed program was:" >&5
7061 sed 's/^/| /' conftest.$ac_ext >&5
7063 ac_cv_func_dlopen=no
7065 rm -f conftest.err conftest.$ac_objext \
7066 conftest$ac_exeext conftest.$ac_ext
7068 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
7069 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
7070 if test $ac_cv_func_dlopen = yes; then
7071 lt_cv_dlopen="dlopen"
7073 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
7074 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
7075 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
7076 echo $ECHO_N "(cached) $ECHO_C" >&6
7078 ac_check_lib_save_LIBS=$LIBS
7080 cat >conftest.$ac_ext <<_ACEOF
7083 cat confdefs.h >>conftest.$ac_ext
7084 cat >>conftest.$ac_ext <<_ACEOF
7085 /* end confdefs.h. */
7087 /* Override any gcc2 internal prototype to avoid an error. */
7091 /* We use char because int might match the return type of a gcc2
7092 builtin and then its argument prototype would still apply. */
7102 rm -f conftest.$ac_objext conftest$ac_exeext
7103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7104 (eval $ac_link) 2>conftest.er1
7106 grep -v '^ *+' conftest.er1 >conftest.err
7108 cat conftest.err >&5
7109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7110 (exit $ac_status); } &&
7111 { ac_try='test -z "$ac_c_werror_flag"
7112 || test ! -s conftest.err'
7113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7117 (exit $ac_status); }; } &&
7118 { ac_try='test -s conftest$ac_exeext'
7119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7123 (exit $ac_status); }; }; then
7124 ac_cv_lib_dl_dlopen=yes
7126 echo "$as_me: failed program was:" >&5
7127 sed 's/^/| /' conftest.$ac_ext >&5
7129 ac_cv_lib_dl_dlopen=no
7131 rm -f conftest.err conftest.$ac_objext \
7132 conftest$ac_exeext conftest.$ac_ext
7133 LIBS=$ac_check_lib_save_LIBS
7135 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
7136 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
7137 if test $ac_cv_lib_dl_dlopen = yes; then
7138 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
7140 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
7141 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
7142 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
7143 echo $ECHO_N "(cached) $ECHO_C" >&6
7145 ac_check_lib_save_LIBS=$LIBS
7147 cat >conftest.$ac_ext <<_ACEOF
7150 cat confdefs.h >>conftest.$ac_ext
7151 cat >>conftest.$ac_ext <<_ACEOF
7152 /* end confdefs.h. */
7154 /* Override any gcc2 internal prototype to avoid an error. */
7158 /* We use char because int might match the return type of a gcc2
7159 builtin and then its argument prototype would still apply. */
7169 rm -f conftest.$ac_objext conftest$ac_exeext
7170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7171 (eval $ac_link) 2>conftest.er1
7173 grep -v '^ *+' conftest.er1 >conftest.err
7175 cat conftest.err >&5
7176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7177 (exit $ac_status); } &&
7178 { ac_try='test -z "$ac_c_werror_flag"
7179 || test ! -s conftest.err'
7180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7184 (exit $ac_status); }; } &&
7185 { ac_try='test -s conftest$ac_exeext'
7186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7190 (exit $ac_status); }; }; then
7191 ac_cv_lib_svld_dlopen=yes
7193 echo "$as_me: failed program was:" >&5
7194 sed 's/^/| /' conftest.$ac_ext >&5
7196 ac_cv_lib_svld_dlopen=no
7198 rm -f conftest.err conftest.$ac_objext \
7199 conftest$ac_exeext conftest.$ac_ext
7200 LIBS=$ac_check_lib_save_LIBS
7202 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
7203 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
7204 if test $ac_cv_lib_svld_dlopen = yes; then
7205 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
7207 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
7208 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
7209 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
7210 echo $ECHO_N "(cached) $ECHO_C" >&6
7212 ac_check_lib_save_LIBS=$LIBS
7214 cat >conftest.$ac_ext <<_ACEOF
7217 cat confdefs.h >>conftest.$ac_ext
7218 cat >>conftest.$ac_ext <<_ACEOF
7219 /* end confdefs.h. */
7221 /* Override any gcc2 internal prototype to avoid an error. */
7225 /* We use char because int might match the return type of a gcc2
7226 builtin and then its argument prototype would still apply. */
7236 rm -f conftest.$ac_objext conftest$ac_exeext
7237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7238 (eval $ac_link) 2>conftest.er1
7240 grep -v '^ *+' conftest.er1 >conftest.err
7242 cat conftest.err >&5
7243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7244 (exit $ac_status); } &&
7245 { ac_try='test -z "$ac_c_werror_flag"
7246 || test ! -s conftest.err'
7247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7251 (exit $ac_status); }; } &&
7252 { ac_try='test -s conftest$ac_exeext'
7253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7257 (exit $ac_status); }; }; then
7258 ac_cv_lib_dld_dld_link=yes
7260 echo "$as_me: failed program was:" >&5
7261 sed 's/^/| /' conftest.$ac_ext >&5
7263 ac_cv_lib_dld_dld_link=no
7265 rm -f conftest.err conftest.$ac_objext \
7266 conftest$ac_exeext conftest.$ac_ext
7267 LIBS=$ac_check_lib_save_LIBS
7269 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
7270 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
7271 if test $ac_cv_lib_dld_dld_link = yes; then
7272 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
7293 if test "x$lt_cv_dlopen" != xno; then
7299 case $lt_cv_dlopen in
7301 save_CPPFLAGS="$CPPFLAGS"
7302 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
7304 save_LDFLAGS="$LDFLAGS"
7305 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
7308 LIBS="$lt_cv_dlopen_libs $LIBS"
7310 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
7311 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
7312 if test "${lt_cv_dlopen_self+set}" = set; then
7313 echo $ECHO_N "(cached) $ECHO_C" >&6
7315 if test "$cross_compiling" = yes; then :
7316 lt_cv_dlopen_self=cross
7318 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7319 lt_status=$lt_dlunknown
7320 cat > conftest.$ac_ext <<EOF
7321 #line 7321 "configure"
7322 #include "confdefs.h"
7331 # define LT_DLGLOBAL RTLD_GLOBAL
7334 # define LT_DLGLOBAL DL_GLOBAL
7336 # define LT_DLGLOBAL 0
7340 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
7341 find out it does not work in some platform. */
7342 #ifndef LT_DLLAZY_OR_NOW
7344 # define LT_DLLAZY_OR_NOW RTLD_LAZY
7347 # define LT_DLLAZY_OR_NOW DL_LAZY
7350 # define LT_DLLAZY_OR_NOW RTLD_NOW
7353 # define LT_DLLAZY_OR_NOW DL_NOW
7355 # define LT_DLLAZY_OR_NOW 0
7363 extern "C" void exit (int);
7366 void fnord() { int i=42;}
7369 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
7370 int status = $lt_dlunknown;
7374 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
7375 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
7376 /* dlclose (self); */
7382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7383 (eval $ac_link) 2>&5
7385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7386 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
7387 (./conftest; exit; ) 2>/dev/null
7390 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
7391 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
7392 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
7395 # compilation failed
7396 lt_cv_dlopen_self=no
7403 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
7404 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
7406 if test "x$lt_cv_dlopen_self" = xyes; then
7407 LDFLAGS="$LDFLAGS $link_static_flag"
7408 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
7409 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
7410 if test "${lt_cv_dlopen_self_static+set}" = set; then
7411 echo $ECHO_N "(cached) $ECHO_C" >&6
7413 if test "$cross_compiling" = yes; then :
7414 lt_cv_dlopen_self_static=cross
7416 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7417 lt_status=$lt_dlunknown
7418 cat > conftest.$ac_ext <<EOF
7419 #line 7419 "configure"
7420 #include "confdefs.h"
7429 # define LT_DLGLOBAL RTLD_GLOBAL
7432 # define LT_DLGLOBAL DL_GLOBAL
7434 # define LT_DLGLOBAL 0
7438 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
7439 find out it does not work in some platform. */
7440 #ifndef LT_DLLAZY_OR_NOW
7442 # define LT_DLLAZY_OR_NOW RTLD_LAZY
7445 # define LT_DLLAZY_OR_NOW DL_LAZY
7448 # define LT_DLLAZY_OR_NOW RTLD_NOW
7451 # define LT_DLLAZY_OR_NOW DL_NOW
7453 # define LT_DLLAZY_OR_NOW 0
7461 extern "C" void exit (int);
7464 void fnord() { int i=42;}
7467 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
7468 int status = $lt_dlunknown;
7472 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
7473 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
7474 /* dlclose (self); */
7480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7481 (eval $ac_link) 2>&5
7483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7484 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
7485 (./conftest; exit; ) 2>/dev/null
7488 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
7489 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
7490 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
7493 # compilation failed
7494 lt_cv_dlopen_self_static=no
7501 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
7502 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
7505 CPPFLAGS="$save_CPPFLAGS"
7506 LDFLAGS="$save_LDFLAGS"
7511 case $lt_cv_dlopen_self in
7512 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
7513 *) enable_dlopen_self=unknown ;;
7516 case $lt_cv_dlopen_self_static in
7517 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
7518 *) enable_dlopen_self_static=unknown ;;
7523 if test "$enable_shared" = yes && test "$GCC" = yes; then
7524 case $archive_cmds in
7526 # FIXME: we may have to deal with multi-command sequences.
7529 # Test whether the compiler implicitly links with -lc since on some
7530 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7531 # to ld, don't add -lc before -lgcc.
7532 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7533 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7534 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
7535 echo $ECHO_N "(cached) $ECHO_C" >&6
7538 echo 'static int dummy;' > conftest.$ac_ext
7540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7541 (eval $ac_compile) 2>&5
7543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7544 (exit $ac_status); }; then
7547 libobjs=conftest.$ac_objext
7549 wl=$lt_cv_prog_cc_wl
7555 save_allow_undefined_flag=$allow_undefined_flag
7556 allow_undefined_flag=
7557 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7558 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7561 (exit $ac_status); }
7563 lt_cv_archive_cmds_need_lc=no
7565 lt_cv_archive_cmds_need_lc=yes
7567 allow_undefined_flag=$save_allow_undefined_flag
7569 cat conftest.err 1>&5
7573 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
7574 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
7578 need_lc=${lt_cv_archive_cmds_need_lc-yes}
7580 # The second clause should only fire when bootstrapping the
7581 # libtool distribution, otherwise you forgot to ship ltmain.sh
7582 # with your package, and you will get complaints that there are
7583 # no rules to generate ltmain.sh.
7584 if test -f "$ltmain"; then
7587 # If there is no Makefile yet, we rely on a make rule to execute
7588 # `config.status --recheck' to rerun these tests and create the
7589 # libtool script then.
7590 test -f Makefile && make "$ltmain"
7593 if test -f "$ltmain"; then
7594 trap "$rm \"${ofile}T\"; exit 1" 1 2 15
7597 echo creating $ofile
7599 # Now quote all the things that may contain metacharacters while being
7600 # careful not to overquote the AC_SUBSTed values. We take copies of the
7601 # variables and quote the copies for generation of the libtool script.
7602 for var in echo old_CC old_CFLAGS SED \
7603 AR AR_FLAGS CC LD LN_S NM SHELL \
7604 reload_flag reload_cmds wl \
7605 pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
7606 thread_safe_flag_spec whole_archive_flag_spec libname_spec \
7607 library_names_spec soname_spec \
7608 RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
7609 old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
7610 postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
7611 old_striplib striplib file_magic_cmd export_symbols_cmds \
7612 deplibs_check_method allow_undefined_flag no_undefined_flag \
7613 finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
7614 global_symbol_to_c_name_address \
7615 hardcode_libdir_flag_spec hardcode_libdir_separator \
7616 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
7617 compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
7620 reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
7621 old_postinstall_cmds | old_postuninstall_cmds | \
7622 export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
7623 extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
7624 postinstall_cmds | postuninstall_cmds | \
7625 finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
7626 # Double-quote double-evaled strings.
7627 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
7630 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
7635 cat <<__EOF__ > "${ofile}T"
7638 # `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
7639 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
7640 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
7642 # Copyright (C) 1996-2000 Free Software Foundation, Inc.
7643 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
7645 # This program is free software; you can redistribute it and/or modify
7646 # it under the terms of the GNU General Public License as published by
7647 # the Free Software Foundation; either version 2 of the License, or
7648 # (at your option) any later version.
7650 # This program is distributed in the hope that it will be useful, but
7651 # WITHOUT ANY WARRANTY; without even the implied warranty of
7652 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
7653 # General Public License for more details.
7655 # You should have received a copy of the GNU General Public License
7656 # along with this program; if not, write to the Free Software
7657 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
7659 # As a special exception to the GNU General Public License, if you
7660 # distribute this file as part of a program that contains a
7661 # configuration script generated by Autoconf, you may include it under
7662 # the same distribution terms that you use for the rest of that program.
7664 # A sed that does not truncate output.
7667 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
7668 Xsed="${SED} -e s/^X//"
7670 # The HP-UX ksh and POSIX shell print the target directory to stdout
7672 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
7674 # ### BEGIN LIBTOOL CONFIG
7676 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
7678 # Shell to use when invoking shell scripts.
7681 # Whether or not to build shared libraries.
7682 build_libtool_libs=$enable_shared
7684 # Whether or not to build static libraries.
7685 build_old_libs=$enable_static
7687 # Whether or not to add -lc for building shared libraries.
7688 build_libtool_need_lc=$need_lc
7690 # Whether or not to optimize for fast installation.
7691 fast_install=$enable_fast_install
7694 host_alias=$host_alias
7697 # An echo program that does not interpret backslashes.
7702 AR_FLAGS=$lt_AR_FLAGS
7704 # The default C compiler.
7707 # Is the compiler the GNU C compiler?
7710 # The linker used to build libraries.
7713 # Whether we need hard or soft links.
7716 # A BSD-compatible nm program.
7719 # A symbol stripping program
7722 # Used to examine libraries when file_magic_cmd begins "file"
7723 MAGIC_CMD=$MAGIC_CMD
7725 # Used on cygwin: DLL creation program.
7728 # Used on cygwin: object dumper.
7731 # Used on cygwin: assembler.
7734 # The name of the directory that contains temporary libtool files.
7737 # How to create reloadable object files.
7738 reload_flag=$lt_reload_flag
7739 reload_cmds=$lt_reload_cmds
7741 # How to pass a linker flag through the compiler.
7744 # Object file suffix (normally "o").
7747 # Old archive suffix (normally "a").
7750 # Executable file suffix (normally "").
7753 # Additional compiler flags for building library objects.
7754 pic_flag=$lt_pic_flag
7757 # Does compiler simultaneously support -c and -o options?
7758 compiler_c_o=$lt_compiler_c_o
7760 # Can we write directly to a .lo ?
7761 compiler_o_lo=$lt_compiler_o_lo
7763 # Must we lock files when doing compilation ?
7764 need_locks=$lt_need_locks
7766 # Do we need the lib prefix for modules?
7767 need_lib_prefix=$need_lib_prefix
7769 # Do we need a version for libraries?
7770 need_version=$need_version
7772 # Whether dlopen is supported.
7773 dlopen_support=$enable_dlopen
7775 # Whether dlopen of programs is supported.
7776 dlopen_self=$enable_dlopen_self
7778 # Whether dlopen of statically linked programs is supported.
7779 dlopen_self_static=$enable_dlopen_self_static
7781 # Compiler flag to prevent dynamic linking.
7782 link_static_flag=$lt_link_static_flag
7784 # Compiler flag to turn off builtin functions.
7785 no_builtin_flag=$lt_no_builtin_flag
7787 # Compiler flag to allow reflexive dlopens.
7788 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
7790 # Compiler flag to generate shared objects directly from archives.
7791 whole_archive_flag_spec=$lt_whole_archive_flag_spec
7793 # Compiler flag to generate thread-safe objects.
7794 thread_safe_flag_spec=$lt_thread_safe_flag_spec
7796 # Library versioning type.
7797 version_type=$version_type
7799 # Format of library name prefix.
7800 libname_spec=$lt_libname_spec
7802 # List of archive names. First name is the real one, the rest are links.
7803 # The last name is the one that the linker finds with -lNAME.
7804 library_names_spec=$lt_library_names_spec
7806 # The coded name of the library, if different from the real name.
7807 soname_spec=$lt_soname_spec
7809 # Commands used to build and install an old-style archive.
7811 old_archive_cmds=$lt_old_archive_cmds
7812 old_postinstall_cmds=$lt_old_postinstall_cmds
7813 old_postuninstall_cmds=$lt_old_postuninstall_cmds
7815 # Create an old-style archive from a shared archive.
7816 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
7818 # Create a temporary old-style archive to link instead of a shared archive.
7819 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
7821 # Commands used to build and install a shared archive.
7822 archive_cmds=$lt_archive_cmds
7823 archive_expsym_cmds=$lt_archive_expsym_cmds
7824 postinstall_cmds=$lt_postinstall_cmds
7825 postuninstall_cmds=$lt_postuninstall_cmds
7827 # Commands to strip libraries.
7828 old_striplib=$lt_old_striplib
7829 striplib=$lt_striplib
7831 # Method to check whether dependent libraries are shared objects.
7832 deplibs_check_method=$lt_deplibs_check_method
7834 # Command to use when deplibs_check_method == file_magic.
7835 file_magic_cmd=$lt_file_magic_cmd
7837 # Flag that allows shared libraries with undefined symbols to be built.
7838 allow_undefined_flag=$lt_allow_undefined_flag
7840 # Flag that forces no undefined symbols.
7841 no_undefined_flag=$lt_no_undefined_flag
7843 # Commands used to finish a libtool library installation in a directory.
7844 finish_cmds=$lt_finish_cmds
7846 # Same as above, but a single script fragment to be evaled but not shown.
7847 finish_eval=$lt_finish_eval
7849 # Take the output of nm and produce a listing of raw symbols and C names.
7850 global_symbol_pipe=$lt_global_symbol_pipe
7852 # Transform the output of nm in a proper C declaration
7853 global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
7855 # Transform the output of nm in a C name address pair
7856 global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
7858 # This is the shared library runtime path variable.
7859 runpath_var=$runpath_var
7861 # This is the shared library path variable.
7862 shlibpath_var=$shlibpath_var
7864 # Is shlibpath searched before the hard-coded library search path?
7865 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
7867 # How to hardcode a shared library path into an executable.
7868 hardcode_action=$hardcode_action
7870 # Whether we should hardcode library paths into libraries.
7871 hardcode_into_libs=$hardcode_into_libs
7873 # Flag to hardcode \$libdir into a binary during linking.
7874 # This must work even if \$libdir does not exist.
7875 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
7877 # Whether we need a single -rpath flag with a separated argument.
7878 hardcode_libdir_separator=$lt_hardcode_libdir_separator
7880 # Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
7882 hardcode_direct=$hardcode_direct
7884 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
7886 hardcode_minus_L=$hardcode_minus_L
7888 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
7889 # the resulting binary.
7890 hardcode_shlibpath_var=$hardcode_shlibpath_var
7892 # Variables whose values should be saved in libtool wrapper scripts and
7893 # restored at relink time.
7894 variables_saved_for_relink="$variables_saved_for_relink"
7896 # Whether libtool must link a program against all its dependency libraries.
7897 link_all_deplibs=$link_all_deplibs
7899 # Compile-time system search path for libraries
7900 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
7902 # Run-time system search path for libraries
7903 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
7905 # Fix the shell variable \$srcfile for the compiler.
7906 fix_srcfile_path="$fix_srcfile_path"
7908 # Set to yes if exported symbols are required.
7909 always_export_symbols=$always_export_symbols
7911 # The commands to list exported symbols.
7912 export_symbols_cmds=$lt_export_symbols_cmds
7914 # The commands to extract the exported symbol list from a shared archive.
7915 extract_expsyms_cmds=$lt_extract_expsyms_cmds
7917 # Symbols that should not be listed in the preloaded symbols.
7918 exclude_expsyms=$lt_exclude_expsyms
7920 # Symbols that must always be exported.
7921 include_expsyms=$lt_include_expsyms
7923 # ### END LIBTOOL CONFIG
7929 cat <<\EOF >> "${ofile}T"
7931 # AIX sometimes has problems with the GCC collect2 program. For some
7932 # reason, if we set the COLLECT_NAMES environment variable, the problems
7933 # vanish in a puff of smoke.
7934 if test "X${COLLECT_NAMES+set}" != Xset; then
7936 export COLLECT_NAMES
7943 cygwin* | mingw* | pw32* | os2*)
7944 cat <<'EOF' >> "${ofile}T"
7945 # This is a source program that is used to create dlls on Windows
7946 # Don't remove nor modify the starting and closing comments
7947 # /* ltdll.c starts here */
7948 # #define WIN32_LEAN_AND_MEAN
7949 # #include <windows.h>
7950 # #undef WIN32_LEAN_AND_MEAN
7951 # #include <stdio.h>
7953 # #ifndef __CYGWIN__
7954 # # ifdef __CYGWIN32__
7955 # # define __CYGWIN__ __CYGWIN32__
7959 # #ifdef __cplusplus
7962 # BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
7963 # #ifdef __cplusplus
7968 # #include <cygwin/cygwin_dll.h>
7969 # DECLARE_CYGWIN_DLL( DllMain );
7971 # HINSTANCE __hDllInstance_base;
7974 # DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
7976 # __hDllInstance_base = hInst;
7979 # /* ltdll.c ends here */
7980 # This is a source program that is used to create import libraries
7981 # on Windows for dlls which lack them. Don't remove nor modify the
7982 # starting and closing comments
7983 # /* impgen.c starts here */
7984 # /* Copyright (C) 1999-2000 Free Software Foundation, Inc.
7986 # This file is part of GNU libtool.
7988 # This program is free software; you can redistribute it and/or modify
7989 # it under the terms of the GNU General Public License as published by
7990 # the Free Software Foundation; either version 2 of the License, or
7991 # (at your option) any later version.
7993 # This program is distributed in the hope that it will be useful,
7994 # but WITHOUT ANY WARRANTY; without even the implied warranty of
7995 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7996 # GNU General Public License for more details.
7998 # You should have received a copy of the GNU General Public License
7999 # along with this program; if not, write to the Free Software
8000 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
8003 # #include <stdio.h> /* for printf() */
8004 # #include <unistd.h> /* for open(), lseek(), read() */
8005 # #include <fcntl.h> /* for O_RDONLY, O_BINARY */
8006 # #include <string.h> /* for strdup() */
8008 # /* O_BINARY isn't required (or even defined sometimes) under Unix */
8010 # #define O_BINARY 0
8013 # static unsigned int
8014 # pe_get16 (fd, offset)
8018 # unsigned char b[2];
8019 # lseek (fd, offset, SEEK_SET);
8021 # return b[0] + (b[1]<<8);
8024 # static unsigned int
8025 # pe_get32 (fd, offset)
8029 # unsigned char b[4];
8030 # lseek (fd, offset, SEEK_SET);
8032 # return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
8035 # static unsigned int
8039 # unsigned char *b = ptr;
8040 # return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
8049 # unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
8050 # unsigned long export_rva, export_size, nsections, secptr, expptr;
8051 # unsigned long name_rvas, nexp;
8052 # unsigned char *expdata, *erva;
8053 # char *filename, *dll_name;
8055 # filename = argv[1];
8057 # dll = open(filename, O_RDONLY|O_BINARY);
8061 # dll_name = filename;
8063 # for (i=0; filename[i]; i++)
8064 # if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':')
8065 # dll_name = filename + i +1;
8067 # pe_header_offset = pe_get32 (dll, 0x3c);
8068 # opthdr_ofs = pe_header_offset + 4 + 20;
8069 # num_entries = pe_get32 (dll, opthdr_ofs + 92);
8071 # if (num_entries < 1) /* no exports */
8074 # export_rva = pe_get32 (dll, opthdr_ofs + 96);
8075 # export_size = pe_get32 (dll, opthdr_ofs + 100);
8076 # nsections = pe_get16 (dll, pe_header_offset + 4 +2);
8077 # secptr = (pe_header_offset + 4 + 20 +
8078 # pe_get16 (dll, pe_header_offset + 4 + 16));
8081 # for (i = 0; i < nsections; i++)
8084 # unsigned long secptr1 = secptr + 40 * i;
8085 # unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
8086 # unsigned long vsize = pe_get32 (dll, secptr1 + 16);
8087 # unsigned long fptr = pe_get32 (dll, secptr1 + 20);
8088 # lseek(dll, secptr1, SEEK_SET);
8089 # read(dll, sname, 8);
8090 # if (vaddr <= export_rva && vaddr+vsize > export_rva)
8092 # expptr = fptr + (export_rva - vaddr);
8093 # if (export_rva + export_size > vaddr + vsize)
8094 # export_size = vsize - (export_rva - vaddr);
8099 # expdata = (unsigned char*)malloc(export_size);
8100 # lseek (dll, expptr, SEEK_SET);
8101 # read (dll, expdata, export_size);
8102 # erva = expdata - export_rva;
8104 # nexp = pe_as32 (expdata+24);
8105 # name_rvas = pe_as32 (expdata+32);
8107 # printf ("EXPORTS\n");
8108 # for (i = 0; i<nexp; i++)
8110 # unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
8111 # printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
8116 # /* impgen.c ends here */
8122 # We use sed instead of cat because bash on DJGPP gets confused if
8123 # if finds mixed CR/LF and LF-only lines. Since sed operates in
8124 # text mode, it properly converts lines to CR/LF. This bash problem
8125 # is reportedly fixed, but why not run on old versions too?
8126 sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
8128 mv -f "${ofile}T" "$ofile" || \
8129 (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
8137 # This can be used to rebuild libtool when needed
8138 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
8140 # Always use our own libtool.
8141 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8143 # Prevent multiple expansion
8146 for ac_prog in gzip uncompress compress
8148 # Extract the first word of "$ac_prog", so it can be a program name with args.
8149 set dummy $ac_prog; ac_word=$2
8150 echo "$as_me:$LINENO: checking for $ac_word" >&5
8151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8152 if test "${ac_cv_prog_UNCOMPRESS+set}" = set; then
8153 echo $ECHO_N "(cached) $ECHO_C" >&6
8155 if test -n "$UNCOMPRESS"; then
8156 ac_cv_prog_UNCOMPRESS="$UNCOMPRESS" # Let the user override the test.
8158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8162 test -z "$as_dir" && as_dir=.
8163 for ac_exec_ext in '' $ac_executable_extensions; do
8164 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8165 ac_cv_prog_UNCOMPRESS="$ac_prog"
8166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8174 UNCOMPRESS=$ac_cv_prog_UNCOMPRESS
8175 if test -n "$UNCOMPRESS"; then
8176 echo "$as_me:$LINENO: result: $UNCOMPRESS" >&5
8177 echo "${ECHO_T}$UNCOMPRESS" >&6
8179 echo "$as_me:$LINENO: result: no" >&5
8180 echo "${ECHO_T}no" >&6
8183 test -n "$UNCOMPRESS" && break
8193 echo "$as_me:$LINENO: checking for target system" >&5
8194 echo $ECHO_N "checking for target system... $ECHO_C" >&6
8198 *cygwin* ) CYGWIN=yes;;
8199 *mingw* ) MINGW=yes;;
8203 if test "x$MINGW" = "xyes"; then
8204 #fix for the debian distribution of mingw
8205 if test -x "/usr/i586-mingw32msvc/bin/ar";then
8206 AR="/usr/i586-mingw32msvc/bin/ar"
8208 if test -x "/usr/i586-mingw32msvc/bin/ranlib";then
8209 RANLIB="/usr/i586-mingw32msvc/bin/ranlib"
8211 #fix for the gentoo distribution of mingw
8212 if test -x "/opt/xmingw/bin/i386-mingw32msvc-ar";then
8213 AR="/opt/xmingw/bin/i386-mingw32msvc-ar"
8215 if test -x "/opt/xmingw/bin/i386-mingw32msvc-ranlib";then
8216 RANLIB="/opt/xmingw/bin/i386-mingw32msvc-ranlib"
8218 if test -x "/opt/xmingw/bin/i386-mingw32msvc-strip";then
8219 STRIP="/opt/xmingw/bin/i386-mingw32msvc-strip"
8225 if test "x${CYGWIN}" = "xyes"; then
8226 cat >>confdefs.h <<_ACEOF
8230 echo "$as_me:$LINENO: result: cygwin" >&5
8231 echo "${ECHO_T}cygwin" >&6
8233 if test "x${MINGW}" = "xyes"; then
8234 cat >>confdefs.h <<_ACEOF
8239 cat >>confdefs.h <<_ACEOF
8243 LIBS="$LIBS -lws2_32"
8244 echo "$as_me:$LINENO: result: mingw" >&5
8245 echo "${ECHO_T}mingw" >&6
8249 cat >>confdefs.h <<_ACEOF
8253 echo "$as_me:$LINENO: result: " >&5
8254 echo "${ECHO_T}" >&6
8259 if test "x${MINGW}" != "xyes"; then
8260 cat >>confdefs.h <<_ACEOF
8265 # The following tries to make use of includes and libraries in
8266 # /usr/local, too. Notice: A -I/usr/local/include might break
8267 # things (MingW, cross-compiling etc.) in the same way as -I/usr/include,
8268 # especially on systems which link /usr/local to /usr, so it has yet
8269 # to be seen how useful this is.
8270 if test -d /usr/local/lib; then
8271 LDFLAGS="$LDFLAGS -L/usr/local/lib"
8273 if test -d /usr/local/include; then
8274 # Leave that alone. It's causing trouble e.g. with gcc 3.2 on gentoo.
8275 # CPPFLAGS="$CPPFLAGS -I/usr/local/include"
8278 if test "$prefix" != "NONE" -a "$prefix" != "/usr/local" -a "$prefix" != "/usr/local/"; then
8279 # if the user has a special prefix (like /opt), there might also be $prefix/lib
8280 # and $prefix/include, which should be included in our search paths for libraries
8282 LDFLAGS="$LDFLAGS -L${libdir}"
8283 CPPFLAGS="$CPPFLAGS -I${includedir}"
8284 # TODO- test whether gcc still works after this
8287 # this must be done after (I believe) AC_PROG_MAKE_SET
8288 if test "x$DEBUG" '!=' "x";then
8289 STRIP="@echo debug enabled, not stripping "
8295 echo "$as_me:$LINENO: checking for sin in -lm" >&5
8296 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8297 if test "${ac_cv_lib_m_sin+set}" = set; then
8298 echo $ECHO_N "(cached) $ECHO_C" >&6
8300 ac_check_lib_save_LIBS=$LIBS
8302 cat >conftest.$ac_ext <<_ACEOF
8305 cat confdefs.h >>conftest.$ac_ext
8306 cat >>conftest.$ac_ext <<_ACEOF
8307 /* end confdefs.h. */
8309 /* Override any gcc2 internal prototype to avoid an error. */
8313 /* We use char because int might match the return type of a gcc2
8314 builtin and then its argument prototype would still apply. */
8324 rm -f conftest.$ac_objext conftest$ac_exeext
8325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8326 (eval $ac_link) 2>conftest.er1
8328 grep -v '^ *+' conftest.er1 >conftest.err
8330 cat conftest.err >&5
8331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8332 (exit $ac_status); } &&
8333 { ac_try='test -z "$ac_c_werror_flag"
8334 || test ! -s conftest.err'
8335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8339 (exit $ac_status); }; } &&
8340 { ac_try='test -s conftest$ac_exeext'
8341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8345 (exit $ac_status); }; }; then
8348 echo "$as_me: failed program was:" >&5
8349 sed 's/^/| /' conftest.$ac_ext >&5
8353 rm -f conftest.err conftest.$ac_objext \
8354 conftest$ac_exeext conftest.$ac_ext
8355 LIBS=$ac_check_lib_save_LIBS
8357 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8358 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8359 if test $ac_cv_lib_m_sin = yes; then
8360 cat >>confdefs.h <<_ACEOF
8367 echo "Error: Math library not found.";
8373 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
8374 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
8375 if test "${ac_cv_lib_z_deflate+set}" = set; then
8376 echo $ECHO_N "(cached) $ECHO_C" >&6
8378 ac_check_lib_save_LIBS=$LIBS
8380 cat >conftest.$ac_ext <<_ACEOF
8383 cat confdefs.h >>conftest.$ac_ext
8384 cat >>conftest.$ac_ext <<_ACEOF
8385 /* end confdefs.h. */
8387 /* Override any gcc2 internal prototype to avoid an error. */
8391 /* We use char because int might match the return type of a gcc2
8392 builtin and then its argument prototype would still apply. */
8402 rm -f conftest.$ac_objext conftest$ac_exeext
8403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8404 (eval $ac_link) 2>conftest.er1
8406 grep -v '^ *+' conftest.er1 >conftest.err
8408 cat conftest.err >&5
8409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8410 (exit $ac_status); } &&
8411 { ac_try='test -z "$ac_c_werror_flag"
8412 || test ! -s conftest.err'
8413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8417 (exit $ac_status); }; } &&
8418 { ac_try='test -s conftest$ac_exeext'
8419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8423 (exit $ac_status); }; }; then
8424 ac_cv_lib_z_deflate=yes
8426 echo "$as_me: failed program was:" >&5
8427 sed 's/^/| /' conftest.$ac_ext >&5
8429 ac_cv_lib_z_deflate=no
8431 rm -f conftest.err conftest.$ac_objext \
8432 conftest$ac_exeext conftest.$ac_ext
8433 LIBS=$ac_check_lib_save_LIBS
8435 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
8436 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
8437 if test $ac_cv_lib_z_deflate = yes; then
8438 cat >>confdefs.h <<_ACEOF
8445 DISABLEPNG2SWF=true;
8446 MISSINGLIBS="${MISSINGLIBS} zlib"
8452 echo "$as_me:$LINENO: checking for jpeg_write_raw_data in -ljpeg" >&5
8453 echo $ECHO_N "checking for jpeg_write_raw_data in -ljpeg... $ECHO_C" >&6
8454 if test "${ac_cv_lib_jpeg_jpeg_write_raw_data+set}" = set; then
8455 echo $ECHO_N "(cached) $ECHO_C" >&6
8457 ac_check_lib_save_LIBS=$LIBS
8459 cat >conftest.$ac_ext <<_ACEOF
8462 cat confdefs.h >>conftest.$ac_ext
8463 cat >>conftest.$ac_ext <<_ACEOF
8464 /* end confdefs.h. */
8466 /* Override any gcc2 internal prototype to avoid an error. */
8470 /* We use char because int might match the return type of a gcc2
8471 builtin and then its argument prototype would still apply. */
8472 char jpeg_write_raw_data ();
8476 jpeg_write_raw_data ();
8481 rm -f conftest.$ac_objext conftest$ac_exeext
8482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8483 (eval $ac_link) 2>conftest.er1
8485 grep -v '^ *+' conftest.er1 >conftest.err
8487 cat conftest.err >&5
8488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8489 (exit $ac_status); } &&
8490 { ac_try='test -z "$ac_c_werror_flag"
8491 || test ! -s conftest.err'
8492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8496 (exit $ac_status); }; } &&
8497 { ac_try='test -s conftest$ac_exeext'
8498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8502 (exit $ac_status); }; }; then
8503 ac_cv_lib_jpeg_jpeg_write_raw_data=yes
8505 echo "$as_me: failed program was:" >&5
8506 sed 's/^/| /' conftest.$ac_ext >&5
8508 ac_cv_lib_jpeg_jpeg_write_raw_data=no
8510 rm -f conftest.err conftest.$ac_objext \
8511 conftest$ac_exeext conftest.$ac_ext
8512 LIBS=$ac_check_lib_save_LIBS
8514 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_write_raw_data" >&5
8515 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_write_raw_data" >&6
8516 if test $ac_cv_lib_jpeg_jpeg_write_raw_data = yes; then
8517 cat >>confdefs.h <<_ACEOF
8518 #define HAVE_LIBJPEG 1
8524 DISABLEPDF2SWF=true;
8525 DISABLEJPEG2SWF=true;
8526 MISSINGLIBS="${MISSINGLIBS} jpeglib"
8531 echo "$as_me:$LINENO: checking for T1_LoadFont in -lt1" >&5
8532 echo $ECHO_N "checking for T1_LoadFont in -lt1... $ECHO_C" >&6
8533 if test "${ac_cv_lib_t1_T1_LoadFont+set}" = set; then
8534 echo $ECHO_N "(cached) $ECHO_C" >&6
8536 ac_check_lib_save_LIBS=$LIBS
8538 cat >conftest.$ac_ext <<_ACEOF
8541 cat confdefs.h >>conftest.$ac_ext
8542 cat >>conftest.$ac_ext <<_ACEOF
8543 /* end confdefs.h. */
8545 /* Override any gcc2 internal prototype to avoid an error. */
8549 /* We use char because int might match the return type of a gcc2
8550 builtin and then its argument prototype would still apply. */
8551 char T1_LoadFont ();
8560 rm -f conftest.$ac_objext conftest$ac_exeext
8561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8562 (eval $ac_link) 2>conftest.er1
8564 grep -v '^ *+' conftest.er1 >conftest.err
8566 cat conftest.err >&5
8567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8568 (exit $ac_status); } &&
8569 { ac_try='test -z "$ac_c_werror_flag"
8570 || test ! -s conftest.err'
8571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8575 (exit $ac_status); }; } &&
8576 { ac_try='test -s conftest$ac_exeext'
8577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8581 (exit $ac_status); }; }; then
8582 ac_cv_lib_t1_T1_LoadFont=yes
8584 echo "$as_me: failed program was:" >&5
8585 sed 's/^/| /' conftest.$ac_ext >&5
8587 ac_cv_lib_t1_T1_LoadFont=no
8589 rm -f conftest.err conftest.$ac_objext \
8590 conftest$ac_exeext conftest.$ac_ext
8591 LIBS=$ac_check_lib_save_LIBS
8593 echo "$as_me:$LINENO: result: $ac_cv_lib_t1_T1_LoadFont" >&5
8594 echo "${ECHO_T}$ac_cv_lib_t1_T1_LoadFont" >&6
8595 if test $ac_cv_lib_t1_T1_LoadFont = yes; then
8596 cat >>confdefs.h <<_ACEOF
8597 #define HAVE_LIBT1 1
8603 DISABLEPDF2SWF=true;
8604 MISSINGLIBS="${MISSINGLIBS} t1lib"
8610 for ac_prog in freetype-config
8612 # Extract the first word of "$ac_prog", so it can be a program name with args.
8613 set dummy $ac_prog; ac_word=$2
8614 echo "$as_me:$LINENO: checking for $ac_word" >&5
8615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8616 if test "${ac_cv_prog_FREETYPE_CONFIG+set}" = set; then
8617 echo $ECHO_N "(cached) $ECHO_C" >&6
8619 if test -n "$FREETYPE_CONFIG"; then
8620 ac_cv_prog_FREETYPE_CONFIG="$FREETYPE_CONFIG" # Let the user override the test.
8622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8626 test -z "$as_dir" && as_dir=.
8627 for ac_exec_ext in '' $ac_executable_extensions; do
8628 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8629 ac_cv_prog_FREETYPE_CONFIG="$ac_prog"
8630 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8638 FREETYPE_CONFIG=$ac_cv_prog_FREETYPE_CONFIG
8639 if test -n "$FREETYPE_CONFIG"; then
8640 echo "$as_me:$LINENO: result: $FREETYPE_CONFIG" >&5
8641 echo "${ECHO_T}$FREETYPE_CONFIG" >&6
8643 echo "$as_me:$LINENO: result: no" >&5
8644 echo "${ECHO_T}no" >&6
8647 test -n "$FREETYPE_CONFIG" && break
8650 OLDCPPFLAGS="${CPPFLAGS}"
8652 if test "x${FREETYPE_CONFIG}" != "x"; then
8653 CPPFLAGS="$CPPFLAGS "`freetype-config --cflags`
8654 else if test -d /usr/include/freetype2; then
8655 CPPFLAGS="$CPPFLAGS -I/usr/include/freetype2"
8656 else if test -d /usr/local/include/freetype2; then
8657 CPPFLAGS="$CPPFLAGS -I/usr/local/include/freetype2"
8661 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
8662 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
8663 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
8664 echo $ECHO_N "(cached) $ECHO_C" >&6
8666 ac_check_lib_save_LIBS=$LIBS
8667 LIBS="-lfreetype $LIBS"
8668 cat >conftest.$ac_ext <<_ACEOF
8671 cat confdefs.h >>conftest.$ac_ext
8672 cat >>conftest.$ac_ext <<_ACEOF
8673 /* end confdefs.h. */
8675 /* Override any gcc2 internal prototype to avoid an error. */
8679 /* We use char because int might match the return type of a gcc2
8680 builtin and then its argument prototype would still apply. */
8681 char FT_Init_FreeType ();
8685 FT_Init_FreeType ();
8690 rm -f conftest.$ac_objext conftest$ac_exeext
8691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8692 (eval $ac_link) 2>conftest.er1
8694 grep -v '^ *+' conftest.er1 >conftest.err
8696 cat conftest.err >&5
8697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8698 (exit $ac_status); } &&
8699 { ac_try='test -z "$ac_c_werror_flag"
8700 || test ! -s conftest.err'
8701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8705 (exit $ac_status); }; } &&
8706 { ac_try='test -s conftest$ac_exeext'
8707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8711 (exit $ac_status); }; }; then
8712 ac_cv_lib_freetype_FT_Init_FreeType=yes
8714 echo "$as_me: failed program was:" >&5
8715 sed 's/^/| /' conftest.$ac_ext >&5
8717 ac_cv_lib_freetype_FT_Init_FreeType=no
8719 rm -f conftest.err conftest.$ac_objext \
8720 conftest$ac_exeext conftest.$ac_ext
8721 LIBS=$ac_check_lib_save_LIBS
8723 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
8724 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
8725 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
8730 for ac_header in freetype/freetype.h
8732 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8733 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8734 echo "$as_me:$LINENO: checking for $ac_header" >&5
8735 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8736 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8737 echo $ECHO_N "(cached) $ECHO_C" >&6
8739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8740 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8742 # Is the header compilable?
8743 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8744 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8745 cat >conftest.$ac_ext <<_ACEOF
8748 cat confdefs.h >>conftest.$ac_ext
8749 cat >>conftest.$ac_ext <<_ACEOF
8750 /* end confdefs.h. */
8751 $ac_includes_default
8752 #include <$ac_header>
8754 rm -f conftest.$ac_objext
8755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8756 (eval $ac_compile) 2>conftest.er1
8758 grep -v '^ *+' conftest.er1 >conftest.err
8760 cat conftest.err >&5
8761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8762 (exit $ac_status); } &&
8763 { ac_try='test -z "$ac_c_werror_flag"
8764 || test ! -s conftest.err'
8765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8769 (exit $ac_status); }; } &&
8770 { ac_try='test -s conftest.$ac_objext'
8771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8775 (exit $ac_status); }; }; then
8776 ac_header_compiler=yes
8778 echo "$as_me: failed program was:" >&5
8779 sed 's/^/| /' conftest.$ac_ext >&5
8781 ac_header_compiler=no
8783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8784 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8785 echo "${ECHO_T}$ac_header_compiler" >&6
8787 # Is the header present?
8788 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8789 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8790 cat >conftest.$ac_ext <<_ACEOF
8793 cat confdefs.h >>conftest.$ac_ext
8794 cat >>conftest.$ac_ext <<_ACEOF
8795 /* end confdefs.h. */
8796 #include <$ac_header>
8798 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8799 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8801 grep -v '^ *+' conftest.er1 >conftest.err
8803 cat conftest.err >&5
8804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8805 (exit $ac_status); } >/dev/null; then
8806 if test -s conftest.err; then
8807 ac_cpp_err=$ac_c_preproc_warn_flag
8808 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8815 if test -z "$ac_cpp_err"; then
8816 ac_header_preproc=yes
8818 echo "$as_me: failed program was:" >&5
8819 sed 's/^/| /' conftest.$ac_ext >&5
8821 ac_header_preproc=no
8823 rm -f conftest.err conftest.$ac_ext
8824 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8825 echo "${ECHO_T}$ac_header_preproc" >&6
8827 # So? What about this header?
8828 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8830 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8831 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8832 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8833 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8834 ac_header_preproc=yes
8837 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8838 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8839 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8840 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8841 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8842 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8843 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8844 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8845 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8846 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8847 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8848 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8851 ## ------------------------------------------ ##
8852 ## Report this to the AC_PACKAGE_NAME lists. ##
8853 ## ------------------------------------------ ##
8856 sed "s/^/$as_me: WARNING: /" >&2
8859 echo "$as_me:$LINENO: checking for $ac_header" >&5
8860 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8861 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8862 echo $ECHO_N "(cached) $ECHO_C" >&6
8864 eval "$as_ac_Header=\$ac_header_preproc"
8866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8867 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8870 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8871 cat >>confdefs.h <<_ACEOF
8872 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8874 HAVE_FREETYPE_FREETYPE_H=1
8879 if test "x${HAVE_LIB_FREETYPE}" != "x";then
8880 if test "x${HAVE_FREETYPE_FREETYPE_H}" != "x";then
8885 if test "x${HAVE_FREETYPE}" = "x1"; then
8886 if test "x{$FREETYPE_CONFIG}" != "x"; then
8887 LIBS="$LIBS "`freetype-config --libs`
8889 LIBS="$LIBS -lfreetype"
8892 echo "$as_me:$LINENO: checking whether we can compile the freetype test program" >&5
8893 echo $ECHO_N "checking whether we can compile the freetype test program... $ECHO_C" >&6
8895 cat > conftest.c << EOF
8896 #include <freetype/freetype.h>
8897 #include <freetype/ftglyph.h>
8898 #include <freetype/ftsnames.h>
8899 #include <freetype/ttnameid.h>
8900 #include <freetype/ftoutln.h>
8904 FT_Library ftlibrary;
8916 FT_Init_FreeType(&ftlibrary);
8917 FT_New_Face(ftlibrary, "filename", 0, &face);
8918 i = face->num_glyphs - 1;
8919 italic = face->style_flags&FT_STYLE_FLAG_ITALIC;
8920 bold = face->style_flags&FT_STYLE_FLAG_BOLD;
8921 FT_Get_Postscript_Name(face);
8922 FT_Get_Char_Index(face, 33);
8923 FT_Get_First_Char(face, &i);
8924 FT_Get_Next_Char(face, 33, &i);
8925 if(FT_HAS_GLYPH_NAMES(face)) {
8926 FT_Get_Glyph_Name(face, 33, name, 127);
8928 FT_Load_Glyph(face, 33, FT_LOAD_NO_BITMAP|FT_LOAD_NO_SCALE);
8929 FT_Get_Glyph(face->glyph, &glyph);
8930 FT_Glyph_Get_CBox(glyph, ft_glyph_bbox_unscaled, &bbox);
8931 FT_Done_Glyph(glyph);
8933 FT_Done_FreeType(ftlibrary);
8938 ac_link='$CC $CPPFLAGS $CFLAGS conftest.c $LDFLAGS $LIBS -o conftest${ac_exeext}'
8939 if { (eval echo freetype.m4:71: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8940 echo "$as_me:$LINENO: result: yes" >&5
8941 echo "${ECHO_T}yes" >&6
8942 cat >>confdefs.h <<_ACEOF
8943 #define HAVE_FREETYPE 1
8946 cat >>confdefs.h <<_ACEOF
8947 #define USE_FREETYPE 1
8951 echo "configure: failed program was:" >&5
8954 echo "$as_me:$LINENO: result: no" >&5
8955 echo "${ECHO_T}no" >&6
8960 # if the above didn't work out, reset all changes to the compiler variables.
8961 if test "x${HAVE_FREETYPE}" "!=" "x1"; then
8962 CPPFLAGS=$OLDCPPFLAGS
8968 echo "$as_me:$LINENO: checking for byte order" >&5
8969 echo $ECHO_N "checking for byte order... $ECHO_C" >&6
8970 if test "$cross_compiling" = yes; then
8973 cat >conftest.$ac_ext <<_ACEOF
8976 cat confdefs.h >>conftest.$ac_ext
8977 cat >>conftest.$ac_ext <<_ACEOF
8978 /* end confdefs.h. */
8980 int main (int argc, char *argv[])
8987 rm -f conftest$ac_exeext
8988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8989 (eval $ac_link) 2>&5
8991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8992 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8997 (exit $ac_status); }; }; then
9000 echo "$as_me: program exited with status $ac_status" >&5
9001 echo "$as_me: failed program was:" >&5
9002 sed 's/^/| /' conftest.$ac_ext >&5
9007 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9011 if test "x${CROSSCOMPILE}" = "x1"; then
9012 echo "$as_me:$LINENO: result: we are cross compiling- trying to guess from system type" >&5
9013 echo "${ECHO_T}we are cross compiling- trying to guess from system type" >&6
9014 echo "$as_me:$LINENO: checking target system type" >&5
9015 echo $ECHO_N "checking target system type... $ECHO_C" >&6
9016 if test "${ac_cv_target+set}" = set; then
9017 echo $ECHO_N "(cached) $ECHO_C" >&6
9019 ac_cv_target_alias=$target_alias
9020 test "x$ac_cv_target_alias" = "x" &&
9021 ac_cv_target_alias=$ac_cv_host_alias
9022 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
9023 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
9024 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
9025 { (exit 1); exit 1; }; }
9028 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
9029 echo "${ECHO_T}$ac_cv_target" >&6
9030 target=$ac_cv_target
9031 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
9032 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
9033 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
9036 # The aliases save the names the user supplied, while $host etc.
9037 # will get canonicalized.
9038 test -n "$target_alias" &&
9039 test "$program_prefix$program_suffix$program_transform_name" = \
9041 program_prefix=${target_alias}-
9042 echo "$as_me:$LINENO: checking for byte order, try 2" >&5
9043 echo $ECHO_N "checking for byte order, try 2... $ECHO_C" >&6
9048 *sparc* | *68* | *88k* | *mac* | *Mac* | *sun* | *Sun* | *Amiga* | *amiga* )
9055 if test "x${LITTLEENDIAN}" = "x1"; then
9056 echo "$as_me:$LINENO: result: little endian" >&5
9057 echo "${ECHO_T}little endian" >&6
9061 if test "x${BIGENDIAN}" = "x1"; then
9062 echo "$as_me:$LINENO: result: big endian" >&5
9063 echo "${ECHO_T}big endian" >&6
9066 export WORDS_BIGENDIAN
9067 cat >>confdefs.h <<_ACEOF
9068 #define WORDS_BIGENDIAN 1
9072 if test "x${BYTEORDERCHECKOK}" != "x1"; then
9073 echo "$as_me:$LINENO: result: unknown" >&5
9074 echo "${ECHO_T}unknown" >&6
9075 echo Byte order could not determined.
9081 echo "$as_me:$LINENO: checking whether system() can handle command substitution" >&5
9082 echo $ECHO_N "checking whether system() can handle command substitution... $ECHO_C" >&6
9083 if test "$cross_compiling" = yes; then
9086 cat >conftest.$ac_ext <<_ACEOF
9089 cat confdefs.h >>conftest.$ac_ext
9090 cat >>conftest.$ac_ext <<_ACEOF
9091 /* end confdefs.h. */
9094 int main (int argc, char*argv[])
9096 return system("test `touch config.tmp2`");
9100 rm -f conftest$ac_exeext
9101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9102 (eval $ac_link) 2>&5
9104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9105 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9110 (exit $ac_status); }; }; then
9113 echo "$as_me: program exited with status $ac_status" >&5
9114 echo "$as_me: failed program was:" >&5
9115 sed 's/^/| /' conftest.$ac_ext >&5
9118 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9121 if test "x${OK}" = "xOK";then
9122 test -f config.tmp2 || OK=
9125 if test "x${CROSSCOMPILE}" = "x1";then
9128 if test "x${OK}" = "xOK";then
9130 echo "$as_me:$LINENO: result: yes" >&5
9131 echo "${ECHO_T}yes" >&6
9133 export SYSTEM_BACKTICKS
9134 cat >>confdefs.h <<_ACEOF
9135 #define SYSTEM_BACKTICKS 1
9139 echo "$as_me:$LINENO: result: no" >&5
9140 echo "${ECHO_T}no" >&6
9145 test "$program_prefix" != NONE &&
9146 program_transform_name="s,^,$program_prefix,;$program_transform_name"
9147 # Use a double $ so make ignores it.
9148 test "$program_suffix" != NONE &&
9149 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
9150 # Double any \ or $. echo might interpret backslashes.
9151 # By default was `s,x,x', remove it if useless.
9152 cat <<\_ACEOF >conftest.sed
9153 s/[\\$]/&&/g;s/;s,x,x,$//
9155 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
9159 ac_config_headers="$ac_config_headers config.h"
9167 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
9168 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
9169 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
9170 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
9171 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9172 echo $ECHO_N "(cached) $ECHO_C" >&6
9174 cat >conftest.$ac_ext <<_ACEOF
9177 cat confdefs.h >>conftest.$ac_ext
9178 cat >>conftest.$ac_ext <<_ACEOF
9179 /* end confdefs.h. */
9180 #include <sys/types.h>
9192 rm -f conftest.$ac_objext
9193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9194 (eval $ac_compile) 2>conftest.er1
9196 grep -v '^ *+' conftest.er1 >conftest.err
9198 cat conftest.err >&5
9199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9200 (exit $ac_status); } &&
9201 { ac_try='test -z "$ac_c_werror_flag"
9202 || test ! -s conftest.err'
9203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9207 (exit $ac_status); }; } &&
9208 { ac_try='test -s conftest.$ac_objext'
9209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9213 (exit $ac_status); }; }; then
9214 eval "$as_ac_Header=yes"
9216 echo "$as_me: failed program was:" >&5
9217 sed 's/^/| /' conftest.$ac_ext >&5
9219 eval "$as_ac_Header=no"
9221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9224 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9225 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9226 cat >>confdefs.h <<_ACEOF
9227 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
9230 ac_header_dirent=$ac_hdr; break
9234 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
9235 if test $ac_header_dirent = dirent.h; then
9236 echo "$as_me:$LINENO: checking for library containing opendir" >&5
9237 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
9238 if test "${ac_cv_search_opendir+set}" = set; then
9239 echo $ECHO_N "(cached) $ECHO_C" >&6
9241 ac_func_search_save_LIBS=$LIBS
9242 ac_cv_search_opendir=no
9243 cat >conftest.$ac_ext <<_ACEOF
9246 cat confdefs.h >>conftest.$ac_ext
9247 cat >>conftest.$ac_ext <<_ACEOF
9248 /* end confdefs.h. */
9250 /* Override any gcc2 internal prototype to avoid an error. */
9254 /* We use char because int might match the return type of a gcc2
9255 builtin and then its argument prototype would still apply. */
9265 rm -f conftest.$ac_objext conftest$ac_exeext
9266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9267 (eval $ac_link) 2>conftest.er1
9269 grep -v '^ *+' conftest.er1 >conftest.err
9271 cat conftest.err >&5
9272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9273 (exit $ac_status); } &&
9274 { ac_try='test -z "$ac_c_werror_flag"
9275 || test ! -s conftest.err'
9276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9280 (exit $ac_status); }; } &&
9281 { ac_try='test -s conftest$ac_exeext'
9282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9286 (exit $ac_status); }; }; then
9287 ac_cv_search_opendir="none required"
9289 echo "$as_me: failed program was:" >&5
9290 sed 's/^/| /' conftest.$ac_ext >&5
9293 rm -f conftest.err conftest.$ac_objext \
9294 conftest$ac_exeext conftest.$ac_ext
9295 if test "$ac_cv_search_opendir" = no; then
9296 for ac_lib in dir; do
9297 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9298 cat >conftest.$ac_ext <<_ACEOF
9301 cat confdefs.h >>conftest.$ac_ext
9302 cat >>conftest.$ac_ext <<_ACEOF
9303 /* end confdefs.h. */
9305 /* Override any gcc2 internal prototype to avoid an error. */
9309 /* We use char because int might match the return type of a gcc2
9310 builtin and then its argument prototype would still apply. */
9320 rm -f conftest.$ac_objext conftest$ac_exeext
9321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9322 (eval $ac_link) 2>conftest.er1
9324 grep -v '^ *+' conftest.er1 >conftest.err
9326 cat conftest.err >&5
9327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9328 (exit $ac_status); } &&
9329 { ac_try='test -z "$ac_c_werror_flag"
9330 || test ! -s conftest.err'
9331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9335 (exit $ac_status); }; } &&
9336 { ac_try='test -s conftest$ac_exeext'
9337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9341 (exit $ac_status); }; }; then
9342 ac_cv_search_opendir="-l$ac_lib"
9345 echo "$as_me: failed program was:" >&5
9346 sed 's/^/| /' conftest.$ac_ext >&5
9349 rm -f conftest.err conftest.$ac_objext \
9350 conftest$ac_exeext conftest.$ac_ext
9353 LIBS=$ac_func_search_save_LIBS
9355 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
9356 echo "${ECHO_T}$ac_cv_search_opendir" >&6
9357 if test "$ac_cv_search_opendir" != no; then
9358 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
9363 echo "$as_me:$LINENO: checking for library containing opendir" >&5
9364 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
9365 if test "${ac_cv_search_opendir+set}" = set; then
9366 echo $ECHO_N "(cached) $ECHO_C" >&6
9368 ac_func_search_save_LIBS=$LIBS
9369 ac_cv_search_opendir=no
9370 cat >conftest.$ac_ext <<_ACEOF
9373 cat confdefs.h >>conftest.$ac_ext
9374 cat >>conftest.$ac_ext <<_ACEOF
9375 /* end confdefs.h. */
9377 /* Override any gcc2 internal prototype to avoid an error. */
9381 /* We use char because int might match the return type of a gcc2
9382 builtin and then its argument prototype would still apply. */
9392 rm -f conftest.$ac_objext conftest$ac_exeext
9393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9394 (eval $ac_link) 2>conftest.er1
9396 grep -v '^ *+' conftest.er1 >conftest.err
9398 cat conftest.err >&5
9399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9400 (exit $ac_status); } &&
9401 { ac_try='test -z "$ac_c_werror_flag"
9402 || test ! -s conftest.err'
9403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9407 (exit $ac_status); }; } &&
9408 { ac_try='test -s conftest$ac_exeext'
9409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9413 (exit $ac_status); }; }; then
9414 ac_cv_search_opendir="none required"
9416 echo "$as_me: failed program was:" >&5
9417 sed 's/^/| /' conftest.$ac_ext >&5
9420 rm -f conftest.err conftest.$ac_objext \
9421 conftest$ac_exeext conftest.$ac_ext
9422 if test "$ac_cv_search_opendir" = no; then
9424 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9425 cat >conftest.$ac_ext <<_ACEOF
9428 cat confdefs.h >>conftest.$ac_ext
9429 cat >>conftest.$ac_ext <<_ACEOF
9430 /* end confdefs.h. */
9432 /* Override any gcc2 internal prototype to avoid an error. */
9436 /* We use char because int might match the return type of a gcc2
9437 builtin and then its argument prototype would still apply. */
9447 rm -f conftest.$ac_objext conftest$ac_exeext
9448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9449 (eval $ac_link) 2>conftest.er1
9451 grep -v '^ *+' conftest.er1 >conftest.err
9453 cat conftest.err >&5
9454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9455 (exit $ac_status); } &&
9456 { ac_try='test -z "$ac_c_werror_flag"
9457 || test ! -s conftest.err'
9458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9462 (exit $ac_status); }; } &&
9463 { ac_try='test -s conftest$ac_exeext'
9464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9468 (exit $ac_status); }; }; then
9469 ac_cv_search_opendir="-l$ac_lib"
9472 echo "$as_me: failed program was:" >&5
9473 sed 's/^/| /' conftest.$ac_ext >&5
9476 rm -f conftest.err conftest.$ac_objext \
9477 conftest$ac_exeext conftest.$ac_ext
9480 LIBS=$ac_func_search_save_LIBS
9482 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
9483 echo "${ECHO_T}$ac_cv_search_opendir" >&6
9484 if test "$ac_cv_search_opendir" != no; then
9485 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
9491 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
9492 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
9493 if test "${ac_cv_header_stdc+set}" = set; then
9494 echo $ECHO_N "(cached) $ECHO_C" >&6
9496 cat >conftest.$ac_ext <<_ACEOF
9499 cat confdefs.h >>conftest.$ac_ext
9500 cat >>conftest.$ac_ext <<_ACEOF
9501 /* end confdefs.h. */
9515 rm -f conftest.$ac_objext
9516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9517 (eval $ac_compile) 2>conftest.er1
9519 grep -v '^ *+' conftest.er1 >conftest.err
9521 cat conftest.err >&5
9522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9523 (exit $ac_status); } &&
9524 { ac_try='test -z "$ac_c_werror_flag"
9525 || test ! -s conftest.err'
9526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9530 (exit $ac_status); }; } &&
9531 { ac_try='test -s conftest.$ac_objext'
9532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9536 (exit $ac_status); }; }; then
9537 ac_cv_header_stdc=yes
9539 echo "$as_me: failed program was:" >&5
9540 sed 's/^/| /' conftest.$ac_ext >&5
9542 ac_cv_header_stdc=no
9544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9546 if test $ac_cv_header_stdc = yes; then
9547 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9548 cat >conftest.$ac_ext <<_ACEOF
9551 cat confdefs.h >>conftest.$ac_ext
9552 cat >>conftest.$ac_ext <<_ACEOF
9553 /* end confdefs.h. */
9557 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9558 $EGREP "memchr" >/dev/null 2>&1; then
9561 ac_cv_header_stdc=no
9567 if test $ac_cv_header_stdc = yes; then
9568 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9569 cat >conftest.$ac_ext <<_ACEOF
9572 cat confdefs.h >>conftest.$ac_ext
9573 cat >>conftest.$ac_ext <<_ACEOF
9574 /* end confdefs.h. */
9578 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9579 $EGREP "free" >/dev/null 2>&1; then
9582 ac_cv_header_stdc=no
9588 if test $ac_cv_header_stdc = yes; then
9589 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9590 if test "$cross_compiling" = yes; then
9593 cat >conftest.$ac_ext <<_ACEOF
9596 cat confdefs.h >>conftest.$ac_ext
9597 cat >>conftest.$ac_ext <<_ACEOF
9598 /* end confdefs.h. */
9600 #if ((' ' & 0x0FF) == 0x020)
9601 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9602 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9604 # define ISLOWER(c) \
9605 (('a' <= (c) && (c) <= 'i') \
9606 || ('j' <= (c) && (c) <= 'r') \
9607 || ('s' <= (c) && (c) <= 'z'))
9608 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9611 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9616 for (i = 0; i < 256; i++)
9617 if (XOR (islower (i), ISLOWER (i))
9618 || toupper (i) != TOUPPER (i))
9623 rm -f conftest$ac_exeext
9624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9625 (eval $ac_link) 2>&5
9627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9628 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9633 (exit $ac_status); }; }; then
9636 echo "$as_me: program exited with status $ac_status" >&5
9637 echo "$as_me: failed program was:" >&5
9638 sed 's/^/| /' conftest.$ac_ext >&5
9641 ac_cv_header_stdc=no
9643 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9647 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
9648 echo "${ECHO_T}$ac_cv_header_stdc" >&6
9649 if test $ac_cv_header_stdc = yes; then
9651 cat >>confdefs.h <<\_ACEOF
9652 #define STDC_HEADERS 1
9671 for ac_header in zlib.h jpeglib.h t1lib.h assert.h signal.h pthread.h sys/stat.h sys/types.h dirent.h sys/bsdtypes.h sys/ndir.h sys/dir.h ndir.h time.h
9673 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9674 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9675 echo "$as_me:$LINENO: checking for $ac_header" >&5
9676 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9677 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9678 echo $ECHO_N "(cached) $ECHO_C" >&6
9680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9681 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9683 # Is the header compilable?
9684 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9685 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9686 cat >conftest.$ac_ext <<_ACEOF
9689 cat confdefs.h >>conftest.$ac_ext
9690 cat >>conftest.$ac_ext <<_ACEOF
9691 /* end confdefs.h. */
9692 $ac_includes_default
9693 #include <$ac_header>
9695 rm -f conftest.$ac_objext
9696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9697 (eval $ac_compile) 2>conftest.er1
9699 grep -v '^ *+' conftest.er1 >conftest.err
9701 cat conftest.err >&5
9702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9703 (exit $ac_status); } &&
9704 { ac_try='test -z "$ac_c_werror_flag"
9705 || test ! -s conftest.err'
9706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9710 (exit $ac_status); }; } &&
9711 { ac_try='test -s conftest.$ac_objext'
9712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9716 (exit $ac_status); }; }; then
9717 ac_header_compiler=yes
9719 echo "$as_me: failed program was:" >&5
9720 sed 's/^/| /' conftest.$ac_ext >&5
9722 ac_header_compiler=no
9724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9725 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9726 echo "${ECHO_T}$ac_header_compiler" >&6
9728 # Is the header present?
9729 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9730 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9731 cat >conftest.$ac_ext <<_ACEOF
9734 cat confdefs.h >>conftest.$ac_ext
9735 cat >>conftest.$ac_ext <<_ACEOF
9736 /* end confdefs.h. */
9737 #include <$ac_header>
9739 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9740 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9742 grep -v '^ *+' conftest.er1 >conftest.err
9744 cat conftest.err >&5
9745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9746 (exit $ac_status); } >/dev/null; then
9747 if test -s conftest.err; then
9748 ac_cpp_err=$ac_c_preproc_warn_flag
9749 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9756 if test -z "$ac_cpp_err"; then
9757 ac_header_preproc=yes
9759 echo "$as_me: failed program was:" >&5
9760 sed 's/^/| /' conftest.$ac_ext >&5
9762 ac_header_preproc=no
9764 rm -f conftest.err conftest.$ac_ext
9765 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9766 echo "${ECHO_T}$ac_header_preproc" >&6
9768 # So? What about this header?
9769 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9771 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9772 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9773 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9774 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9775 ac_header_preproc=yes
9778 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9779 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9780 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9781 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9782 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9783 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9784 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9785 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9786 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9787 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9788 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9789 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9792 ## ------------------------------------------ ##
9793 ## Report this to the AC_PACKAGE_NAME lists. ##
9794 ## ------------------------------------------ ##
9797 sed "s/^/$as_me: WARNING: /" >&2
9800 echo "$as_me:$LINENO: checking for $ac_header" >&5
9801 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9802 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9803 echo $ECHO_N "(cached) $ECHO_C" >&6
9805 eval "$as_ac_Header=\$ac_header_preproc"
9807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9808 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9811 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9812 cat >>confdefs.h <<_ACEOF
9813 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9821 if test "x${ac_cv_header_jpeglib_h}" != "xyes"; then
9822 DISABLEPDF2SWF=true;
9823 DISABLEJPEG2SWF=true;
9824 MISSINGLIBS="${MISSINGLIBS} jpeglib.h"
9826 if test "x${ac_cv_header_t1lib_h}" != "xyes"; then
9827 DISABLEPDF2SWF=true;
9828 MISSINGLIBS="${MISSINGLIBS} t1lib.h"
9830 if test "x${ac_cv_header_zlib_h}" != "xyes"; then
9831 DISABLEPNG2SWF=true;
9832 MISSINGLIBS="${MISSINGLIBS} zlib.h"
9836 cat >>confdefs.h <<_ACEOF
9837 #define PACKAGE "$PACKAGE"
9840 cat >>confdefs.h <<_ACEOF
9841 #define VERSION "$VERSION"
9850 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
9851 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
9852 if test "${ac_cv_c_const+set}" = set; then
9853 echo $ECHO_N "(cached) $ECHO_C" >&6
9855 cat >conftest.$ac_ext <<_ACEOF
9858 cat confdefs.h >>conftest.$ac_ext
9859 cat >>conftest.$ac_ext <<_ACEOF
9860 /* end confdefs.h. */
9865 /* FIXME: Include the comments suggested by Paul. */
9867 /* Ultrix mips cc rejects this. */
9868 typedef int charset[2];
9870 /* SunOS 4.1.1 cc rejects this. */
9871 char const *const *ccp;
9873 /* NEC SVR4.0.2 mips cc rejects this. */
9874 struct point {int x, y;};
9875 static struct point const zero = {0,0};
9876 /* AIX XL C 1.02.0.0 rejects this.
9877 It does not let you subtract one const X* pointer from another in
9878 an arm of an if-expression whose if-part is not a constant
9880 const char *g = "string";
9881 ccp = &g + (g ? g-g : 0);
9882 /* HPUX 7.0 cc rejects these. */
9885 ccp = (char const *const *) p;
9886 { /* SCO 3.2v4 cc rejects this. */
9888 char const *s = 0 ? (char *) 0 : (char const *) 0;
9892 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9894 const int *foo = &x[0];
9897 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9898 typedef const int *iptr;
9902 { /* AIX XL C 1.02.0.0 rejects this saying
9903 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9904 struct s { int j; const int *ap[3]; };
9905 struct s *b; b->j = 5;
9907 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9916 rm -f conftest.$ac_objext
9917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9918 (eval $ac_compile) 2>conftest.er1
9920 grep -v '^ *+' conftest.er1 >conftest.err
9922 cat conftest.err >&5
9923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9924 (exit $ac_status); } &&
9925 { ac_try='test -z "$ac_c_werror_flag"
9926 || test ! -s conftest.err'
9927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9931 (exit $ac_status); }; } &&
9932 { ac_try='test -s conftest.$ac_objext'
9933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9937 (exit $ac_status); }; }; then
9940 echo "$as_me: failed program was:" >&5
9941 sed 's/^/| /' conftest.$ac_ext >&5
9945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9947 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
9948 echo "${ECHO_T}$ac_cv_c_const" >&6
9949 if test $ac_cv_c_const = no; then
9951 cat >>confdefs.h <<\_ACEOF
9957 echo "$as_me:$LINENO: checking for inline" >&5
9958 echo $ECHO_N "checking for inline... $ECHO_C" >&6
9959 if test "${ac_cv_c_inline+set}" = set; then
9960 echo $ECHO_N "(cached) $ECHO_C" >&6
9963 for ac_kw in inline __inline__ __inline; do
9964 cat >conftest.$ac_ext <<_ACEOF
9967 cat confdefs.h >>conftest.$ac_ext
9968 cat >>conftest.$ac_ext <<_ACEOF
9969 /* end confdefs.h. */
9972 static $ac_kw foo_t static_foo () {return 0; }
9973 $ac_kw foo_t foo () {return 0; }
9977 rm -f conftest.$ac_objext
9978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9979 (eval $ac_compile) 2>conftest.er1
9981 grep -v '^ *+' conftest.er1 >conftest.err
9983 cat conftest.err >&5
9984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9985 (exit $ac_status); } &&
9986 { ac_try='test -z "$ac_c_werror_flag"
9987 || test ! -s conftest.err'
9988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9992 (exit $ac_status); }; } &&
9993 { ac_try='test -s conftest.$ac_objext'
9994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9998 (exit $ac_status); }; }; then
9999 ac_cv_c_inline=$ac_kw; break
10001 echo "$as_me: failed program was:" >&5
10002 sed 's/^/| /' conftest.$ac_ext >&5
10005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10009 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
10010 echo "${ECHO_T}$ac_cv_c_inline" >&6
10013 case $ac_cv_c_inline in
10016 case $ac_cv_c_inline in
10018 *) ac_val=$ac_cv_c_inline;;
10020 cat >>confdefs.h <<_ACEOF
10021 #ifndef __cplusplus
10022 #define inline $ac_val
10028 echo "$as_me:$LINENO: checking for off_t" >&5
10029 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
10030 if test "${ac_cv_type_off_t+set}" = set; then
10031 echo $ECHO_N "(cached) $ECHO_C" >&6
10033 cat >conftest.$ac_ext <<_ACEOF
10036 cat confdefs.h >>conftest.$ac_ext
10037 cat >>conftest.$ac_ext <<_ACEOF
10038 /* end confdefs.h. */
10039 $ac_includes_default
10045 if (sizeof (off_t))
10051 rm -f conftest.$ac_objext
10052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10053 (eval $ac_compile) 2>conftest.er1
10055 grep -v '^ *+' conftest.er1 >conftest.err
10057 cat conftest.err >&5
10058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10059 (exit $ac_status); } &&
10060 { ac_try='test -z "$ac_c_werror_flag"
10061 || test ! -s conftest.err'
10062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10063 (eval $ac_try) 2>&5
10065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10066 (exit $ac_status); }; } &&
10067 { ac_try='test -s conftest.$ac_objext'
10068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10069 (eval $ac_try) 2>&5
10071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10072 (exit $ac_status); }; }; then
10073 ac_cv_type_off_t=yes
10075 echo "$as_me: failed program was:" >&5
10076 sed 's/^/| /' conftest.$ac_ext >&5
10078 ac_cv_type_off_t=no
10080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10082 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
10083 echo "${ECHO_T}$ac_cv_type_off_t" >&6
10084 if test $ac_cv_type_off_t = yes; then
10088 cat >>confdefs.h <<_ACEOF
10094 echo "$as_me:$LINENO: checking for size_t" >&5
10095 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
10096 if test "${ac_cv_type_size_t+set}" = set; then
10097 echo $ECHO_N "(cached) $ECHO_C" >&6
10099 cat >conftest.$ac_ext <<_ACEOF
10102 cat confdefs.h >>conftest.$ac_ext
10103 cat >>conftest.$ac_ext <<_ACEOF
10104 /* end confdefs.h. */
10105 $ac_includes_default
10111 if (sizeof (size_t))
10117 rm -f conftest.$ac_objext
10118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10119 (eval $ac_compile) 2>conftest.er1
10121 grep -v '^ *+' conftest.er1 >conftest.err
10123 cat conftest.err >&5
10124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10125 (exit $ac_status); } &&
10126 { ac_try='test -z "$ac_c_werror_flag"
10127 || test ! -s conftest.err'
10128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10129 (eval $ac_try) 2>&5
10131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10132 (exit $ac_status); }; } &&
10133 { ac_try='test -s conftest.$ac_objext'
10134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10135 (eval $ac_try) 2>&5
10137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10138 (exit $ac_status); }; }; then
10139 ac_cv_type_size_t=yes
10141 echo "$as_me: failed program was:" >&5
10142 sed 's/^/| /' conftest.$ac_ext >&5
10144 ac_cv_type_size_t=no
10146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10148 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
10149 echo "${ECHO_T}$ac_cv_type_size_t" >&6
10150 if test $ac_cv_type_size_t = yes; then
10154 cat >>confdefs.h <<_ACEOF
10155 #define size_t unsigned
10160 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
10161 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
10162 if test "${ac_cv_struct_tm+set}" = set; then
10163 echo $ECHO_N "(cached) $ECHO_C" >&6
10165 cat >conftest.$ac_ext <<_ACEOF
10168 cat confdefs.h >>conftest.$ac_ext
10169 cat >>conftest.$ac_ext <<_ACEOF
10170 /* end confdefs.h. */
10171 #include <sys/types.h>
10177 struct tm *tp; tp->tm_sec;
10182 rm -f conftest.$ac_objext
10183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10184 (eval $ac_compile) 2>conftest.er1
10186 grep -v '^ *+' conftest.er1 >conftest.err
10188 cat conftest.err >&5
10189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10190 (exit $ac_status); } &&
10191 { ac_try='test -z "$ac_c_werror_flag"
10192 || test ! -s conftest.err'
10193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10194 (eval $ac_try) 2>&5
10196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10197 (exit $ac_status); }; } &&
10198 { ac_try='test -s conftest.$ac_objext'
10199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10200 (eval $ac_try) 2>&5
10202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10203 (exit $ac_status); }; }; then
10204 ac_cv_struct_tm=time.h
10206 echo "$as_me: failed program was:" >&5
10207 sed 's/^/| /' conftest.$ac_ext >&5
10209 ac_cv_struct_tm=sys/time.h
10211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10213 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
10214 echo "${ECHO_T}$ac_cv_struct_tm" >&6
10215 if test $ac_cv_struct_tm = sys/time.h; then
10217 cat >>confdefs.h <<\_ACEOF
10218 #define TM_IN_SYS_TIME 1
10223 echo "$as_me:$LINENO: checking for boolean" >&5
10224 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
10225 if test "${ac_cv_type_boolean+set}" = set; then
10226 echo $ECHO_N "(cached) $ECHO_C" >&6
10228 cat >conftest.$ac_ext <<_ACEOF
10231 cat confdefs.h >>conftest.$ac_ext
10232 cat >>conftest.$ac_ext <<_ACEOF
10233 /* end confdefs.h. */
10234 $ac_includes_default
10240 if (sizeof (boolean))
10246 rm -f conftest.$ac_objext
10247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10248 (eval $ac_compile) 2>conftest.er1
10250 grep -v '^ *+' conftest.er1 >conftest.err
10252 cat conftest.err >&5
10253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10254 (exit $ac_status); } &&
10255 { ac_try='test -z "$ac_c_werror_flag"
10256 || test ! -s conftest.err'
10257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10258 (eval $ac_try) 2>&5
10260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10261 (exit $ac_status); }; } &&
10262 { ac_try='test -s conftest.$ac_objext'
10263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10264 (eval $ac_try) 2>&5
10266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10267 (exit $ac_status); }; }; then
10268 ac_cv_type_boolean=yes
10270 echo "$as_me: failed program was:" >&5
10271 sed 's/^/| /' conftest.$ac_ext >&5
10273 ac_cv_type_boolean=no
10275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10277 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
10278 echo "${ECHO_T}$ac_cv_type_boolean" >&6
10279 if test $ac_cv_type_boolean = yes; then
10283 cat >>confdefs.h <<_ACEOF
10284 #define boolean int
10289 echo "$as_me:$LINENO: checking for bool" >&5
10290 echo $ECHO_N "checking for bool... $ECHO_C" >&6
10291 if test "${ac_cv_type_bool+set}" = set; then
10292 echo $ECHO_N "(cached) $ECHO_C" >&6
10294 cat >conftest.$ac_ext <<_ACEOF
10297 cat confdefs.h >>conftest.$ac_ext
10298 cat >>conftest.$ac_ext <<_ACEOF
10299 /* end confdefs.h. */
10300 $ac_includes_default
10312 rm -f conftest.$ac_objext
10313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10314 (eval $ac_compile) 2>conftest.er1
10316 grep -v '^ *+' conftest.er1 >conftest.err
10318 cat conftest.err >&5
10319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10320 (exit $ac_status); } &&
10321 { ac_try='test -z "$ac_c_werror_flag"
10322 || test ! -s conftest.err'
10323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10324 (eval $ac_try) 2>&5
10326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10327 (exit $ac_status); }; } &&
10328 { ac_try='test -s conftest.$ac_objext'
10329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10330 (eval $ac_try) 2>&5
10332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10333 (exit $ac_status); }; }; then
10334 ac_cv_type_bool=yes
10336 echo "$as_me: failed program was:" >&5
10337 sed 's/^/| /' conftest.$ac_ext >&5
10341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10343 echo "$as_me:$LINENO: result: $ac_cv_type_bool" >&5
10344 echo "${ECHO_T}$ac_cv_type_bool" >&6
10345 if test $ac_cv_type_bool = yes; then
10349 cat >>confdefs.h <<_ACEOF
10366 for ac_func in popen mkstemp stat lrand48 rand srand48 srand bcopy bzero time
10368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10369 echo "$as_me:$LINENO: checking for $ac_func" >&5
10370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10371 if eval "test \"\${$as_ac_var+set}\" = set"; then
10372 echo $ECHO_N "(cached) $ECHO_C" >&6
10374 cat >conftest.$ac_ext <<_ACEOF
10377 cat confdefs.h >>conftest.$ac_ext
10378 cat >>conftest.$ac_ext <<_ACEOF
10379 /* end confdefs.h. */
10380 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10381 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10382 #define $ac_func innocuous_$ac_func
10384 /* System header to define __stub macros and hopefully few prototypes,
10385 which can conflict with char $ac_func (); below.
10386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10387 <limits.h> exists even on freestanding compilers. */
10390 # include <limits.h>
10392 # include <assert.h>
10397 /* Override any gcc2 internal prototype to avoid an error. */
10402 /* We use char because int might match the return type of a gcc2
10403 builtin and then its argument prototype would still apply. */
10405 /* The GNU C library defines this for functions which it implements
10406 to always fail with ENOSYS. Some functions are actually named
10407 something starting with __ and the normal name is an alias. */
10408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10411 char (*f) () = $ac_func;
10420 return f != $ac_func;
10425 rm -f conftest.$ac_objext conftest$ac_exeext
10426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10427 (eval $ac_link) 2>conftest.er1
10429 grep -v '^ *+' conftest.er1 >conftest.err
10431 cat conftest.err >&5
10432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10433 (exit $ac_status); } &&
10434 { ac_try='test -z "$ac_c_werror_flag"
10435 || test ! -s conftest.err'
10436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10437 (eval $ac_try) 2>&5
10439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10440 (exit $ac_status); }; } &&
10441 { ac_try='test -s conftest$ac_exeext'
10442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10443 (eval $ac_try) 2>&5
10445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10446 (exit $ac_status); }; }; then
10447 eval "$as_ac_var=yes"
10449 echo "$as_me: failed program was:" >&5
10450 sed 's/^/| /' conftest.$ac_ext >&5
10452 eval "$as_ac_var=no"
10454 rm -f conftest.err conftest.$ac_objext \
10455 conftest$ac_exeext conftest.$ac_ext
10457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10458 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10459 if test `eval echo '${'$as_ac_var'}'` = yes; then
10460 cat >>confdefs.h <<_ACEOF
10461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10469 for ac_prog in avifile-config
10471 # Extract the first word of "$ac_prog", so it can be a program name with args.
10472 set dummy $ac_prog; ac_word=$2
10473 echo "$as_me:$LINENO: checking for $ac_word" >&5
10474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10475 if test "${ac_cv_prog_AVIFILE_CONFIG+set}" = set; then
10476 echo $ECHO_N "(cached) $ECHO_C" >&6
10478 if test -n "$AVIFILE_CONFIG"; then
10479 ac_cv_prog_AVIFILE_CONFIG="$AVIFILE_CONFIG" # Let the user override the test.
10481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10482 for as_dir in $PATH
10485 test -z "$as_dir" && as_dir=.
10486 for ac_exec_ext in '' $ac_executable_extensions; do
10487 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10488 ac_cv_prog_AVIFILE_CONFIG="$ac_prog"
10489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10497 AVIFILE_CONFIG=$ac_cv_prog_AVIFILE_CONFIG
10498 if test -n "$AVIFILE_CONFIG"; then
10499 echo "$as_me:$LINENO: result: $AVIFILE_CONFIG" >&5
10500 echo "${ECHO_T}$AVIFILE_CONFIG" >&6
10502 echo "$as_me:$LINENO: result: no" >&5
10503 echo "${ECHO_T}no" >&6
10506 test -n "$AVIFILE_CONFIG" && break
10510 if test "x$AVIFILE_CONFIG" '!=' "x";then
10511 OLDCPPFLAGS="$CPPFLAGS"
10512 #OLDLDFLAGS="$LDFLAGS"
10513 CPPFLAGS="$CPPFLAGS $CXXFLAGS "`$AVIFILE_CONFIG --cflags`
10514 #LDFLAGS="$LDFLAGS `$AVIFILE_CONFIG --libs`"
10517 for ac_header in avifile/version.h version.h
10519 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10520 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10521 echo "$as_me:$LINENO: checking for $ac_header" >&5
10522 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10523 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10524 echo $ECHO_N "(cached) $ECHO_C" >&6
10526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10527 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10529 # Is the header compilable?
10530 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10531 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10532 cat >conftest.$ac_ext <<_ACEOF
10535 cat confdefs.h >>conftest.$ac_ext
10536 cat >>conftest.$ac_ext <<_ACEOF
10537 /* end confdefs.h. */
10538 $ac_includes_default
10539 #include <$ac_header>
10541 rm -f conftest.$ac_objext
10542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10543 (eval $ac_compile) 2>conftest.er1
10545 grep -v '^ *+' conftest.er1 >conftest.err
10547 cat conftest.err >&5
10548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10549 (exit $ac_status); } &&
10550 { ac_try='test -z "$ac_c_werror_flag"
10551 || test ! -s conftest.err'
10552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10553 (eval $ac_try) 2>&5
10555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10556 (exit $ac_status); }; } &&
10557 { ac_try='test -s conftest.$ac_objext'
10558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10559 (eval $ac_try) 2>&5
10561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10562 (exit $ac_status); }; }; then
10563 ac_header_compiler=yes
10565 echo "$as_me: failed program was:" >&5
10566 sed 's/^/| /' conftest.$ac_ext >&5
10568 ac_header_compiler=no
10570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10571 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10572 echo "${ECHO_T}$ac_header_compiler" >&6
10574 # Is the header present?
10575 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10576 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10577 cat >conftest.$ac_ext <<_ACEOF
10580 cat confdefs.h >>conftest.$ac_ext
10581 cat >>conftest.$ac_ext <<_ACEOF
10582 /* end confdefs.h. */
10583 #include <$ac_header>
10585 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10586 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10588 grep -v '^ *+' conftest.er1 >conftest.err
10590 cat conftest.err >&5
10591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10592 (exit $ac_status); } >/dev/null; then
10593 if test -s conftest.err; then
10594 ac_cpp_err=$ac_c_preproc_warn_flag
10595 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10602 if test -z "$ac_cpp_err"; then
10603 ac_header_preproc=yes
10605 echo "$as_me: failed program was:" >&5
10606 sed 's/^/| /' conftest.$ac_ext >&5
10608 ac_header_preproc=no
10610 rm -f conftest.err conftest.$ac_ext
10611 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10612 echo "${ECHO_T}$ac_header_preproc" >&6
10614 # So? What about this header?
10615 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10617 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10618 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10619 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10620 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10621 ac_header_preproc=yes
10624 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10625 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10626 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10627 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10628 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10629 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10630 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10631 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10632 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10633 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10634 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10635 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10638 ## ------------------------------------------ ##
10639 ## Report this to the AC_PACKAGE_NAME lists. ##
10640 ## ------------------------------------------ ##
10643 sed "s/^/$as_me: WARNING: /" >&2
10646 echo "$as_me:$LINENO: checking for $ac_header" >&5
10647 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10648 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10649 echo $ECHO_N "(cached) $ECHO_C" >&6
10651 eval "$as_ac_Header=\$ac_header_preproc"
10653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10654 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10657 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10658 cat >>confdefs.h <<_ACEOF
10659 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10666 #LDFLAGS="$OLDLDFLAGS"
10667 CPPFLAGS="$OLDCPPFLAGS"
10670 echo "$as_me:$LINENO: checking whether we can compile the avifile test program" >&5
10671 echo $ECHO_N "checking whether we can compile the avifile test program... $ECHO_C" >&6
10673 if test "x${ac_cv_header_version_h}" '=' "xyes";then
10674 HAVE_VERSION_H_DEFINE='#define HAVE_VERSION_H'
10676 if test "x${ac_cv_header_avifile_version_h}" '=' "xyes";then
10677 HAVE_AVIFILE_VERSION_H_DEFINE='#define HAVE_AVIFILE_VERSION_H'
10680 cat > conftest.cpp << EOF
10682 // hack- we can't yet access the variables in config.h (because it hasn't been generated yet),
10683 // so we have to introduce them this way
10684 $HAVE_VERSION_H_DEFINE
10685 $HAVE_AVIFILE_VERSION_H_DEFINE
10687 #ifdef HAVE_VERSION_H
10688 #include <version.h>
10690 #ifdef HAVE_AVIFILE_VERSION_H
10691 #include <avifile/version.h>
10694 #if (AVIFILE_MAJOR_VERSION == 0) && (AVIFILE_MINOR_VERSION>=6)
10695 #include <avifile.h>
10696 #include <aviplay.h>
10697 #include <fourcc.h>
10698 #include <creators.h>
10699 #include <StreamInfo.h>
10702 #include <avifile.h>
10703 #include <aviplay.h>
10704 #include <aviutil.h>
10705 #define Width width
10706 #define Height height
10713 IAviReadFile* player;
10714 IAviReadStream* astream;
10715 IAviReadStream* vstream;
10716 player = CreateIAviReadFile(0);
10717 astream = player->GetStream(0, AviStream::Audio);
10718 vstream = player->GetStream(0, AviStream::Video);
10719 vstream -> StartStreaming();
10720 astream -> StartStreaming();
10722 MainAVIHeader head;
10723 player->GetFileHeader(&head);
10724 head.dwMicroSecPerFrame;
10725 head.dwTotalFrames;
10729 head.dwMicroSecPerFrame;
10730 astream->GetEndPos(),
10731 astream->GetEndTime());
10732 player->StreamCount();
10734 StreamInfo*audioinfo;
10735 StreamInfo*videoinfo;
10736 audioinfo = astream->GetStreamInfo();
10737 videoinfo = vstream->GetStreamInfo();
10738 videoinfo->GetVideoWidth();
10739 videoinfo->GetVideoHeight();
10740 audioinfo->GetAudioSamplesPerSec();
10741 videoinfo->GetFps();
10743 CImage*img = vstream->GetFrame();
10750 astream->GetAudioFormatInfo(&wave,0);
10752 astream->ReadFrames(0,0,0,a,b);
10754 int main (int argc, char*argv)
10760 if test "x$AVIFILE_CONFIG" '!=' "x";then
10761 ac_link='$CXX $CPPFLAGS $CXXFLAGS `$AVIFILE_CONFIG --cflags` conftest.cpp `$AVIFILE_CONFIG --libs` -o conftest${ac_exeext}'
10762 if { (eval echo avi2swf.m4:71: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && ./conftest${ac_exeext}; then
10763 echo "$as_me:$LINENO: result: yes" >&5
10764 echo "${ECHO_T}yes" >&6
10767 cat >>confdefs.h <<_ACEOF
10768 #define AVIFILE true
10772 echo "configure: failed program was:" >&5
10773 cat conftest.cpp >&5
10774 echo "$as_me:$LINENO: result: no" >&5
10775 echo "${ECHO_T}no" >&6
10778 echo "$as_me:$LINENO: result: no" >&5
10779 echo "${ECHO_T}no" >&6
10784 avi2swf="avi2swf/Makefile"
10785 if test "x${AVIFILE}" != "xtrue"; then
10786 echo "* Couldn't compile the avifile test program."
10787 echo "* Disabling avi2swf tool..."
10788 echo all install uninstall clean: > avi2swf/Makefile
10792 if test "x${DISABLE_LAME}" = "xtrue"; then
10793 echo "*" Disabling lame support...
10796 cat >>confdefs.h <<_ACEOF
10797 #define HAVE_LAME 1
10800 lame_objects='$(lame_objects_2)'
10804 if test "x${UNCOMPRESS}" = "xgzip"; then
10805 cat >>confdefs.h <<_ACEOF
10812 JPEG2SWF='jpeg2swf$(E)'
10814 PNG2SWF='png2swf$(E)'
10817 if test "x" = "x"; then
10818 pythonrfxswf="lib/python/Makefile"
10820 echo all install uninstall clean: > lib/python/Makefile
10823 if test "x${DISABLEPDF2SWF}" = "xtrue"; then
10824 echo "***************************************************"
10825 echo "The following headers/libraries are missing: " ${MISSINGLIBS}
10826 if test "x${DISABLEPDF2SWF}" = "xtrue"; then
10827 echo "Disabling pdf2swf tool..."
10828 rm -f pdf2swf/Makefile
10829 echo all install uninstall clean: > pdf2swf/Makefile
10831 if test "x${DISABLEJPEG2SWF}" = "xtrue"; then
10832 echo "Disabling jpeg2swf tool..."
10836 if test "x${DISABLEPNG2SWF}" = "xtrue"; then
10837 echo "Disabling png2swf tool..."
10841 if test "x${ZLIBMISSING}" = "xtrue"; then
10843 echo "Warning! Without zlib, you will not be able to read"
10844 echo "or write compressed Flash MX files!"
10846 echo "***************************************************"
10847 FILES="./release Makefile.common ${avi2swf} Makefile lib/lame/Makefile lib/Makefile lib/action/Makefile src/Makefile swfs/Makefile ${pythonrfxswf}"
10849 FILES="./release Makefile.common ${avi2swf} Makefile lib/lame/Makefile lib/Makefile lib/action/Makefile src/Makefile pdf2swf/Makefile pdf2swf/xpdf/Makefile pdf2swf/ttf2pt1/Makefile swfs/Makefile ${pythonrfxswf}"
10854 ac_config_files="$ac_config_files ${FILES}"
10856 cat >confcache <<\_ACEOF
10857 # This file is a shell script that caches the results of configure
10858 # tests run on this system so they can be shared between configure
10859 # scripts and configure runs, see configure's option --config-cache.
10860 # It is not useful on other systems. If it contains results you don't
10861 # want to keep, you may remove or edit it.
10863 # config.status only pays attention to the cache file if you give it
10864 # the --recheck option to rerun configure.
10866 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10867 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10868 # following values.
10872 # The following way of writing the cache mishandles newlines in values,
10873 # but we know of no workaround that is simple, portable, and efficient.
10874 # So, don't put newlines in cache variables' values.
10875 # Ultrix sh set writes to stderr and can't be redirected directly,
10876 # and sets the high bit in the cache file unless we assign to the vars.
10879 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10881 # `set' does not quote correctly, so add quotes (double-quote
10882 # substitution turns \\\\ into \\, and sed turns \\ into \).
10885 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10888 # `set' quotes correctly as required by POSIX, so do not add quotes.
10890 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10897 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10899 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10901 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10902 if test -w $cache_file; then
10903 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10904 cat confcache >$cache_file
10906 echo "not updating unwritable cache $cache_file"
10911 test "x$prefix" = xNONE && prefix=$ac_default_prefix
10912 # Let make expand exec_prefix.
10913 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
10915 # VPATH may cause trouble with some makes, so we remove $(srcdir),
10916 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10917 # trailing colons and then remove the whole line if VPATH becomes empty
10918 # (actually we leave an empty line to preserve line numbers).
10919 if test "x$srcdir" = x.; then
10920 ac_vpsub='/^[ ]*VPATH[ ]*=/{
10921 s/:*\$(srcdir):*/:/;
10922 s/:*\${srcdir}:*/:/;
10924 s/^\([^=]*=[ ]*\):*/\1/;
10930 DEFS=-DHAVE_CONFIG_H
10934 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
10935 # 1. Remove the extension, and $U if already installed.
10936 ac_i=`echo "$ac_i" |
10937 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
10939 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
10940 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
10942 LIBOBJS=$ac_libobjs
10944 LTLIBOBJS=$ac_ltlibobjs
10948 : ${CONFIG_STATUS=./config.status}
10949 ac_clean_files_save=$ac_clean_files
10950 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
10951 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
10952 echo "$as_me: creating $CONFIG_STATUS" >&6;}
10953 cat >$CONFIG_STATUS <<_ACEOF
10955 # Generated by $as_me.
10956 # Run this file to recreate the current configuration.
10957 # Compiler output produced by configure, useful for debugging
10958 # configure, is in config.log if it exists.
10961 ac_cs_recheck=false
10963 SHELL=\${CONFIG_SHELL-$SHELL}
10966 cat >>$CONFIG_STATUS <<\_ACEOF
10967 ## --------------------- ##
10968 ## M4sh Initialization. ##
10969 ## --------------------- ##
10971 # Be Bourne compatible
10972 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
10975 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10976 # is contrary to our usage. Disable this feature.
10977 alias -g '${1+"$@"}'='"$@"'
10978 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
10981 DUALCASE=1; export DUALCASE # for MKS sh
10983 # Support unset when possible.
10984 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
10991 # Work around bugs in pre-3.0 UWIN ksh.
10992 $as_unset ENV MAIL MAILPATH
10999 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11000 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11001 LC_TELEPHONE LC_TIME
11003 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11004 eval $as_var=C; export $as_var
11010 # Required to use basename.
11011 if expr a : '\(a\)' >/dev/null 2>&1; then
11017 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
11018 as_basename=basename
11024 # Name of the executable.
11025 as_me=`$as_basename "$0" ||
11026 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11027 X"$0" : 'X\(//\)$' \| \
11028 X"$0" : 'X\(/\)$' \| \
11029 . : '\(.\)' 2>/dev/null ||
11031 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
11032 /^X\/\(\/\/\)$/{ s//\1/; q; }
11033 /^X\/\(\/\).*/{ s//\1/; q; }
11037 # PATH needs CR, and LINENO needs CR and PATH.
11038 # Avoid depending upon Character Ranges.
11039 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11040 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11041 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11042 as_cr_digits='0123456789'
11043 as_cr_alnum=$as_cr_Letters$as_cr_digits
11045 # The user is always right.
11046 if test "${PATH_SEPARATOR+set}" != set; then
11047 echo "#! /bin/sh" >conf$$.sh
11048 echo "exit 0" >>conf$$.sh
11050 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11059 as_lineno_1=$LINENO
11060 as_lineno_2=$LINENO
11061 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11062 test "x$as_lineno_1" != "x$as_lineno_2" &&
11063 test "x$as_lineno_3" = "x$as_lineno_2" || {
11064 # Find who we are. Look in the path if we contain no path at all
11067 *[\\/]* ) as_myself=$0 ;;
11068 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11069 for as_dir in $PATH
11072 test -z "$as_dir" && as_dir=.
11073 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11078 # We did not find ourselves, most probably we were run as `sh COMMAND'
11079 # in which case we are not to be found in the path.
11080 if test "x$as_myself" = x; then
11083 if test ! -f "$as_myself"; then
11084 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
11085 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
11086 { (exit 1); exit 1; }; }
11088 case $CONFIG_SHELL in
11090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11091 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
11094 test -z "$as_dir" && as_dir=.
11095 for as_base in sh bash ksh sh5; do
11098 if ("$as_dir/$as_base" -c '
11099 as_lineno_1=$LINENO
11100 as_lineno_2=$LINENO
11101 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11102 test "x$as_lineno_1" != "x$as_lineno_2" &&
11103 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
11104 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
11105 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
11106 CONFIG_SHELL=$as_dir/$as_base
11107 export CONFIG_SHELL
11108 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
11116 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11117 # uniformly replaced by the line number. The first 'sed' inserts a
11118 # line-number line before each line; the second 'sed' does the real
11119 # work. The second script uses 'N' to pair each line-number line
11120 # with the numbered line, and appends trailing '-' during
11121 # substitution so that $LINENO is not a special case at line end.
11122 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11123 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
11124 sed '=' <$as_myself |
11129 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
11132 s,^['$as_cr_digits']*\n,,
11133 ' >$as_me.lineno &&
11134 chmod +x $as_me.lineno ||
11135 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
11136 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
11137 { (exit 1); exit 1; }; }
11139 # Don't try to exec as it changes $[0], causing all sort of problems
11140 # (the dirname of $[0] is not the place where we might find the
11141 # original and so on. Autoconf is especially sensible to this).
11143 # Exit status is that of the last command.
11148 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
11149 *c*,-n*) ECHO_N= ECHO_C='
11151 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
11152 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
11155 if expr a : '\(a\)' >/dev/null 2>&1; then
11161 rm -f conf$$ conf$$.exe conf$$.file
11163 if ln -s conf$$.file conf$$ 2>/dev/null; then
11164 # We could just check for DJGPP; but this test a) works b) is more generic
11165 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
11166 if test -f conf$$.exe; then
11167 # Don't use ln at all; we don't have any links
11172 elif ln conf$$.file conf$$ 2>/dev/null; then
11177 rm -f conf$$ conf$$.exe conf$$.file
11179 if mkdir -p . 2>/dev/null; then
11182 test -d ./-p && rmdir ./-p
11186 as_executable_p="test -f"
11188 # Sed expression to map a string onto a valid CPP name.
11189 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11191 # Sed expression to map a string onto a valid variable name.
11192 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11196 # We need space, tab and new line, in precisely that order.
11206 # Open the log real soon, to keep \$[0] and so on meaningful, and to
11207 # report actual input values of CONFIG_FILES etc. instead of their
11208 # values after options handling. Logging --version etc. is OK.
11212 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11213 ## Running $as_me. ##
11218 This file was extended by $as_me, which was
11219 generated by GNU Autoconf 2.58. Invocation command line was
11221 CONFIG_FILES = $CONFIG_FILES
11222 CONFIG_HEADERS = $CONFIG_HEADERS
11223 CONFIG_LINKS = $CONFIG_LINKS
11224 CONFIG_COMMANDS = $CONFIG_COMMANDS
11228 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
11232 # Files that config.status was made for.
11233 if test -n "$ac_config_files"; then
11234 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
11237 if test -n "$ac_config_headers"; then
11238 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
11241 if test -n "$ac_config_links"; then
11242 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
11245 if test -n "$ac_config_commands"; then
11246 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
11249 cat >>$CONFIG_STATUS <<\_ACEOF
11252 \`$as_me' instantiates files from templates according to the
11253 current configuration.
11255 Usage: $0 [OPTIONS] [FILE]...
11257 -h, --help print this help, then exit
11258 -V, --version print version number, then exit
11259 -q, --quiet do not print progress messages
11260 -d, --debug don't remove temporary files
11261 --recheck update $as_me by reconfiguring in the same conditions
11262 --file=FILE[:TEMPLATE]
11263 instantiate the configuration file FILE
11264 --header=FILE[:TEMPLATE]
11265 instantiate the configuration header FILE
11267 Configuration files:
11270 Configuration headers:
11273 Report bugs to <bug-autoconf@gnu.org>."
11276 cat >>$CONFIG_STATUS <<_ACEOF
11279 configured by $0, generated by GNU Autoconf 2.58,
11280 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
11282 Copyright (C) 2003 Free Software Foundation, Inc.
11283 This config.status script is free software; the Free Software Foundation
11284 gives unlimited permission to copy, distribute and modify it."
11289 cat >>$CONFIG_STATUS <<\_ACEOF
11290 # If no file are specified by the user, then we need to provide default
11291 # value. By we need to know if files were specified by the user.
11297 ac_option=`expr "x$1" : 'x\([^=]*\)='`
11298 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
11306 *) # This is not an option, so the user has probably given explicit
11309 ac_need_defaults=false;;
11313 # Handling of the options.
11315 cat >>$CONFIG_STATUS <<\_ACEOF
11316 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11318 --version | --vers* | -V )
11319 echo "$ac_cs_version"; exit 0 ;;
11321 # Conflict between --help and --header
11322 { { echo "$as_me:$LINENO: error: ambiguous option: $1
11323 Try \`$0 --help' for more information." >&5
11324 echo "$as_me: error: ambiguous option: $1
11325 Try \`$0 --help' for more information." >&2;}
11326 { (exit 1); exit 1; }; };;
11327 --help | --hel | -h )
11328 echo "$ac_cs_usage"; exit 0 ;;
11329 --debug | --d* | -d )
11331 --file | --fil | --fi | --f )
11333 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
11334 ac_need_defaults=false;;
11335 --header | --heade | --head | --hea )
11337 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
11338 ac_need_defaults=false;;
11339 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11340 | -silent | --silent | --silen | --sile | --sil | --si | --s)
11343 # This is an error.
11344 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
11345 Try \`$0 --help' for more information." >&5
11346 echo "$as_me: error: unrecognized option: $1
11347 Try \`$0 --help' for more information." >&2;}
11348 { (exit 1); exit 1; }; } ;;
11350 *) ac_config_targets="$ac_config_targets $1" ;;
11356 ac_configure_extra_args=
11358 if $ac_cs_silent; then
11360 ac_configure_extra_args="$ac_configure_extra_args --silent"
11364 cat >>$CONFIG_STATUS <<_ACEOF
11365 if \$ac_cs_recheck; then
11366 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
11367 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11376 cat >>$CONFIG_STATUS <<\_ACEOF
11377 for ac_config_target in $ac_config_targets
11379 case "$ac_config_target" in
11380 # Handling of arguments.
11381 "${FILES}" ) CONFIG_FILES="$CONFIG_FILES ${FILES}" ;;
11382 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
11383 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11384 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11385 { (exit 1); exit 1; }; };;
11389 # If the user did not use the arguments to specify the items to instantiate,
11390 # then the envvar interface is used. Set only those that are not.
11391 # We use the long form for the default assignment because of an extremely
11392 # bizarre bug on SunOS 4.1.3.
11393 if $ac_need_defaults; then
11394 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
11395 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
11398 # Have a temporary directory for convenience. Make it in the build tree
11399 # simply because there is no reason to put it here, and in addition,
11400 # creating and moving files from /tmp can sometimes cause problems.
11401 # Create a temporary directory, and hook for its removal unless debugging.
11404 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
11405 trap '{ (exit 1); exit 1; }' 1 2 13 15
11408 # Create a (secure) tmp directory for tmp files.
11411 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
11412 test -n "$tmp" && test -d "$tmp"
11415 tmp=./confstat$$-$RANDOM
11416 (umask 077 && mkdir $tmp)
11419 echo "$me: cannot create a temporary directory in ." >&2
11420 { (exit 1); exit 1; }
11425 cat >>$CONFIG_STATUS <<_ACEOF
11428 # CONFIG_FILES section.
11431 # No need to generate the scripts if there are no CONFIG_FILES.
11432 # This happens for instance when ./config.status config.h
11433 if test -n "\$CONFIG_FILES"; then
11434 # Protect against being on the right side of a sed subst in config.status.
11435 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
11436 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
11437 s,@SHELL@,$SHELL,;t t
11438 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
11439 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
11440 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
11441 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
11442 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
11443 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
11444 s,@exec_prefix@,$exec_prefix,;t t
11445 s,@prefix@,$prefix,;t t
11446 s,@program_transform_name@,$program_transform_name,;t t
11447 s,@bindir@,$bindir,;t t
11448 s,@sbindir@,$sbindir,;t t
11449 s,@libexecdir@,$libexecdir,;t t
11450 s,@datadir@,$datadir,;t t
11451 s,@sysconfdir@,$sysconfdir,;t t
11452 s,@sharedstatedir@,$sharedstatedir,;t t
11453 s,@localstatedir@,$localstatedir,;t t
11454 s,@libdir@,$libdir,;t t
11455 s,@includedir@,$includedir,;t t
11456 s,@oldincludedir@,$oldincludedir,;t t
11457 s,@infodir@,$infodir,;t t
11458 s,@mandir@,$mandir,;t t
11459 s,@build_alias@,$build_alias,;t t
11460 s,@host_alias@,$host_alias,;t t
11461 s,@target_alias@,$target_alias,;t t
11462 s,@DEFS@,$DEFS,;t t
11463 s,@ECHO_C@,$ECHO_C,;t t
11464 s,@ECHO_N@,$ECHO_N,;t t
11465 s,@ECHO_T@,$ECHO_T,;t t
11466 s,@LIBS@,$LIBS,;t t
11467 s,@build@,$build,;t t
11468 s,@build_cpu@,$build_cpu,;t t
11469 s,@build_vendor@,$build_vendor,;t t
11470 s,@build_os@,$build_os,;t t
11471 s,@host@,$host,;t t
11472 s,@host_cpu@,$host_cpu,;t t
11473 s,@host_vendor@,$host_vendor,;t t
11474 s,@host_os@,$host_os,;t t
11476 s,@CFLAGS@,$CFLAGS,;t t
11477 s,@LDFLAGS@,$LDFLAGS,;t t
11478 s,@CPPFLAGS@,$CPPFLAGS,;t t
11479 s,@ac_ct_CC@,$ac_ct_CC,;t t
11480 s,@EXEEXT@,$EXEEXT,;t t
11481 s,@OBJEXT@,$OBJEXT,;t t
11483 s,@CXXFLAGS@,$CXXFLAGS,;t t
11484 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
11486 s,@RANLIB@,$RANLIB,;t t
11487 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
11488 s,@SET_MAKE@,$SET_MAKE,;t t
11489 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
11490 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
11491 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
11492 s,@LN_S@,$LN_S,;t t
11493 s,@ECHO@,$ECHO,;t t
11494 s,@STRIP@,$STRIP,;t t
11495 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
11496 s,@EGREP@,$EGREP,;t t
11497 s,@LIBTOOL@,$LIBTOOL,;t t
11498 s,@UNCOMPRESS@,$UNCOMPRESS,;t t
11500 s,@FREETYPE_CONFIG@,$FREETYPE_CONFIG,;t t
11501 s,@target@,$target,;t t
11502 s,@target_cpu@,$target_cpu,;t t
11503 s,@target_vendor@,$target_vendor,;t t
11504 s,@target_os@,$target_os,;t t
11505 s,@WORDS_BIGENDIAN@,$WORDS_BIGENDIAN,;t t
11506 s,@SYSTEM_BACKTICKS@,$SYSTEM_BACKTICKS,;t t
11507 s,@PACKAGE@,$PACKAGE,;t t
11508 s,@VERSION@,$VERSION,;t t
11509 s,@HAVE_UNISTD_H@,$HAVE_UNISTD_H,;t t
11510 s,@AVIFILE_CONFIG@,$AVIFILE_CONFIG,;t t
11511 s,@lame_objects@,$lame_objects,;t t
11512 s,@USE_GZIP@,$USE_GZIP,;t t
11513 s,@JPEG2SWF@,$JPEG2SWF,;t t
11514 s,@PNG2SWF@,$PNG2SWF,;t t
11515 s,@LIBOBJS@,$LIBOBJS,;t t
11516 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
11521 cat >>$CONFIG_STATUS <<\_ACEOF
11522 # Split the substitutions into bite-sized pieces for seds with
11523 # small command number limits, like on Digital OSF/1 and HP-UX.
11524 ac_max_sed_lines=48
11525 ac_sed_frag=1 # Number of current file.
11526 ac_beg=1 # First line for current file.
11527 ac_end=$ac_max_sed_lines # Line after last line for current file.
11530 while $ac_more_lines; do
11531 if test $ac_beg -gt 1; then
11532 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
11534 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
11536 if test ! -s $tmp/subs.frag; then
11537 ac_more_lines=false
11539 # The purpose of the label and of the branching condition is to
11540 # speed up the sed processing (if there are no `@' at all, there
11541 # is no need to browse any of the substitutions).
11542 # These are the two extra sed commands mentioned above.
11544 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
11545 if test -z "$ac_sed_cmds"; then
11546 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
11548 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
11550 ac_sed_frag=`expr $ac_sed_frag + 1`
11552 ac_end=`expr $ac_end + $ac_max_sed_lines`
11555 if test -z "$ac_sed_cmds"; then
11558 fi # test -n "$CONFIG_FILES"
11561 cat >>$CONFIG_STATUS <<\_ACEOF
11562 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
11563 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11565 - | *:- | *:-:* ) # input from stdin
11567 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11568 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11569 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11570 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11571 * ) ac_file_in=$ac_file.in ;;
11574 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
11575 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
11576 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11577 X"$ac_file" : 'X\(//\)[^/]' \| \
11578 X"$ac_file" : 'X\(//\)$' \| \
11579 X"$ac_file" : 'X\(/\)' \| \
11580 . : '\(.\)' 2>/dev/null ||
11582 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11583 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11584 /^X\(\/\/\)$/{ s//\1/; q; }
11585 /^X\(\/\).*/{ s//\1/; q; }
11587 { if $as_mkdir_p; then
11592 while test ! -d "$as_dir"; do
11593 as_dirs="$as_dir $as_dirs"
11594 as_dir=`(dirname "$as_dir") 2>/dev/null ||
11595 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11596 X"$as_dir" : 'X\(//\)[^/]' \| \
11597 X"$as_dir" : 'X\(//\)$' \| \
11598 X"$as_dir" : 'X\(/\)' \| \
11599 . : '\(.\)' 2>/dev/null ||
11601 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11602 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11603 /^X\(\/\/\)$/{ s//\1/; q; }
11604 /^X\(\/\).*/{ s//\1/; q; }
11607 test ! -n "$as_dirs" || mkdir $as_dirs
11608 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11609 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11610 { (exit 1); exit 1; }; }; }
11614 if test "$ac_dir" != .; then
11615 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11616 # A "../" for each directory in $ac_dir_suffix.
11617 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11619 ac_dir_suffix= ac_top_builddir=
11623 .) # No --srcdir option. We are building in place.
11625 if test -z "$ac_top_builddir"; then
11628 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
11630 [\\/]* | ?:[\\/]* ) # Absolute path.
11631 ac_srcdir=$srcdir$ac_dir_suffix;
11632 ac_top_srcdir=$srcdir ;;
11633 *) # Relative path.
11634 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
11635 ac_top_srcdir=$ac_top_builddir$srcdir ;;
11638 .) ac_abs_builddir=$ac_builddir;;
11640 case $ac_builddir in
11641 .) ac_abs_builddir="$ac_dir";;
11642 [\\/]* | ?:[\\/]* ) ac_abs_builddir=$ac_builddir;;
11643 *) ac_abs_builddir="$ac_dir"/$ac_builddir;;
11647 .) ac_abs_top_builddir=${ac_top_builddir}.;;
11649 case ${ac_top_builddir}. in
11650 .) ac_abs_top_builddir="$ac_dir";;
11651 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
11652 *) ac_abs_top_builddir="$ac_dir"/${ac_top_builddir}.;;
11656 .) ac_abs_srcdir=$ac_srcdir;;
11659 .) ac_abs_srcdir="$ac_dir";;
11660 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
11661 *) ac_abs_srcdir="$ac_dir"/$ac_srcdir;;
11665 .) ac_abs_top_srcdir=$ac_top_srcdir;;
11667 case $ac_top_srcdir in
11668 .) ac_abs_top_srcdir="$ac_dir";;
11669 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
11670 *) ac_abs_top_srcdir="$ac_dir"/$ac_top_srcdir;;
11676 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
11677 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
11680 if test x"$ac_file" != x-; then
11681 { echo "$as_me:$LINENO: creating $ac_file" >&5
11682 echo "$as_me: creating $ac_file" >&6;}
11685 # Let's still pretend it is `configure' which instantiates (i.e., don't
11686 # use $as_me), people would be surprised to read:
11687 # /* config.h. Generated by config.status. */
11688 if test x"$ac_file" = x-; then
11691 configure_input="$ac_file. "
11693 configure_input=$configure_input"Generated from `echo $ac_file_in |
11694 sed 's,.*/,,'` by configure."
11696 # First look for the input files in the build tree, otherwise in the
11698 ac_file_inputs=`IFS=:
11699 for f in $ac_file_in; do
11701 -) echo $tmp/stdin ;;
11703 # Absolute (can't be DOS-style, as IFS=:)
11704 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11705 echo "$as_me: error: cannot find input file: $f" >&2;}
11706 { (exit 1); exit 1; }; }
11709 if test -f "$f"; then
11712 elif test -f "$srcdir/$f"; then
11717 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11718 echo "$as_me: error: cannot find input file: $f" >&2;}
11719 { (exit 1); exit 1; }; }
11722 done` || { (exit 1); exit 1; }
11724 cat >>$CONFIG_STATUS <<_ACEOF
11728 cat >>$CONFIG_STATUS <<\_ACEOF
11730 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
11731 s,@configure_input@,$configure_input,;t t
11732 s,@srcdir@,$ac_srcdir,;t t
11733 s,@abs_srcdir@,$ac_abs_srcdir,;t t
11734 s,@top_srcdir@,$ac_top_srcdir,;t t
11735 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
11736 s,@builddir@,$ac_builddir,;t t
11737 s,@abs_builddir@,$ac_abs_builddir,;t t
11738 s,@top_builddir@,$ac_top_builddir,;t t
11739 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
11740 s,@INSTALL@,$ac_INSTALL,;t t
11741 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
11743 if test x"$ac_file" != x-; then
11744 mv $tmp/out $ac_file
11752 cat >>$CONFIG_STATUS <<\_ACEOF
11755 # CONFIG_HEADER section.
11758 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
11759 # NAME is the cpp macro being defined and VALUE is the value it is being given.
11761 # ac_d sets the value in "#define NAME VALUE" lines.
11762 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
11763 ac_dB='[ ].*$,\1#\2'
11766 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
11767 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
11768 ac_uB='$,\1#\2define\3'
11772 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
11773 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11775 - | *:- | *:-:* ) # input from stdin
11777 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11778 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11779 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11780 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11781 * ) ac_file_in=$ac_file.in ;;
11784 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
11785 echo "$as_me: creating $ac_file" >&6;}
11787 # First look for the input files in the build tree, otherwise in the
11789 ac_file_inputs=`IFS=:
11790 for f in $ac_file_in; do
11792 -) echo $tmp/stdin ;;
11794 # Absolute (can't be DOS-style, as IFS=:)
11795 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11796 echo "$as_me: error: cannot find input file: $f" >&2;}
11797 { (exit 1); exit 1; }; }
11798 # Do quote $f, to prevent DOS paths from being IFS'd.
11801 if test -f "$f"; then
11804 elif test -f "$srcdir/$f"; then
11809 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11810 echo "$as_me: error: cannot find input file: $f" >&2;}
11811 { (exit 1); exit 1; }; }
11814 done` || { (exit 1); exit 1; }
11815 # Remove the trailing spaces.
11816 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
11820 # Transform confdefs.h into two sed scripts, `conftest.defines' and
11821 # `conftest.undefs', that substitutes the proper values into
11822 # config.h.in to produce config.h. The first handles `#define'
11823 # templates, and the second `#undef' templates.
11824 # And first: Protect against being on the right side of a sed subst in
11825 # config.status. Protect against being in an unquoted here document
11826 # in config.status.
11827 rm -f conftest.defines conftest.undefs
11828 # Using a here document instead of a string reduces the quoting nightmare.
11829 # Putting comments in sed scripts is not portable.
11831 # `end' is used to avoid that the second main sed command (meant for
11832 # 0-ary CPP macros) applies to n-ary macro definitions.
11833 # See the Autoconf documentation for `clear'.
11834 cat >confdef2sed.sed <<\_ACEOF
11839 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
11841 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
11844 # If some macros were called several times there might be several times
11845 # the same #defines, which is useless. Nevertheless, we may not want to
11846 # sort them, since we want the *last* AC-DEFINE to be honored.
11847 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
11848 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
11849 rm -f confdef2sed.sed
11851 # This sed command replaces #undef with comments. This is necessary, for
11852 # example, in the case of _POSIX_SOURCE, which is predefined and required
11853 # on some systems where configure will not decide to define it.
11854 cat >>conftest.undefs <<\_ACEOF
11855 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
11858 # Break up conftest.defines because some shells have a limit on the size
11859 # of here documents, and old seds have small limits too (100 cmds).
11860 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
11861 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
11862 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
11863 echo ' :' >>$CONFIG_STATUS
11864 rm -f conftest.tail
11865 while grep . conftest.defines >/dev/null
11867 # Write a limited-size here document to $tmp/defines.sed.
11868 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
11869 # Speed up: don't consider the non `#define' lines.
11870 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
11871 # Work around the forget-to-reset-the-flag bug.
11872 echo 't clr' >>$CONFIG_STATUS
11873 echo ': clr' >>$CONFIG_STATUS
11874 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
11876 sed -f $tmp/defines.sed $tmp/in >$tmp/out
11878 mv $tmp/out $tmp/in
11880 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
11881 rm -f conftest.defines
11882 mv conftest.tail conftest.defines
11884 rm -f conftest.defines
11885 echo ' fi # grep' >>$CONFIG_STATUS
11886 echo >>$CONFIG_STATUS
11888 # Break up conftest.undefs because some shells have a limit on the size
11889 # of here documents, and old seds have small limits too (100 cmds).
11890 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
11891 rm -f conftest.tail
11892 while grep . conftest.undefs >/dev/null
11894 # Write a limited-size here document to $tmp/undefs.sed.
11895 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
11896 # Speed up: don't consider the non `#undef'
11897 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
11898 # Work around the forget-to-reset-the-flag bug.
11899 echo 't clr' >>$CONFIG_STATUS
11900 echo ': clr' >>$CONFIG_STATUS
11901 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
11903 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
11905 mv $tmp/out $tmp/in
11907 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
11908 rm -f conftest.undefs
11909 mv conftest.tail conftest.undefs
11911 rm -f conftest.undefs
11913 cat >>$CONFIG_STATUS <<\_ACEOF
11914 # Let's still pretend it is `configure' which instantiates (i.e., don't
11915 # use $as_me), people would be surprised to read:
11916 # /* config.h. Generated by config.status. */
11917 if test x"$ac_file" = x-; then
11918 echo "/* Generated by configure. */" >$tmp/config.h
11920 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
11922 cat $tmp/in >>$tmp/config.h
11924 if test x"$ac_file" != x-; then
11925 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
11926 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
11927 echo "$as_me: $ac_file is unchanged" >&6;}
11929 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
11930 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11931 X"$ac_file" : 'X\(//\)[^/]' \| \
11932 X"$ac_file" : 'X\(//\)$' \| \
11933 X"$ac_file" : 'X\(/\)' \| \
11934 . : '\(.\)' 2>/dev/null ||
11936 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11937 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11938 /^X\(\/\/\)$/{ s//\1/; q; }
11939 /^X\(\/\).*/{ s//\1/; q; }
11941 { if $as_mkdir_p; then
11946 while test ! -d "$as_dir"; do
11947 as_dirs="$as_dir $as_dirs"
11948 as_dir=`(dirname "$as_dir") 2>/dev/null ||
11949 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11950 X"$as_dir" : 'X\(//\)[^/]' \| \
11951 X"$as_dir" : 'X\(//\)$' \| \
11952 X"$as_dir" : 'X\(/\)' \| \
11953 . : '\(.\)' 2>/dev/null ||
11955 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11956 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11957 /^X\(\/\/\)$/{ s//\1/; q; }
11958 /^X\(\/\).*/{ s//\1/; q; }
11961 test ! -n "$as_dirs" || mkdir $as_dirs
11962 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11963 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11964 { (exit 1); exit 1; }; }; }
11967 mv $tmp/config.h $ac_file
11971 rm -f $tmp/config.h
11976 cat >>$CONFIG_STATUS <<\_ACEOF
11978 { (exit 0); exit 0; }
11980 chmod +x $CONFIG_STATUS
11981 ac_clean_files=$ac_clean_files_save
11984 # configure is writing to config.log, and then calls config.status.
11985 # config.status does its own redirection, appending to config.log.
11986 # Unfortunately, on DOS this fails, as config.log is still kept open
11987 # by configure, so config.status won't be able to write to it; its
11988 # output is simply discarded. So we exec the FD to /dev/null,
11989 # effectively closing config.log, so it can be properly (re)opened and
11990 # appended to by config.status. When coming back to configure, we
11991 # need to make the FD available again.
11992 if test "$no_create" != yes; then
11994 ac_config_status_args=
11995 test "$silent" = yes &&
11996 ac_config_status_args="$ac_config_status_args --quiet"
11998 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
12000 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12001 # would make configure fail if this is the last instruction.
12002 $ac_cs_success || { (exit 1); exit 1; }
12006 if test "x${srcdir}" != "x."; then
12007 echo "Warning: --srcdir is not supported"