2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 # Support unset when possible.
25 if (FOO=FOO; unset FOO) >/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 -n "`(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
224 as_executable_p="test -f"
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234 # We need space, tab and new line, in precisely that order.
243 # Find the correct PATH separator. Usually this is `:', but
244 # DJGPP uses `;' like DOS.
245 if test "X${PATH_SEPARATOR+set}" != Xset; then
246 UNAME=${UNAME-`uname 2>/dev/null`}
248 *-DOS) lt_cv_sys_path_separator=';' ;;
249 *) lt_cv_sys_path_separator=':' ;;
251 PATH_SEPARATOR=$lt_cv_sys_path_separator
255 # Check that we are running under the correct shell.
256 SHELL=${CONFIG_SHELL-/bin/sh}
260 # Remove one level of quotation (which was required for Make).
261 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
266 if test "X$1" = X--no-reexec; then
267 # Discard the --no-reexec flag, and continue.
269 elif test "X$1" = X--fallback-echo; then
270 # Avoid inline document here, it may be left over
272 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
273 # Yippee, $echo works!
276 # Restart under the correct shell.
277 exec $SHELL "$0" --no-reexec ${1+"$@"}
280 if test "X$1" = X--fallback-echo; then
281 # used as fallback echo
289 # The HP-UX ksh and POSIX shell print the target directory to stdout
291 if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
293 if test -z "$ECHO"; then
294 if test "X${echo_test_string+set}" != Xset; then
295 # find a string as large as possible, as long as the shell can cope with it
296 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
297 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
298 if (echo_test_string="`eval $cmd`") 2>/dev/null &&
299 echo_test_string="`eval $cmd`" &&
300 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
307 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
308 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
309 test "X$echo_testing_string" = "X$echo_test_string"; then
312 # The Solaris, AIX, and Digital Unix default echo programs unquote
313 # backslashes. This makes it impossible to quote backslashes using
314 # echo "$something" | sed 's/\\/\\\\/g'
316 # So, first we look for a working echo in the user's PATH.
318 IFS="${IFS= }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
319 for dir in $PATH /usr/ucb; do
320 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
321 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
322 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
323 test "X$echo_testing_string" = "X$echo_test_string"; then
330 if test "X$echo" = Xecho; then
331 # We didn't find a better echo, so look for alternatives.
332 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
333 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
334 test "X$echo_testing_string" = "X$echo_test_string"; then
335 # This shell has a builtin print -r that does the trick.
337 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
338 test "X$CONFIG_SHELL" != X/bin/ksh; then
339 # If we have ksh, try running configure again with it.
340 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
341 export ORIGINAL_CONFIG_SHELL
342 CONFIG_SHELL=/bin/ksh
344 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
348 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
349 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
350 test "X$echo_testing_string" = "X$echo_test_string"; then
353 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
354 test "X$echo_testing_string" = 'X\t' &&
355 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
356 test "X$echo_testing_string" = "X$echo_test_string"; then
357 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
359 SHELL="$CONFIG_SHELL"
361 echo="$CONFIG_SHELL $0 --fallback-echo"
362 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
363 test "X$echo_testing_string" = 'X\t' &&
364 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
365 test "X$echo_testing_string" = "X$echo_test_string"; then
366 echo="$CONFIG_SHELL $0 --fallback-echo"
368 # maybe with a smaller string...
371 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
372 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
379 if test "$prev" != 'sed 50q "$0"'; then
380 echo_test_string=`eval $prev`
381 export echo_test_string
382 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
384 # Oops. We lost completely, so just stick with echo.
393 # Copy echo and quote the copy suitably for passing to libtool from
394 # the Makefile, instead of quoting the original, which is used later.
396 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
397 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
403 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
404 # so uname gets run too.
405 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
412 ac_default_prefix=/usr/local
413 ac_config_libobj_dir=.
418 SHELL=${CONFIG_SHELL-/bin/sh}
420 # Maximum number of lines to put in a shell here document.
421 # This variable seems obsolete. It should probably be removed, and
422 # only ac_max_sed_lines should be used.
423 : ${ac_max_here_lines=38}
425 # Identity of this package.
432 ac_unique_file="AUTHORS"
433 # Factoring default headers for most tests.
434 ac_includes_default="\
437 # include <sys/types.h>
440 # include <sys/stat.h>
451 # if !STDC_HEADERS && HAVE_MEMORY_H
457 # include <strings.h>
460 # include <inttypes.h>
470 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 target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MODV_FLAGS KERNEL_DIR MODULES_DIR KERNEL_HDR OS_DIR DEBUG_FLAGS KDEBUG_FLAGS AUTOFS_INSTALL LUFS_SUID CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE LN_S ECHO RANLIB ac_ct_RANLIB EGREP LIBTOOL SSHPROG GCONF GVFSCONF GVFS_LDADD GVFS_CFLAGS define_has_libchipcard LIBCHIPCARD_LIB LIBCHIPCARD_INCLUDES opt_fs all_includes all_libraries LIBOBJS LTLIBOBJS'
473 # Initialize some variables set by options.
475 ac_init_version=false
476 # The variables have the same names as the options, with
477 # dashes changed to underlines.
485 program_transform_name=s,x,x,
493 # Installation directory options.
494 # These are left unexpanded so users can "make install exec_prefix=/foo"
495 # and all the variables that are supposed to be based on exec_prefix
496 # by default will actually change.
497 # Use braces instead of parens because sh, perl, etc. also accept them.
498 bindir='${exec_prefix}/bin'
499 sbindir='${exec_prefix}/sbin'
500 libexecdir='${exec_prefix}/libexec'
501 datadir='${prefix}/share'
502 sysconfdir='${prefix}/etc'
503 sharedstatedir='${prefix}/com'
504 localstatedir='${prefix}/var'
505 libdir='${exec_prefix}/lib'
506 includedir='${prefix}/include'
507 oldincludedir='/usr/include'
508 infodir='${prefix}/info'
509 mandir='${prefix}/man'
514 # If the previous option needs an argument, assign it.
515 if test -n "$ac_prev"; then
516 eval "$ac_prev=\$ac_option"
521 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
523 # Accept the important Cygnus configure options, so we can diagnose typos.
527 -bindir | --bindir | --bindi | --bind | --bin | --bi)
529 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
532 -build | --build | --buil | --bui | --bu)
533 ac_prev=build_alias ;;
534 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
535 build_alias=$ac_optarg ;;
537 -cache-file | --cache-file | --cache-fil | --cache-fi \
538 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
539 ac_prev=cache_file ;;
540 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
541 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
542 cache_file=$ac_optarg ;;
545 cache_file=config.cache ;;
547 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
549 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
551 datadir=$ac_optarg ;;
553 -disable-* | --disable-*)
554 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
555 # Reject names that are not valid shell variable names.
556 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
557 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
558 { (exit 1); exit 1; }; }
559 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
560 eval "enable_$ac_feature=no" ;;
562 -enable-* | --enable-*)
563 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
564 # Reject names that are not valid shell variable names.
565 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
566 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
567 { (exit 1); exit 1; }; }
568 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
570 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
573 eval "enable_$ac_feature='$ac_optarg'" ;;
575 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
576 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
577 | --exec | --exe | --ex)
578 ac_prev=exec_prefix ;;
579 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
580 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
581 | --exec=* | --exe=* | --ex=*)
582 exec_prefix=$ac_optarg ;;
584 -gas | --gas | --ga | --g)
585 # Obsolete; use --with-gas.
588 -help | --help | --hel | --he | -h)
590 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
591 ac_init_help=recursive ;;
592 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
593 ac_init_help=short ;;
595 -host | --host | --hos | --ho)
596 ac_prev=host_alias ;;
597 -host=* | --host=* | --hos=* | --ho=*)
598 host_alias=$ac_optarg ;;
600 -includedir | --includedir | --includedi | --included | --include \
601 | --includ | --inclu | --incl | --inc)
602 ac_prev=includedir ;;
603 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
604 | --includ=* | --inclu=* | --incl=* | --inc=*)
605 includedir=$ac_optarg ;;
607 -infodir | --infodir | --infodi | --infod | --info | --inf)
609 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
610 infodir=$ac_optarg ;;
612 -libdir | --libdir | --libdi | --libd)
614 -libdir=* | --libdir=* | --libdi=* | --libd=*)
617 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
618 | --libexe | --libex | --libe)
619 ac_prev=libexecdir ;;
620 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
621 | --libexe=* | --libex=* | --libe=*)
622 libexecdir=$ac_optarg ;;
624 -localstatedir | --localstatedir | --localstatedi | --localstated \
625 | --localstate | --localstat | --localsta | --localst \
626 | --locals | --local | --loca | --loc | --lo)
627 ac_prev=localstatedir ;;
628 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
629 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
630 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
631 localstatedir=$ac_optarg ;;
633 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
635 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
639 # Obsolete; use --without-fp.
642 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
643 | --no-cr | --no-c | -n)
646 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
647 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
650 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
651 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
652 | --oldin | --oldi | --old | --ol | --o)
653 ac_prev=oldincludedir ;;
654 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
655 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
656 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
657 oldincludedir=$ac_optarg ;;
659 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
661 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
664 -program-prefix | --program-prefix | --program-prefi | --program-pref \
665 | --program-pre | --program-pr | --program-p)
666 ac_prev=program_prefix ;;
667 -program-prefix=* | --program-prefix=* | --program-prefi=* \
668 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
669 program_prefix=$ac_optarg ;;
671 -program-suffix | --program-suffix | --program-suffi | --program-suff \
672 | --program-suf | --program-su | --program-s)
673 ac_prev=program_suffix ;;
674 -program-suffix=* | --program-suffix=* | --program-suffi=* \
675 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
676 program_suffix=$ac_optarg ;;
678 -program-transform-name | --program-transform-name \
679 | --program-transform-nam | --program-transform-na \
680 | --program-transform-n | --program-transform- \
681 | --program-transform | --program-transfor \
682 | --program-transfo | --program-transf \
683 | --program-trans | --program-tran \
684 | --progr-tra | --program-tr | --program-t)
685 ac_prev=program_transform_name ;;
686 -program-transform-name=* | --program-transform-name=* \
687 | --program-transform-nam=* | --program-transform-na=* \
688 | --program-transform-n=* | --program-transform-=* \
689 | --program-transform=* | --program-transfor=* \
690 | --program-transfo=* | --program-transf=* \
691 | --program-trans=* | --program-tran=* \
692 | --progr-tra=* | --program-tr=* | --program-t=*)
693 program_transform_name=$ac_optarg ;;
695 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
696 | -silent | --silent | --silen | --sile | --sil)
699 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
701 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
703 sbindir=$ac_optarg ;;
705 -sharedstatedir | --sharedstatedir | --sharedstatedi \
706 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
707 | --sharedst | --shareds | --shared | --share | --shar \
709 ac_prev=sharedstatedir ;;
710 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
711 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
712 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
714 sharedstatedir=$ac_optarg ;;
716 -site | --site | --sit)
718 -site=* | --site=* | --sit=*)
721 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
723 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
726 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
727 | --syscon | --sysco | --sysc | --sys | --sy)
728 ac_prev=sysconfdir ;;
729 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
730 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
731 sysconfdir=$ac_optarg ;;
733 -target | --target | --targe | --targ | --tar | --ta | --t)
734 ac_prev=target_alias ;;
735 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
736 target_alias=$ac_optarg ;;
738 -v | -verbose | --verbose | --verbos | --verbo | --verb)
741 -version | --version | --versio | --versi | --vers | -V)
745 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
746 # Reject names that are not valid shell variable names.
747 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
748 { echo "$as_me: error: invalid package name: $ac_package" >&2
749 { (exit 1); exit 1; }; }
750 ac_package=`echo $ac_package| sed 's/-/_/g'`
752 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
755 eval "with_$ac_package='$ac_optarg'" ;;
757 -without-* | --without-*)
758 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
759 # Reject names that are not valid shell variable names.
760 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
761 { echo "$as_me: error: invalid package name: $ac_package" >&2
762 { (exit 1); exit 1; }; }
763 ac_package=`echo $ac_package | sed 's/-/_/g'`
764 eval "with_$ac_package=no" ;;
767 # Obsolete; use --with-x.
770 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
771 | --x-incl | --x-inc | --x-in | --x-i)
772 ac_prev=x_includes ;;
773 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
774 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
775 x_includes=$ac_optarg ;;
777 -x-libraries | --x-libraries | --x-librarie | --x-librari \
778 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
779 ac_prev=x_libraries ;;
780 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
781 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
782 x_libraries=$ac_optarg ;;
784 -*) { echo "$as_me: error: unrecognized option: $ac_option
785 Try \`$0 --help' for more information." >&2
786 { (exit 1); exit 1; }; }
790 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
791 # Reject names that are not valid shell variable names.
792 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
793 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
794 { (exit 1); exit 1; }; }
795 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
796 eval "$ac_envvar='$ac_optarg'"
800 # FIXME: should be removed in autoconf 3.0.
801 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
802 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
803 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
804 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
810 if test -n "$ac_prev"; then
811 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
812 { echo "$as_me: error: missing argument to $ac_option" >&2
813 { (exit 1); exit 1; }; }
816 # Be sure to have absolute paths.
817 for ac_var in exec_prefix prefix
819 eval ac_val=$`echo $ac_var`
821 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
822 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
823 { (exit 1); exit 1; }; };;
827 # Be sure to have absolute paths.
828 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
829 localstatedir libdir includedir oldincludedir infodir mandir
831 eval ac_val=$`echo $ac_var`
833 [\\/$]* | ?:[\\/]* ) ;;
834 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
835 { (exit 1); exit 1; }; };;
839 # There might be people who depend on the old broken behavior: `$host'
840 # used to hold the argument of --host etc.
841 # FIXME: To remove some day.
846 # FIXME: To remove some day.
847 if test "x$host_alias" != x; then
848 if test "x$build_alias" = x; then
849 cross_compiling=maybe
850 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
851 If a cross compiler is detected then cross compile mode will be used." >&2
852 elif test "x$build_alias" != "x$host_alias"; then
858 test -n "$host_alias" && ac_tool_prefix=$host_alias-
860 test "$silent" = yes && exec 6>/dev/null
863 # Find the source files, if location was not specified.
864 if test -z "$srcdir"; then
865 ac_srcdir_defaulted=yes
866 # Try the directory containing this script, then its parent.
867 ac_confdir=`(dirname "$0") 2>/dev/null ||
868 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
869 X"$0" : 'X\(//\)[^/]' \| \
870 X"$0" : 'X\(//\)$' \| \
871 X"$0" : 'X\(/\)' \| \
872 . : '\(.\)' 2>/dev/null ||
874 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
875 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
876 /^X\(\/\/\)$/{ s//\1/; q; }
877 /^X\(\/\).*/{ s//\1/; q; }
880 if test ! -r $srcdir/$ac_unique_file; then
884 ac_srcdir_defaulted=no
886 if test ! -r $srcdir/$ac_unique_file; then
887 if test "$ac_srcdir_defaulted" = yes; then
888 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
889 { (exit 1); exit 1; }; }
891 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
892 { (exit 1); exit 1; }; }
895 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
896 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
897 { (exit 1); exit 1; }; }
898 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
899 ac_env_build_alias_set=${build_alias+set}
900 ac_env_build_alias_value=$build_alias
901 ac_cv_env_build_alias_set=${build_alias+set}
902 ac_cv_env_build_alias_value=$build_alias
903 ac_env_host_alias_set=${host_alias+set}
904 ac_env_host_alias_value=$host_alias
905 ac_cv_env_host_alias_set=${host_alias+set}
906 ac_cv_env_host_alias_value=$host_alias
907 ac_env_target_alias_set=${target_alias+set}
908 ac_env_target_alias_value=$target_alias
909 ac_cv_env_target_alias_set=${target_alias+set}
910 ac_cv_env_target_alias_value=$target_alias
911 ac_env_CC_set=${CC+set}
913 ac_cv_env_CC_set=${CC+set}
914 ac_cv_env_CC_value=$CC
915 ac_env_CFLAGS_set=${CFLAGS+set}
916 ac_env_CFLAGS_value=$CFLAGS
917 ac_cv_env_CFLAGS_set=${CFLAGS+set}
918 ac_cv_env_CFLAGS_value=$CFLAGS
919 ac_env_LDFLAGS_set=${LDFLAGS+set}
920 ac_env_LDFLAGS_value=$LDFLAGS
921 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
922 ac_cv_env_LDFLAGS_value=$LDFLAGS
923 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
924 ac_env_CPPFLAGS_value=$CPPFLAGS
925 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
926 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
927 ac_env_CPP_set=${CPP+set}
928 ac_env_CPP_value=$CPP
929 ac_cv_env_CPP_set=${CPP+set}
930 ac_cv_env_CPP_value=$CPP
931 ac_env_CXX_set=${CXX+set}
932 ac_env_CXX_value=$CXX
933 ac_cv_env_CXX_set=${CXX+set}
934 ac_cv_env_CXX_value=$CXX
935 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
936 ac_env_CXXFLAGS_value=$CXXFLAGS
937 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
938 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
941 # Report the --help message.
943 if test "$ac_init_help" = "long"; then
944 # Omit some internal or obsolete options to make the list less imposing.
945 # This message is too long to be a string in the A/UX 3.1 sh.
947 \`configure' configures this package to adapt to many kinds of systems.
949 Usage: $0 [OPTION]... [VAR=VALUE]...
951 To assign environment variables (e.g., CC, CFLAGS...), specify them as
952 VAR=VALUE. See below for descriptions of some of the useful variables.
954 Defaults for the options are specified in brackets.
957 -h, --help display this help and exit
958 --help=short display options specific to this package
959 --help=recursive display the short help of all the included packages
960 -V, --version display version information and exit
961 -q, --quiet, --silent do not print \`checking...' messages
962 --cache-file=FILE cache test results in FILE [disabled]
963 -C, --config-cache alias for \`--cache-file=config.cache'
964 -n, --no-create do not create output files
965 --srcdir=DIR find the sources in DIR [configure dir or \`..']
970 Installation directories:
971 --prefix=PREFIX install architecture-independent files in PREFIX
973 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
976 By default, \`make install' will install all the files in
977 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
978 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
979 for instance \`--prefix=\$HOME'.
981 For better control, use the options below.
983 Fine tuning of the installation directories:
984 --bindir=DIR user executables [EPREFIX/bin]
985 --sbindir=DIR system admin executables [EPREFIX/sbin]
986 --libexecdir=DIR program executables [EPREFIX/libexec]
987 --datadir=DIR read-only architecture-independent data [PREFIX/share]
988 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
989 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
990 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
991 --libdir=DIR object code libraries [EPREFIX/lib]
992 --includedir=DIR C header files [PREFIX/include]
993 --oldincludedir=DIR C header files for non-gcc [/usr/include]
994 --infodir=DIR info documentation [PREFIX/info]
995 --mandir=DIR man documentation [PREFIX/man]
1001 --program-prefix=PREFIX prepend PREFIX to installed program names
1002 --program-suffix=SUFFIX append SUFFIX to installed program names
1003 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1006 --build=BUILD configure for building on BUILD [guessed]
1007 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1008 --target=TARGET configure for building compilers for TARGET [HOST]
1012 if test -n "$ac_init_help"; then
1017 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1018 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1019 --enable-kernel-support enable building of the kernel module (default=yes)
1020 --enable-modversions enable modeversions support (default=auto-detect)
1021 --enable-debug enable debug messages to stdout (default=no)
1022 --enable-kdebug enable kernel module debug messages (default=no)
1023 --enable-autofs-install enable installing of autofs configuration (default=no)
1024 --enable-suid make lufsmnt and lufsumount suid root (default=yes)
1025 --enable-static=PKGS build static libraries default=no
1026 --disable-dependency-tracking Speeds up one-time builds
1027 --enable-dependency-tracking Do not reject slow dependency extractors
1028 --enable-shared=PKGS build shared libraries default=yes
1029 --enable-fast-install=PKGS optimize for fast installation default=yes
1030 --disable-libtool-lock avoid locking (might break parallel builds)
1031 --enable-wavfs build wavfs support (default=no)
1032 --enable-cefs build cefs support (default=no)
1033 --enable-cardfs build cardfs support (default=no)
1036 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1037 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1038 --with-kernel=VERSION specify a kernel version to compile for
1039 --with-kheaders=DIR specify the location of the kernel headers
1040 --with-gnu-ld assume the C compiler uses GNU ld default=no
1041 --with-pic try to use only PIC/non-PIC objects default=use both
1042 --with-ssh=PATH specify the path to the ssh executable
1043 --with-chipcard-dir=DIR uses libchipcard from given dir
1045 Some influential environment variables:
1046 CC C compiler command
1047 CFLAGS C compiler flags
1048 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1049 nonstandard directory <lib dir>
1050 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1051 headers in a nonstandard directory <include dir>
1053 CXX C++ compiler command
1054 CXXFLAGS C++ compiler flags
1056 Use these variables to override the choices made by `configure' or to help
1057 it to find libraries and programs with nonstandard names/locations.
1062 if test "$ac_init_help" = "recursive"; then
1063 # If there are subdirs, report their specific --help.
1065 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1066 test -d $ac_dir || continue
1069 if test "$ac_dir" != .; then
1070 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1071 # A "../" for each directory in $ac_dir_suffix.
1072 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1074 ac_dir_suffix= ac_top_builddir=
1078 .) # No --srcdir option. We are building in place.
1080 if test -z "$ac_top_builddir"; then
1083 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1085 [\\/]* | ?:[\\/]* ) # Absolute path.
1086 ac_srcdir=$srcdir$ac_dir_suffix;
1087 ac_top_srcdir=$srcdir ;;
1089 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1090 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1092 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1094 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1095 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1096 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1097 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1100 # Check for guested configure; otherwise get Cygnus style configure.
1101 if test -f $ac_srcdir/configure.gnu; then
1103 $SHELL $ac_srcdir/configure.gnu --help=recursive
1104 elif test -f $ac_srcdir/configure; then
1106 $SHELL $ac_srcdir/configure --help=recursive
1107 elif test -f $ac_srcdir/configure.ac ||
1108 test -f $ac_srcdir/configure.in; then
1110 $ac_configure --help
1112 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1118 test -n "$ac_init_help" && exit 0
1119 if $ac_init_version; then
1122 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1123 Free Software Foundation, Inc.
1124 This configure script is free software; the Free Software Foundation
1125 gives unlimited permission to copy, distribute and modify it.
1131 This file contains any messages produced by compilers while
1132 running configure, to aid debugging if configure makes a mistake.
1134 It was created by $as_me, which was
1135 generated by GNU Autoconf 2.57. Invocation command line was
1146 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1147 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1148 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1149 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1150 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1152 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1153 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1155 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1156 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1157 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1158 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1159 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1160 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1161 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1169 test -z "$as_dir" && as_dir=.
1170 echo "PATH: $as_dir"
1185 # Keep a trace of the command line.
1186 # Strip out --no-create and --no-recursion so they do not pile up.
1187 # Strip out --silent because we don't want to record it for future runs.
1188 # Also quote any args containing shell meta-characters.
1189 # Make two passes to allow for proper duplicate-argument suppression.
1194 ac_must_keep_next=false
1200 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1201 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1202 | -silent | --silent | --silen | --sile | --sil)
1204 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1205 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1208 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1210 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1211 if test $ac_must_keep_next = true; then
1212 ac_must_keep_next=false # Got value, back to normal.
1215 *=* | --config-cache | -C | -disable-* | --disable-* \
1216 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1217 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1218 | -with-* | --with-* | -without-* | --without-* | --x)
1219 case "$ac_configure_args0 " in
1220 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1223 -* ) ac_must_keep_next=true ;;
1226 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1227 # Get rid of the leading space.
1233 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1234 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1236 # When interrupted or exit'd, cleanup temporary files, and complete
1237 # config.log. We remove comments because anyway the quotes in there
1238 # would cause problems or look ugly.
1239 # WARNING: Be sure not to use single quotes in there, as some shells,
1240 # such as our DU 5.0 friend, will then `close' the trap.
1241 trap 'exit_status=$?
1242 # Save into config.log some information that might help in debugging.
1247 ## ---------------- ##
1248 ## Cache variables. ##
1249 ## ---------------- ##
1252 # The following way of writing the cache mishandles newlines in values,
1255 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1258 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1259 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1263 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1270 ## ----------------- ##
1271 ## Output variables. ##
1272 ## ----------------- ##
1275 for ac_var in $ac_subst_vars
1277 eval ac_val=$`echo $ac_var`
1278 echo "$ac_var='"'"'$ac_val'"'"'"
1282 if test -n "$ac_subst_files"; then
1289 for ac_var in $ac_subst_files
1291 eval ac_val=$`echo $ac_var`
1292 echo "$ac_var='"'"'$ac_val'"'"'"
1297 if test -s confdefs.h; then
1304 sed "/^$/d" confdefs.h | sort
1307 test "$ac_signal" != 0 &&
1308 echo "$as_me: caught signal $ac_signal"
1309 echo "$as_me: exit $exit_status"
1311 rm -f core core.* *.core &&
1312 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1315 for ac_signal in 1 2 13 15; do
1316 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1320 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1321 rm -rf conftest* confdefs.h
1322 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1325 # Predefined preprocessor variables.
1327 cat >>confdefs.h <<_ACEOF
1328 #define PACKAGE_NAME "$PACKAGE_NAME"
1332 cat >>confdefs.h <<_ACEOF
1333 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1337 cat >>confdefs.h <<_ACEOF
1338 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1342 cat >>confdefs.h <<_ACEOF
1343 #define PACKAGE_STRING "$PACKAGE_STRING"
1347 cat >>confdefs.h <<_ACEOF
1348 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1352 # Let the site file select an alternate cache file if it wants to.
1353 # Prefer explicitly selected file to automatically selected ones.
1354 if test -z "$CONFIG_SITE"; then
1355 if test "x$prefix" != xNONE; then
1356 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1358 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1361 for ac_site_file in $CONFIG_SITE; do
1362 if test -r "$ac_site_file"; then
1363 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1364 echo "$as_me: loading site script $ac_site_file" >&6;}
1365 sed 's/^/| /' "$ac_site_file" >&5
1370 if test -r "$cache_file"; then
1371 # Some versions of bash will fail to source /dev/null (special
1372 # files actually), so we avoid doing that.
1373 if test -f "$cache_file"; then
1374 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1375 echo "$as_me: loading cache $cache_file" >&6;}
1377 [\\/]* | ?:[\\/]* ) . $cache_file;;
1378 *) . ./$cache_file;;
1382 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1383 echo "$as_me: creating cache $cache_file" >&6;}
1387 # Check that the precious variables saved in the cache have kept the same
1389 ac_cache_corrupted=false
1390 for ac_var in `(set) 2>&1 |
1391 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1392 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1393 eval ac_new_set=\$ac_env_${ac_var}_set
1394 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1395 eval ac_new_val="\$ac_env_${ac_var}_value"
1396 case $ac_old_set,$ac_new_set in
1398 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1399 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1400 ac_cache_corrupted=: ;;
1402 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1403 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1404 ac_cache_corrupted=: ;;
1407 if test "x$ac_old_val" != "x$ac_new_val"; then
1408 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1409 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1410 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1411 echo "$as_me: former value: $ac_old_val" >&2;}
1412 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1413 echo "$as_me: current value: $ac_new_val" >&2;}
1414 ac_cache_corrupted=:
1417 # Pass precious variables to config.status.
1418 if test "$ac_new_set" = set; then
1420 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1421 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1422 *) ac_arg=$ac_var=$ac_new_val ;;
1424 case " $ac_configure_args " in
1425 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1426 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1430 if $ac_cache_corrupted; then
1431 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1432 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1433 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1434 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1435 { (exit 1); exit 1; }; }
1439 ac_cpp='$CPP $CPPFLAGS'
1440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1463 for ac_dir in config $srcdir/config; do
1464 if test -f $ac_dir/install-sh; then
1466 ac_install_sh="$ac_aux_dir/install-sh -c"
1468 elif test -f $ac_dir/install.sh; then
1470 ac_install_sh="$ac_aux_dir/install.sh -c"
1472 elif test -f $ac_dir/shtool; then
1474 ac_install_sh="$ac_aux_dir/shtool install -c"
1478 if test -z "$ac_aux_dir"; then
1479 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1480 echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1481 { (exit 1); exit 1; }; }
1483 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1484 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1485 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1487 ac_config_headers="$ac_config_headers config.h"
1489 # Make sure we can run config.sub.
1490 $ac_config_sub sun4 >/dev/null 2>&1 ||
1491 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1492 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1493 { (exit 1); exit 1; }; }
1495 echo "$as_me:$LINENO: checking build system type" >&5
1496 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1497 if test "${ac_cv_build+set}" = set; then
1498 echo $ECHO_N "(cached) $ECHO_C" >&6
1500 ac_cv_build_alias=$build_alias
1501 test -z "$ac_cv_build_alias" &&
1502 ac_cv_build_alias=`$ac_config_guess`
1503 test -z "$ac_cv_build_alias" &&
1504 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1505 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1506 { (exit 1); exit 1; }; }
1507 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1508 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1509 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1510 { (exit 1); exit 1; }; }
1513 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1514 echo "${ECHO_T}$ac_cv_build" >&6
1516 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1517 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1518 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1521 echo "$as_me:$LINENO: checking host system type" >&5
1522 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1523 if test "${ac_cv_host+set}" = set; then
1524 echo $ECHO_N "(cached) $ECHO_C" >&6
1526 ac_cv_host_alias=$host_alias
1527 test -z "$ac_cv_host_alias" &&
1528 ac_cv_host_alias=$ac_cv_build_alias
1529 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1530 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1531 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1532 { (exit 1); exit 1; }; }
1535 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1536 echo "${ECHO_T}$ac_cv_host" >&6
1538 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1539 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1540 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1543 echo "$as_me:$LINENO: checking target system type" >&5
1544 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1545 if test "${ac_cv_target+set}" = set; then
1546 echo $ECHO_N "(cached) $ECHO_C" >&6
1548 ac_cv_target_alias=$target_alias
1549 test "x$ac_cv_target_alias" = "x" &&
1550 ac_cv_target_alias=$ac_cv_host_alias
1551 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1552 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1553 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1554 { (exit 1); exit 1; }; }
1557 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1558 echo "${ECHO_T}$ac_cv_target" >&6
1559 target=$ac_cv_target
1560 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1561 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1562 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1565 # The aliases save the names the user supplied, while $host etc.
1566 # will get canonicalized.
1567 test -n "$target_alias" &&
1568 test "$program_prefix$program_suffix$program_transform_name" = \
1570 program_prefix=${target_alias}-
1571 am__api_version="1.7"
1572 # Find a good install program. We prefer a C program (faster),
1573 # so one script is as good as another. But avoid the broken or
1574 # incompatible versions:
1575 # SysV /etc/install, /usr/sbin/install
1576 # SunOS /usr/etc/install
1577 # IRIX /sbin/install
1579 # AmigaOS /C/install, which installs bootblocks on floppy discs
1580 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1581 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1582 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1583 # ./install, which can be erroneously created by make from ./install.sh.
1584 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1585 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1586 if test -z "$INSTALL"; then
1587 if test "${ac_cv_path_install+set}" = set; then
1588 echo $ECHO_N "(cached) $ECHO_C" >&6
1590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1594 test -z "$as_dir" && as_dir=.
1595 # Account for people who put trailing slashes in PATH elements.
1597 ./ | .// | /cC/* | \
1598 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1601 # OSF1 and SCO ODT 3.0 have their own names for install.
1602 # Don't use installbsd from OSF since it installs stuff as root
1604 for ac_prog in ginstall scoinst install; do
1605 for ac_exec_ext in '' $ac_executable_extensions; do
1606 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1607 if test $ac_prog = install &&
1608 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1609 # AIX install. It has an incompatible calling convention.
1611 elif test $ac_prog = install &&
1612 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1613 # program-specific install script used by HP pwplus--don't use.
1616 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1628 if test "${ac_cv_path_install+set}" = set; then
1629 INSTALL=$ac_cv_path_install
1631 # As a last resort, use the slow shell script. We don't cache a
1632 # path for INSTALL within a source directory, because that will
1633 # break other packages using the cache if that directory is
1634 # removed, or if the path is relative.
1635 INSTALL=$ac_install_sh
1638 echo "$as_me:$LINENO: result: $INSTALL" >&5
1639 echo "${ECHO_T}$INSTALL" >&6
1641 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1642 # It thinks the first close brace ends the variable substitution.
1643 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1645 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1647 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1649 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1650 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1653 echo timestamp > conftest.file
1654 # Do `set' in a subshell so we don't clobber the current shell's
1655 # arguments. Must try -L first in case configure is actually a
1656 # symlink; some systems play weird games with the mod time of symlinks
1657 # (eg FreeBSD returns the mod time of the symlink's containing
1660 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1661 if test "$*" = "X"; then
1663 set X `ls -t $srcdir/configure conftest.file`
1666 if test "$*" != "X $srcdir/configure conftest.file" \
1667 && test "$*" != "X conftest.file $srcdir/configure"; then
1669 # If neither matched, then we have a broken ls. This can happen
1670 # if, for instance, CONFIG_SHELL is bash and it inherits a
1671 # broken ls alias from the environment. This has actually
1672 # happened. Such a system could not be considered "sane".
1673 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1674 alias in your environment" >&5
1675 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1676 alias in your environment" >&2;}
1677 { (exit 1); exit 1; }; }
1680 test "$2" = conftest.file
1686 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1687 Check your system clock" >&5
1688 echo "$as_me: error: newly created file is older than distributed files!
1689 Check your system clock" >&2;}
1690 { (exit 1); exit 1; }; }
1692 echo "$as_me:$LINENO: result: yes" >&5
1693 echo "${ECHO_T}yes" >&6
1694 test "$program_prefix" != NONE &&
1695 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1696 # Use a double $ so make ignores it.
1697 test "$program_suffix" != NONE &&
1698 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1699 # Double any \ or $. echo might interpret backslashes.
1700 # By default was `s,x,x', remove it if useless.
1701 cat <<\_ACEOF >conftest.sed
1702 s/[\\$]/&&/g;s/;s,x,x,$//
1704 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1708 # expand $ac_aux_dir to an absolute path
1709 am_aux_dir=`cd $ac_aux_dir && pwd`
1711 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1712 # Use eval to expand $SHELL
1713 if eval "$MISSING --run true"; then
1714 am_missing_run="$MISSING --run "
1717 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1718 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1721 for ac_prog in gawk mawk nawk awk
1723 # Extract the first word of "$ac_prog", so it can be a program name with args.
1724 set dummy $ac_prog; ac_word=$2
1725 echo "$as_me:$LINENO: checking for $ac_word" >&5
1726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1727 if test "${ac_cv_prog_AWK+set}" = set; then
1728 echo $ECHO_N "(cached) $ECHO_C" >&6
1730 if test -n "$AWK"; then
1731 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1737 test -z "$as_dir" && as_dir=.
1738 for ac_exec_ext in '' $ac_executable_extensions; do
1739 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1740 ac_cv_prog_AWK="$ac_prog"
1741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1750 if test -n "$AWK"; then
1751 echo "$as_me:$LINENO: result: $AWK" >&5
1752 echo "${ECHO_T}$AWK" >&6
1754 echo "$as_me:$LINENO: result: no" >&5
1755 echo "${ECHO_T}no" >&6
1758 test -n "$AWK" && break
1761 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1762 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1763 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1764 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1765 echo $ECHO_N "(cached) $ECHO_C" >&6
1767 cat >conftest.make <<\_ACEOF
1769 @echo 'ac_maketemp="$(MAKE)"'
1771 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1772 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1773 if test -n "$ac_maketemp"; then
1774 eval ac_cv_prog_make_${ac_make}_set=yes
1776 eval ac_cv_prog_make_${ac_make}_set=no
1780 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1781 echo "$as_me:$LINENO: result: yes" >&5
1782 echo "${ECHO_T}yes" >&6
1785 echo "$as_me:$LINENO: result: no" >&5
1786 echo "${ECHO_T}no" >&6
1787 SET_MAKE="MAKE=${MAKE-make}"
1790 rm -rf .tst 2>/dev/null
1791 mkdir .tst 2>/dev/null
1792 if test -d .tst; then
1797 rmdir .tst 2>/dev/null
1799 # test to see if srcdir already configured
1800 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1801 test -f $srcdir/config.status; then
1802 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1803 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1804 { (exit 1); exit 1; }; }
1807 # test whether we have cygpath
1808 if test -z "$CYGPATH_W"; then
1809 if (cygpath --version) >/dev/null 2>/dev/null; then
1810 CYGPATH_W='cygpath -w'
1817 # Define the identity of the package.
1822 cat >>confdefs.h <<_ACEOF
1823 #define PACKAGE "$PACKAGE"
1827 cat >>confdefs.h <<_ACEOF
1828 #define VERSION "$VERSION"
1831 # Some tools Automake needs.
1833 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1836 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1839 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1842 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1845 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1848 AMTAR=${AMTAR-"${am_missing_run}tar"}
1850 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1852 # Installed binaries are usually stripped using `strip' when the user
1853 # run `make install-strip'. However `strip' might not be the right
1854 # tool to use in cross-compilation environments, therefore Automake
1855 # will honor the `STRIP' environment variable to overrule this program.
1856 if test "$cross_compiling" != no; then
1857 if test -n "$ac_tool_prefix"; then
1858 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1859 set dummy ${ac_tool_prefix}strip; ac_word=$2
1860 echo "$as_me:$LINENO: checking for $ac_word" >&5
1861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1862 if test "${ac_cv_prog_STRIP+set}" = set; then
1863 echo $ECHO_N "(cached) $ECHO_C" >&6
1865 if test -n "$STRIP"; then
1866 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1872 test -z "$as_dir" && as_dir=.
1873 for ac_exec_ext in '' $ac_executable_extensions; do
1874 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1875 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1884 STRIP=$ac_cv_prog_STRIP
1885 if test -n "$STRIP"; then
1886 echo "$as_me:$LINENO: result: $STRIP" >&5
1887 echo "${ECHO_T}$STRIP" >&6
1889 echo "$as_me:$LINENO: result: no" >&5
1890 echo "${ECHO_T}no" >&6
1894 if test -z "$ac_cv_prog_STRIP"; then
1896 # Extract the first word of "strip", so it can be a program name with args.
1897 set dummy strip; 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_STRIP+set}" = set; then
1901 echo $ECHO_N "(cached) $ECHO_C" >&6
1903 if test -n "$ac_ct_STRIP"; then
1904 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # 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_STRIP="strip"
1914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1920 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1923 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1924 if test -n "$ac_ct_STRIP"; then
1925 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1926 echo "${ECHO_T}$ac_ct_STRIP" >&6
1928 echo "$as_me:$LINENO: result: no" >&5
1929 echo "${ECHO_T}no" >&6
1934 STRIP="$ac_cv_prog_STRIP"
1938 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1940 # We need awk for the "check" target. The system "awk" is bad on
1946 opt_fs="localfs locasefs ftpfs gnetfs"
1948 # Check whether --enable-kernel-support or --disable-kernel-support was given.
1949 if test "${enable_kernel_support+set}" = set; then
1950 enableval="$enable_kernel_support"
1951 KERNEL_SUPPORT=$enableval
1954 if test "$KERNEL_SUPPORT" != "no"
1957 echo "$as_me:$LINENO: checking OS" >&5
1958 echo $ECHO_N "checking OS... $ECHO_C" >&6
1960 if test ! -d kernel/$OS_DIR
1962 { { echo "$as_me:$LINENO: error: $OS_DIR - not supported!" >&5
1963 echo "$as_me: error: $OS_DIR - not supported!" >&2;}
1964 { (exit 1); exit 1; }; }
1966 echo "$as_me:$LINENO: result: $OS_DIR" >&5
1967 echo "${ECHO_T}$OS_DIR" >&6
1970 if test "$OS_DIR"="Linux"
1973 echo "$as_me:$LINENO: checking kernel" >&5
1974 echo $ECHO_N "checking kernel... $ECHO_C" >&6
1976 # Check whether --with-kernel or --without-kernel was given.
1977 if test "${with_kernel+set}" = set; then
1978 withval="$with_kernel"
1979 KERNEL_VERSION=$withval
1981 KERNEL_VERSION=`uname -r`
1983 MODULES_DIR=/lib/modules/$KERNEL_VERSION
1984 echo "$as_me:$LINENO: result: $KERNEL_VERSION" >&5
1985 echo "${ECHO_T}$KERNEL_VERSION" >&6
1987 echo "$as_me:$LINENO: checking kernel support" >&5
1988 echo $ECHO_N "checking kernel support... $ECHO_C" >&6
1989 KERNEL_DIR=`echo $KERNEL_VERSION | cut -d'.' -f1,2`
1990 if test ! -d kernel/$OS_DIR/$KERNEL_DIR
1992 { { echo "$as_me:$LINENO: error: $KERNEL_DIR not supported!" >&5
1993 echo "$as_me: error: $KERNEL_DIR not supported!" >&2;}
1994 { (exit 1); exit 1; }; }
1996 echo "$as_me:$LINENO: result: supported in kernel/$OS_DIR/$KERNEL_DIR" >&5
1997 echo "${ECHO_T}supported in kernel/$OS_DIR/$KERNEL_DIR" >&6
2000 echo "$as_me:$LINENO: checking kernel headers" >&5
2001 echo $ECHO_N "checking kernel headers... $ECHO_C" >&6
2003 # Check whether --with-kheaders or --without-kheaders was given.
2004 if test "${with_kheaders+set}" = set; then
2005 withval="$with_kheaders"
2008 KERNEL_HDR=$MODULES_DIR/build/include
2010 if test ! -f $KERNEL_HDR/linux/fs.h
2012 { { echo "$as_me:$LINENO: error: not found in $KERNEL_HDR. please install them!" >&5
2013 echo "$as_me: error: not found in $KERNEL_HDR. please install them!" >&2;}
2014 { (exit 1); exit 1; }; }
2016 echo "$as_me:$LINENO: result: found in $KERNEL_HDR" >&5
2017 echo "${ECHO_T}found in $KERNEL_HDR" >&6
2020 echo "$as_me:$LINENO: checking kernel configuration" >&5
2021 echo $ECHO_N "checking kernel configuration... $ECHO_C" >&6
2022 if test -f $MODULES_DIR/build/.config
2024 tmp=`cat $MODULES_DIR/build/.config | grep CONFIG_MODVERSIONS=y`
2027 echo "$as_me:$LINENO: result: found, using modversions" >&5
2028 echo "${ECHO_T}found, using modversions" >&6
2029 MODV_FLAGS="-DMODVERSIONS -include $KERNEL_HDR/linux/modversions.h"
2031 echo "$as_me:$LINENO: result: found, not using modversions" >&5
2032 echo "${ECHO_T}found, not using modversions" >&6
2035 echo "$as_me:$LINENO: result: not found at $MODULES_DIR/build/.config, assuming modversions support" >&5
2036 echo "${ECHO_T}not found at $MODULES_DIR/build/.config, assuming modversions support" >&6
2037 MODV_FLAGS="-DMODVERSIONS -include $KERNEL_HDR/linux/modversions.h"
2040 # Check whether --enable-modversions or --disable-modversions was given.
2041 if test "${enable_modversions+set}" = set; then
2042 enableval="$enable_modversions"
2043 if test $enableval = "yes"; then MODV_FLAGS="-DMODVERSIONS -include $KERNEL_HDR/linux/modversions.h"; else MODV_FLAGS=""; fi
2056 # Check whether --enable-debug or --disable-debug was given.
2057 if test "${enable_debug+set}" = set; then
2058 enableval="$enable_debug"
2059 DEBUG_FLAGS="-g -DDEBUG" && CXXFLAGS="-g -O2 -Wall -DDEBUG -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" && CFLAGS="-g -O2 -Wall -DDEBUG -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
2061 CXXFLAGS="-O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" && CFLAGS="-O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
2065 # Check whether --enable-kdebug or --disable-kdebug was given.
2066 if test "${enable_kdebug+set}" = set; then
2067 enableval="$enable_kdebug"
2068 KDEBUG_FLAGS="-DLUFS_DEBUG -DLUFS_VERBOSE"
2072 # Check whether --enable-autofs-install or --disable-autofs-install was given.
2073 if test "${enable_autofs_install+set}" = set; then
2074 enableval="$enable_autofs_install"
2075 AUTOFS_INSTALL="yes"
2079 # Check whether --enable-suid or --disable-suid was given.
2080 if test "${enable_suid+set}" = set; then
2081 enableval="$enable_suid"
2082 if test $enableval = "no"; then LUFS_SUID=""; else LUFS_SUID="true"; fi
2088 # Check whether --enable-static or --disable-static was given.
2089 if test "${enable_static+set}" = set; then
2090 enableval="$enable_static"
2091 p=${PACKAGE-default}
2093 yes) enable_static=yes ;;
2094 no) enable_static=no ;;
2097 # Look at the argument we got. We use all the common list separators.
2098 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2099 for pkg in $enableval; do
2100 if test "X$pkg" = "X$p"; then
2112 ac_cpp='$CPP $CPPFLAGS'
2113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2116 if test -n "$ac_tool_prefix"; then
2117 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2118 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2119 echo "$as_me:$LINENO: checking for $ac_word" >&5
2120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2121 if test "${ac_cv_prog_CC+set}" = set; then
2122 echo $ECHO_N "(cached) $ECHO_C" >&6
2124 if test -n "$CC"; then
2125 ac_cv_prog_CC="$CC" # Let the user override the test.
2127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2131 test -z "$as_dir" && as_dir=.
2132 for ac_exec_ext in '' $ac_executable_extensions; do
2133 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2134 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2144 if test -n "$CC"; then
2145 echo "$as_me:$LINENO: result: $CC" >&5
2146 echo "${ECHO_T}$CC" >&6
2148 echo "$as_me:$LINENO: result: no" >&5
2149 echo "${ECHO_T}no" >&6
2153 if test -z "$ac_cv_prog_CC"; then
2155 # Extract the first word of "gcc", so it can be a program name with args.
2156 set dummy gcc; ac_word=$2
2157 echo "$as_me:$LINENO: checking for $ac_word" >&5
2158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2159 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2160 echo $ECHO_N "(cached) $ECHO_C" >&6
2162 if test -n "$ac_ct_CC"; then
2163 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2169 test -z "$as_dir" && as_dir=.
2170 for ac_exec_ext in '' $ac_executable_extensions; do
2171 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2172 ac_cv_prog_ac_ct_CC="gcc"
2173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2181 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2182 if test -n "$ac_ct_CC"; then
2183 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2184 echo "${ECHO_T}$ac_ct_CC" >&6
2186 echo "$as_me:$LINENO: result: no" >&5
2187 echo "${ECHO_T}no" >&6
2195 if test -z "$CC"; then
2196 if test -n "$ac_tool_prefix"; then
2197 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2198 set dummy ${ac_tool_prefix}cc; ac_word=$2
2199 echo "$as_me:$LINENO: checking for $ac_word" >&5
2200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2201 if test "${ac_cv_prog_CC+set}" = set; then
2202 echo $ECHO_N "(cached) $ECHO_C" >&6
2204 if test -n "$CC"; then
2205 ac_cv_prog_CC="$CC" # Let the user override the test.
2207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2211 test -z "$as_dir" && as_dir=.
2212 for ac_exec_ext in '' $ac_executable_extensions; do
2213 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2214 ac_cv_prog_CC="${ac_tool_prefix}cc"
2215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2224 if test -n "$CC"; then
2225 echo "$as_me:$LINENO: result: $CC" >&5
2226 echo "${ECHO_T}$CC" >&6
2228 echo "$as_me:$LINENO: result: no" >&5
2229 echo "${ECHO_T}no" >&6
2233 if test -z "$ac_cv_prog_CC"; then
2235 # Extract the first word of "cc", so it can be a program name with args.
2236 set dummy cc; ac_word=$2
2237 echo "$as_me:$LINENO: checking for $ac_word" >&5
2238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2239 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2240 echo $ECHO_N "(cached) $ECHO_C" >&6
2242 if test -n "$ac_ct_CC"; then
2243 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2249 test -z "$as_dir" && as_dir=.
2250 for ac_exec_ext in '' $ac_executable_extensions; do
2251 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2252 ac_cv_prog_ac_ct_CC="cc"
2253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2261 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2262 if test -n "$ac_ct_CC"; then
2263 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2264 echo "${ECHO_T}$ac_ct_CC" >&6
2266 echo "$as_me:$LINENO: result: no" >&5
2267 echo "${ECHO_T}no" >&6
2276 if test -z "$CC"; then
2277 # Extract the first word of "cc", so it can be a program name with args.
2278 set dummy cc; ac_word=$2
2279 echo "$as_me:$LINENO: checking for $ac_word" >&5
2280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2281 if test "${ac_cv_prog_CC+set}" = set; then
2282 echo $ECHO_N "(cached) $ECHO_C" >&6
2284 if test -n "$CC"; then
2285 ac_cv_prog_CC="$CC" # Let the user override the test.
2288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2292 test -z "$as_dir" && as_dir=.
2293 for ac_exec_ext in '' $ac_executable_extensions; do
2294 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2295 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2296 ac_prog_rejected=yes
2300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2306 if test $ac_prog_rejected = yes; then
2307 # We found a bogon in the path, so make sure we never use it.
2308 set dummy $ac_cv_prog_CC
2310 if test $# != 0; then
2311 # We chose a different compiler from the bogus one.
2312 # However, it has the same basename, so the bogon will be chosen
2313 # first if we set CC to just the basename; use the full file name.
2315 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2321 if test -n "$CC"; then
2322 echo "$as_me:$LINENO: result: $CC" >&5
2323 echo "${ECHO_T}$CC" >&6
2325 echo "$as_me:$LINENO: result: no" >&5
2326 echo "${ECHO_T}no" >&6
2330 if test -z "$CC"; then
2331 if test -n "$ac_tool_prefix"; then
2334 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2335 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2336 echo "$as_me:$LINENO: checking for $ac_word" >&5
2337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2338 if test "${ac_cv_prog_CC+set}" = set; then
2339 echo $ECHO_N "(cached) $ECHO_C" >&6
2341 if test -n "$CC"; then
2342 ac_cv_prog_CC="$CC" # Let the user override the test.
2344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2348 test -z "$as_dir" && as_dir=.
2349 for ac_exec_ext in '' $ac_executable_extensions; do
2350 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2351 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2361 if test -n "$CC"; then
2362 echo "$as_me:$LINENO: result: $CC" >&5
2363 echo "${ECHO_T}$CC" >&6
2365 echo "$as_me:$LINENO: result: no" >&5
2366 echo "${ECHO_T}no" >&6
2369 test -n "$CC" && break
2372 if test -z "$CC"; then
2376 # Extract the first word of "$ac_prog", so it can be a program name with args.
2377 set dummy $ac_prog; ac_word=$2
2378 echo "$as_me:$LINENO: checking for $ac_word" >&5
2379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2380 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2381 echo $ECHO_N "(cached) $ECHO_C" >&6
2383 if test -n "$ac_ct_CC"; then
2384 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2390 test -z "$as_dir" && as_dir=.
2391 for ac_exec_ext in '' $ac_executable_extensions; do
2392 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2393 ac_cv_prog_ac_ct_CC="$ac_prog"
2394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2402 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2403 if test -n "$ac_ct_CC"; then
2404 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2405 echo "${ECHO_T}$ac_ct_CC" >&6
2407 echo "$as_me:$LINENO: result: no" >&5
2408 echo "${ECHO_T}no" >&6
2411 test -n "$ac_ct_CC" && break
2420 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2421 See \`config.log' for more details." >&5
2422 echo "$as_me: error: no acceptable C compiler found in \$PATH
2423 See \`config.log' for more details." >&2;}
2424 { (exit 1); exit 1; }; }
2426 # Provide some information about the compiler.
2427 echo "$as_me:$LINENO:" \
2428 "checking for C compiler version" >&5
2429 ac_compiler=`set X $ac_compile; echo $2`
2430 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2431 (eval $ac_compiler --version </dev/null >&5) 2>&5
2433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2434 (exit $ac_status); }
2435 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2436 (eval $ac_compiler -v </dev/null >&5) 2>&5
2438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2439 (exit $ac_status); }
2440 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2441 (eval $ac_compiler -V </dev/null >&5) 2>&5
2443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2444 (exit $ac_status); }
2446 cat >conftest.$ac_ext <<_ACEOF
2447 #line $LINENO "configure"
2450 cat confdefs.h >>conftest.$ac_ext
2451 cat >>conftest.$ac_ext <<_ACEOF
2452 /* end confdefs.h. */
2462 ac_clean_files_save=$ac_clean_files
2463 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2464 # Try to create an executable without -o first, disregard a.out.
2465 # It will help us diagnose broken compilers, and finding out an intuition
2467 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2468 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2469 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2470 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2471 (eval $ac_link_default) 2>&5
2473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2474 (exit $ac_status); }; then
2475 # Find the output, starting from the most likely. This scheme is
2476 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2479 # Be careful to initialize this variable, since it used to be cached.
2480 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2482 # b.out is created by i960 compilers.
2483 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2485 test -f "$ac_file" || continue
2487 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2490 # This is the source file.
2493 # We found the default executable, but exeext='' is most
2497 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2498 # FIXME: I believe we export ac_cv_exeext for Libtool,
2499 # but it would be cool to find out if it's true. Does anybody
2500 # maintain Libtool? --akim.
2508 echo "$as_me: failed program was:" >&5
2509 sed 's/^/| /' conftest.$ac_ext >&5
2511 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2512 See \`config.log' for more details." >&5
2513 echo "$as_me: error: C compiler cannot create executables
2514 See \`config.log' for more details." >&2;}
2515 { (exit 77); exit 77; }; }
2518 ac_exeext=$ac_cv_exeext
2519 echo "$as_me:$LINENO: result: $ac_file" >&5
2520 echo "${ECHO_T}$ac_file" >&6
2522 # Check the compiler produces executables we can run. If not, either
2523 # the compiler is broken, or we cross compile.
2524 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2525 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2526 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2527 # If not cross compiling, check that we can run a simple program.
2528 if test "$cross_compiling" != yes; then
2529 if { ac_try='./$ac_file'
2530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2534 (exit $ac_status); }; }; then
2537 if test "$cross_compiling" = maybe; then
2540 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2541 If you meant to cross compile, use \`--host'.
2542 See \`config.log' for more details." >&5
2543 echo "$as_me: error: cannot run C compiled programs.
2544 If you meant to cross compile, use \`--host'.
2545 See \`config.log' for more details." >&2;}
2546 { (exit 1); exit 1; }; }
2550 echo "$as_me:$LINENO: result: yes" >&5
2551 echo "${ECHO_T}yes" >&6
2553 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2554 ac_clean_files=$ac_clean_files_save
2555 # Check the compiler produces executables we can run. If not, either
2556 # the compiler is broken, or we cross compile.
2557 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2558 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2559 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2560 echo "${ECHO_T}$cross_compiling" >&6
2562 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2563 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2565 (eval $ac_link) 2>&5
2567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2568 (exit $ac_status); }; then
2569 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2570 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2571 # work properly (i.e., refer to `conftest.exe'), while it won't with
2573 for ac_file in conftest.exe conftest conftest.*; do
2574 test -f "$ac_file" || continue
2576 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2577 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2584 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2585 See \`config.log' for more details." >&5
2586 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2587 See \`config.log' for more details." >&2;}
2588 { (exit 1); exit 1; }; }
2591 rm -f conftest$ac_cv_exeext
2592 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2593 echo "${ECHO_T}$ac_cv_exeext" >&6
2595 rm -f conftest.$ac_ext
2596 EXEEXT=$ac_cv_exeext
2598 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2599 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2600 if test "${ac_cv_objext+set}" = set; then
2601 echo $ECHO_N "(cached) $ECHO_C" >&6
2603 cat >conftest.$ac_ext <<_ACEOF
2604 #line $LINENO "configure"
2607 cat confdefs.h >>conftest.$ac_ext
2608 cat >>conftest.$ac_ext <<_ACEOF
2609 /* end confdefs.h. */
2619 rm -f conftest.o conftest.obj
2620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2621 (eval $ac_compile) 2>&5
2623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2624 (exit $ac_status); }; then
2625 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2627 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2628 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2633 echo "$as_me: failed program was:" >&5
2634 sed 's/^/| /' conftest.$ac_ext >&5
2636 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2637 See \`config.log' for more details." >&5
2638 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2639 See \`config.log' for more details." >&2;}
2640 { (exit 1); exit 1; }; }
2643 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2645 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2646 echo "${ECHO_T}$ac_cv_objext" >&6
2647 OBJEXT=$ac_cv_objext
2649 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2650 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2651 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2652 echo $ECHO_N "(cached) $ECHO_C" >&6
2654 cat >conftest.$ac_ext <<_ACEOF
2655 #line $LINENO "configure"
2658 cat confdefs.h >>conftest.$ac_ext
2659 cat >>conftest.$ac_ext <<_ACEOF
2660 /* end confdefs.h. */
2673 rm -f conftest.$ac_objext
2674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2675 (eval $ac_compile) 2>&5
2677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2678 (exit $ac_status); } &&
2679 { ac_try='test -s conftest.$ac_objext'
2680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2684 (exit $ac_status); }; }; then
2687 echo "$as_me: failed program was:" >&5
2688 sed 's/^/| /' conftest.$ac_ext >&5
2692 rm -f conftest.$ac_objext conftest.$ac_ext
2693 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2696 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2697 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2698 GCC=`test $ac_compiler_gnu = yes && echo yes`
2699 ac_test_CFLAGS=${CFLAGS+set}
2700 ac_save_CFLAGS=$CFLAGS
2702 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2703 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2704 if test "${ac_cv_prog_cc_g+set}" = set; then
2705 echo $ECHO_N "(cached) $ECHO_C" >&6
2707 cat >conftest.$ac_ext <<_ACEOF
2708 #line $LINENO "configure"
2711 cat confdefs.h >>conftest.$ac_ext
2712 cat >>conftest.$ac_ext <<_ACEOF
2713 /* end confdefs.h. */
2723 rm -f conftest.$ac_objext
2724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2725 (eval $ac_compile) 2>&5
2727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2728 (exit $ac_status); } &&
2729 { ac_try='test -s conftest.$ac_objext'
2730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2734 (exit $ac_status); }; }; then
2737 echo "$as_me: failed program was:" >&5
2738 sed 's/^/| /' conftest.$ac_ext >&5
2742 rm -f conftest.$ac_objext conftest.$ac_ext
2744 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2745 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2746 if test "$ac_test_CFLAGS" = set; then
2747 CFLAGS=$ac_save_CFLAGS
2748 elif test $ac_cv_prog_cc_g = yes; then
2749 if test "$GCC" = yes; then
2755 if test "$GCC" = yes; then
2761 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2762 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2763 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2764 echo $ECHO_N "(cached) $ECHO_C" >&6
2766 ac_cv_prog_cc_stdc=no
2768 cat >conftest.$ac_ext <<_ACEOF
2769 #line $LINENO "configure"
2772 cat confdefs.h >>conftest.$ac_ext
2773 cat >>conftest.$ac_ext <<_ACEOF
2774 /* end confdefs.h. */
2777 #include <sys/types.h>
2778 #include <sys/stat.h>
2779 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2780 struct buf { int x; };
2781 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2782 static char *e (p, i)
2788 static char *f (char * (*g) (char **, int), char **p, ...)
2793 s = g (p, va_arg (v,int));
2797 int test (int i, double x);
2798 struct s1 {int (*f) (int a);};
2799 struct s2 {int (*f) (double a);};
2800 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2806 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2811 # Don't try gcc -ansi; that turns off useful extensions and
2812 # breaks some systems' header files.
2813 # AIX -qlanglvl=ansi
2814 # Ultrix and OSF/1 -std1
2815 # HP-UX 10.20 and later -Ae
2816 # HP-UX older versions -Aa -D_HPUX_SOURCE
2817 # SVR4 -Xc -D__EXTENSIONS__
2818 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2820 CC="$ac_save_CC $ac_arg"
2821 rm -f conftest.$ac_objext
2822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2823 (eval $ac_compile) 2>&5
2825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2826 (exit $ac_status); } &&
2827 { ac_try='test -s conftest.$ac_objext'
2828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832 (exit $ac_status); }; }; then
2833 ac_cv_prog_cc_stdc=$ac_arg
2836 echo "$as_me: failed program was:" >&5
2837 sed 's/^/| /' conftest.$ac_ext >&5
2840 rm -f conftest.$ac_objext
2842 rm -f conftest.$ac_ext conftest.$ac_objext
2847 case "x$ac_cv_prog_cc_stdc" in
2849 echo "$as_me:$LINENO: result: none needed" >&5
2850 echo "${ECHO_T}none needed" >&6 ;;
2852 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2853 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2854 CC="$CC $ac_cv_prog_cc_stdc" ;;
2857 # Some people use a C++ compiler to compile C. Since we use `exit',
2858 # in C++ we need to declare it. In case someone uses the same compiler
2859 # for both compiling C and C++ we need to have the C++ compiler decide
2860 # the declaration of exit, since it's the most demanding environment.
2861 cat >conftest.$ac_ext <<_ACEOF
2866 rm -f conftest.$ac_objext
2867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2868 (eval $ac_compile) 2>&5
2870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2871 (exit $ac_status); } &&
2872 { ac_try='test -s conftest.$ac_objext'
2873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877 (exit $ac_status); }; }; then
2878 for ac_declaration in \
2880 '#include <stdlib.h>' \
2881 'extern "C" void std::exit (int) throw (); using std::exit;' \
2882 'extern "C" void std::exit (int); using std::exit;' \
2883 'extern "C" void exit (int) throw ();' \
2884 'extern "C" void exit (int);' \
2887 cat >conftest.$ac_ext <<_ACEOF
2888 #line $LINENO "configure"
2891 cat confdefs.h >>conftest.$ac_ext
2892 cat >>conftest.$ac_ext <<_ACEOF
2893 /* end confdefs.h. */
2904 rm -f conftest.$ac_objext
2905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2906 (eval $ac_compile) 2>&5
2908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2909 (exit $ac_status); } &&
2910 { ac_try='test -s conftest.$ac_objext'
2911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915 (exit $ac_status); }; }; then
2918 echo "$as_me: failed program was:" >&5
2919 sed 's/^/| /' conftest.$ac_ext >&5
2923 rm -f conftest.$ac_objext conftest.$ac_ext
2924 cat >conftest.$ac_ext <<_ACEOF
2925 #line $LINENO "configure"
2928 cat confdefs.h >>conftest.$ac_ext
2929 cat >>conftest.$ac_ext <<_ACEOF
2930 /* end confdefs.h. */
2940 rm -f conftest.$ac_objext
2941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2942 (eval $ac_compile) 2>&5
2944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2945 (exit $ac_status); } &&
2946 { ac_try='test -s conftest.$ac_objext'
2947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2951 (exit $ac_status); }; }; then
2954 echo "$as_me: failed program was:" >&5
2955 sed 's/^/| /' conftest.$ac_ext >&5
2958 rm -f conftest.$ac_objext conftest.$ac_ext
2961 if test -n "$ac_declaration"; then
2962 echo '#ifdef __cplusplus' >>confdefs.h
2963 echo $ac_declaration >>confdefs.h
2964 echo '#endif' >>confdefs.h
2968 echo "$as_me: failed program was:" >&5
2969 sed 's/^/| /' conftest.$ac_ext >&5
2972 rm -f conftest.$ac_objext conftest.$ac_ext
2974 ac_cpp='$CPP $CPPFLAGS'
2975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2978 DEPDIR="${am__leading_dot}deps"
2980 ac_config_commands="$ac_config_commands depfiles"
2983 am_make=${MAKE-make}
2984 cat > confinc << 'END'
2989 # If we don't find an include directive, just comment out the code.
2990 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2991 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2995 # First try GNU make style include.
2996 echo "include confinc" > confmf
2997 # We grep out `Entering directory' and `Leaving directory'
2998 # messages which can occur if `w' ends up in MAKEFLAGS.
2999 # In particular we don't look at `^make:' because GNU make might
3000 # be invoked under some other name (usually "gmake"), in which
3001 # case it prints its new name instead of `make'.
3002 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3007 # Now try BSD make style include.
3008 if test "$am__include" = "#"; then
3009 echo '.include "confinc"' > confmf
3010 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3011 am__include=.include
3018 echo "$as_me:$LINENO: result: $_am_result" >&5
3019 echo "${ECHO_T}$_am_result" >&6
3020 rm -f confinc confmf
3022 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3023 if test "${enable_dependency_tracking+set}" = set; then
3024 enableval="$enable_dependency_tracking"
3027 if test "x$enable_dependency_tracking" != xno; then
3028 am_depcomp="$ac_aux_dir/depcomp"
3033 if test "x$enable_dependency_tracking" != xno; then
3044 depcc="$CC" am_compiler_list=
3046 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3047 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3048 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3049 echo $ECHO_N "(cached) $ECHO_C" >&6
3051 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3052 # We make a subdir and do the tests there. Otherwise we can end up
3053 # making bogus files that we don't know about and never remove. For
3054 # instance it was reported that on HP-UX the gcc test will end up
3055 # making a dummy file named `D' -- because `-MD' means `put the output
3058 # Copy depcomp to subdir because otherwise we won't find it if we're
3059 # using a relative directory.
3060 cp "$am_depcomp" conftest.dir
3063 am_cv_CC_dependencies_compiler_type=none
3064 if test "$am_compiler_list" = ""; then
3065 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3067 for depmode in $am_compiler_list; do
3068 # We need to recreate these files for each test, as the compiler may
3069 # overwrite some of them when testing with obscure command lines.
3070 # This happens at least with the AIX C compiler.
3071 echo '#include "conftest.h"' > conftest.c
3072 echo 'int i;' > conftest.h
3073 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
3077 # after this tag, mechanisms are not by side-effect, so they'll
3078 # only be used when explicitly requested
3079 if test "x$enable_dependency_tracking" = xyes; then
3087 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3088 # mode. It turns out that the SunPro C++ compiler does not properly
3089 # handle `-M -o', and we need to detect this.
3090 if depmode=$depmode \
3091 source=conftest.c object=conftest.o \
3092 depfile=conftest.Po tmpdepfile=conftest.TPo \
3093 $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \
3094 >/dev/null 2>conftest.err &&
3095 grep conftest.h conftest.Po > /dev/null 2>&1 &&
3096 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3097 # icc doesn't choke on unknown options, it will just issue warnings
3098 # (even with -Werror). So we grep stderr for any message
3099 # that says an option was ignored.
3100 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
3101 am_cv_CC_dependencies_compiler_type=$depmode
3110 am_cv_CC_dependencies_compiler_type=none
3114 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3115 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3116 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3121 test "x$enable_dependency_tracking" != xno \
3122 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3124 am__fastdepCC_FALSE='#'
3126 am__fastdepCC_TRUE='#'
3127 am__fastdepCC_FALSE=
3132 ac_cpp='$CPP $CPPFLAGS'
3133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3136 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3137 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3138 # On Suns, sometimes $CPP names a directory.
3139 if test -n "$CPP" && test -d "$CPP"; then
3142 if test -z "$CPP"; then
3143 if test "${ac_cv_prog_CPP+set}" = set; then
3144 echo $ECHO_N "(cached) $ECHO_C" >&6
3146 # Double quotes because CPP needs to be expanded
3147 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3150 for ac_c_preproc_warn_flag in '' yes
3152 # Use a header file that comes with gcc, so configuring glibc
3153 # with a fresh cross-compiler works.
3154 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3155 # <limits.h> exists even on freestanding compilers.
3156 # On the NeXT, cc -E runs the code through the compiler's parser,
3157 # not just through cpp. "Syntax error" is here to catch this case.
3158 cat >conftest.$ac_ext <<_ACEOF
3159 #line $LINENO "configure"
3162 cat confdefs.h >>conftest.$ac_ext
3163 cat >>conftest.$ac_ext <<_ACEOF
3164 /* end confdefs.h. */
3166 # include <limits.h>
3168 # include <assert.h>
3172 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3173 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3175 grep -v '^ *+' conftest.er1 >conftest.err
3177 cat conftest.err >&5
3178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3179 (exit $ac_status); } >/dev/null; then
3180 if test -s conftest.err; then
3181 ac_cpp_err=$ac_c_preproc_warn_flag
3188 if test -z "$ac_cpp_err"; then
3191 echo "$as_me: failed program was:" >&5
3192 sed 's/^/| /' conftest.$ac_ext >&5
3194 # Broken: fails on valid input.
3197 rm -f conftest.err conftest.$ac_ext
3199 # OK, works on sane cases. Now check whether non-existent headers
3200 # can be detected and how.
3201 cat >conftest.$ac_ext <<_ACEOF
3202 #line $LINENO "configure"
3205 cat confdefs.h >>conftest.$ac_ext
3206 cat >>conftest.$ac_ext <<_ACEOF
3207 /* end confdefs.h. */
3208 #include <ac_nonexistent.h>
3210 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3211 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3213 grep -v '^ *+' conftest.er1 >conftest.err
3215 cat conftest.err >&5
3216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3217 (exit $ac_status); } >/dev/null; then
3218 if test -s conftest.err; then
3219 ac_cpp_err=$ac_c_preproc_warn_flag
3226 if test -z "$ac_cpp_err"; then
3227 # Broken: success on invalid input.
3230 echo "$as_me: failed program was:" >&5
3231 sed 's/^/| /' conftest.$ac_ext >&5
3233 # Passes both tests.
3237 rm -f conftest.err conftest.$ac_ext
3240 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3241 rm -f conftest.err conftest.$ac_ext
3242 if $ac_preproc_ok; then
3254 echo "$as_me:$LINENO: result: $CPP" >&5
3255 echo "${ECHO_T}$CPP" >&6
3257 for ac_c_preproc_warn_flag in '' yes
3259 # Use a header file that comes with gcc, so configuring glibc
3260 # with a fresh cross-compiler works.
3261 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3262 # <limits.h> exists even on freestanding compilers.
3263 # On the NeXT, cc -E runs the code through the compiler's parser,
3264 # not just through cpp. "Syntax error" is here to catch this case.
3265 cat >conftest.$ac_ext <<_ACEOF
3266 #line $LINENO "configure"
3269 cat confdefs.h >>conftest.$ac_ext
3270 cat >>conftest.$ac_ext <<_ACEOF
3271 /* end confdefs.h. */
3273 # include <limits.h>
3275 # include <assert.h>
3279 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3280 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3282 grep -v '^ *+' conftest.er1 >conftest.err
3284 cat conftest.err >&5
3285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3286 (exit $ac_status); } >/dev/null; then
3287 if test -s conftest.err; then
3288 ac_cpp_err=$ac_c_preproc_warn_flag
3295 if test -z "$ac_cpp_err"; then
3298 echo "$as_me: failed program was:" >&5
3299 sed 's/^/| /' conftest.$ac_ext >&5
3301 # Broken: fails on valid input.
3304 rm -f conftest.err conftest.$ac_ext
3306 # OK, works on sane cases. Now check whether non-existent headers
3307 # can be detected and how.
3308 cat >conftest.$ac_ext <<_ACEOF
3309 #line $LINENO "configure"
3312 cat confdefs.h >>conftest.$ac_ext
3313 cat >>conftest.$ac_ext <<_ACEOF
3314 /* end confdefs.h. */
3315 #include <ac_nonexistent.h>
3317 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3318 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3320 grep -v '^ *+' conftest.er1 >conftest.err
3322 cat conftest.err >&5
3323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3324 (exit $ac_status); } >/dev/null; then
3325 if test -s conftest.err; then
3326 ac_cpp_err=$ac_c_preproc_warn_flag
3333 if test -z "$ac_cpp_err"; then
3334 # Broken: success on invalid input.
3337 echo "$as_me: failed program was:" >&5
3338 sed 's/^/| /' conftest.$ac_ext >&5
3340 # Passes both tests.
3344 rm -f conftest.err conftest.$ac_ext
3347 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3348 rm -f conftest.err conftest.$ac_ext
3349 if $ac_preproc_ok; then
3352 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3353 See \`config.log' for more details." >&5
3354 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3355 See \`config.log' for more details." >&2;}
3356 { (exit 1); exit 1; }; }
3360 ac_cpp='$CPP $CPPFLAGS'
3361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3366 ac_cpp='$CXXCPP $CPPFLAGS'
3367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3370 if test -n "$ac_tool_prefix"; then
3371 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3373 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3374 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3375 echo "$as_me:$LINENO: checking for $ac_word" >&5
3376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3377 if test "${ac_cv_prog_CXX+set}" = set; then
3378 echo $ECHO_N "(cached) $ECHO_C" >&6
3380 if test -n "$CXX"; then
3381 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3387 test -z "$as_dir" && as_dir=.
3388 for ac_exec_ext in '' $ac_executable_extensions; do
3389 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3390 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3400 if test -n "$CXX"; then
3401 echo "$as_me:$LINENO: result: $CXX" >&5
3402 echo "${ECHO_T}$CXX" >&6
3404 echo "$as_me:$LINENO: result: no" >&5
3405 echo "${ECHO_T}no" >&6
3408 test -n "$CXX" && break
3411 if test -z "$CXX"; then
3413 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3415 # Extract the first word of "$ac_prog", so it can be a program name with args.
3416 set dummy $ac_prog; ac_word=$2
3417 echo "$as_me:$LINENO: checking for $ac_word" >&5
3418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3419 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3420 echo $ECHO_N "(cached) $ECHO_C" >&6
3422 if test -n "$ac_ct_CXX"; then
3423 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3429 test -z "$as_dir" && as_dir=.
3430 for ac_exec_ext in '' $ac_executable_extensions; do
3431 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3432 ac_cv_prog_ac_ct_CXX="$ac_prog"
3433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3441 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3442 if test -n "$ac_ct_CXX"; then
3443 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3444 echo "${ECHO_T}$ac_ct_CXX" >&6
3446 echo "$as_me:$LINENO: result: no" >&5
3447 echo "${ECHO_T}no" >&6
3450 test -n "$ac_ct_CXX" && break
3452 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3458 # Provide some information about the compiler.
3459 echo "$as_me:$LINENO:" \
3460 "checking for C++ compiler version" >&5
3461 ac_compiler=`set X $ac_compile; echo $2`
3462 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3463 (eval $ac_compiler --version </dev/null >&5) 2>&5
3465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3466 (exit $ac_status); }
3467 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3468 (eval $ac_compiler -v </dev/null >&5) 2>&5
3470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3471 (exit $ac_status); }
3472 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3473 (eval $ac_compiler -V </dev/null >&5) 2>&5
3475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3476 (exit $ac_status); }
3478 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3479 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3480 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3481 echo $ECHO_N "(cached) $ECHO_C" >&6
3483 cat >conftest.$ac_ext <<_ACEOF
3484 #line $LINENO "configure"
3487 cat confdefs.h >>conftest.$ac_ext
3488 cat >>conftest.$ac_ext <<_ACEOF
3489 /* end confdefs.h. */
3502 rm -f conftest.$ac_objext
3503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3504 (eval $ac_compile) 2>&5
3506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3507 (exit $ac_status); } &&
3508 { ac_try='test -s conftest.$ac_objext'
3509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3513 (exit $ac_status); }; }; then
3516 echo "$as_me: failed program was:" >&5
3517 sed 's/^/| /' conftest.$ac_ext >&5
3521 rm -f conftest.$ac_objext conftest.$ac_ext
3522 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3525 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3526 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3527 GXX=`test $ac_compiler_gnu = yes && echo yes`
3528 ac_test_CXXFLAGS=${CXXFLAGS+set}
3529 ac_save_CXXFLAGS=$CXXFLAGS
3531 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3532 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3533 if test "${ac_cv_prog_cxx_g+set}" = set; then
3534 echo $ECHO_N "(cached) $ECHO_C" >&6
3536 cat >conftest.$ac_ext <<_ACEOF
3537 #line $LINENO "configure"
3540 cat confdefs.h >>conftest.$ac_ext
3541 cat >>conftest.$ac_ext <<_ACEOF
3542 /* end confdefs.h. */
3552 rm -f conftest.$ac_objext
3553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3554 (eval $ac_compile) 2>&5
3556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3557 (exit $ac_status); } &&
3558 { ac_try='test -s conftest.$ac_objext'
3559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3563 (exit $ac_status); }; }; then
3564 ac_cv_prog_cxx_g=yes
3566 echo "$as_me: failed program was:" >&5
3567 sed 's/^/| /' conftest.$ac_ext >&5
3571 rm -f conftest.$ac_objext conftest.$ac_ext
3573 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3574 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3575 if test "$ac_test_CXXFLAGS" = set; then
3576 CXXFLAGS=$ac_save_CXXFLAGS
3577 elif test $ac_cv_prog_cxx_g = yes; then
3578 if test "$GXX" = yes; then
3584 if test "$GXX" = yes; then
3590 for ac_declaration in \
3592 '#include <stdlib.h>' \
3593 'extern "C" void std::exit (int) throw (); using std::exit;' \
3594 'extern "C" void std::exit (int); using std::exit;' \
3595 'extern "C" void exit (int) throw ();' \
3596 'extern "C" void exit (int);' \
3599 cat >conftest.$ac_ext <<_ACEOF
3600 #line $LINENO "configure"
3603 cat confdefs.h >>conftest.$ac_ext
3604 cat >>conftest.$ac_ext <<_ACEOF
3605 /* end confdefs.h. */
3616 rm -f conftest.$ac_objext
3617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3618 (eval $ac_compile) 2>&5
3620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3621 (exit $ac_status); } &&
3622 { ac_try='test -s conftest.$ac_objext'
3623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3627 (exit $ac_status); }; }; then
3630 echo "$as_me: failed program was:" >&5
3631 sed 's/^/| /' conftest.$ac_ext >&5
3635 rm -f conftest.$ac_objext conftest.$ac_ext
3636 cat >conftest.$ac_ext <<_ACEOF
3637 #line $LINENO "configure"
3640 cat confdefs.h >>conftest.$ac_ext
3641 cat >>conftest.$ac_ext <<_ACEOF
3642 /* end confdefs.h. */
3652 rm -f conftest.$ac_objext
3653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3654 (eval $ac_compile) 2>&5
3656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3657 (exit $ac_status); } &&
3658 { ac_try='test -s conftest.$ac_objext'
3659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3663 (exit $ac_status); }; }; then
3666 echo "$as_me: failed program was:" >&5
3667 sed 's/^/| /' conftest.$ac_ext >&5
3670 rm -f conftest.$ac_objext conftest.$ac_ext
3673 if test -n "$ac_declaration"; then
3674 echo '#ifdef __cplusplus' >>confdefs.h
3675 echo $ac_declaration >>confdefs.h
3676 echo '#endif' >>confdefs.h
3680 ac_cpp='$CPP $CPPFLAGS'
3681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3685 depcc="$CXX" am_compiler_list=
3687 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3688 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3689 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3690 echo $ECHO_N "(cached) $ECHO_C" >&6
3692 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3693 # We make a subdir and do the tests there. Otherwise we can end up
3694 # making bogus files that we don't know about and never remove. For
3695 # instance it was reported that on HP-UX the gcc test will end up
3696 # making a dummy file named `D' -- because `-MD' means `put the output
3699 # Copy depcomp to subdir because otherwise we won't find it if we're
3700 # using a relative directory.
3701 cp "$am_depcomp" conftest.dir
3704 am_cv_CXX_dependencies_compiler_type=none
3705 if test "$am_compiler_list" = ""; then
3706 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3708 for depmode in $am_compiler_list; do
3709 # We need to recreate these files for each test, as the compiler may
3710 # overwrite some of them when testing with obscure command lines.
3711 # This happens at least with the AIX C compiler.
3712 echo '#include "conftest.h"' > conftest.c
3713 echo 'int i;' > conftest.h
3714 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
3718 # after this tag, mechanisms are not by side-effect, so they'll
3719 # only be used when explicitly requested
3720 if test "x$enable_dependency_tracking" = xyes; then
3728 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3729 # mode. It turns out that the SunPro C++ compiler does not properly
3730 # handle `-M -o', and we need to detect this.
3731 if depmode=$depmode \
3732 source=conftest.c object=conftest.o \
3733 depfile=conftest.Po tmpdepfile=conftest.TPo \
3734 $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \
3735 >/dev/null 2>conftest.err &&
3736 grep conftest.h conftest.Po > /dev/null 2>&1 &&
3737 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3738 # icc doesn't choke on unknown options, it will just issue warnings
3739 # (even with -Werror). So we grep stderr for any message
3740 # that says an option was ignored.
3741 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
3742 am_cv_CXX_dependencies_compiler_type=$depmode
3751 am_cv_CXX_dependencies_compiler_type=none
3755 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3756 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3757 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3762 test "x$enable_dependency_tracking" != xno \
3763 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3764 am__fastdepCXX_TRUE=
3765 am__fastdepCXX_FALSE='#'
3767 am__fastdepCXX_TRUE='#'
3768 am__fastdepCXX_FALSE=
3772 # Find a good install program. We prefer a C program (faster),
3773 # so one script is as good as another. But avoid the broken or
3774 # incompatible versions:
3775 # SysV /etc/install, /usr/sbin/install
3776 # SunOS /usr/etc/install
3777 # IRIX /sbin/install
3779 # AmigaOS /C/install, which installs bootblocks on floppy discs
3780 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3781 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3782 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3783 # ./install, which can be erroneously created by make from ./install.sh.
3784 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3785 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3786 if test -z "$INSTALL"; then
3787 if test "${ac_cv_path_install+set}" = set; then
3788 echo $ECHO_N "(cached) $ECHO_C" >&6
3790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3794 test -z "$as_dir" && as_dir=.
3795 # Account for people who put trailing slashes in PATH elements.
3797 ./ | .// | /cC/* | \
3798 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3801 # OSF1 and SCO ODT 3.0 have their own names for install.
3802 # Don't use installbsd from OSF since it installs stuff as root
3804 for ac_prog in ginstall scoinst install; do
3805 for ac_exec_ext in '' $ac_executable_extensions; do
3806 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3807 if test $ac_prog = install &&
3808 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3809 # AIX install. It has an incompatible calling convention.
3811 elif test $ac_prog = install &&
3812 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3813 # program-specific install script used by HP pwplus--don't use.
3816 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3828 if test "${ac_cv_path_install+set}" = set; then
3829 INSTALL=$ac_cv_path_install
3831 # As a last resort, use the slow shell script. We don't cache a
3832 # path for INSTALL within a source directory, because that will
3833 # break other packages using the cache if that directory is
3834 # removed, or if the path is relative.
3835 INSTALL=$ac_install_sh
3838 echo "$as_me:$LINENO: result: $INSTALL" >&5
3839 echo "${ECHO_T}$INSTALL" >&6
3841 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3842 # It thinks the first close brace ends the variable substitution.
3843 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3845 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3847 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3849 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3850 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3852 if test "$LN_S" = "ln -s"; then
3853 echo "$as_me:$LINENO: result: yes" >&5
3854 echo "${ECHO_T}yes" >&6
3856 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3857 echo "${ECHO_T}no, using $LN_S" >&6
3860 # Check whether --enable-shared or --disable-shared was given.
3861 if test "${enable_shared+set}" = set; then
3862 enableval="$enable_shared"
3863 p=${PACKAGE-default}
3865 yes) enable_shared=yes ;;
3866 no) enable_shared=no ;;
3869 # Look at the argument we got. We use all the common list separators.
3870 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3871 for pkg in $enableval; do
3872 if test "X$pkg" = "X$p"; then
3882 # Check whether --enable-fast-install or --disable-fast-install was given.
3883 if test "${enable_fast_install+set}" = set; then
3884 enableval="$enable_fast_install"
3885 p=${PACKAGE-default}
3887 yes) enable_fast_install=yes ;;
3888 no) enable_fast_install=no ;;
3890 enable_fast_install=no
3891 # Look at the argument we got. We use all the common list separators.
3892 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3893 for pkg in $enableval; do
3894 if test "X$pkg" = "X$p"; then
3895 enable_fast_install=yes
3902 enable_fast_install=yes
3904 # Find the correct PATH separator. Usually this is `:', but
3905 # DJGPP uses `;' like DOS.
3906 if test "X${PATH_SEPARATOR+set}" != Xset; then
3907 UNAME=${UNAME-`uname 2>/dev/null`}
3909 *-DOS) lt_cv_sys_path_separator=';' ;;
3910 *) lt_cv_sys_path_separator=':' ;;
3912 PATH_SEPARATOR=$lt_cv_sys_path_separator
3916 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3917 if test "${with_gnu_ld+set}" = set; then
3918 withval="$with_gnu_ld"
3919 test "$withval" = no || with_gnu_ld=yes
3924 if test "$GCC" = yes; then
3925 # Check if gcc -print-prog-name=ld gives a path.
3926 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3927 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3930 # gcc leaves a trailing carriage return which upsets mingw
3931 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3933 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3936 # Accept absolute paths.
3937 [\\/]* | [A-Za-z]:[\\/]*)
3938 re_direlt='/[^/][^/]*/\.\./'
3939 # Canonicalize the path of ld
3940 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3941 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3942 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3944 test -z "$LD" && LD="$ac_prog"
3947 # If it fails, then pretend we aren't using GCC.
3951 # If it is relative, then search for the first ld in PATH.
3955 elif test "$with_gnu_ld" = yes; then
3956 echo "$as_me:$LINENO: checking for GNU ld" >&5
3957 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3959 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3960 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3962 if test "${lt_cv_path_LD+set}" = set; then
3963 echo $ECHO_N "(cached) $ECHO_C" >&6
3965 if test -z "$LD"; then
3966 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3967 for ac_dir in $PATH; do
3968 test -z "$ac_dir" && ac_dir=.
3969 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3970 lt_cv_path_LD="$ac_dir/$ac_prog"
3971 # Check to see if the program is GNU ld. I'd rather use --version,
3972 # but apparently some GNU ld's only accept -v.
3973 # Break only if it was the GNU/non-GNU ld that we prefer.
3974 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3975 test "$with_gnu_ld" != no && break
3977 test "$with_gnu_ld" != yes && break
3983 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3988 if test -n "$LD"; then
3989 echo "$as_me:$LINENO: result: $LD" >&5
3990 echo "${ECHO_T}$LD" >&6
3992 echo "$as_me:$LINENO: result: no" >&5
3993 echo "${ECHO_T}no" >&6
3995 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3996 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3997 { (exit 1); exit 1; }; }
3998 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3999 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4000 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4001 echo $ECHO_N "(cached) $ECHO_C" >&6
4003 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4004 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4005 lt_cv_prog_gnu_ld=yes
4007 lt_cv_prog_gnu_ld=no
4010 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4011 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4012 with_gnu_ld=$lt_cv_prog_gnu_ld
4015 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4016 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4017 if test "${lt_cv_ld_reload_flag+set}" = set; then
4018 echo $ECHO_N "(cached) $ECHO_C" >&6
4020 lt_cv_ld_reload_flag='-r'
4022 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4023 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4024 reload_flag=$lt_cv_ld_reload_flag
4025 test -n "$reload_flag" && reload_flag=" $reload_flag"
4027 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4028 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4029 if test "${lt_cv_path_NM+set}" = set; then
4030 echo $ECHO_N "(cached) $ECHO_C" >&6
4032 if test -n "$NM"; then
4033 # Let the user override the test.
4036 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4037 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4038 test -z "$ac_dir" && ac_dir=.
4039 tmp_nm=$ac_dir/${ac_tool_prefix}nm
4040 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
4041 # Check to see if the nm accepts a BSD-compat flag.
4042 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4043 # nm: unknown option "B" ignored
4044 # Tru64's nm complains that /dev/null is an invalid object file
4045 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
4046 lt_cv_path_NM="$tmp_nm -B"
4048 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
4049 lt_cv_path_NM="$tmp_nm -p"
4052 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4053 continue # so that we can try to find one that supports BSD flags
4058 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4063 echo "$as_me:$LINENO: result: $NM" >&5
4064 echo "${ECHO_T}$NM" >&6
4066 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4067 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4068 if test "${lt_cv_path_SED+set}" = set; then
4069 echo $ECHO_N "(cached) $ECHO_C" >&6
4071 # Loop through the user's path and test for sed and gsed.
4072 # Then use that list of sed's as ones to test for truncation.
4073 as_executable_p="test -f"
4074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4078 test -z "$as_dir" && as_dir=.
4079 for ac_prog in sed gsed; do
4080 for ac_exec_ext in '' $ac_executable_extensions; do
4081 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4082 _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext"
4088 # Create a temporary directory, and hook for its removal unless debugging.
4091 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4092 trap '{ (exit 1); exit 1; }' 1 2 13 15
4095 # Create a (secure) tmp directory for tmp files.
4098 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` &&
4099 test -n "$tmp" && test -d "$tmp"
4102 tmp=$TMPDIR/sed$$-$RANDOM
4103 (umask 077 && mkdir $tmp)
4106 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
4107 { (exit 1); exit 1; }
4111 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4112 # along with /bin/sed that truncates output.
4113 for _sed in $_sed_list /usr/xpg4/bin/sed; do
4114 test ! -f ${_sed} && break
4115 cat /dev/null > "$tmp/sed.in"
4117 echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in"
4118 # Check for GNU sed and select it if it is found.
4119 if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then
4120 lt_cv_path_SED=${_sed}
4124 cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp"
4125 mv "$tmp/sed.tmp" "$tmp/sed.in"
4126 cp "$tmp/sed.in" "$tmp/sed.nl"
4127 echo >>"$tmp/sed.nl"
4128 ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break
4129 cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break
4130 # 40000 chars as input seems more than enough
4131 test $_count -gt 10 && break
4132 _count=`expr $_count + 1`
4133 if test $_count -gt $_max; then
4135 lt_cv_path_SED=$_sed
4143 if test "X$SED" != "X"; then
4148 echo "$as_me:$LINENO: result: $SED" >&5
4149 echo "${ECHO_T}$SED" >&6
4151 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4152 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4153 if test "${lt_cv_deplibs_check_method+set}" = set; then
4154 echo $ECHO_N "(cached) $ECHO_C" >&6
4156 lt_cv_file_magic_cmd='$MAGIC_CMD'
4157 lt_cv_file_magic_test_file=
4158 lt_cv_deplibs_check_method='unknown'
4159 # Need to set the preceding variable on all platforms that support
4160 # interlibrary dependencies.
4161 # 'none' -- dependencies not supported.
4162 # `unknown' -- same as none, but documents that we really don't know.
4163 # 'pass_all' -- all dependencies passed with no checks.
4164 # 'test_compile' -- check by making test program.
4165 # 'file_magic [[regex]]' -- check by looking for files in library path
4166 # which responds to the $file_magic_cmd with a given egrep regex.
4167 # If you have `file' or equivalent on your system and you're not sure
4168 # whether `pass_all' will *always* work, you probably want this one.
4172 lt_cv_deplibs_check_method=pass_all
4176 lt_cv_deplibs_check_method=pass_all
4180 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4181 lt_cv_file_magic_cmd='/usr/bin/file -L'
4182 lt_cv_file_magic_test_file=/shlib/libc.so
4185 cygwin* | mingw* | pw32*)
4186 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4187 lt_cv_file_magic_cmd='$OBJDUMP -f'
4190 darwin* | rhapsody*)
4191 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4192 lt_cv_file_magic_cmd='/usr/bin/file -L'
4194 rhapsody* | darwin1.[012])
4195 lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
4198 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4204 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4207 # Not sure whether the presence of OpenBSD here was a mistake.
4208 # Let's accept both of them until this is cleared up.
4209 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4210 lt_cv_file_magic_cmd=/usr/bin/file
4211 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4215 lt_cv_deplibs_check_method=pass_all
4220 lt_cv_deplibs_check_method=pass_all
4224 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4225 lt_cv_file_magic_cmd=/usr/bin/file
4226 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4229 irix5* | irix6* | nonstopux*)
4231 irix5* | nonstopux*)
4232 # this will be overridden with pass_all, but let us keep it just in case
4233 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4237 *-32|*"-32 ") libmagic=32-bit;;
4238 *-n32|*"-n32 ") libmagic=N32;;
4239 *-64|*"-64 ") libmagic=64-bit;;
4240 *) libmagic=never-match;;
4242 # this will be overridden with pass_all, but let us keep it just in case
4243 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4246 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4247 lt_cv_deplibs_check_method=pass_all
4250 # This must be Linux ELF.
4253 alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* | x86_64*)
4254 lt_cv_deplibs_check_method=pass_all ;;
4256 # glibc up to 2.1.1 does not perform some relocations on ARM
4257 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4259 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4263 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4264 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4266 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4271 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4272 lt_cv_file_magic_cmd=/usr/bin/file
4273 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4277 lt_cv_file_magic_cmd=/usr/bin/file
4278 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4279 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4280 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
4282 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
4286 osf3* | osf4* | osf5*)
4287 # this will be overridden with pass_all, but let us keep it just in case
4288 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4289 lt_cv_file_magic_test_file=/shlib/libc.so
4290 lt_cv_deplibs_check_method=pass_all
4294 lt_cv_deplibs_check_method=pass_all
4298 lt_cv_deplibs_check_method=pass_all
4299 lt_cv_file_magic_test_file=/lib/libc.so
4302 sysv5uw[78]* | sysv4*uw2*)
4303 lt_cv_deplibs_check_method=pass_all
4306 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4307 case $host_vendor in
4309 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]'
4310 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4313 lt_cv_deplibs_check_method=pass_all
4316 lt_cv_file_magic_cmd='/bin/file'
4317 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4320 lt_cv_file_magic_cmd='/bin/file'
4321 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4322 lt_cv_file_magic_test_file=/lib/libc.so
4325 lt_cv_deplibs_check_method=pass_all
4332 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4333 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4334 file_magic_cmd=$lt_cv_file_magic_cmd
4335 deplibs_check_method=$lt_cv_deplibs_check_method
4344 # Check for command to grab the raw symbol name followed by C symbol from nm.
4345 echo "$as_me:$LINENO: checking command to parse $NM output" >&5
4346 echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
4347 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
4348 echo $ECHO_N "(cached) $ECHO_C" >&6
4351 # These are sane defaults that work on at least a few old systems.
4352 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
4354 # Character class describing NM global symbol codes.
4355 symcode='[BCDEGRST]'
4357 # Regexp to match symbols that can be accessed directly from C.
4358 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
4360 # Transform the above into a raw symbol and a C symbol.
4361 symxfrm='\1 \2\3 \3'
4363 # Transform an extracted symbol line into a proper C declaration
4364 lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
4366 # Transform an extracted symbol line into symbol name and symbol address
4367 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'"
4369 # Define system-specific variables.
4374 cygwin* | mingw* | pw32*)
4375 symcode='[ABCDGISTW]'
4377 hpux*) # Its linker distinguishes data from code symbols
4378 lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4379 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'"
4382 symcode='[BCDEGRST]'
4385 symcode='[BCDEGQRST]'
4395 # Handle CRLF in mingw tool chain
4399 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
4403 # If we're using GNU nm, then use its standard symbol codes.
4404 if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
4405 symcode='[ABCDGISTW]'
4408 # Try without a prefix undercore, then with it.
4409 for ac_symprfx in "" "_"; do
4411 # Write the raw and C identifiers.
4412 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
4414 # Check to see that the pipe works correctly.
4417 cat > conftest.$ac_ext <<EOF
4422 void nm_test_func(){}
4426 int main(){nm_test_var='a';nm_test_func();return(0);}
4429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4430 (eval $ac_compile) 2>&5
4432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4433 (exit $ac_status); }; then
4434 # Now try to grab the symbols.
4436 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
4437 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
4439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4440 (exit $ac_status); } && test -s "$nlist"; then
4441 # Try sorting and uniquifying the output.
4442 if sort "$nlist" | uniq > "$nlist"T; then
4443 mv -f "$nlist"T "$nlist"
4448 # Make sure that we snagged all the symbols we need.
4449 if egrep ' nm_test_var$' "$nlist" >/dev/null; then
4450 if egrep ' nm_test_func$' "$nlist" >/dev/null; then
4451 cat <<EOF > conftest.$ac_ext
4457 # Now generate the symbol file.
4458 eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
4460 cat <<EOF >> conftest.$ac_ext
4461 #if defined (__STDC__) && __STDC__
4462 # define lt_ptr void *
4464 # define lt_ptr char *
4468 /* The mapping between symbol names and symbols. */
4473 lt_preloaded_symbols[] =
4476 sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
4477 cat <<\EOF >> conftest.$ac_ext
4485 # Now try linking the two files.
4486 mv conftest.$ac_objext conftstm.$ac_objext
4488 save_CFLAGS="$CFLAGS"
4489 LIBS="conftstm.$ac_objext"
4490 CFLAGS="$CFLAGS$no_builtin_flag"
4491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4492 (eval $ac_link) 2>&5
4494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4495 (exit $ac_status); } && test -s conftest$ac_exeext; then
4499 CFLAGS="$save_CFLAGS"
4501 echo "cannot find nm_test_func in $nlist" >&5
4504 echo "cannot find nm_test_var in $nlist" >&5
4507 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
4510 echo "$progname: failed program was:" >&5
4511 cat conftest.$ac_ext >&5
4513 rm -f conftest* conftst*
4515 # Do not use the global_symbol_pipe unless it works.
4516 if test "$pipe_works" = yes; then
4519 lt_cv_sys_global_symbol_pipe=
4525 global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
4526 if test -z "$lt_cv_sys_global_symbol_pipe"; then
4527 global_symbol_to_cdecl=
4528 global_symbol_to_c_name_address=
4530 global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
4531 global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
4533 if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
4535 echo "$as_me:$LINENO: result: failed" >&5
4536 echo "${ECHO_T}failed" >&6
4538 echo "$as_me:$LINENO: result: ok" >&5
4539 echo "${ECHO_T}ok" >&6
4543 echo "$as_me:$LINENO: checking for egrep" >&5
4544 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4545 if test "${ac_cv_prog_egrep+set}" = set; then
4546 echo $ECHO_N "(cached) $ECHO_C" >&6
4548 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4549 then ac_cv_prog_egrep='grep -E'
4550 else ac_cv_prog_egrep='egrep'
4553 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4554 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4555 EGREP=$ac_cv_prog_egrep
4558 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4559 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4560 if test "${ac_cv_header_stdc+set}" = set; then
4561 echo $ECHO_N "(cached) $ECHO_C" >&6
4563 cat >conftest.$ac_ext <<_ACEOF
4564 #line $LINENO "configure"
4567 cat confdefs.h >>conftest.$ac_ext
4568 cat >>conftest.$ac_ext <<_ACEOF
4569 /* end confdefs.h. */
4583 rm -f conftest.$ac_objext
4584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4585 (eval $ac_compile) 2>&5
4587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4588 (exit $ac_status); } &&
4589 { ac_try='test -s conftest.$ac_objext'
4590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4594 (exit $ac_status); }; }; then
4595 ac_cv_header_stdc=yes
4597 echo "$as_me: failed program was:" >&5
4598 sed 's/^/| /' conftest.$ac_ext >&5
4600 ac_cv_header_stdc=no
4602 rm -f conftest.$ac_objext conftest.$ac_ext
4604 if test $ac_cv_header_stdc = yes; then
4605 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4606 cat >conftest.$ac_ext <<_ACEOF
4607 #line $LINENO "configure"
4610 cat confdefs.h >>conftest.$ac_ext
4611 cat >>conftest.$ac_ext <<_ACEOF
4612 /* end confdefs.h. */
4616 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4617 $EGREP "memchr" >/dev/null 2>&1; then
4620 ac_cv_header_stdc=no
4626 if test $ac_cv_header_stdc = yes; then
4627 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4628 cat >conftest.$ac_ext <<_ACEOF
4629 #line $LINENO "configure"
4632 cat confdefs.h >>conftest.$ac_ext
4633 cat >>conftest.$ac_ext <<_ACEOF
4634 /* end confdefs.h. */
4638 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4639 $EGREP "free" >/dev/null 2>&1; then
4642 ac_cv_header_stdc=no
4648 if test $ac_cv_header_stdc = yes; then
4649 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4650 if test "$cross_compiling" = yes; then
4653 cat >conftest.$ac_ext <<_ACEOF
4654 #line $LINENO "configure"
4657 cat confdefs.h >>conftest.$ac_ext
4658 cat >>conftest.$ac_ext <<_ACEOF
4659 /* end confdefs.h. */
4661 #if ((' ' & 0x0FF) == 0x020)
4662 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4663 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4665 # define ISLOWER(c) \
4666 (('a' <= (c) && (c) <= 'i') \
4667 || ('j' <= (c) && (c) <= 'r') \
4668 || ('s' <= (c) && (c) <= 'z'))
4669 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4672 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4677 for (i = 0; i < 256; i++)
4678 if (XOR (islower (i), ISLOWER (i))
4679 || toupper (i) != TOUPPER (i))
4684 rm -f conftest$ac_exeext
4685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4686 (eval $ac_link) 2>&5
4688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4689 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4694 (exit $ac_status); }; }; then
4697 echo "$as_me: program exited with status $ac_status" >&5
4698 echo "$as_me: failed program was:" >&5
4699 sed 's/^/| /' conftest.$ac_ext >&5
4702 ac_cv_header_stdc=no
4704 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4708 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4709 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4710 if test $ac_cv_header_stdc = yes; then
4712 cat >>confdefs.h <<\_ACEOF
4713 #define STDC_HEADERS 1
4718 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4728 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4729 inttypes.h stdint.h unistd.h
4731 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4732 echo "$as_me:$LINENO: checking for $ac_header" >&5
4733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4734 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4735 echo $ECHO_N "(cached) $ECHO_C" >&6
4737 cat >conftest.$ac_ext <<_ACEOF
4738 #line $LINENO "configure"
4741 cat confdefs.h >>conftest.$ac_ext
4742 cat >>conftest.$ac_ext <<_ACEOF
4743 /* end confdefs.h. */
4744 $ac_includes_default
4746 #include <$ac_header>
4748 rm -f conftest.$ac_objext
4749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4750 (eval $ac_compile) 2>&5
4752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4753 (exit $ac_status); } &&
4754 { ac_try='test -s conftest.$ac_objext'
4755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4759 (exit $ac_status); }; }; then
4760 eval "$as_ac_Header=yes"
4762 echo "$as_me: failed program was:" >&5
4763 sed 's/^/| /' conftest.$ac_ext >&5
4765 eval "$as_ac_Header=no"
4767 rm -f conftest.$ac_objext conftest.$ac_ext
4769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4770 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4771 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4772 cat >>confdefs.h <<_ACEOF
4773 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4782 for ac_header in dlfcn.h
4784 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4786 echo "$as_me:$LINENO: checking for $ac_header" >&5
4787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4788 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4789 echo $ECHO_N "(cached) $ECHO_C" >&6
4791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4792 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4794 # Is the header compilable?
4795 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4796 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4797 cat >conftest.$ac_ext <<_ACEOF
4798 #line $LINENO "configure"
4801 cat confdefs.h >>conftest.$ac_ext
4802 cat >>conftest.$ac_ext <<_ACEOF
4803 /* end confdefs.h. */
4804 $ac_includes_default
4805 #include <$ac_header>
4807 rm -f conftest.$ac_objext
4808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4809 (eval $ac_compile) 2>&5
4811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4812 (exit $ac_status); } &&
4813 { ac_try='test -s conftest.$ac_objext'
4814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4818 (exit $ac_status); }; }; then
4819 ac_header_compiler=yes
4821 echo "$as_me: failed program was:" >&5
4822 sed 's/^/| /' conftest.$ac_ext >&5
4824 ac_header_compiler=no
4826 rm -f conftest.$ac_objext conftest.$ac_ext
4827 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4828 echo "${ECHO_T}$ac_header_compiler" >&6
4830 # Is the header present?
4831 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4832 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4833 cat >conftest.$ac_ext <<_ACEOF
4834 #line $LINENO "configure"
4837 cat confdefs.h >>conftest.$ac_ext
4838 cat >>conftest.$ac_ext <<_ACEOF
4839 /* end confdefs.h. */
4840 #include <$ac_header>
4842 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4843 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4845 grep -v '^ *+' conftest.er1 >conftest.err
4847 cat conftest.err >&5
4848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4849 (exit $ac_status); } >/dev/null; then
4850 if test -s conftest.err; then
4851 ac_cpp_err=$ac_c_preproc_warn_flag
4858 if test -z "$ac_cpp_err"; then
4859 ac_header_preproc=yes
4861 echo "$as_me: failed program was:" >&5
4862 sed 's/^/| /' conftest.$ac_ext >&5
4864 ac_header_preproc=no
4866 rm -f conftest.err conftest.$ac_ext
4867 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4868 echo "${ECHO_T}$ac_header_preproc" >&6
4870 # So? What about this header?
4871 case $ac_header_compiler:$ac_header_preproc in
4873 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4874 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4875 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4876 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4879 ## ------------------------------------ ##
4880 ## Report this to bug-autoconf@gnu.org. ##
4881 ## ------------------------------------ ##
4884 sed "s/^/$as_me: WARNING: /" >&2
4887 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4888 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4889 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4890 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4891 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4892 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4895 ## ------------------------------------ ##
4896 ## Report this to bug-autoconf@gnu.org. ##
4897 ## ------------------------------------ ##
4900 sed "s/^/$as_me: WARNING: /" >&2
4903 echo "$as_me:$LINENO: checking for $ac_header" >&5
4904 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4905 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4906 echo $ECHO_N "(cached) $ECHO_C" >&6
4908 eval "$as_ac_Header=$ac_header_preproc"
4910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4911 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4914 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4915 cat >>confdefs.h <<_ACEOF
4916 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4928 # Only perform the check for file, if the check method requires it
4929 case $deplibs_check_method in
4931 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4932 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4933 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4934 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4935 echo $ECHO_N "(cached) $ECHO_C" >&6
4939 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4942 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4945 ac_save_MAGIC_CMD="$MAGIC_CMD"
4946 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4947 ac_dummy="/usr/bin:$PATH"
4948 for ac_dir in $ac_dummy; do
4949 test -z "$ac_dir" && ac_dir=.
4950 if test -f $ac_dir/${ac_tool_prefix}file; then
4951 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4952 if test -n "$file_magic_test_file"; then
4953 case $deplibs_check_method in
4955 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4956 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4957 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4958 egrep "$file_magic_regex" > /dev/null; then
4963 *** Warning: the command libtool uses to detect shared libraries,
4964 *** $file_magic_cmd, produces output that libtool cannot recognize.
4965 *** The result is that libtool may fail to recognize shared libraries
4966 *** as such. This will affect the creation of libtool libraries that
4967 *** depend on shared libraries, but programs linked with such libtool
4968 *** libraries will work regardless of this problem. Nevertheless, you
4969 *** may want to report the problem to your system manager and/or to
4970 *** bug-libtool@gnu.org
4980 MAGIC_CMD="$ac_save_MAGIC_CMD"
4985 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4986 if test -n "$MAGIC_CMD"; then
4987 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4988 echo "${ECHO_T}$MAGIC_CMD" >&6
4990 echo "$as_me:$LINENO: result: no" >&5
4991 echo "${ECHO_T}no" >&6
4994 if test -z "$lt_cv_path_MAGIC_CMD"; then
4995 if test -n "$ac_tool_prefix"; then
4996 echo "$as_me:$LINENO: checking for file" >&5
4997 echo $ECHO_N "checking for file... $ECHO_C" >&6
4998 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4999 echo $ECHO_N "(cached) $ECHO_C" >&6
5003 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5006 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
5009 ac_save_MAGIC_CMD="$MAGIC_CMD"
5010 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
5011 ac_dummy="/usr/bin:$PATH"
5012 for ac_dir in $ac_dummy; do
5013 test -z "$ac_dir" && ac_dir=.
5014 if test -f $ac_dir/file; then
5015 lt_cv_path_MAGIC_CMD="$ac_dir/file"
5016 if test -n "$file_magic_test_file"; then
5017 case $deplibs_check_method in
5019 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5020 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5021 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5022 egrep "$file_magic_regex" > /dev/null; then
5027 *** Warning: the command libtool uses to detect shared libraries,
5028 *** $file_magic_cmd, produces output that libtool cannot recognize.
5029 *** The result is that libtool may fail to recognize shared libraries
5030 *** as such. This will affect the creation of libtool libraries that
5031 *** depend on shared libraries, but programs linked with such libtool
5032 *** libraries will work regardless of this problem. Nevertheless, you
5033 *** may want to report the problem to your system manager and/or to
5034 *** bug-libtool@gnu.org
5044 MAGIC_CMD="$ac_save_MAGIC_CMD"
5049 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5050 if test -n "$MAGIC_CMD"; then
5051 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5052 echo "${ECHO_T}$MAGIC_CMD" >&6
5054 echo "$as_me:$LINENO: result: no" >&5
5055 echo "${ECHO_T}no" >&6
5067 if test -n "$ac_tool_prefix"; then
5068 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5069 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5070 echo "$as_me:$LINENO: checking for $ac_word" >&5
5071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5072 if test "${ac_cv_prog_RANLIB+set}" = set; then
5073 echo $ECHO_N "(cached) $ECHO_C" >&6
5075 if test -n "$RANLIB"; then
5076 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5082 test -z "$as_dir" && as_dir=.
5083 for ac_exec_ext in '' $ac_executable_extensions; do
5084 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5085 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5094 RANLIB=$ac_cv_prog_RANLIB
5095 if test -n "$RANLIB"; then
5096 echo "$as_me:$LINENO: result: $RANLIB" >&5
5097 echo "${ECHO_T}$RANLIB" >&6
5099 echo "$as_me:$LINENO: result: no" >&5
5100 echo "${ECHO_T}no" >&6
5104 if test -z "$ac_cv_prog_RANLIB"; then
5105 ac_ct_RANLIB=$RANLIB
5106 # Extract the first word of "ranlib", so it can be a program name with args.
5107 set dummy ranlib; ac_word=$2
5108 echo "$as_me:$LINENO: checking for $ac_word" >&5
5109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5110 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5111 echo $ECHO_N "(cached) $ECHO_C" >&6
5113 if test -n "$ac_ct_RANLIB"; then
5114 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5120 test -z "$as_dir" && as_dir=.
5121 for ac_exec_ext in '' $ac_executable_extensions; do
5122 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5123 ac_cv_prog_ac_ct_RANLIB="ranlib"
5124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5130 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5133 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5134 if test -n "$ac_ct_RANLIB"; then
5135 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5136 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5138 echo "$as_me:$LINENO: result: no" >&5
5139 echo "${ECHO_T}no" >&6
5142 RANLIB=$ac_ct_RANLIB
5144 RANLIB="$ac_cv_prog_RANLIB"
5147 if test -n "$ac_tool_prefix"; then
5148 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5149 set dummy ${ac_tool_prefix}strip; ac_word=$2
5150 echo "$as_me:$LINENO: checking for $ac_word" >&5
5151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5152 if test "${ac_cv_prog_STRIP+set}" = set; then
5153 echo $ECHO_N "(cached) $ECHO_C" >&6
5155 if test -n "$STRIP"; then
5156 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5162 test -z "$as_dir" && as_dir=.
5163 for ac_exec_ext in '' $ac_executable_extensions; do
5164 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5165 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5174 STRIP=$ac_cv_prog_STRIP
5175 if test -n "$STRIP"; then
5176 echo "$as_me:$LINENO: result: $STRIP" >&5
5177 echo "${ECHO_T}$STRIP" >&6
5179 echo "$as_me:$LINENO: result: no" >&5
5180 echo "${ECHO_T}no" >&6
5184 if test -z "$ac_cv_prog_STRIP"; then
5186 # Extract the first word of "strip", so it can be a program name with args.
5187 set dummy strip; ac_word=$2
5188 echo "$as_me:$LINENO: checking for $ac_word" >&5
5189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5190 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5191 echo $ECHO_N "(cached) $ECHO_C" >&6
5193 if test -n "$ac_ct_STRIP"; then
5194 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5200 test -z "$as_dir" && as_dir=.
5201 for ac_exec_ext in '' $ac_executable_extensions; do
5202 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5203 ac_cv_prog_ac_ct_STRIP="strip"
5204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5210 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5213 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5214 if test -n "$ac_ct_STRIP"; then
5215 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5216 echo "${ECHO_T}$ac_ct_STRIP" >&6
5218 echo "$as_me:$LINENO: result: no" >&5
5219 echo "${ECHO_T}no" >&6
5224 STRIP="$ac_cv_prog_STRIP"
5231 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5232 if test "${enable_libtool_lock+set}" = set; then
5233 enableval="$enable_libtool_lock"
5236 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5238 # Some flags need to be propagated to the compiler or linker for good
5242 # Find out which ABI we are using.
5243 echo '#line 5243 "configure"' > conftest.$ac_ext
5244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5245 (eval $ac_compile) 2>&5
5247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5248 (exit $ac_status); }; then
5249 case `/usr/bin/file conftest.$ac_objext` in
5265 # Test if the compiler is 64bit
5266 echo 'int i;' > conftest.$ac_ext
5267 lt_cv_cc_64bit_output=no
5268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5269 (eval $ac_compile) 2>&5
5271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5272 (exit $ac_status); }; then
5273 case `/usr/bin/file conftest.$ac_objext` in
5275 lt_cv_cc_64bit_output=yes
5283 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5284 SAVE_CFLAGS="$CFLAGS"
5285 CFLAGS="$CFLAGS -belf"
5286 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5287 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5288 if test "${lt_cv_cc_needs_belf+set}" = set; then
5289 echo $ECHO_N "(cached) $ECHO_C" >&6
5294 ac_cpp='$CPP $CPPFLAGS'
5295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5299 cat >conftest.$ac_ext <<_ACEOF
5300 #line $LINENO "configure"
5303 cat confdefs.h >>conftest.$ac_ext
5304 cat >>conftest.$ac_ext <<_ACEOF
5305 /* end confdefs.h. */
5315 rm -f conftest.$ac_objext conftest$ac_exeext
5316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5317 (eval $ac_link) 2>&5
5319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5320 (exit $ac_status); } &&
5321 { ac_try='test -s conftest$ac_exeext'
5322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5326 (exit $ac_status); }; }; then
5327 lt_cv_cc_needs_belf=yes
5329 echo "$as_me: failed program was:" >&5
5330 sed 's/^/| /' conftest.$ac_ext >&5
5332 lt_cv_cc_needs_belf=no
5334 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5336 ac_cpp='$CPP $CPPFLAGS'
5337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5342 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5343 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5344 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5345 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5346 CFLAGS="$SAVE_CFLAGS"
5353 # Sed substitution that helps us do robust quoting. It backslashifies
5354 # metacharacters that are still active within double-quoted strings.
5355 Xsed='sed -e s/^X//'
5356 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5358 # Same as above, but do not quote variable references.
5359 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
5361 # Sed substitution to delay expansion of an escaped shell variable in a
5362 # double_quote_subst'ed string.
5363 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5369 default_ofile=libtool
5370 can_build_shared=yes
5372 # All known linkers require a `.a' archive for static linking (except M$VC,
5373 # which needs '.lib').
5375 ltmain="$ac_aux_dir/ltmain.sh"
5376 ofile="$default_ofile"
5377 with_gnu_ld="$lt_cv_prog_gnu_ld"
5378 need_locks="$enable_libtool_lock"
5381 old_CFLAGS="$CFLAGS"
5383 # Set sane defaults for various variables
5384 test -z "$AR" && AR=ar
5385 test -z "$AR_FLAGS" && AR_FLAGS=cru
5386 test -z "$AS" && AS=as
5387 test -z "$CC" && CC=cc
5388 test -z "$DLLTOOL" && DLLTOOL=dlltool
5389 test -z "$LD" && LD=ld
5390 test -z "$LN_S" && LN_S="ln -s"
5391 test -z "$MAGIC_CMD" && MAGIC_CMD=file
5392 test -z "$NM" && NM=nm
5393 test -z "$OBJDUMP" && OBJDUMP=objdump
5394 test -z "$RANLIB" && RANLIB=:
5395 test -z "$STRIP" && STRIP=:
5396 test -z "$ac_objext" && ac_objext=o
5398 if test x"$host" != x"$build"; then
5399 ac_tool_prefix=${host_alias}-
5404 # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
5407 linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
5412 # AIX sometimes has problems with the GCC collect2 program. For some
5413 # reason, if we set the COLLECT_NAMES environment variable, the problems
5414 # vanish in a puff of smoke.
5415 if test "X${COLLECT_NAMES+set}" != Xset; then
5417 export COLLECT_NAMES
5422 # Determine commands to create old-style static archives.
5423 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5424 old_postinstall_cmds='chmod 644 $oldlib'
5425 old_postuninstall_cmds=
5427 if test -n "$RANLIB"; then
5430 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
5433 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
5436 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5439 # Allow CC to be a program name with arguments.
5443 echo "$as_me:$LINENO: checking for objdir" >&5
5444 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5445 rm -f .libs 2>/dev/null
5446 mkdir .libs 2>/dev/null
5447 if test -d .libs; then
5450 # MS-DOS does not allow filenames that begin with a dot.
5453 rmdir .libs 2>/dev/null
5454 echo "$as_me:$LINENO: result: $objdir" >&5
5455 echo "${ECHO_T}$objdir" >&6
5459 # Check whether --with-pic or --without-pic was given.
5460 if test "${with_pic+set}" = set; then
5466 test -z "$pic_mode" && pic_mode=default
5468 # We assume here that the value for lt_cv_prog_cc_pic will not be cached
5469 # in isolation, and that seeing it set (from the cache) indicates that
5470 # the associated values are set (in the cache) correctly too.
5471 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
5472 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
5473 if test "${lt_cv_prog_cc_pic+set}" = set; then
5474 echo $ECHO_N "(cached) $ECHO_C" >&6
5477 lt_cv_prog_cc_shlib=
5479 lt_cv_prog_cc_static=
5480 lt_cv_prog_cc_no_builtin=
5481 lt_cv_prog_cc_can_build_shared=$can_build_shared
5483 if test "$GCC" = yes; then
5484 lt_cv_prog_cc_wl='-Wl,'
5485 lt_cv_prog_cc_static='-static'
5489 # Below there is a dirty hack to force normal static linking with -ldl
5490 # The problem is because libdl dynamically linked with both libc and
5491 # libC (AIX C++ library), which obviously doesn't included in libraries
5492 # list by gcc. This cause undefined symbols with -static flags.
5493 # This hack allows C programs to be linked with "-static -ldl", but
5494 # not sure about C++ programs.
5495 lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
5498 # FIXME: we need at least 68020 code to build shared libraries, but
5499 # adding the `-m68020' flag to GCC prevents building anything better,
5501 lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
5503 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
5504 # PIC is the default for these OSes.
5506 darwin* | rhapsody*)
5507 # PIC is the default on this platform
5508 # Common symbols not allowed in MH_DYLIB files
5509 lt_cv_prog_cc_pic='-fno-common'
5511 cygwin* | mingw* | pw32* | os2*)
5512 # This hack is so that the source file can tell whether it is being
5513 # built for inclusion in a dll (and should export symbols for example).
5514 lt_cv_prog_cc_pic='-DDLL_EXPORT'
5517 if test -d /usr/nec; then
5518 lt_cv_prog_cc_pic=-Kconform_pic
5522 lt_cv_prog_cc_pic='-fPIC'
5526 # PORTME Check for PIC flags for the system compiler.
5528 aix3* | aix4* | aix5*)
5529 lt_cv_prog_cc_wl='-Wl,'
5530 # All AIX code is PIC.
5531 if test "$host_cpu" = ia64; then
5532 # AIX 5 now supports IA64 processor
5533 lt_cv_prog_cc_static='-Bstatic'
5535 lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
5539 hpux9* | hpux10* | hpux11*)
5540 # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
5541 lt_cv_prog_cc_wl='-Wl,'
5542 lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
5543 lt_cv_prog_cc_pic='+Z'
5546 irix5* | irix6* | nonstopux*)
5547 lt_cv_prog_cc_wl='-Wl,'
5548 lt_cv_prog_cc_static='-non_shared'
5549 # PIC (with -KPIC) is the default.
5552 cygwin* | mingw* | pw32* | os2*)
5553 # This hack is so that the source file can tell whether it is being
5554 # built for inclusion in a dll (and should export symbols for example).
5555 lt_cv_prog_cc_pic='-DDLL_EXPORT'
5559 lt_cv_prog_cc_pic='-KPIC'
5560 lt_cv_prog_cc_static='-Bstatic'
5563 osf3* | osf4* | osf5*)
5564 # All OSF/1 code is PIC.
5565 lt_cv_prog_cc_wl='-Wl,'
5566 lt_cv_prog_cc_static='-non_shared'
5570 lt_cv_prog_cc_pic='-Kpic'
5571 lt_cv_prog_cc_static='-dn'
5572 lt_cv_prog_cc_shlib='-belf'
5576 lt_cv_prog_cc_pic='-KPIC'
5577 lt_cv_prog_cc_static='-Bstatic'
5578 lt_cv_prog_cc_wl='-Wl,'
5582 lt_cv_prog_cc_pic='-PIC'
5583 lt_cv_prog_cc_static='-Bstatic'
5584 lt_cv_prog_cc_wl='-Qoption ld '
5587 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
5588 lt_cv_prog_cc_pic='-KPIC'
5589 lt_cv_prog_cc_static='-Bstatic'
5590 lt_cv_prog_cc_wl='-Wl,'
5594 lt_cv_prog_cc_pic='-pic'
5595 lt_cv_prog_cc_static='-Bstatic'
5599 if test -d /usr/nec ;then
5600 lt_cv_prog_cc_pic='-Kconform_pic'
5601 lt_cv_prog_cc_static='-Bstatic'
5606 lt_cv_prog_cc_can_build_shared=no
5613 if test -z "$lt_cv_prog_cc_pic"; then
5614 echo "$as_me:$LINENO: result: none" >&5
5615 echo "${ECHO_T}none" >&6
5617 echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5
5618 echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6
5620 # Check to make sure the pic_flag actually works.
5621 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
5622 echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6
5623 if test "${lt_cv_prog_cc_pic_works+set}" = set; then
5624 echo $ECHO_N "(cached) $ECHO_C" >&6
5626 save_CFLAGS="$CFLAGS"
5627 CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
5628 cat >conftest.$ac_ext <<_ACEOF
5629 #line $LINENO "configure"
5632 cat confdefs.h >>conftest.$ac_ext
5633 cat >>conftest.$ac_ext <<_ACEOF
5634 /* end confdefs.h. */
5644 rm -f conftest.$ac_objext
5645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5646 (eval $ac_compile) 2>&5
5648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5649 (exit $ac_status); } &&
5650 { ac_try='test -s conftest.$ac_objext'
5651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5655 (exit $ac_status); }; }; then
5657 hpux9* | hpux10* | hpux11*)
5658 # On HP-UX, both CC and GCC only warn that PIC is supported... then
5659 # they create non-PIC objects. So, if there were any warnings, we
5660 # assume that PIC is not supported.
5661 if test -s conftest.err; then
5662 lt_cv_prog_cc_pic_works=no
5664 lt_cv_prog_cc_pic_works=yes
5668 lt_cv_prog_cc_pic_works=yes
5673 echo "$as_me: failed program was:" >&5
5674 sed 's/^/| /' conftest.$ac_ext >&5
5676 lt_cv_prog_cc_pic_works=no
5679 rm -f conftest.$ac_objext conftest.$ac_ext
5680 CFLAGS="$save_CFLAGS"
5685 if test "X$lt_cv_prog_cc_pic_works" = Xno; then
5687 lt_cv_prog_cc_can_build_shared=no
5689 lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
5692 echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5
5693 echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6
5696 # Check for any special shared library compilation flags.
5697 if test -n "$lt_cv_prog_cc_shlib"; then
5698 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5
5699 echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}
5700 if echo "$old_CC $old_CFLAGS " | egrep -e "[ ]$lt_cv_prog_cc_shlib[ ]" >/dev/null; then :
5702 { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
5703 echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
5704 lt_cv_prog_cc_can_build_shared=no
5708 echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
5709 echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6
5710 if test "${lt_cv_prog_cc_static_works+set}" = set; then
5711 echo $ECHO_N "(cached) $ECHO_C" >&6
5713 lt_cv_prog_cc_static_works=no
5714 save_LDFLAGS="$LDFLAGS"
5715 LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
5716 cat >conftest.$ac_ext <<_ACEOF
5717 #line $LINENO "configure"
5720 cat confdefs.h >>conftest.$ac_ext
5721 cat >>conftest.$ac_ext <<_ACEOF
5722 /* end confdefs.h. */
5732 rm -f conftest.$ac_objext conftest$ac_exeext
5733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5734 (eval $ac_link) 2>&5
5736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5737 (exit $ac_status); } &&
5738 { ac_try='test -s conftest$ac_exeext'
5739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5743 (exit $ac_status); }; }; then
5744 lt_cv_prog_cc_static_works=yes
5746 echo "$as_me: failed program was:" >&5
5747 sed 's/^/| /' conftest.$ac_ext >&5
5750 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5751 LDFLAGS="$save_LDFLAGS"
5756 # Belt *and* braces to stop my trousers falling down:
5757 test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
5758 echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5
5759 echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6
5761 pic_flag="$lt_cv_prog_cc_pic"
5762 special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
5763 wl="$lt_cv_prog_cc_wl"
5764 link_static_flag="$lt_cv_prog_cc_static"
5765 no_builtin_flag="$lt_cv_prog_cc_no_builtin"
5766 can_build_shared="$lt_cv_prog_cc_can_build_shared"
5769 # Check to see if options -o and -c are simultaneously supported by compiler
5770 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
5771 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
5772 if test "${lt_cv_compiler_c_o+set}" = set; then
5773 echo $ECHO_N "(cached) $ECHO_C" >&6
5776 $rm -r conftest 2>/dev/null
5779 echo "int some_variable = 0;" > conftest.$ac_ext
5781 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
5782 # that will create temporary files in the current directory regardless of
5783 # the output directory. Thus, making CWD read-only will cause this test
5784 # to fail, enabling locking or at least warning the user not to do parallel
5787 save_CFLAGS="$CFLAGS"
5788 CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
5790 if { (eval echo configure:5790: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
5791 # The compiler can only warn and ignore the option if not recognized
5792 # So say no if there are warnings
5793 if test -s out/conftest.err; then
5794 lt_cv_compiler_c_o=no
5796 lt_cv_compiler_c_o=yes
5799 # Append any errors to the config.log.
5800 cat out/conftest.err 1>&5
5801 lt_cv_compiler_c_o=no
5803 CFLAGS="$save_CFLAGS"
5809 $rm -r conftest 2>/dev/null
5813 compiler_c_o=$lt_cv_compiler_c_o
5814 echo "$as_me:$LINENO: result: $compiler_c_o" >&5
5815 echo "${ECHO_T}$compiler_c_o" >&6
5817 if test x"$compiler_c_o" = x"yes"; then
5818 # Check to see if we can write to a .lo
5819 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5
5820 echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6
5821 if test "${lt_cv_compiler_o_lo+set}" = set; then
5822 echo $ECHO_N "(cached) $ECHO_C" >&6
5825 lt_cv_compiler_o_lo=no
5826 save_CFLAGS="$CFLAGS"
5827 CFLAGS="$CFLAGS -c -o conftest.lo"
5828 save_objext="$ac_objext"
5830 cat >conftest.$ac_ext <<_ACEOF
5831 #line $LINENO "configure"
5834 cat confdefs.h >>conftest.$ac_ext
5835 cat >>conftest.$ac_ext <<_ACEOF
5836 /* end confdefs.h. */
5841 int some_variable = 0;
5846 rm -f conftest.$ac_objext
5847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5848 (eval $ac_compile) 2>&5
5850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5851 (exit $ac_status); } &&
5852 { ac_try='test -s conftest.$ac_objext'
5853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5857 (exit $ac_status); }; }; then
5858 # The compiler can only warn and ignore the option if not recognized
5859 # So say no if there are warnings
5860 if test -s conftest.err; then
5861 lt_cv_compiler_o_lo=no
5863 lt_cv_compiler_o_lo=yes
5867 echo "$as_me: failed program was:" >&5
5868 sed 's/^/| /' conftest.$ac_ext >&5
5871 rm -f conftest.$ac_objext conftest.$ac_ext
5872 ac_objext="$save_objext"
5873 CFLAGS="$save_CFLAGS"
5877 compiler_o_lo=$lt_cv_compiler_o_lo
5878 echo "$as_me:$LINENO: result: $compiler_o_lo" >&5
5879 echo "${ECHO_T}$compiler_o_lo" >&6
5884 # Check to see if we can do hard links to lock some files if needed
5885 hard_links="nottested"
5886 if test "$compiler_c_o" = no && test "$need_locks" != no; then
5887 # do not overwrite the value of need_locks provided by the user
5888 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
5889 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
5892 ln conftest.a conftest.b 2>/dev/null && hard_links=no
5894 ln conftest.a conftest.b 2>&5 || hard_links=no
5895 ln conftest.a conftest.b 2>/dev/null && hard_links=no
5896 echo "$as_me:$LINENO: result: $hard_links" >&5
5897 echo "${ECHO_T}$hard_links" >&6
5898 if test "$hard_links" = no; then
5899 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
5900 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
5907 if test "$GCC" = yes; then
5908 # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
5909 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
5910 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
5911 echo "int some_variable = 0;" > conftest.$ac_ext
5912 save_CFLAGS="$CFLAGS"
5913 CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
5914 compiler_rtti_exceptions=no
5915 cat >conftest.$ac_ext <<_ACEOF
5916 #line $LINENO "configure"
5919 cat confdefs.h >>conftest.$ac_ext
5920 cat >>conftest.$ac_ext <<_ACEOF
5921 /* end confdefs.h. */
5926 int some_variable = 0;
5931 rm -f conftest.$ac_objext
5932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5933 (eval $ac_compile) 2>&5
5935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5936 (exit $ac_status); } &&
5937 { ac_try='test -s conftest.$ac_objext'
5938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5942 (exit $ac_status); }; }; then
5943 # The compiler can only warn and ignore the option if not recognized
5944 # So say no if there are warnings
5945 if test -s conftest.err; then
5946 compiler_rtti_exceptions=no
5948 compiler_rtti_exceptions=yes
5952 echo "$as_me: failed program was:" >&5
5953 sed 's/^/| /' conftest.$ac_ext >&5
5956 rm -f conftest.$ac_objext conftest.$ac_ext
5957 CFLAGS="$save_CFLAGS"
5958 echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5
5959 echo "${ECHO_T}$compiler_rtti_exceptions" >&6
5961 if test "$compiler_rtti_exceptions" = "yes"; then
5962 no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
5964 no_builtin_flag=' -fno-builtin'
5968 # See if the linker supports building shared libraries.
5969 echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5
5970 echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6
5972 allow_undefined_flag=
5974 need_lib_prefix=unknown
5975 need_version=unknown
5976 # when you set need_version to no, make sure it does not cause -set_version
5977 # flags to be left without arguments
5979 archive_expsym_cmds=
5980 old_archive_from_new_cmds=
5981 old_archive_from_expsyms_cmds=
5982 export_dynamic_flag_spec=
5983 whole_archive_flag_spec=
5984 thread_safe_flag_spec=
5985 hardcode_into_libs=no
5986 hardcode_libdir_flag_spec=
5987 hardcode_libdir_separator=
5990 hardcode_shlibpath_var=unsupported
5992 link_all_deplibs=unknown
5993 always_export_symbols=no
5994 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
5995 # include_expsyms should be a list of space-separated symbols to be *always*
5996 # included in the symbol list
5998 # exclude_expsyms can be an egrep regular expression of symbols to exclude
5999 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6000 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6001 # as well as any symbol that contains `d'.
6002 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
6003 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6004 # platforms (ab)use it in PIC code, but their linkers get confused if
6005 # the symbol is explicitly referenced. Since portable code cannot
6006 # rely on this symbol name, it's probably fine to never include it in
6007 # preloaded symbol tables.
6008 extract_expsyms_cmds=
6011 cygwin* | mingw* | pw32*)
6012 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6013 # When not using gcc, we currently assume that we are using
6014 # Microsoft Visual C++.
6015 if test "$GCC" != yes; then
6025 if test "$with_gnu_ld" = yes; then
6026 # If archive_cmds runs LD, not CC, wlarc should be empty
6029 # See if GNU ld supports shared libraries.
6031 aix3* | aix4* | aix5*)
6032 # On AIX, the GNU linker is very broken
6033 # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
6037 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6038 *** to be unable to reliably create shared libraries on AIX.
6039 *** Therefore, libtool is disabling shared libraries support. If you
6040 *** really care for shared libraries, you may want to modify your PATH
6041 *** so that a non-GNU linker is found, and then restart.
6047 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)'
6048 hardcode_libdir_flag_spec='-L$libdir'
6049 hardcode_minus_L=yes
6051 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6052 # that the semantics of dynamic libraries on AmigaOS, at least up
6053 # to version 4, is to share data among multiple programs linked
6054 # with the same dynamic library. Since this doesn't match the
6055 # behavior of shared libraries on other platforms, we can use
6061 if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
6062 allow_undefined_flag=unsupported
6063 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6064 # support --undefined. This deserves some investigation. FIXME
6065 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6071 cygwin* | mingw* | pw32*)
6072 # hardcode_libdir_flag_spec is actually meaningless, as there is
6073 # no search path for DLLs.
6074 hardcode_libdir_flag_spec='-L$libdir'
6075 allow_undefined_flag=unsupported
6076 always_export_symbols=yes
6078 extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
6079 sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
6080 test -f $output_objdir/impgen.exe || (cd $output_objdir && \
6081 if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
6082 else $CC -o impgen impgen.c ; fi)~
6083 $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
6085 old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
6087 # cygwin and mingw dlls have different entry points and sets of symbols
6089 # FIXME: what about values for MSVC?
6090 dll_entry=__cygwin_dll_entry@12
6091 dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
6095 dll_entry=_DllMainCRTStartup@12
6096 dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
6100 # mingw and cygwin differ, and it's simplest to just exclude the union
6101 # of the two symbol sets.
6102 dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
6104 # recent cygwin and mingw systems supply a stub DllMain which the user
6105 # can override, but on older systems we have to supply one (in ltdll.c)
6106 if test "x$lt_cv_need_dllmain" = "xyes"; then
6107 ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
6108 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~
6109 test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
6115 # Extract the symbol export list from an `--export-all' def file,
6116 # then regenerate the def file from the symbol export list, so that
6117 # the compiled dll only exports the symbol export list.
6118 # Be careful not to strip the DATA tag left be newer dlltools.
6119 export_symbols_cmds="$ltdll_cmds"'
6120 $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
6121 sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
6123 # If the export-symbols file already is a .def file (1st line
6124 # is EXPORTS), use it as is.
6125 # If DATA tags from a recent dlltool are present, honour them!
6126 archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then
6127 cp $export_symbols $output_objdir/$soname-def;
6129 echo EXPORTS > $output_objdir/$soname-def;
6131 cat $export_symbols | while read symbol; do
6134 2) echo " \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
6135 4) echo " \$2 \$3 \$4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;;
6136 *) echo " \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
6138 _lt_hint=`expr 1 + \$_lt_hint`;
6142 $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~
6143 $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~
6144 $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~
6145 $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~
6146 $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
6150 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6151 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6154 archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6155 archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6160 if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
6164 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6165 *** create shared libraries on Solaris systems. Therefore, libtool
6166 *** is disabling shared libraries support. We urge you to upgrade GNU
6167 *** binutils to release 2.9.1 or newer. Another option is to modify
6168 *** your PATH or compiler configuration so that the native linker is
6169 *** used, and then restart.
6172 elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
6173 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6174 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6181 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6184 hardcode_shlibpath_var=no
6188 if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
6189 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6190 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6197 if test "$ld_shlibs" = yes; then
6198 runpath_var=LD_RUN_PATH
6199 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
6200 export_dynamic_flag_spec='${wl}--export-dynamic'
6202 cygwin* | mingw* | pw32*)
6203 # dlltool doesn't understand --whole-archive et. al.
6204 whole_archive_flag_spec=
6207 # ancient GNU ld didn't support --whole-archive et. al.
6208 if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
6209 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6211 whole_archive_flag_spec=
6217 # PORTME fill in a description of your system's linker (not GNU ld)
6220 allow_undefined_flag=unsupported
6221 always_export_symbols=yes
6222 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'
6223 # Note: this linker hardcodes the directories in LIBPATH if there
6224 # are no directories specified by -L.
6225 hardcode_minus_L=yes
6226 if test "$GCC" = yes && test -z "$link_static_flag"; then
6227 # Neither direct hardcoding nor static linking is supported with a
6229 hardcode_direct=unsupported
6234 if test "$host_cpu" = ia64; then
6235 # On IA64, the linker does run time linking by default, so we don't
6236 # have to do anything special.
6237 aix_use_runtimelinking=no
6238 exp_sym_flag='-Bexport'
6241 aix_use_runtimelinking=no
6243 # Test if we are trying to use run time linking or normal
6244 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6245 # need to do runtime linking.
6246 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6247 for ld_flag in $LDFLAGS; do
6250 aix_use_runtimelinking=yes
6257 exp_sym_flag='-bexport'
6258 no_entry_flag='-bnoentry'
6261 # When large executables or shared objects are built, AIX ld can
6262 # have problems creating the table of contents. If linking a library
6263 # or program results in "error TOC overflow" add -mminimal-toc to
6264 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6265 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6269 hardcode_libdir_separator=':'
6270 if test "$GCC" = yes; then
6271 case $host_os in aix4.[012]|aix4.[012].*)
6272 collect2name=`${CC} -print-prog-name=collect2`
6273 if test -f "$collect2name" && \
6274 strings "$collect2name" | grep resolve_lib_name >/dev/null
6276 # We have reworked collect2
6279 # We have old collect2
6280 hardcode_direct=unsupported
6281 # It fails to find uninstalled libraries when the uninstalled
6282 # path is not listed in the libpath. Setting hardcode_minus_L
6283 # to unsupported forces relinking
6284 hardcode_minus_L=yes
6285 hardcode_libdir_flag_spec='-L$libdir'
6286 hardcode_libdir_separator=
6290 shared_flag='-shared'
6293 if test "$host_cpu" = ia64; then
6294 shared_flag='${wl}-G'
6296 if test "$aix_use_runtimelinking" = yes; then
6297 shared_flag='${wl}-G'
6299 shared_flag='${wl}-bM:SRE'
6304 # It seems that -bexpall can do strange things, so it is better to
6305 # generate a list of symbols to export.
6306 always_export_symbols=yes
6307 if test "$aix_use_runtimelinking" = yes; then
6308 # Warning - without using the other runtime loading flags (-brtl),
6309 # -berok will link without error, but may produce a broken library.
6310 allow_undefined_flag='-berok'
6311 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
6312 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"
6314 if test "$host_cpu" = ia64; then
6315 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
6316 allow_undefined_flag="-z nodefs"
6317 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"
6319 hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
6320 # Warning - without using the other run time loading flags,
6321 # -berok will link without error, but may produce a broken library.
6322 allow_undefined_flag='${wl}-berok'
6323 # This is a bit strange, but is similar to how AIX traditionally builds
6324 # it's shared libraries.
6325 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'
6331 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)'
6332 hardcode_libdir_flag_spec='-L$libdir'
6333 hardcode_minus_L=yes
6334 # see comment about different semantics on the GNU ld section
6338 cygwin* | mingw* | pw32*)
6339 # When not using gcc, we currently assume that we are using
6340 # Microsoft Visual C++.
6341 # hardcode_libdir_flag_spec is actually meaningless, as there is
6342 # no search path for DLLs.
6343 hardcode_libdir_flag_spec=' '
6344 allow_undefined_flag=unsupported
6345 # Tell ltmain to make .lib files, not .a files.
6347 # FIXME: Setting linknames here is a bad hack.
6348 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
6349 # The linker will automatically build a .lib file if we build a DLL.
6350 old_archive_from_new_cmds='true'
6351 # FIXME: Should let the user specify the lib program.
6352 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
6353 fix_srcfile_path='`cygpath -w "$srcfile"`'
6356 darwin* | rhapsody*)
6358 rhapsody* | darwin1.[012])
6359 allow_undefined_flag='-undefined suppress'
6362 allow_undefined_flag='-flat_namespace -undefined suppress'
6365 # FIXME: Relying on posixy $() will cause problems for
6366 # cross-compilation, but unfortunately the echo tests do not
6367 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
6368 # `"' quotes if we put them in here... so don't!
6369 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)'
6370 # We need to add '_' to the symbols in $export_symbols first
6371 #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
6373 hardcode_shlibpath_var=no
6374 whole_archive_flag_spec='-all_load $convenience'
6381 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
6382 # support. Future versions do this automatically, but an explicit c++rt0.o
6383 # does not break anything, and helps significantly (at the cost of a little
6386 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
6387 hardcode_libdir_flag_spec='-R$libdir'
6389 hardcode_shlibpath_var=no
6392 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
6394 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6396 hardcode_minus_L=yes
6397 hardcode_shlibpath_var=no
6400 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
6402 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
6403 hardcode_libdir_flag_spec='-R$libdir'
6405 hardcode_shlibpath_var=no
6408 hpux9* | hpux10* | hpux11*)
6410 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' ;;
6411 *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
6413 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
6414 hardcode_libdir_separator=:
6416 hardcode_minus_L=yes # Not in the search PATH, but as the default
6417 # location of the library.
6418 export_dynamic_flag_spec='${wl}-E'
6421 irix5* | irix6* | nonstopux*)
6422 if test "$GCC" = yes; then
6423 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'
6424 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
6426 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'
6427 hardcode_libdir_flag_spec='-rpath $libdir'
6429 hardcode_libdir_separator=:
6430 link_all_deplibs=yes
6434 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6435 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
6437 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
6439 hardcode_libdir_flag_spec='-R$libdir'
6441 hardcode_shlibpath_var=no
6445 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6447 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
6448 hardcode_libdir_separator=:
6449 hardcode_shlibpath_var=no
6454 hardcode_shlibpath_var=no
6455 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6456 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
6457 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
6458 export_dynamic_flag_spec='${wl}-E'
6461 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
6462 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6463 hardcode_libdir_flag_spec='-R$libdir'
6466 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
6467 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
6474 hardcode_libdir_flag_spec='-L$libdir'
6475 hardcode_minus_L=yes
6476 allow_undefined_flag=unsupported
6477 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'
6478 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
6482 if test "$GCC" = yes; then
6483 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
6484 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'
6486 allow_undefined_flag=' -expect_unresolved \*'
6487 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'
6489 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
6490 hardcode_libdir_separator=:
6493 osf4* | osf5*) # as osf3* with the addition of -msym flag
6494 if test "$GCC" = yes; then
6495 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
6496 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'
6497 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
6499 allow_undefined_flag=' -expect_unresolved \*'
6500 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'
6501 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
6502 $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'
6504 #Both c and cxx compiler support -rpath directly
6505 hardcode_libdir_flag_spec='-rpath $libdir'
6507 hardcode_libdir_separator=:
6511 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6512 hardcode_shlibpath_var=no
6513 runpath_var=LD_RUN_PATH
6514 hardcode_runpath_var=yes
6515 export_dynamic_flag_spec='${wl}-Bexport'
6519 # gcc --version < 3.0 without binutils cannot create self contained
6520 # shared libraries reliably, requiring libgcc.a to resolve some of
6521 # the object symbols generated in some cases. Libraries that use
6522 # assert need libgcc.a to resolve __eprintf, for example. Linking
6523 # a copy of libgcc.a into every shared library to guarantee resolving
6524 # such symbols causes other problems: According to Tim Van Holder
6525 # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
6526 # (to the application) exception stack for one thing.
6527 no_undefined_flag=' -z defs'
6528 if test "$GCC" = yes; then
6529 case `$CC --version 2>/dev/null` in
6533 *** Warning: Releases of GCC earlier than version 3.0 cannot reliably
6534 *** create self contained shared libraries on Solaris systems, without
6535 *** introducing a dependency on libgcc.a. Therefore, libtool is disabling
6536 *** -no-undefined support, which will at least allow you to build shared
6537 *** libraries. However, you may find that when you link such libraries
6538 *** into an application without using GCC, you have to manually add
6539 *** \`gcc --print-libgcc-file-name\` to the link command. We urge you to
6540 *** upgrade to a newer version of GCC. Another option is to rebuild your
6541 *** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
6548 # $CC -shared without GNU ld will not create a library from C++
6549 # object files and a static libstdc++, better avoid it by now
6550 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
6551 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6552 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
6553 hardcode_libdir_flag_spec='-R$libdir'
6554 hardcode_shlibpath_var=no
6556 solaris2.[0-5] | solaris2.[0-5].*) ;;
6557 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
6558 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
6560 link_all_deplibs=yes
6564 if test "x$host_vendor" = xsequent; then
6565 # Use $CC to link under sequent, because it throws in some extra .o
6566 # files that make .init and .fini sections work.
6567 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
6569 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
6571 hardcode_libdir_flag_spec='-L$libdir'
6573 hardcode_minus_L=yes
6574 hardcode_shlibpath_var=no
6578 case $host_vendor in
6580 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6581 hardcode_direct=yes # is this really true???
6584 ## LD is ld it makes a PLAMLIB
6585 ## CC just makes a GrossModule.
6586 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
6587 reload_cmds='$CC -r -o $output$reload_objs'
6591 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6592 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
6595 runpath_var='LD_RUN_PATH'
6596 hardcode_shlibpath_var=no
6600 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6601 hardcode_shlibpath_var=no
6602 export_dynamic_flag_spec='-Bexport'
6606 no_undefined_flag=' -z text'
6607 # $CC -shared without GNU ld will not create a library from C++
6608 # object files and a static libstdc++, better avoid it by now
6609 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
6610 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6611 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
6612 hardcode_libdir_flag_spec=
6613 hardcode_shlibpath_var=no
6614 runpath_var='LD_RUN_PATH'
6618 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6619 hardcode_libdir_flag_spec='-L$libdir'
6620 hardcode_shlibpath_var=no
6624 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6625 hardcode_libdir_flag_spec='-L$libdir'
6626 hardcode_shlibpath_var=no
6630 if test -d /usr/nec; then
6631 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6632 hardcode_shlibpath_var=no
6633 runpath_var=LD_RUN_PATH
6634 hardcode_runpath_var=yes
6640 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
6643 hardcode_shlibpath_var=no
6644 hardcode_runpath_var=yes
6645 runpath_var=LD_RUN_PATH
6648 sysv5uw7* | unixware7*)
6649 no_undefined_flag='${wl}-z ${wl}text'
6650 if test "$GCC" = yes; then
6651 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6653 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6655 runpath_var='LD_RUN_PATH'
6656 hardcode_shlibpath_var=no
6664 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
6665 echo "${ECHO_T}$ld_shlibs" >&6
6666 test "$ld_shlibs" = no && can_build_shared=no
6668 # Check hardcoding attributes.
6669 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
6670 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
6672 if test -n "$hardcode_libdir_flag_spec" || \
6673 test -n "$runpath_var"; then
6675 # We can hardcode non-existant directories.
6676 if test "$hardcode_direct" != no &&
6677 # If the only mechanism to avoid hardcoding is shlibpath_var, we
6678 # have to relink, otherwise we might link with an installed library
6679 # when we should be linking with a yet-to-be-installed one
6680 ## test "$hardcode_shlibpath_var" != no &&
6681 test "$hardcode_minus_L" != no; then
6682 # Linking always hardcodes the temporary library directory.
6683 hardcode_action=relink
6685 # We can link without hardcoding, and we can hardcode nonexisting dirs.
6686 hardcode_action=immediate
6689 # We cannot hardcode anything, or else we can only hardcode existing
6691 hardcode_action=unsupported
6693 echo "$as_me:$LINENO: result: $hardcode_action" >&5
6694 echo "${ECHO_T}$hardcode_action" >&6
6698 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
6699 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
6700 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
6701 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
6702 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
6703 echo "$as_me:$LINENO: result: yes" >&5
6704 echo "${ECHO_T}yes" >&6
6706 echo "$as_me:$LINENO: result: no" >&5
6707 echo "${ECHO_T}no" >&6
6710 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6711 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6713 # PORTME Fill in your ld.so characteristics
6714 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
6715 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
6717 libname_spec='lib$name'
6724 shlibpath_overrides_runpath=unknown
6726 dynamic_linker="$host_os ld.so"
6727 sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/X11R6/lib"
6728 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib /usr/X11R6/lib"
6733 library_names_spec='${libname}${release}.so$versuffix $libname.a'
6734 shlibpath_var=LIBPATH
6736 # AIX has no versioning support, so we append a major version to the name.
6737 soname_spec='${libname}${release}.so$major'
6744 hardcode_into_libs=yes
6745 if test "$host_cpu" = ia64; then
6746 # AIX 5 supports IA64
6747 library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
6748 shlibpath_var=LD_LIBRARY_PATH
6750 # With GCC up to 2.95.x, collect2 would create an import file
6751 # for dependence libraries. The import file would start with
6752 # the line `#! .'. This would cause the generated library to
6753 # depend on `.', always an invalid library. This was fixed in
6754 # development snapshots of GCC prior to 3.0.
6756 aix4 | aix4.[01] | aix4.[01].*)
6757 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
6759 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
6766 # AIX (on Power*) has no versioning support, so currently we can
6767 # not hardcode correct soname into executable. Probably we can
6768 # add versioning support to collect2, so additional links can
6769 # be useful in future.
6770 if test "$aix_use_runtimelinking" = yes; then
6771 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
6772 # instead of lib<name>.a to let people know that these are not
6773 # typical AIX shared libraries.
6774 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6776 # We preserve .a as extension for shared libraries through AIX4.2
6777 # and later when we are not doing run time linking.
6778 library_names_spec='${libname}${release}.a $libname.a'
6779 soname_spec='${libname}${release}.so$major'
6781 shlibpath_var=LIBPATH
6783 hardcode_into_libs=yes
6787 library_names_spec='$libname.ixlibrary $libname.a'
6788 # Create ${libname}_ixlibrary.a entries in /sys/libs.
6789 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'
6793 library_names_spec='${libname}.so'
6794 dynamic_linker="$host_os ld.so"
6795 shlibpath_var=LIBRARY_PATH
6801 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6802 soname_spec='${libname}${release}.so$major'
6803 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
6804 shlibpath_var=LD_LIBRARY_PATH
6805 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
6806 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
6807 export_dynamic_flag_spec=-rdynamic
6808 # the default ld.so.conf also contains /usr/contrib/lib and
6809 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
6810 # libtool to hard-code these into programs
6813 cygwin* | mingw* | pw32*)
6814 version_type=windows
6817 case $GCC,$host_os in
6819 library_names_spec='$libname.dll.a'
6820 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
6821 postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
6822 dldir=$destdir/`dirname \$dlpath`~
6823 test -d \$dldir || mkdir -p \$dldir~
6824 $install_prog .libs/$dlname \$dldir/$dlname'
6825 postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
6826 dlpath=$dir/\$dldll~
6830 library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
6831 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"`
6834 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll'
6837 library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib'
6840 dynamic_linker='Win32 ld.exe'
6841 # FIXME: first we should search . and the directory the executable is in
6845 darwin* | rhapsody*)
6846 dynamic_linker="$host_os dyld"
6850 # FIXME: Relying on posixy $() will cause problems for
6851 # cross-compilation, but unfortunately the echo tests do not
6852 # yet detect zsh echo's removal of \ escapes.
6853 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)'
6854 soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
6855 shlibpath_overrides_runpath=yes
6856 shlibpath_var=DYLD_LIBRARY_PATH
6864 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
6865 version_type=freebsd-$objformat
6866 case $version_type in
6868 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
6873 library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
6877 shlibpath_var=LD_LIBRARY_PATH
6880 shlibpath_overrides_runpath=yes
6883 shlibpath_overrides_runpath=no
6884 hardcode_into_libs=yes
6893 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
6894 soname_spec='${libname}${release}.so$major'
6895 shlibpath_var=LD_LIBRARY_PATH
6896 hardcode_into_libs=yes
6899 hpux9* | hpux10* | hpux11*)
6900 # Give a soname corresponding to the major version so that dld.sl refuses to
6901 # link against other versions.
6902 dynamic_linker="$host_os dld.sl"
6906 shlibpath_var=SHLIB_PATH
6907 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
6908 library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
6909 soname_spec='${libname}${release}.sl$major'
6910 # HP-UX runs *really* slowly unless shared libraries are mode 555.
6911 postinstall_cmds='chmod 555 $lib'
6914 irix5* | irix6* | nonstopux*)
6916 nonstopux*) version_type=nonstopux ;;
6917 *) version_type=irix ;;
6921 soname_spec='${libname}${release}.so$major'
6922 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
6924 irix5* | nonstopux*)
6928 case $LD in # libtool.m4 will add one of these switches to LD
6929 *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
6930 *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
6931 *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
6932 *) libsuff= shlibsuff= libmagic=never-match;;
6936 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
6937 shlibpath_overrides_runpath=no
6938 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
6939 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
6942 # No shared lib support for Linux oldld, aout, or coff.
6943 linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
6947 # This must be Linux ELF.
6952 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6953 soname_spec='${libname}${release}.so$major'
6954 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
6955 shlibpath_var=LD_LIBRARY_PATH
6956 shlibpath_overrides_runpath=no
6957 # This implies no fast_install, which is unacceptable.
6958 # Some rework will be needed to allow for fast_install
6959 # before this can be enabled.
6960 hardcode_into_libs=yes
6962 case $host_cpu:$lt_cv_cc_64bit_output in
6963 powerpc64:yes | s390x:yes | sparc64:yes | x86_64:yes)
6964 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /usr/X11R6/lib64"
6965 sys_lib_search_path_spec="/lib64 /usr/lib64 /usr/local/lib64 /usr/X11R6/lib64"
6969 # We used to test for /lib/ld.so.1 and disable shared libraries on
6970 # powerpc, because MkLinux only supported shared libraries with the
6971 # GNU dynamic linker. Since this was broken with cross compilers,
6972 # most powerpc-linux boxes support dynamic linking these days and
6973 # people can always --disable-shared, the test was removed, and we
6974 # assume the GNU/Linux dynamic linker is in use.
6975 dynamic_linker='GNU/Linux ld.so'
6982 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6983 library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
6984 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6985 dynamic_linker='NetBSD (a.out) ld.so'
6987 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
6988 soname_spec='${libname}${release}.so$major'
6989 dynamic_linker='NetBSD ld.elf_so'
6991 shlibpath_var=LD_LIBRARY_PATH
6992 shlibpath_overrides_runpath=yes
6993 hardcode_into_libs=yes
6998 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6999 shlibpath_var=LD_LIBRARY_PATH
7000 shlibpath_overrides_runpath=yes
7007 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7009 openbsd2.[89] | openbsd2.[89].*)
7010 shlibpath_overrides_runpath=no
7013 shlibpath_overrides_runpath=yes
7017 shlibpath_overrides_runpath=yes
7019 library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
7020 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7021 shlibpath_var=LD_LIBRARY_PATH
7025 libname_spec='$name'
7027 library_names_spec='$libname.dll $libname.a'
7028 dynamic_linker='OS/2 ld.exe'
7029 shlibpath_var=LIBPATH
7032 osf3* | osf4* | osf5*)
7035 soname_spec='${libname}${release}.so$major'
7036 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
7037 shlibpath_var=LD_LIBRARY_PATH
7038 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
7039 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
7040 hardcode_into_libs=yes
7045 soname_spec='${libname}${release}.so$major'
7046 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
7047 shlibpath_var=LD_LIBRARY_PATH
7054 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
7055 soname_spec='${libname}${release}.so$major'
7056 shlibpath_var=LD_LIBRARY_PATH
7057 shlibpath_overrides_runpath=yes
7058 hardcode_into_libs=yes
7059 # ldd complains unless libraries are executable
7060 postinstall_cmds='chmod +x $lib'
7065 library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
7066 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
7067 shlibpath_var=LD_LIBRARY_PATH
7068 shlibpath_overrides_runpath=yes
7069 if test "$with_gnu_ld" = yes; then
7075 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
7077 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
7078 soname_spec='${libname}${release}.so$major'
7079 shlibpath_var=LD_LIBRARY_PATH
7080 case $host_vendor in
7082 shlibpath_overrides_runpath=no
7084 export_dynamic_flag_spec='${wl}-Blargedynsym'
7085 runpath_var=LD_RUN_PATH
7093 shlibpath_overrides_runpath=no
7094 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
7101 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
7102 soname_spec='${libname}${release}.so$major'
7103 shlibpath_var=LD_LIBRARY_PATH
7110 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
7111 soname_spec='${libname}${release}.so$major'
7112 shlibpath_var=LD_LIBRARY_PATH
7116 if test -d /usr/nec ;then
7118 library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
7119 soname_spec='$libname.so.$major'
7120 shlibpath_var=LD_LIBRARY_PATH
7128 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
7129 echo "${ECHO_T}$dynamic_linker" >&6
7130 test "$dynamic_linker" = no && can_build_shared=no
7132 # Report the final consequences.
7133 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
7134 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
7135 echo "$as_me:$LINENO: result: $can_build_shared" >&5
7136 echo "${ECHO_T}$can_build_shared" >&6
7138 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
7139 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
7140 test "$can_build_shared" = "no" && enable_shared=no
7142 # On AIX, shared libraries and static libraries use the same namespace, and
7143 # are all built from PIC.
7146 test "$enable_shared" = yes && enable_static=no
7147 if test -n "$RANLIB"; then
7148 archive_cmds="$archive_cmds~\$RANLIB \$lib"
7149 postinstall_cmds='$RANLIB $lib'
7154 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
7155 test "$enable_shared" = yes && enable_static=no
7159 echo "$as_me:$LINENO: result: $enable_shared" >&5
7160 echo "${ECHO_T}$enable_shared" >&6
7162 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
7163 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
7164 # Make sure either enable_shared or enable_static is yes.
7165 test "$enable_shared" = yes || enable_static=yes
7166 echo "$as_me:$LINENO: result: $enable_static" >&5
7167 echo "${ECHO_T}$enable_static" >&6
7169 if test "$hardcode_action" = relink; then
7170 # Fast installation is not supported
7171 enable_fast_install=no
7172 elif test "$shlibpath_overrides_runpath" = yes ||
7173 test "$enable_shared" = no; then
7174 # Fast installation is not necessary
7175 enable_fast_install=needless
7178 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7179 if test "$GCC" = yes; then
7180 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7183 if test "x$enable_dlopen" != xyes; then
7184 enable_dlopen=unknown
7185 enable_dlopen_self=unknown
7186 enable_dlopen_self_static=unknown
7193 lt_cv_dlopen="load_add_on"
7195 lt_cv_dlopen_self=yes
7198 cygwin* | mingw* | pw32*)
7199 lt_cv_dlopen="LoadLibrary"
7204 echo "$as_me:$LINENO: checking for shl_load" >&5
7205 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
7206 if test "${ac_cv_func_shl_load+set}" = set; then
7207 echo $ECHO_N "(cached) $ECHO_C" >&6
7209 cat >conftest.$ac_ext <<_ACEOF
7210 #line $LINENO "configure"
7213 cat confdefs.h >>conftest.$ac_ext
7214 cat >>conftest.$ac_ext <<_ACEOF
7215 /* end confdefs.h. */
7216 /* System header to define __stub macros and hopefully few prototypes,
7217 which can conflict with char shl_load (); below.
7218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7219 <limits.h> exists even on freestanding compilers. */
7221 # include <limits.h>
7223 # include <assert.h>
7225 /* Override any gcc2 internal prototype to avoid an error. */
7230 /* We use char because int might match the return type of a gcc2
7231 builtin and then its argument prototype would still apply. */
7233 /* The GNU C library defines this for functions which it implements
7234 to always fail with ENOSYS. Some functions are actually named
7235 something starting with __ and the normal name is an alias. */
7236 #if defined (__stub_shl_load) || defined (__stub___shl_load)
7239 char (*f) () = shl_load;
7248 return f != shl_load;
7253 rm -f conftest.$ac_objext conftest$ac_exeext
7254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7255 (eval $ac_link) 2>&5
7257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7258 (exit $ac_status); } &&
7259 { ac_try='test -s conftest$ac_exeext'
7260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7264 (exit $ac_status); }; }; then
7265 ac_cv_func_shl_load=yes
7267 echo "$as_me: failed program was:" >&5
7268 sed 's/^/| /' conftest.$ac_ext >&5
7270 ac_cv_func_shl_load=no
7272 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7274 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
7275 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
7276 if test $ac_cv_func_shl_load = yes; then
7277 lt_cv_dlopen="shl_load"
7279 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
7280 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
7281 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
7282 echo $ECHO_N "(cached) $ECHO_C" >&6
7284 ac_check_lib_save_LIBS=$LIBS
7286 cat >conftest.$ac_ext <<_ACEOF
7287 #line $LINENO "configure"
7290 cat confdefs.h >>conftest.$ac_ext
7291 cat >>conftest.$ac_ext <<_ACEOF
7292 /* end confdefs.h. */
7294 /* Override any gcc2 internal prototype to avoid an error. */
7298 /* We use char because int might match the return type of a gcc2
7299 builtin and then its argument prototype would still apply. */
7309 rm -f conftest.$ac_objext conftest$ac_exeext
7310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7311 (eval $ac_link) 2>&5
7313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7314 (exit $ac_status); } &&
7315 { ac_try='test -s conftest$ac_exeext'
7316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7320 (exit $ac_status); }; }; then
7321 ac_cv_lib_dld_shl_load=yes
7323 echo "$as_me: failed program was:" >&5
7324 sed 's/^/| /' conftest.$ac_ext >&5
7326 ac_cv_lib_dld_shl_load=no
7328 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7329 LIBS=$ac_check_lib_save_LIBS
7331 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
7332 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
7333 if test $ac_cv_lib_dld_shl_load = yes; then
7334 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
7336 echo "$as_me:$LINENO: checking for dlopen" >&5
7337 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
7338 if test "${ac_cv_func_dlopen+set}" = set; then
7339 echo $ECHO_N "(cached) $ECHO_C" >&6
7341 cat >conftest.$ac_ext <<_ACEOF
7342 #line $LINENO "configure"
7345 cat confdefs.h >>conftest.$ac_ext
7346 cat >>conftest.$ac_ext <<_ACEOF
7347 /* end confdefs.h. */
7348 /* System header to define __stub macros and hopefully few prototypes,
7349 which can conflict with char dlopen (); below.
7350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7351 <limits.h> exists even on freestanding compilers. */
7353 # include <limits.h>
7355 # include <assert.h>
7357 /* Override any gcc2 internal prototype to avoid an error. */
7362 /* We use char because int might match the return type of a gcc2
7363 builtin and then its argument prototype would still apply. */
7365 /* The GNU C library defines this for functions which it implements
7366 to always fail with ENOSYS. Some functions are actually named
7367 something starting with __ and the normal name is an alias. */
7368 #if defined (__stub_dlopen) || defined (__stub___dlopen)
7371 char (*f) () = dlopen;
7385 rm -f conftest.$ac_objext conftest$ac_exeext
7386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7387 (eval $ac_link) 2>&5
7389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7390 (exit $ac_status); } &&
7391 { ac_try='test -s conftest$ac_exeext'
7392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7396 (exit $ac_status); }; }; then
7397 ac_cv_func_dlopen=yes
7399 echo "$as_me: failed program was:" >&5
7400 sed 's/^/| /' conftest.$ac_ext >&5
7402 ac_cv_func_dlopen=no
7404 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7406 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
7407 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
7408 if test $ac_cv_func_dlopen = yes; then
7409 lt_cv_dlopen="dlopen"
7411 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
7412 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
7413 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
7414 echo $ECHO_N "(cached) $ECHO_C" >&6
7416 ac_check_lib_save_LIBS=$LIBS
7418 cat >conftest.$ac_ext <<_ACEOF
7419 #line $LINENO "configure"
7422 cat confdefs.h >>conftest.$ac_ext
7423 cat >>conftest.$ac_ext <<_ACEOF
7424 /* end confdefs.h. */
7426 /* Override any gcc2 internal prototype to avoid an error. */
7430 /* We use char because int might match the return type of a gcc2
7431 builtin and then its argument prototype would still apply. */
7441 rm -f conftest.$ac_objext conftest$ac_exeext
7442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7443 (eval $ac_link) 2>&5
7445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7446 (exit $ac_status); } &&
7447 { ac_try='test -s conftest$ac_exeext'
7448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7452 (exit $ac_status); }; }; then
7453 ac_cv_lib_dl_dlopen=yes
7455 echo "$as_me: failed program was:" >&5
7456 sed 's/^/| /' conftest.$ac_ext >&5
7458 ac_cv_lib_dl_dlopen=no
7460 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7461 LIBS=$ac_check_lib_save_LIBS
7463 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
7464 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
7465 if test $ac_cv_lib_dl_dlopen = yes; then
7466 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
7468 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
7469 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
7470 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
7471 echo $ECHO_N "(cached) $ECHO_C" >&6
7473 ac_check_lib_save_LIBS=$LIBS
7475 cat >conftest.$ac_ext <<_ACEOF
7476 #line $LINENO "configure"
7479 cat confdefs.h >>conftest.$ac_ext
7480 cat >>conftest.$ac_ext <<_ACEOF
7481 /* end confdefs.h. */
7483 /* Override any gcc2 internal prototype to avoid an error. */
7487 /* We use char because int might match the return type of a gcc2
7488 builtin and then its argument prototype would still apply. */
7498 rm -f conftest.$ac_objext conftest$ac_exeext
7499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7500 (eval $ac_link) 2>&5
7502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7503 (exit $ac_status); } &&
7504 { ac_try='test -s conftest$ac_exeext'
7505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7509 (exit $ac_status); }; }; then
7510 ac_cv_lib_svld_dlopen=yes
7512 echo "$as_me: failed program was:" >&5
7513 sed 's/^/| /' conftest.$ac_ext >&5
7515 ac_cv_lib_svld_dlopen=no
7517 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7518 LIBS=$ac_check_lib_save_LIBS
7520 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
7521 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
7522 if test $ac_cv_lib_svld_dlopen = yes; then
7523 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
7525 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
7526 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
7527 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
7528 echo $ECHO_N "(cached) $ECHO_C" >&6
7530 ac_check_lib_save_LIBS=$LIBS
7532 cat >conftest.$ac_ext <<_ACEOF
7533 #line $LINENO "configure"
7536 cat confdefs.h >>conftest.$ac_ext
7537 cat >>conftest.$ac_ext <<_ACEOF
7538 /* end confdefs.h. */
7540 /* Override any gcc2 internal prototype to avoid an error. */
7544 /* We use char because int might match the return type of a gcc2
7545 builtin and then its argument prototype would still apply. */
7555 rm -f conftest.$ac_objext conftest$ac_exeext
7556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7557 (eval $ac_link) 2>&5
7559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7560 (exit $ac_status); } &&
7561 { ac_try='test -s conftest$ac_exeext'
7562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7566 (exit $ac_status); }; }; then
7567 ac_cv_lib_dld_dld_link=yes
7569 echo "$as_me: failed program was:" >&5
7570 sed 's/^/| /' conftest.$ac_ext >&5
7572 ac_cv_lib_dld_dld_link=no
7574 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7575 LIBS=$ac_check_lib_save_LIBS
7577 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
7578 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
7579 if test $ac_cv_lib_dld_dld_link = yes; then
7580 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
7601 if test "x$lt_cv_dlopen" != xno; then
7607 case $lt_cv_dlopen in
7609 save_CPPFLAGS="$CPPFLAGS"
7610 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
7612 save_LDFLAGS="$LDFLAGS"
7613 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
7616 LIBS="$lt_cv_dlopen_libs $LIBS"
7618 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
7619 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
7620 if test "${lt_cv_dlopen_self+set}" = set; then
7621 echo $ECHO_N "(cached) $ECHO_C" >&6
7623 if test "$cross_compiling" = yes; then :
7624 lt_cv_dlopen_self=cross
7626 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7627 lt_status=$lt_dlunknown
7628 cat > conftest.$ac_ext <<EOF
7629 #line 7629 "configure"
7630 #include "confdefs.h"
7639 # define LT_DLGLOBAL RTLD_GLOBAL
7642 # define LT_DLGLOBAL DL_GLOBAL
7644 # define LT_DLGLOBAL 0
7648 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
7649 find out it does not work in some platform. */
7650 #ifndef LT_DLLAZY_OR_NOW
7652 # define LT_DLLAZY_OR_NOW RTLD_LAZY
7655 # define LT_DLLAZY_OR_NOW DL_LAZY
7658 # define LT_DLLAZY_OR_NOW RTLD_NOW
7661 # define LT_DLLAZY_OR_NOW DL_NOW
7663 # define LT_DLLAZY_OR_NOW 0
7671 extern "C" void exit (int);
7674 void fnord() { int i=42;}
7677 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
7678 int status = $lt_dlunknown;
7682 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
7683 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
7684 /* dlclose (self); */
7690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7691 (eval $ac_link) 2>&5
7693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7694 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
7695 (./conftest; exit; ) 2>/dev/null
7698 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
7699 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
7700 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
7703 # compilation failed
7704 lt_cv_dlopen_self=no
7711 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
7712 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
7714 if test "x$lt_cv_dlopen_self" = xyes; then
7715 LDFLAGS="$LDFLAGS $link_static_flag"
7716 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
7717 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
7718 if test "${lt_cv_dlopen_self_static+set}" = set; then
7719 echo $ECHO_N "(cached) $ECHO_C" >&6
7721 if test "$cross_compiling" = yes; then :
7722 lt_cv_dlopen_self_static=cross
7724 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7725 lt_status=$lt_dlunknown
7726 cat > conftest.$ac_ext <<EOF
7727 #line 7727 "configure"
7728 #include "confdefs.h"
7737 # define LT_DLGLOBAL RTLD_GLOBAL
7740 # define LT_DLGLOBAL DL_GLOBAL
7742 # define LT_DLGLOBAL 0
7746 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
7747 find out it does not work in some platform. */
7748 #ifndef LT_DLLAZY_OR_NOW
7750 # define LT_DLLAZY_OR_NOW RTLD_LAZY
7753 # define LT_DLLAZY_OR_NOW DL_LAZY
7756 # define LT_DLLAZY_OR_NOW RTLD_NOW
7759 # define LT_DLLAZY_OR_NOW DL_NOW
7761 # define LT_DLLAZY_OR_NOW 0
7769 extern "C" void exit (int);
7772 void fnord() { int i=42;}
7775 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
7776 int status = $lt_dlunknown;
7780 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
7781 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
7782 /* dlclose (self); */
7788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7789 (eval $ac_link) 2>&5
7791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7792 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
7793 (./conftest; exit; ) 2>/dev/null
7796 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
7797 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
7798 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
7801 # compilation failed
7802 lt_cv_dlopen_self_static=no
7809 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
7810 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
7813 CPPFLAGS="$save_CPPFLAGS"
7814 LDFLAGS="$save_LDFLAGS"
7819 case $lt_cv_dlopen_self in
7820 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
7821 *) enable_dlopen_self=unknown ;;
7824 case $lt_cv_dlopen_self_static in
7825 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
7826 *) enable_dlopen_self_static=unknown ;;
7831 if test "$enable_shared" = yes && test "$GCC" = yes; then
7832 case $archive_cmds in
7834 # FIXME: we may have to deal with multi-command sequences.
7837 # Test whether the compiler implicitly links with -lc since on some
7838 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7839 # to ld, don't add -lc before -lgcc.
7840 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7841 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7842 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
7843 echo $ECHO_N "(cached) $ECHO_C" >&6
7846 echo 'static int dummy;' > conftest.$ac_ext
7848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7849 (eval $ac_compile) 2>&5
7851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7852 (exit $ac_status); }; then
7855 libobjs=conftest.$ac_objext
7857 wl=$lt_cv_prog_cc_wl
7863 save_allow_undefined_flag=$allow_undefined_flag
7864 allow_undefined_flag=
7865 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7866 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7869 (exit $ac_status); }
7871 lt_cv_archive_cmds_need_lc=no
7873 lt_cv_archive_cmds_need_lc=yes
7875 allow_undefined_flag=$save_allow_undefined_flag
7877 cat conftest.err 1>&5
7881 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
7882 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
7886 need_lc=${lt_cv_archive_cmds_need_lc-yes}
7888 # The second clause should only fire when bootstrapping the
7889 # libtool distribution, otherwise you forgot to ship ltmain.sh
7890 # with your package, and you will get complaints that there are
7891 # no rules to generate ltmain.sh.
7892 if test -f "$ltmain"; then
7895 # If there is no Makefile yet, we rely on a make rule to execute
7896 # `config.status --recheck' to rerun these tests and create the
7897 # libtool script then.
7898 test -f Makefile && make "$ltmain"
7901 if test -f "$ltmain"; then
7902 trap "$rm \"${ofile}T\"; exit 1" 1 2 15
7905 echo creating $ofile
7907 # Now quote all the things that may contain metacharacters while being
7908 # careful not to overquote the AC_SUBSTed values. We take copies of the
7909 # variables and quote the copies for generation of the libtool script.
7910 for var in echo old_CC old_CFLAGS SED \
7911 AR AR_FLAGS CC LD LN_S NM SHELL \
7912 reload_flag reload_cmds wl \
7913 pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
7914 thread_safe_flag_spec whole_archive_flag_spec libname_spec \
7915 library_names_spec soname_spec \
7916 RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
7917 old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
7918 postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
7919 old_striplib striplib file_magic_cmd export_symbols_cmds \
7920 deplibs_check_method allow_undefined_flag no_undefined_flag \
7921 finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
7922 global_symbol_to_c_name_address \
7923 hardcode_libdir_flag_spec hardcode_libdir_separator \
7924 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
7925 compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
7928 reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
7929 old_postinstall_cmds | old_postuninstall_cmds | \
7930 export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
7931 extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
7932 postinstall_cmds | postuninstall_cmds | \
7933 finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
7934 # Double-quote double-evaled strings.
7935 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
7938 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
7943 cat <<__EOF__ > "${ofile}T"
7946 # `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
7947 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
7948 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
7950 # Copyright (C) 1996-2000 Free Software Foundation, Inc.
7951 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
7953 # This program is free software; you can redistribute it and/or modify
7954 # it under the terms of the GNU General Public License as published by
7955 # the Free Software Foundation; either version 2 of the License, or
7956 # (at your option) any later version.
7958 # This program is distributed in the hope that it will be useful, but
7959 # WITHOUT ANY WARRANTY; without even the implied warranty of
7960 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
7961 # General Public License for more details.
7963 # You should have received a copy of the GNU General Public License
7964 # along with this program; if not, write to the Free Software
7965 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
7967 # As a special exception to the GNU General Public License, if you
7968 # distribute this file as part of a program that contains a
7969 # configuration script generated by Autoconf, you may include it under
7970 # the same distribution terms that you use for the rest of that program.
7972 # A sed that does not truncate output.
7975 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
7976 Xsed="${SED} -e s/^X//"
7978 # The HP-UX ksh and POSIX shell print the target directory to stdout
7980 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
7982 # ### BEGIN LIBTOOL CONFIG
7984 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
7986 # Shell to use when invoking shell scripts.
7989 # Whether or not to build shared libraries.
7990 build_libtool_libs=$enable_shared
7992 # Whether or not to build static libraries.
7993 build_old_libs=$enable_static
7995 # Whether or not to add -lc for building shared libraries.
7996 build_libtool_need_lc=$need_lc
7998 # Whether or not to optimize for fast installation.
7999 fast_install=$enable_fast_install
8002 host_alias=$host_alias
8005 # An echo program that does not interpret backslashes.
8010 AR_FLAGS=$lt_AR_FLAGS
8012 # The default C compiler.
8015 # Is the compiler the GNU C compiler?
8018 # The linker used to build libraries.
8021 # Whether we need hard or soft links.
8024 # A BSD-compatible nm program.
8027 # A symbol stripping program
8030 # Used to examine libraries when file_magic_cmd begins "file"
8031 MAGIC_CMD=$MAGIC_CMD
8033 # Used on cygwin: DLL creation program.
8036 # Used on cygwin: object dumper.
8039 # Used on cygwin: assembler.
8042 # The name of the directory that contains temporary libtool files.
8045 # How to create reloadable object files.
8046 reload_flag=$lt_reload_flag
8047 reload_cmds=$lt_reload_cmds
8049 # How to pass a linker flag through the compiler.
8052 # Object file suffix (normally "o").
8055 # Old archive suffix (normally "a").
8058 # Executable file suffix (normally "").
8061 # Additional compiler flags for building library objects.
8062 pic_flag=$lt_pic_flag
8065 # Does compiler simultaneously support -c and -o options?
8066 compiler_c_o=$lt_compiler_c_o
8068 # Can we write directly to a .lo ?
8069 compiler_o_lo=$lt_compiler_o_lo
8071 # Must we lock files when doing compilation ?
8072 need_locks=$lt_need_locks
8074 # Do we need the lib prefix for modules?
8075 need_lib_prefix=$need_lib_prefix
8077 # Do we need a version for libraries?
8078 need_version=$need_version
8080 # Whether dlopen is supported.
8081 dlopen_support=$enable_dlopen
8083 # Whether dlopen of programs is supported.
8084 dlopen_self=$enable_dlopen_self
8086 # Whether dlopen of statically linked programs is supported.
8087 dlopen_self_static=$enable_dlopen_self_static
8089 # Compiler flag to prevent dynamic linking.
8090 link_static_flag=$lt_link_static_flag
8092 # Compiler flag to turn off builtin functions.
8093 no_builtin_flag=$lt_no_builtin_flag
8095 # Compiler flag to allow reflexive dlopens.
8096 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
8098 # Compiler flag to generate shared objects directly from archives.
8099 whole_archive_flag_spec=$lt_whole_archive_flag_spec
8101 # Compiler flag to generate thread-safe objects.
8102 thread_safe_flag_spec=$lt_thread_safe_flag_spec
8104 # Library versioning type.
8105 version_type=$version_type
8107 # Format of library name prefix.
8108 libname_spec=$lt_libname_spec
8110 # List of archive names. First name is the real one, the rest are links.
8111 # The last name is the one that the linker finds with -lNAME.
8112 library_names_spec=$lt_library_names_spec
8114 # The coded name of the library, if different from the real name.
8115 soname_spec=$lt_soname_spec
8117 # Commands used to build and install an old-style archive.
8119 old_archive_cmds=$lt_old_archive_cmds
8120 old_postinstall_cmds=$lt_old_postinstall_cmds
8121 old_postuninstall_cmds=$lt_old_postuninstall_cmds
8123 # Create an old-style archive from a shared archive.
8124 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
8126 # Create a temporary old-style archive to link instead of a shared archive.
8127 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
8129 # Commands used to build and install a shared archive.
8130 archive_cmds=$lt_archive_cmds
8131 archive_expsym_cmds=$lt_archive_expsym_cmds
8132 postinstall_cmds=$lt_postinstall_cmds
8133 postuninstall_cmds=$lt_postuninstall_cmds
8135 # Commands to strip libraries.
8136 old_striplib=$lt_old_striplib
8137 striplib=$lt_striplib
8139 # Method to check whether dependent libraries are shared objects.
8140 deplibs_check_method=$lt_deplibs_check_method
8142 # Command to use when deplibs_check_method == file_magic.
8143 file_magic_cmd=$lt_file_magic_cmd
8145 # Flag that allows shared libraries with undefined symbols to be built.
8146 allow_undefined_flag=$lt_allow_undefined_flag
8148 # Flag that forces no undefined symbols.
8149 no_undefined_flag=$lt_no_undefined_flag
8151 # Commands used to finish a libtool library installation in a directory.
8152 finish_cmds=$lt_finish_cmds
8154 # Same as above, but a single script fragment to be evaled but not shown.
8155 finish_eval=$lt_finish_eval
8157 # Take the output of nm and produce a listing of raw symbols and C names.
8158 global_symbol_pipe=$lt_global_symbol_pipe
8160 # Transform the output of nm in a proper C declaration
8161 global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
8163 # Transform the output of nm in a C name address pair
8164 global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
8166 # This is the shared library runtime path variable.
8167 runpath_var=$runpath_var
8169 # This is the shared library path variable.
8170 shlibpath_var=$shlibpath_var
8172 # Is shlibpath searched before the hard-coded library search path?
8173 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
8175 # How to hardcode a shared library path into an executable.
8176 hardcode_action=$hardcode_action
8178 # Whether we should hardcode library paths into libraries.
8179 hardcode_into_libs=$hardcode_into_libs
8181 # Flag to hardcode \$libdir into a binary during linking.
8182 # This must work even if \$libdir does not exist.
8183 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
8185 # Whether we need a single -rpath flag with a separated argument.
8186 hardcode_libdir_separator=$lt_hardcode_libdir_separator
8188 # Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
8190 hardcode_direct=$hardcode_direct
8192 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
8194 hardcode_minus_L=$hardcode_minus_L
8196 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
8197 # the resulting binary.
8198 hardcode_shlibpath_var=$hardcode_shlibpath_var
8200 # Variables whose values should be saved in libtool wrapper scripts and
8201 # restored at relink time.
8202 variables_saved_for_relink="$variables_saved_for_relink"
8204 # Whether libtool must link a program against all its dependency libraries.
8205 link_all_deplibs=$link_all_deplibs
8207 # Compile-time system search path for libraries
8208 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
8210 # Run-time system search path for libraries
8211 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
8213 # Fix the shell variable \$srcfile for the compiler.
8214 fix_srcfile_path="$fix_srcfile_path"
8216 # Set to yes if exported symbols are required.
8217 always_export_symbols=$always_export_symbols
8219 # The commands to list exported symbols.
8220 export_symbols_cmds=$lt_export_symbols_cmds
8222 # The commands to extract the exported symbol list from a shared archive.
8223 extract_expsyms_cmds=$lt_extract_expsyms_cmds
8225 # Symbols that should not be listed in the preloaded symbols.
8226 exclude_expsyms=$lt_exclude_expsyms
8228 # Symbols that must always be exported.
8229 include_expsyms=$lt_include_expsyms
8231 # ### END LIBTOOL CONFIG
8237 cat <<\EOF >> "${ofile}T"
8239 # AIX sometimes has problems with the GCC collect2 program. For some
8240 # reason, if we set the COLLECT_NAMES environment variable, the problems
8241 # vanish in a puff of smoke.
8242 if test "X${COLLECT_NAMES+set}" != Xset; then
8244 export COLLECT_NAMES
8251 cygwin* | mingw* | pw32* | os2*)
8252 cat <<'EOF' >> "${ofile}T"
8253 # This is a source program that is used to create dlls on Windows
8254 # Don't remove nor modify the starting and closing comments
8255 # /* ltdll.c starts here */
8256 # #define WIN32_LEAN_AND_MEAN
8257 # #include <windows.h>
8258 # #undef WIN32_LEAN_AND_MEAN
8259 # #include <stdio.h>
8261 # #ifndef __CYGWIN__
8262 # # ifdef __CYGWIN32__
8263 # # define __CYGWIN__ __CYGWIN32__
8267 # #ifdef __cplusplus
8270 # BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
8271 # #ifdef __cplusplus
8276 # #include <cygwin/cygwin_dll.h>
8277 # DECLARE_CYGWIN_DLL( DllMain );
8279 # HINSTANCE __hDllInstance_base;
8282 # DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
8284 # __hDllInstance_base = hInst;
8287 # /* ltdll.c ends here */
8288 # This is a source program that is used to create import libraries
8289 # on Windows for dlls which lack them. Don't remove nor modify the
8290 # starting and closing comments
8291 # /* impgen.c starts here */
8292 # /* Copyright (C) 1999-2000 Free Software Foundation, Inc.
8294 # This file is part of GNU libtool.
8296 # This program is free software; you can redistribute it and/or modify
8297 # it under the terms of the GNU General Public License as published by
8298 # the Free Software Foundation; either version 2 of the License, or
8299 # (at your option) any later version.
8301 # This program is distributed in the hope that it will be useful,
8302 # but WITHOUT ANY WARRANTY; without even the implied warranty of
8303 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8304 # GNU General Public License for more details.
8306 # You should have received a copy of the GNU General Public License
8307 # along with this program; if not, write to the Free Software
8308 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
8311 # #include <stdio.h> /* for printf() */
8312 # #include <unistd.h> /* for open(), lseek(), read() */
8313 # #include <fcntl.h> /* for O_RDONLY, O_BINARY */
8314 # #include <string.h> /* for strdup() */
8316 # /* O_BINARY isn't required (or even defined sometimes) under Unix */
8318 # #define O_BINARY 0
8321 # static unsigned int
8322 # pe_get16 (fd, offset)
8326 # unsigned char b[2];
8327 # lseek (fd, offset, SEEK_SET);
8329 # return b[0] + (b[1]<<8);
8332 # static unsigned int
8333 # pe_get32 (fd, offset)
8337 # unsigned char b[4];
8338 # lseek (fd, offset, SEEK_SET);
8340 # return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
8343 # static unsigned int
8347 # unsigned char *b = ptr;
8348 # return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
8357 # unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
8358 # unsigned long export_rva, export_size, nsections, secptr, expptr;
8359 # unsigned long name_rvas, nexp;
8360 # unsigned char *expdata, *erva;
8361 # char *filename, *dll_name;
8363 # filename = argv[1];
8365 # dll = open(filename, O_RDONLY|O_BINARY);
8369 # dll_name = filename;
8371 # for (i=0; filename[i]; i++)
8372 # if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':')
8373 # dll_name = filename + i +1;
8375 # pe_header_offset = pe_get32 (dll, 0x3c);
8376 # opthdr_ofs = pe_header_offset + 4 + 20;
8377 # num_entries = pe_get32 (dll, opthdr_ofs + 92);
8379 # if (num_entries < 1) /* no exports */
8382 # export_rva = pe_get32 (dll, opthdr_ofs + 96);
8383 # export_size = pe_get32 (dll, opthdr_ofs + 100);
8384 # nsections = pe_get16 (dll, pe_header_offset + 4 +2);
8385 # secptr = (pe_header_offset + 4 + 20 +
8386 # pe_get16 (dll, pe_header_offset + 4 + 16));
8389 # for (i = 0; i < nsections; i++)
8392 # unsigned long secptr1 = secptr + 40 * i;
8393 # unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
8394 # unsigned long vsize = pe_get32 (dll, secptr1 + 16);
8395 # unsigned long fptr = pe_get32 (dll, secptr1 + 20);
8396 # lseek(dll, secptr1, SEEK_SET);
8397 # read(dll, sname, 8);
8398 # if (vaddr <= export_rva && vaddr+vsize > export_rva)
8400 # expptr = fptr + (export_rva - vaddr);
8401 # if (export_rva + export_size > vaddr + vsize)
8402 # export_size = vsize - (export_rva - vaddr);
8407 # expdata = (unsigned char*)malloc(export_size);
8408 # lseek (dll, expptr, SEEK_SET);
8409 # read (dll, expdata, export_size);
8410 # erva = expdata - export_rva;
8412 # nexp = pe_as32 (expdata+24);
8413 # name_rvas = pe_as32 (expdata+32);
8415 # printf ("EXPORTS\n");
8416 # for (i = 0; i<nexp; i++)
8418 # unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
8419 # printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
8424 # /* impgen.c ends here */
8430 # We use sed instead of cat because bash on DJGPP gets confused if
8431 # if finds mixed CR/LF and LF-only lines. Since sed operates in
8432 # text mode, it properly converts lines to CR/LF. This bash problem
8433 # is reportedly fixed, but why not run on old versions too?
8434 sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
8436 mv -f "${ofile}T" "$ofile" || \
8437 (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
8445 # This can be used to rebuild libtool when needed
8446 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
8448 # Always use our own libtool.
8449 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8451 # Prevent multiple expansion
8454 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
8455 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
8456 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
8457 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
8458 echo $ECHO_N "(cached) $ECHO_C" >&6
8460 cat >conftest.make <<\_ACEOF
8462 @echo 'ac_maketemp="$(MAKE)"'
8464 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
8465 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
8466 if test -n "$ac_maketemp"; then
8467 eval ac_cv_prog_make_${ac_make}_set=yes
8469 eval ac_cv_prog_make_${ac_make}_set=no
8473 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
8474 echo "$as_me:$LINENO: result: yes" >&5
8475 echo "${ECHO_T}yes" >&6
8478 echo "$as_me:$LINENO: result: no" >&5
8479 echo "${ECHO_T}no" >&6
8480 SET_MAKE="MAKE=${MAKE-make}"
8485 echo "$as_me:$LINENO: checking for ssh" >&5
8486 echo $ECHO_N "checking for ssh... $ECHO_C" >&6
8488 # Check whether --with-ssh or --without-ssh was given.
8489 if test "${with_ssh+set}" = set; then
8493 SSHPROG=`which ssh 2>/dev/null`
8495 if test ! -x "$SSHPROG"
8497 echo "$as_me:$LINENO: result: not found (sshfs support disabled)" >&5
8498 echo "${ECHO_T}not found (sshfs support disabled)" >&6
8500 echo "$as_me:$LINENO: result: found ($SSHPROG)" >&5
8501 echo "${ECHO_T}found ($SSHPROG)" >&6
8503 cat >>confdefs.h <<\_ACEOF
8507 opt_fs="$opt_fs sshfs"
8512 # Extract the first word of "gnome-config", so it can be a program name with args.
8513 set dummy gnome-config; ac_word=$2
8514 echo "$as_me:$LINENO: checking for $ac_word" >&5
8515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8516 if test "${ac_cv_prog_GCONF+set}" = set; then
8517 echo $ECHO_N "(cached) $ECHO_C" >&6
8519 if test -n "$GCONF"; then
8520 ac_cv_prog_GCONF="$GCONF" # Let the user override the test.
8522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8526 test -z "$as_dir" && as_dir=.
8527 for ac_exec_ext in '' $ac_executable_extensions; do
8528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8529 ac_cv_prog_GCONF="gnome-config"
8530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8538 GCONF=$ac_cv_prog_GCONF
8539 if test -n "$GCONF"; then
8540 echo "$as_me:$LINENO: result: $GCONF" >&5
8541 echo "${ECHO_T}$GCONF" >&6
8543 echo "$as_me:$LINENO: result: no" >&5
8544 echo "${ECHO_T}no" >&6
8547 # Extract the first word of "gnome-vfs-config", so it can be a program name with args.
8548 set dummy gnome-vfs-config; ac_word=$2
8549 echo "$as_me:$LINENO: checking for $ac_word" >&5
8550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8551 if test "${ac_cv_prog_GVFSCONF+set}" = set; then
8552 echo $ECHO_N "(cached) $ECHO_C" >&6
8554 if test -n "$GVFSCONF"; then
8555 ac_cv_prog_GVFSCONF="$GVFSCONF" # Let the user override the test.
8557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8561 test -z "$as_dir" && as_dir=.
8562 for ac_exec_ext in '' $ac_executable_extensions; do
8563 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8564 ac_cv_prog_GVFSCONF="gnome-vfs-config"
8565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8573 GVFSCONF=$ac_cv_prog_GVFSCONF
8574 if test -n "$GVFSCONF"; then
8575 echo "$as_me:$LINENO: result: $GVFSCONF" >&5
8576 echo "${ECHO_T}$GVFSCONF" >&6
8578 echo "$as_me:$LINENO: result: no" >&5
8579 echo "${ECHO_T}no" >&6
8582 echo "$as_me:$LINENO: checking for gnome_vfs_init in -lgnomevfs" >&5
8583 echo $ECHO_N "checking for gnome_vfs_init in -lgnomevfs... $ECHO_C" >&6
8584 if test "${ac_cv_lib_gnomevfs_gnome_vfs_init+set}" = set; then
8585 echo $ECHO_N "(cached) $ECHO_C" >&6
8587 ac_check_lib_save_LIBS=$LIBS
8588 LIBS="-lgnomevfs $LIBS"
8589 cat >conftest.$ac_ext <<_ACEOF
8590 #line $LINENO "configure"
8593 cat confdefs.h >>conftest.$ac_ext
8594 cat >>conftest.$ac_ext <<_ACEOF
8595 /* end confdefs.h. */
8597 /* Override any gcc2 internal prototype to avoid an error. */
8601 /* We use char because int might match the return type of a gcc2
8602 builtin and then its argument prototype would still apply. */
8603 char gnome_vfs_init ();
8612 rm -f conftest.$ac_objext conftest$ac_exeext
8613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8614 (eval $ac_link) 2>&5
8616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8617 (exit $ac_status); } &&
8618 { ac_try='test -s conftest$ac_exeext'
8619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8623 (exit $ac_status); }; }; then
8624 ac_cv_lib_gnomevfs_gnome_vfs_init=yes
8626 echo "$as_me: failed program was:" >&5
8627 sed 's/^/| /' conftest.$ac_ext >&5
8629 ac_cv_lib_gnomevfs_gnome_vfs_init=no
8631 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8632 LIBS=$ac_check_lib_save_LIBS
8634 echo "$as_me:$LINENO: result: $ac_cv_lib_gnomevfs_gnome_vfs_init" >&5
8635 echo "${ECHO_T}$ac_cv_lib_gnomevfs_gnome_vfs_init" >&6
8636 if test $ac_cv_lib_gnomevfs_gnome_vfs_init = yes; then
8640 if test "$GCONF" -a "$GVFSCONF" -a "$HAS_GNOMEVFS"
8643 cat >>confdefs.h <<\_ACEOF
8648 GVFS_LDADD="`$GCONF --libs gnome` `$GVFSCONF --libs`"
8649 GVFS_CFLAGS="`$GCONF --cflags gnome` `$GVFSCONF --cflags`"
8650 opt_fs="$opt_fs gvfs"
8655 # Check whether --enable-wavfs or --disable-wavfs was given.
8656 if test "${enable_wavfs+set}" = set; then
8657 enableval="$enable_wavfs"
8658 opt_fs="$opt_fs wavfs"
8662 # Check whether --enable-cefs or --disable-cefs was given.
8663 if test "${enable_cefs+set}" = set; then
8664 enableval="$enable_cefs"
8665 opt_fs="$opt_fs cefs"
8668 if test -n "$cefs_dir"; then
8670 cat >>confdefs.h <<\_ACEOF
8675 cat >>confdefs.h <<\_ACEOF
8676 #define INFOFILE "/tmp/cedevices"
8681 # Check whether --enable-cardfs or --disable-cardfs was given.
8682 if test "${enable_cardfs+set}" = set; then
8683 enableval="$enable_cardfs"
8688 echo "$as_me:$LINENO: checking for pthread_detach in -lpthread" >&5
8689 echo $ECHO_N "checking for pthread_detach in -lpthread... $ECHO_C" >&6
8690 if test "${ac_cv_lib_pthread_pthread_detach+set}" = set; then
8691 echo $ECHO_N "(cached) $ECHO_C" >&6
8693 ac_check_lib_save_LIBS=$LIBS
8694 LIBS="-lpthread $LIBS"
8695 cat >conftest.$ac_ext <<_ACEOF
8696 #line $LINENO "configure"
8699 cat confdefs.h >>conftest.$ac_ext
8700 cat >>conftest.$ac_ext <<_ACEOF
8701 /* end confdefs.h. */
8703 /* Override any gcc2 internal prototype to avoid an error. */
8707 /* We use char because int might match the return type of a gcc2
8708 builtin and then its argument prototype would still apply. */
8709 char pthread_detach ();
8718 rm -f conftest.$ac_objext conftest$ac_exeext
8719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8720 (eval $ac_link) 2>&5
8722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8723 (exit $ac_status); } &&
8724 { ac_try='test -s conftest$ac_exeext'
8725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8729 (exit $ac_status); }; }; then
8730 ac_cv_lib_pthread_pthread_detach=yes
8732 echo "$as_me: failed program was:" >&5
8733 sed 's/^/| /' conftest.$ac_ext >&5
8735 ac_cv_lib_pthread_pthread_detach=no
8737 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8738 LIBS=$ac_check_lib_save_LIBS
8740 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_detach" >&5
8741 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_detach" >&6
8742 if test $ac_cv_lib_pthread_pthread_detach = yes; then
8743 cat >>confdefs.h <<_ACEOF
8744 #define HAVE_LIBPTHREAD 1
8747 LIBS="-lpthread $LIBS"
8750 { { echo "$as_me:$LINENO: error: libpthread is needed by lufs" >&5
8751 echo "$as_me: error: libpthread is needed by lufs" >&2;}
8752 { (exit 1); exit 1; }; }
8757 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8758 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
8759 if test "${ac_cv_header_stdc+set}" = set; then
8760 echo $ECHO_N "(cached) $ECHO_C" >&6
8762 cat >conftest.$ac_ext <<_ACEOF
8763 #line $LINENO "configure"
8766 cat confdefs.h >>conftest.$ac_ext
8767 cat >>conftest.$ac_ext <<_ACEOF
8768 /* end confdefs.h. */
8782 rm -f conftest.$ac_objext
8783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8784 (eval $ac_compile) 2>&5
8786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8787 (exit $ac_status); } &&
8788 { ac_try='test -s conftest.$ac_objext'
8789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8793 (exit $ac_status); }; }; then
8794 ac_cv_header_stdc=yes
8796 echo "$as_me: failed program was:" >&5
8797 sed 's/^/| /' conftest.$ac_ext >&5
8799 ac_cv_header_stdc=no
8801 rm -f conftest.$ac_objext conftest.$ac_ext
8803 if test $ac_cv_header_stdc = yes; then
8804 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8805 cat >conftest.$ac_ext <<_ACEOF
8806 #line $LINENO "configure"
8809 cat confdefs.h >>conftest.$ac_ext
8810 cat >>conftest.$ac_ext <<_ACEOF
8811 /* end confdefs.h. */
8815 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8816 $EGREP "memchr" >/dev/null 2>&1; then
8819 ac_cv_header_stdc=no
8825 if test $ac_cv_header_stdc = yes; then
8826 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8827 cat >conftest.$ac_ext <<_ACEOF
8828 #line $LINENO "configure"
8831 cat confdefs.h >>conftest.$ac_ext
8832 cat >>conftest.$ac_ext <<_ACEOF
8833 /* end confdefs.h. */
8837 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8838 $EGREP "free" >/dev/null 2>&1; then
8841 ac_cv_header_stdc=no
8847 if test $ac_cv_header_stdc = yes; then
8848 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8849 if test "$cross_compiling" = yes; then
8852 cat >conftest.$ac_ext <<_ACEOF
8853 #line $LINENO "configure"
8856 cat confdefs.h >>conftest.$ac_ext
8857 cat >>conftest.$ac_ext <<_ACEOF
8858 /* end confdefs.h. */
8860 #if ((' ' & 0x0FF) == 0x020)
8861 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8862 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8864 # define ISLOWER(c) \
8865 (('a' <= (c) && (c) <= 'i') \
8866 || ('j' <= (c) && (c) <= 'r') \
8867 || ('s' <= (c) && (c) <= 'z'))
8868 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8871 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8876 for (i = 0; i < 256; i++)
8877 if (XOR (islower (i), ISLOWER (i))
8878 || toupper (i) != TOUPPER (i))
8883 rm -f conftest$ac_exeext
8884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8885 (eval $ac_link) 2>&5
8887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8888 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8893 (exit $ac_status); }; }; then
8896 echo "$as_me: program exited with status $ac_status" >&5
8897 echo "$as_me: failed program was:" >&5
8898 sed 's/^/| /' conftest.$ac_ext >&5
8901 ac_cv_header_stdc=no
8903 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8907 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8908 echo "${ECHO_T}$ac_cv_header_stdc" >&6
8909 if test $ac_cv_header_stdc = yes; then
8911 cat >>confdefs.h <<\_ACEOF
8912 #define STDC_HEADERS 1
8918 for ac_header in unistd.h
8920 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8921 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8922 echo "$as_me:$LINENO: checking for $ac_header" >&5
8923 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8924 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8925 echo $ECHO_N "(cached) $ECHO_C" >&6
8927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8928 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8930 # Is the header compilable?
8931 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8932 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8933 cat >conftest.$ac_ext <<_ACEOF
8934 #line $LINENO "configure"
8937 cat confdefs.h >>conftest.$ac_ext
8938 cat >>conftest.$ac_ext <<_ACEOF
8939 /* end confdefs.h. */
8940 $ac_includes_default
8941 #include <$ac_header>
8943 rm -f conftest.$ac_objext
8944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8945 (eval $ac_compile) 2>&5
8947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8948 (exit $ac_status); } &&
8949 { ac_try='test -s conftest.$ac_objext'
8950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8954 (exit $ac_status); }; }; then
8955 ac_header_compiler=yes
8957 echo "$as_me: failed program was:" >&5
8958 sed 's/^/| /' conftest.$ac_ext >&5
8960 ac_header_compiler=no
8962 rm -f conftest.$ac_objext conftest.$ac_ext
8963 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8964 echo "${ECHO_T}$ac_header_compiler" >&6
8966 # Is the header present?
8967 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8968 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8969 cat >conftest.$ac_ext <<_ACEOF
8970 #line $LINENO "configure"
8973 cat confdefs.h >>conftest.$ac_ext
8974 cat >>conftest.$ac_ext <<_ACEOF
8975 /* end confdefs.h. */
8976 #include <$ac_header>
8978 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8979 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8981 grep -v '^ *+' conftest.er1 >conftest.err
8983 cat conftest.err >&5
8984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8985 (exit $ac_status); } >/dev/null; then
8986 if test -s conftest.err; then
8987 ac_cpp_err=$ac_c_preproc_warn_flag
8994 if test -z "$ac_cpp_err"; then
8995 ac_header_preproc=yes
8997 echo "$as_me: failed program was:" >&5
8998 sed 's/^/| /' conftest.$ac_ext >&5
9000 ac_header_preproc=no
9002 rm -f conftest.err conftest.$ac_ext
9003 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9004 echo "${ECHO_T}$ac_header_preproc" >&6
9006 # So? What about this header?
9007 case $ac_header_compiler:$ac_header_preproc in
9009 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9010 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9011 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9012 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9015 ## ------------------------------------ ##
9016 ## Report this to bug-autoconf@gnu.org. ##
9017 ## ------------------------------------ ##
9020 sed "s/^/$as_me: WARNING: /" >&2
9023 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9024 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9025 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9026 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9027 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9028 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9031 ## ------------------------------------ ##
9032 ## Report this to bug-autoconf@gnu.org. ##
9033 ## ------------------------------------ ##
9036 sed "s/^/$as_me: WARNING: /" >&2
9039 echo "$as_me:$LINENO: checking for $ac_header" >&5
9040 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9041 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9042 echo $ECHO_N "(cached) $ECHO_C" >&6
9044 eval "$as_ac_Header=$ac_header_preproc"
9046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9047 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9050 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9051 cat >>confdefs.h <<_ACEOF
9052 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9066 for ac_header in byteswap.h sys/byteswap.h endian.h machine/endian.h sys/types.h
9068 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9069 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9070 echo "$as_me:$LINENO: checking for $ac_header" >&5
9071 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9072 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9073 echo $ECHO_N "(cached) $ECHO_C" >&6
9075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9076 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9078 # Is the header compilable?
9079 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9080 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9081 cat >conftest.$ac_ext <<_ACEOF
9082 #line $LINENO "configure"
9085 cat confdefs.h >>conftest.$ac_ext
9086 cat >>conftest.$ac_ext <<_ACEOF
9087 /* end confdefs.h. */
9088 $ac_includes_default
9089 #include <$ac_header>
9091 rm -f conftest.$ac_objext
9092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9093 (eval $ac_compile) 2>&5
9095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9096 (exit $ac_status); } &&
9097 { ac_try='test -s conftest.$ac_objext'
9098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9102 (exit $ac_status); }; }; then
9103 ac_header_compiler=yes
9105 echo "$as_me: failed program was:" >&5
9106 sed 's/^/| /' conftest.$ac_ext >&5
9108 ac_header_compiler=no
9110 rm -f conftest.$ac_objext conftest.$ac_ext
9111 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9112 echo "${ECHO_T}$ac_header_compiler" >&6
9114 # Is the header present?
9115 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9116 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9117 cat >conftest.$ac_ext <<_ACEOF
9118 #line $LINENO "configure"
9121 cat confdefs.h >>conftest.$ac_ext
9122 cat >>conftest.$ac_ext <<_ACEOF
9123 /* end confdefs.h. */
9124 #include <$ac_header>
9126 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9127 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9129 grep -v '^ *+' conftest.er1 >conftest.err
9131 cat conftest.err >&5
9132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9133 (exit $ac_status); } >/dev/null; then
9134 if test -s conftest.err; then
9135 ac_cpp_err=$ac_c_preproc_warn_flag
9142 if test -z "$ac_cpp_err"; then
9143 ac_header_preproc=yes
9145 echo "$as_me: failed program was:" >&5
9146 sed 's/^/| /' conftest.$ac_ext >&5
9148 ac_header_preproc=no
9150 rm -f conftest.err conftest.$ac_ext
9151 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9152 echo "${ECHO_T}$ac_header_preproc" >&6
9154 # So? What about this header?
9155 case $ac_header_compiler:$ac_header_preproc in
9157 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9158 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9159 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9160 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9163 ## ------------------------------------ ##
9164 ## Report this to bug-autoconf@gnu.org. ##
9165 ## ------------------------------------ ##
9168 sed "s/^/$as_me: WARNING: /" >&2
9171 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9172 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9173 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9174 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9175 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9176 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9179 ## ------------------------------------ ##
9180 ## Report this to bug-autoconf@gnu.org. ##
9181 ## ------------------------------------ ##
9184 sed "s/^/$as_me: WARNING: /" >&2
9187 echo "$as_me:$LINENO: checking for $ac_header" >&5
9188 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9189 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9190 echo $ECHO_N "(cached) $ECHO_C" >&6
9192 eval "$as_ac_Header=$ac_header_preproc"
9194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9195 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9198 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9199 cat >>confdefs.h <<_ACEOF
9200 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9209 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
9210 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
9211 if test "${ac_cv_c_const+set}" = set; then
9212 echo $ECHO_N "(cached) $ECHO_C" >&6
9214 cat >conftest.$ac_ext <<_ACEOF
9215 #line $LINENO "configure"
9218 cat confdefs.h >>conftest.$ac_ext
9219 cat >>conftest.$ac_ext <<_ACEOF
9220 /* end confdefs.h. */
9225 /* FIXME: Include the comments suggested by Paul. */
9227 /* Ultrix mips cc rejects this. */
9228 typedef int charset[2];
9230 /* SunOS 4.1.1 cc rejects this. */
9231 char const *const *ccp;
9233 /* NEC SVR4.0.2 mips cc rejects this. */
9234 struct point {int x, y;};
9235 static struct point const zero = {0,0};
9236 /* AIX XL C 1.02.0.0 rejects this.
9237 It does not let you subtract one const X* pointer from another in
9238 an arm of an if-expression whose if-part is not a constant
9240 const char *g = "string";
9241 ccp = &g + (g ? g-g : 0);
9242 /* HPUX 7.0 cc rejects these. */
9245 ccp = (char const *const *) p;
9246 { /* SCO 3.2v4 cc rejects this. */
9248 char const *s = 0 ? (char *) 0 : (char const *) 0;
9252 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9254 const int *foo = &x[0];
9257 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9258 typedef const int *iptr;
9262 { /* AIX XL C 1.02.0.0 rejects this saying
9263 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9264 struct s { int j; const int *ap[3]; };
9265 struct s *b; b->j = 5;
9267 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9276 rm -f conftest.$ac_objext
9277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9278 (eval $ac_compile) 2>&5
9280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9281 (exit $ac_status); } &&
9282 { ac_try='test -s conftest.$ac_objext'
9283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9287 (exit $ac_status); }; }; then
9290 echo "$as_me: failed program was:" >&5
9291 sed 's/^/| /' conftest.$ac_ext >&5
9295 rm -f conftest.$ac_objext conftest.$ac_ext
9297 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
9298 echo "${ECHO_T}$ac_cv_c_const" >&6
9299 if test $ac_cv_c_const = no; then
9301 cat >>confdefs.h <<\_ACEOF
9307 echo "$as_me:$LINENO: checking for pid_t" >&5
9308 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
9309 if test "${ac_cv_type_pid_t+set}" = set; then
9310 echo $ECHO_N "(cached) $ECHO_C" >&6
9312 cat >conftest.$ac_ext <<_ACEOF
9313 #line $LINENO "configure"
9316 cat confdefs.h >>conftest.$ac_ext
9317 cat >>conftest.$ac_ext <<_ACEOF
9318 /* end confdefs.h. */
9319 $ac_includes_default
9331 rm -f conftest.$ac_objext
9332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9333 (eval $ac_compile) 2>&5
9335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9336 (exit $ac_status); } &&
9337 { ac_try='test -s conftest.$ac_objext'
9338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9342 (exit $ac_status); }; }; then
9343 ac_cv_type_pid_t=yes
9345 echo "$as_me: failed program was:" >&5
9346 sed 's/^/| /' conftest.$ac_ext >&5
9350 rm -f conftest.$ac_objext conftest.$ac_ext
9352 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
9353 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
9354 if test $ac_cv_type_pid_t = yes; then
9358 cat >>confdefs.h <<_ACEOF
9367 for ac_func in mkdir rmdir
9369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9370 echo "$as_me:$LINENO: checking for $ac_func" >&5
9371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9372 if eval "test \"\${$as_ac_var+set}\" = set"; then
9373 echo $ECHO_N "(cached) $ECHO_C" >&6
9375 cat >conftest.$ac_ext <<_ACEOF
9376 #line $LINENO "configure"
9379 cat confdefs.h >>conftest.$ac_ext
9380 cat >>conftest.$ac_ext <<_ACEOF
9381 /* end confdefs.h. */
9382 /* System header to define __stub macros and hopefully few prototypes,
9383 which can conflict with char $ac_func (); below.
9384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9385 <limits.h> exists even on freestanding compilers. */
9387 # include <limits.h>
9389 # include <assert.h>
9391 /* Override any gcc2 internal prototype to avoid an error. */
9396 /* We use char because int might match the return type of a gcc2
9397 builtin and then its argument prototype would still apply. */
9399 /* The GNU C library defines this for functions which it implements
9400 to always fail with ENOSYS. Some functions are actually named
9401 something starting with __ and the normal name is an alias. */
9402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9405 char (*f) () = $ac_func;
9414 return f != $ac_func;
9419 rm -f conftest.$ac_objext conftest$ac_exeext
9420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9421 (eval $ac_link) 2>&5
9423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9424 (exit $ac_status); } &&
9425 { ac_try='test -s conftest$ac_exeext'
9426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9430 (exit $ac_status); }; }; then
9431 eval "$as_ac_var=yes"
9433 echo "$as_me: failed program was:" >&5
9434 sed 's/^/| /' conftest.$ac_ext >&5
9436 eval "$as_ac_var=no"
9438 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9442 if test `eval echo '${'$as_ac_var'}'` = yes; then
9443 cat >>confdefs.h <<_ACEOF
9444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9451 if test -n "$WITH_CARDFS"; then
9452 echo checking for cardfs
9453 echo "$as_me:$LINENO: checking for libchipcard" >&5
9454 echo $ECHO_N "checking for libchipcard... $ECHO_C" >&6
9456 # Check whether --with-chipcard-dir or --without-chipcard-dir was given.
9457 if test "${with_chipcard_dir+set}" = set; then
9458 withval="$with_chipcard_dir"
9461 cc_dir="/usr/local/libchipcard \
9467 for li in $cc_dir; do
9468 if test -x "$li/bin/libchipcard-config"; then
9472 if test -z "$chipcard_dir"; then
9473 echo "$as_me:$LINENO: result: not found (chipcard support disabled)" >&5
9474 echo "${ECHO_T}not found (chipcard support disabled)" >&6
9476 all_libraries="$all_libraries `$chipcard_dir/bin/libchipcard-config --libraries`"
9477 all_includes="$all_includes `$chipcard_dir/bin/libchipcard-config --includes`"
9479 cat >>confdefs.h <<\_ACEOF
9480 #define HAS_LIBCHIPCARD 1
9483 define_has_libchipcard="#define HAS_LIBCHIPCARD"
9485 LIBCHIPCARD_LIB="`$chipcard_dir/bin/libchipcard-config --libraries` -lcardfs"
9486 LIBCHIPCARD_INCLUDES="`$chipcard_dir/bin/libchipcard-config --includes`"
9487 echo "$as_me:$LINENO: result: $chipcard_dir" >&5
9488 echo "${ECHO_T}$chipcard_dir" >&6
9489 all_libraries="$all_libraries $libchipcard_libs"
9490 all_includes="$all_includes $libchipcard_includes"
9491 opt_fs="$opt_fs cardfs"
9497 all_includes="$all_includes -I`pwd`/include"
9503 ac_config_files="$ac_config_files Makefile lufsd/Makefile filesystems/Makefile filesystems/localfs/Makefile filesystems/locasefs/Makefile filesystems/sshfs/Makefile filesystems/ftpfs/Makefile filesystems/cardfs/Makefile filesystems/cefs/Makefile filesystems/cefs/asyncd/Makefile filesystems/gvfs/Makefile filesystems/gnetfs/Makefile filesystems/wavfs/Makefile util/Makefile kernel/Makefile kernel/Linux/Makefile kernel/Linux/2.4/Makefile kernel/Linux/2.5/Makefile include/Makefile config/Makefile docs/Makefile man/Makefile"
9504 cat >confcache <<\_ACEOF
9505 # This file is a shell script that caches the results of configure
9506 # tests run on this system so they can be shared between configure
9507 # scripts and configure runs, see configure's option --config-cache.
9508 # It is not useful on other systems. If it contains results you don't
9509 # want to keep, you may remove or edit it.
9511 # config.status only pays attention to the cache file if you give it
9512 # the --recheck option to rerun configure.
9514 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9515 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9520 # The following way of writing the cache mishandles newlines in values,
9521 # but we know of no workaround that is simple, portable, and efficient.
9522 # So, don't put newlines in cache variables' values.
9523 # Ultrix sh set writes to stderr and can't be redirected directly,
9524 # and sets the high bit in the cache file unless we assign to the vars.
9527 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9529 # `set' does not quote correctly, so add quotes (double-quote
9530 # substitution turns \\\\ into \\, and sed turns \\ into \).
9533 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9536 # `set' quotes correctly as required by POSIX, so do not add quotes.
9538 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9545 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9547 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9549 if diff $cache_file confcache >/dev/null 2>&1; then :; else
9550 if test -w $cache_file; then
9551 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9552 cat confcache >$cache_file
9554 echo "not updating unwritable cache $cache_file"
9559 test "x$prefix" = xNONE && prefix=$ac_default_prefix
9560 # Let make expand exec_prefix.
9561 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
9563 # VPATH may cause trouble with some makes, so we remove $(srcdir),
9564 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9565 # trailing colons and then remove the whole line if VPATH becomes empty
9566 # (actually we leave an empty line to preserve line numbers).
9567 if test "x$srcdir" = x.; then
9568 ac_vpsub='/^[ ]*VPATH[ ]*=/{
9569 s/:*\$(srcdir):*/:/;
9570 s/:*\${srcdir}:*/:/;
9572 s/^\([^=]*=[ ]*\):*/\1/;
9578 DEFS=-DHAVE_CONFIG_H
9582 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9583 # 1. Remove the extension, and $U if already installed.
9584 ac_i=`echo "$ac_i" |
9585 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
9587 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
9588 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
9592 LTLIBOBJS=$ac_ltlibobjs
9595 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9596 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
9597 Usually this means the macro was only invoked conditionally." >&5
9598 echo "$as_me: error: conditional \"AMDEP\" was never defined.
9599 Usually this means the macro was only invoked conditionally." >&2;}
9600 { (exit 1); exit 1; }; }
9602 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9603 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
9604 Usually this means the macro was only invoked conditionally." >&5
9605 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
9606 Usually this means the macro was only invoked conditionally." >&2;}
9607 { (exit 1); exit 1; }; }
9609 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
9610 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
9611 Usually this means the macro was only invoked conditionally." >&5
9612 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
9613 Usually this means the macro was only invoked conditionally." >&2;}
9614 { (exit 1); exit 1; }; }
9617 : ${CONFIG_STATUS=./config.status}
9618 ac_clean_files_save=$ac_clean_files
9619 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
9620 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
9621 echo "$as_me: creating $CONFIG_STATUS" >&6;}
9622 cat >$CONFIG_STATUS <<_ACEOF
9624 # Generated by $as_me.
9625 # Run this file to recreate the current configuration.
9626 # Compiler output produced by configure, useful for debugging
9627 # configure, is in config.log if it exists.
9632 SHELL=\${CONFIG_SHELL-$SHELL}
9635 cat >>$CONFIG_STATUS <<\_ACEOF
9636 ## --------------------- ##
9637 ## M4sh Initialization. ##
9638 ## --------------------- ##
9640 # Be Bourne compatible
9641 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9644 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9645 # is contrary to our usage. Disable this feature.
9646 alias -g '${1+"$@"}'='"$@"'
9647 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
9651 # Support unset when possible.
9652 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
9659 # Work around bugs in pre-3.0 UWIN ksh.
9660 $as_unset ENV MAIL MAILPATH
9667 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9668 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9669 LC_TELEPHONE LC_TIME
9671 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
9672 eval $as_var=C; export $as_var
9678 # Required to use basename.
9679 if expr a : '\(a\)' >/dev/null 2>&1; then
9685 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
9686 as_basename=basename
9692 # Name of the executable.
9693 as_me=`$as_basename "$0" ||
9694 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9695 X"$0" : 'X\(//\)$' \| \
9696 X"$0" : 'X\(/\)$' \| \
9697 . : '\(.\)' 2>/dev/null ||
9699 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
9700 /^X\/\(\/\/\)$/{ s//\1/; q; }
9701 /^X\/\(\/\).*/{ s//\1/; q; }
9705 # PATH needs CR, and LINENO needs CR and PATH.
9706 # Avoid depending upon Character Ranges.
9707 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9708 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9709 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9710 as_cr_digits='0123456789'
9711 as_cr_alnum=$as_cr_Letters$as_cr_digits
9713 # The user is always right.
9714 if test "${PATH_SEPARATOR+set}" != set; then
9715 echo "#! /bin/sh" >conf$$.sh
9716 echo "exit 0" >>conf$$.sh
9718 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
9729 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9730 test "x$as_lineno_1" != "x$as_lineno_2" &&
9731 test "x$as_lineno_3" = "x$as_lineno_2" || {
9732 # Find who we are. Look in the path if we contain no path at all
9735 *[\\/]* ) as_myself=$0 ;;
9736 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9740 test -z "$as_dir" && as_dir=.
9741 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9746 # We did not find ourselves, most probably we were run as `sh COMMAND'
9747 # in which case we are not to be found in the path.
9748 if test "x$as_myself" = x; then
9751 if test ! -f "$as_myself"; then
9752 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
9753 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
9754 { (exit 1); exit 1; }; }
9756 case $CONFIG_SHELL in
9758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9759 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
9762 test -z "$as_dir" && as_dir=.
9763 for as_base in sh bash ksh sh5; do
9766 if ("$as_dir/$as_base" -c '
9769 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9770 test "x$as_lineno_1" != "x$as_lineno_2" &&
9771 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
9772 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
9773 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
9774 CONFIG_SHELL=$as_dir/$as_base
9776 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
9784 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9785 # uniformly replaced by the line number. The first 'sed' inserts a
9786 # line-number line before each line; the second 'sed' does the real
9787 # work. The second script uses 'N' to pair each line-number line
9788 # with the numbered line, and appends trailing '-' during
9789 # substitution so that $LINENO is not a special case at line end.
9790 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9791 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
9792 sed '=' <$as_myself |
9797 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
9800 s,^['$as_cr_digits']*\n,,
9802 chmod +x $as_me.lineno ||
9803 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
9804 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
9805 { (exit 1); exit 1; }; }
9807 # Don't try to exec as it changes $[0], causing all sort of problems
9808 # (the dirname of $[0] is not the place where we might find the
9809 # original and so on. Autoconf is especially sensible to this).
9811 # Exit status is that of the last command.
9816 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
9817 *c*,-n*) ECHO_N= ECHO_C='
9819 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
9820 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
9823 if expr a : '\(a\)' >/dev/null 2>&1; then
9829 rm -f conf$$ conf$$.exe conf$$.file
9831 if ln -s conf$$.file conf$$ 2>/dev/null; then
9832 # We could just check for DJGPP; but this test a) works b) is more generic
9833 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
9834 if test -f conf$$.exe; then
9835 # Don't use ln at all; we don't have any links
9840 elif ln conf$$.file conf$$ 2>/dev/null; then
9845 rm -f conf$$ conf$$.exe conf$$.file
9847 if mkdir -p . 2>/dev/null; then
9853 as_executable_p="test -f"
9855 # Sed expression to map a string onto a valid CPP name.
9856 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
9858 # Sed expression to map a string onto a valid variable name.
9859 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
9863 # We need space, tab and new line, in precisely that order.
9873 # Open the log real soon, to keep \$[0] and so on meaningful, and to
9874 # report actual input values of CONFIG_FILES etc. instead of their
9875 # values after options handling. Logging --version etc. is OK.
9879 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9880 ## Running $as_me. ##
9885 This file was extended by $as_me, which was
9886 generated by GNU Autoconf 2.57. Invocation command line was
9888 CONFIG_FILES = $CONFIG_FILES
9889 CONFIG_HEADERS = $CONFIG_HEADERS
9890 CONFIG_LINKS = $CONFIG_LINKS
9891 CONFIG_COMMANDS = $CONFIG_COMMANDS
9895 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
9899 # Files that config.status was made for.
9900 if test -n "$ac_config_files"; then
9901 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
9904 if test -n "$ac_config_headers"; then
9905 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
9908 if test -n "$ac_config_links"; then
9909 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
9912 if test -n "$ac_config_commands"; then
9913 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
9916 cat >>$CONFIG_STATUS <<\_ACEOF
9919 \`$as_me' instantiates files from templates according to the
9920 current configuration.
9922 Usage: $0 [OPTIONS] [FILE]...
9924 -h, --help print this help, then exit
9925 -V, --version print version number, then exit
9926 -q, --quiet do not print progress messages
9927 -d, --debug don't remove temporary files
9928 --recheck update $as_me by reconfiguring in the same conditions
9929 --file=FILE[:TEMPLATE]
9930 instantiate the configuration file FILE
9931 --header=FILE[:TEMPLATE]
9932 instantiate the configuration header FILE
9934 Configuration files:
9937 Configuration headers:
9940 Configuration commands:
9943 Report bugs to <bug-autoconf@gnu.org>."
9946 cat >>$CONFIG_STATUS <<_ACEOF
9949 configured by $0, generated by GNU Autoconf 2.57,
9950 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9952 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
9953 Free Software Foundation, Inc.
9954 This config.status script is free software; the Free Software Foundation
9955 gives unlimited permission to copy, distribute and modify it."
9960 cat >>$CONFIG_STATUS <<\_ACEOF
9961 # If no file are specified by the user, then we need to provide default
9962 # value. By we need to know if files were specified by the user.
9968 ac_option=`expr "x$1" : 'x\([^=]*\)='`
9969 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
9977 *) # This is not an option, so the user has probably given explicit
9980 ac_need_defaults=false;;
9984 # Handling of the options.
9986 cat >>$CONFIG_STATUS <<\_ACEOF
9987 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9989 --version | --vers* | -V )
9990 echo "$ac_cs_version"; exit 0 ;;
9992 # Conflict between --help and --header
9993 { { echo "$as_me:$LINENO: error: ambiguous option: $1
9994 Try \`$0 --help' for more information." >&5
9995 echo "$as_me: error: ambiguous option: $1
9996 Try \`$0 --help' for more information." >&2;}
9997 { (exit 1); exit 1; }; };;
9998 --help | --hel | -h )
9999 echo "$ac_cs_usage"; exit 0 ;;
10000 --debug | --d* | -d )
10002 --file | --fil | --fi | --f )
10004 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
10005 ac_need_defaults=false;;
10006 --header | --heade | --head | --hea )
10008 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
10009 ac_need_defaults=false;;
10010 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10011 | -silent | --silent | --silen | --sile | --sil | --si | --s)
10014 # This is an error.
10015 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
10016 Try \`$0 --help' for more information." >&5
10017 echo "$as_me: error: unrecognized option: $1
10018 Try \`$0 --help' for more information." >&2;}
10019 { (exit 1); exit 1; }; } ;;
10021 *) ac_config_targets="$ac_config_targets $1" ;;
10027 ac_configure_extra_args=
10029 if $ac_cs_silent; then
10031 ac_configure_extra_args="$ac_configure_extra_args --silent"
10035 cat >>$CONFIG_STATUS <<_ACEOF
10036 if \$ac_cs_recheck; then
10037 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10038 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10043 cat >>$CONFIG_STATUS <<_ACEOF
10045 # INIT-COMMANDS section.
10048 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10054 cat >>$CONFIG_STATUS <<\_ACEOF
10055 for ac_config_target in $ac_config_targets
10057 case "$ac_config_target" in
10058 # Handling of arguments.
10059 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
10060 "lufsd/Makefile" ) CONFIG_FILES="$CONFIG_FILES lufsd/Makefile" ;;
10061 "filesystems/Makefile" ) CONFIG_FILES="$CONFIG_FILES filesystems/Makefile" ;;
10062 "filesystems/localfs/Makefile" ) CONFIG_FILES="$CONFIG_FILES filesystems/localfs/Makefile" ;;
10063 "filesystems/locasefs/Makefile" ) CONFIG_FILES="$CONFIG_FILES filesystems/locasefs/Makefile" ;;
10064 "filesystems/sshfs/Makefile" ) CONFIG_FILES="$CONFIG_FILES filesystems/sshfs/Makefile" ;;
10065 "filesystems/ftpfs/Makefile" ) CONFIG_FILES="$CONFIG_FILES filesystems/ftpfs/Makefile" ;;
10066 "filesystems/cardfs/Makefile" ) CONFIG_FILES="$CONFIG_FILES filesystems/cardfs/Makefile" ;;
10067 "filesystems/cefs/Makefile" ) CONFIG_FILES="$CONFIG_FILES filesystems/cefs/Makefile" ;;
10068 "filesystems/cefs/asyncd/Makefile" ) CONFIG_FILES="$CONFIG_FILES filesystems/cefs/asyncd/Makefile" ;;
10069 "filesystems/gvfs/Makefile" ) CONFIG_FILES="$CONFIG_FILES filesystems/gvfs/Makefile" ;;
10070 "filesystems/gnetfs/Makefile" ) CONFIG_FILES="$CONFIG_FILES filesystems/gnetfs/Makefile" ;;
10071 "filesystems/wavfs/Makefile" ) CONFIG_FILES="$CONFIG_FILES filesystems/wavfs/Makefile" ;;
10072 "util/Makefile" ) CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
10073 "kernel/Makefile" ) CONFIG_FILES="$CONFIG_FILES kernel/Makefile" ;;
10074 "kernel/Linux/Makefile" ) CONFIG_FILES="$CONFIG_FILES kernel/Linux/Makefile" ;;
10075 "kernel/Linux/2.4/Makefile" ) CONFIG_FILES="$CONFIG_FILES kernel/Linux/2.4/Makefile" ;;
10076 "kernel/Linux/2.5/Makefile" ) CONFIG_FILES="$CONFIG_FILES kernel/Linux/2.5/Makefile" ;;
10077 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
10078 "config/Makefile" ) CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
10079 "docs/Makefile" ) CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
10080 "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
10081 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
10082 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
10083 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
10084 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10085 { (exit 1); exit 1; }; };;
10089 # If the user did not use the arguments to specify the items to instantiate,
10090 # then the envvar interface is used. Set only those that are not.
10091 # We use the long form for the default assignment because of an extremely
10092 # bizarre bug on SunOS 4.1.3.
10093 if $ac_need_defaults; then
10094 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
10095 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
10096 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
10099 # Have a temporary directory for convenience. Make it in the build tree
10100 # simply because there is no reason to put it here, and in addition,
10101 # creating and moving files from /tmp can sometimes cause problems.
10102 # Create a temporary directory, and hook for its removal unless debugging.
10105 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
10106 trap '{ (exit 1); exit 1; }' 1 2 13 15
10109 # Create a (secure) tmp directory for tmp files.
10112 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
10113 test -n "$tmp" && test -d "$tmp"
10116 tmp=./confstat$$-$RANDOM
10117 (umask 077 && mkdir $tmp)
10120 echo "$me: cannot create a temporary directory in ." >&2
10121 { (exit 1); exit 1; }
10126 cat >>$CONFIG_STATUS <<_ACEOF
10129 # CONFIG_FILES section.
10132 # No need to generate the scripts if there are no CONFIG_FILES.
10133 # This happens for instance when ./config.status config.h
10134 if test -n "\$CONFIG_FILES"; then
10135 # Protect against being on the right side of a sed subst in config.status.
10136 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
10137 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
10138 s,@SHELL@,$SHELL,;t t
10139 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
10140 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
10141 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
10142 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
10143 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
10144 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
10145 s,@exec_prefix@,$exec_prefix,;t t
10146 s,@prefix@,$prefix,;t t
10147 s,@program_transform_name@,$program_transform_name,;t t
10148 s,@bindir@,$bindir,;t t
10149 s,@sbindir@,$sbindir,;t t
10150 s,@libexecdir@,$libexecdir,;t t
10151 s,@datadir@,$datadir,;t t
10152 s,@sysconfdir@,$sysconfdir,;t t
10153 s,@sharedstatedir@,$sharedstatedir,;t t
10154 s,@localstatedir@,$localstatedir,;t t
10155 s,@libdir@,$libdir,;t t
10156 s,@includedir@,$includedir,;t t
10157 s,@oldincludedir@,$oldincludedir,;t t
10158 s,@infodir@,$infodir,;t t
10159 s,@mandir@,$mandir,;t t
10160 s,@build_alias@,$build_alias,;t t
10161 s,@host_alias@,$host_alias,;t t
10162 s,@target_alias@,$target_alias,;t t
10163 s,@DEFS@,$DEFS,;t t
10164 s,@ECHO_C@,$ECHO_C,;t t
10165 s,@ECHO_N@,$ECHO_N,;t t
10166 s,@ECHO_T@,$ECHO_T,;t t
10167 s,@LIBS@,$LIBS,;t t
10168 s,@build@,$build,;t t
10169 s,@build_cpu@,$build_cpu,;t t
10170 s,@build_vendor@,$build_vendor,;t t
10171 s,@build_os@,$build_os,;t t
10172 s,@host@,$host,;t t
10173 s,@host_cpu@,$host_cpu,;t t
10174 s,@host_vendor@,$host_vendor,;t t
10175 s,@host_os@,$host_os,;t t
10176 s,@target@,$target,;t t
10177 s,@target_cpu@,$target_cpu,;t t
10178 s,@target_vendor@,$target_vendor,;t t
10179 s,@target_os@,$target_os,;t t
10180 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
10181 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
10182 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
10183 s,@CYGPATH_W@,$CYGPATH_W,;t t
10184 s,@PACKAGE@,$PACKAGE,;t t
10185 s,@VERSION@,$VERSION,;t t
10186 s,@ACLOCAL@,$ACLOCAL,;t t
10187 s,@AUTOCONF@,$AUTOCONF,;t t
10188 s,@AUTOMAKE@,$AUTOMAKE,;t t
10189 s,@AUTOHEADER@,$AUTOHEADER,;t t
10190 s,@MAKEINFO@,$MAKEINFO,;t t
10191 s,@AMTAR@,$AMTAR,;t t
10192 s,@install_sh@,$install_sh,;t t
10193 s,@STRIP@,$STRIP,;t t
10194 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
10195 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
10197 s,@SET_MAKE@,$SET_MAKE,;t t
10198 s,@am__leading_dot@,$am__leading_dot,;t t
10199 s,@MODV_FLAGS@,$MODV_FLAGS,;t t
10200 s,@KERNEL_DIR@,$KERNEL_DIR,;t t
10201 s,@MODULES_DIR@,$MODULES_DIR,;t t
10202 s,@KERNEL_HDR@,$KERNEL_HDR,;t t
10203 s,@OS_DIR@,$OS_DIR,;t t
10204 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
10205 s,@KDEBUG_FLAGS@,$KDEBUG_FLAGS,;t t
10206 s,@AUTOFS_INSTALL@,$AUTOFS_INSTALL,;t t
10207 s,@LUFS_SUID@,$LUFS_SUID,;t t
10209 s,@CFLAGS@,$CFLAGS,;t t
10210 s,@LDFLAGS@,$LDFLAGS,;t t
10211 s,@CPPFLAGS@,$CPPFLAGS,;t t
10212 s,@ac_ct_CC@,$ac_ct_CC,;t t
10213 s,@EXEEXT@,$EXEEXT,;t t
10214 s,@OBJEXT@,$OBJEXT,;t t
10215 s,@DEPDIR@,$DEPDIR,;t t
10216 s,@am__include@,$am__include,;t t
10217 s,@am__quote@,$am__quote,;t t
10218 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
10219 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
10220 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
10221 s,@CCDEPMODE@,$CCDEPMODE,;t t
10222 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
10223 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
10226 s,@CXXFLAGS@,$CXXFLAGS,;t t
10227 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
10228 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
10229 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
10230 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
10231 s,@LN_S@,$LN_S,;t t
10232 s,@ECHO@,$ECHO,;t t
10233 s,@RANLIB@,$RANLIB,;t t
10234 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
10235 s,@EGREP@,$EGREP,;t t
10236 s,@LIBTOOL@,$LIBTOOL,;t t
10237 s,@SSHPROG@,$SSHPROG,;t t
10238 s,@GCONF@,$GCONF,;t t
10239 s,@GVFSCONF@,$GVFSCONF,;t t
10240 s,@GVFS_LDADD@,$GVFS_LDADD,;t t
10241 s,@GVFS_CFLAGS@,$GVFS_CFLAGS,;t t
10242 s,@define_has_libchipcard@,$define_has_libchipcard,;t t
10243 s,@LIBCHIPCARD_LIB@,$LIBCHIPCARD_LIB,;t t
10244 s,@LIBCHIPCARD_INCLUDES@,$LIBCHIPCARD_INCLUDES,;t t
10245 s,@opt_fs@,$opt_fs,;t t
10246 s,@all_includes@,$all_includes,;t t
10247 s,@all_libraries@,$all_libraries,;t t
10248 s,@LIBOBJS@,$LIBOBJS,;t t
10249 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
10254 cat >>$CONFIG_STATUS <<\_ACEOF
10255 # Split the substitutions into bite-sized pieces for seds with
10256 # small command number limits, like on Digital OSF/1 and HP-UX.
10257 ac_max_sed_lines=48
10258 ac_sed_frag=1 # Number of current file.
10259 ac_beg=1 # First line for current file.
10260 ac_end=$ac_max_sed_lines # Line after last line for current file.
10263 while $ac_more_lines; do
10264 if test $ac_beg -gt 1; then
10265 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
10267 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
10269 if test ! -s $tmp/subs.frag; then
10270 ac_more_lines=false
10272 # The purpose of the label and of the branching condition is to
10273 # speed up the sed processing (if there are no `@' at all, there
10274 # is no need to browse any of the substitutions).
10275 # These are the two extra sed commands mentioned above.
10277 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
10278 if test -z "$ac_sed_cmds"; then
10279 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
10281 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
10283 ac_sed_frag=`expr $ac_sed_frag + 1`
10285 ac_end=`expr $ac_end + $ac_max_sed_lines`
10288 if test -z "$ac_sed_cmds"; then
10291 fi # test -n "$CONFIG_FILES"
10294 cat >>$CONFIG_STATUS <<\_ACEOF
10295 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
10296 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10298 - | *:- | *:-:* ) # input from stdin
10300 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10301 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10302 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10303 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10304 * ) ac_file_in=$ac_file.in ;;
10307 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
10308 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
10309 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10310 X"$ac_file" : 'X\(//\)[^/]' \| \
10311 X"$ac_file" : 'X\(//\)$' \| \
10312 X"$ac_file" : 'X\(/\)' \| \
10313 . : '\(.\)' 2>/dev/null ||
10315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10316 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10317 /^X\(\/\/\)$/{ s//\1/; q; }
10318 /^X\(\/\).*/{ s//\1/; q; }
10320 { if $as_mkdir_p; then
10325 while test ! -d "$as_dir"; do
10326 as_dirs="$as_dir $as_dirs"
10327 as_dir=`(dirname "$as_dir") 2>/dev/null ||
10328 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10329 X"$as_dir" : 'X\(//\)[^/]' \| \
10330 X"$as_dir" : 'X\(//\)$' \| \
10331 X"$as_dir" : 'X\(/\)' \| \
10332 . : '\(.\)' 2>/dev/null ||
10334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10335 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10336 /^X\(\/\/\)$/{ s//\1/; q; }
10337 /^X\(\/\).*/{ s//\1/; q; }
10340 test ! -n "$as_dirs" || mkdir $as_dirs
10341 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10342 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10343 { (exit 1); exit 1; }; }; }
10347 if test "$ac_dir" != .; then
10348 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10349 # A "../" for each directory in $ac_dir_suffix.
10350 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
10352 ac_dir_suffix= ac_top_builddir=
10356 .) # No --srcdir option. We are building in place.
10358 if test -z "$ac_top_builddir"; then
10361 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
10363 [\\/]* | ?:[\\/]* ) # Absolute path.
10364 ac_srcdir=$srcdir$ac_dir_suffix;
10365 ac_top_srcdir=$srcdir ;;
10366 *) # Relative path.
10367 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
10368 ac_top_srcdir=$ac_top_builddir$srcdir ;;
10370 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
10372 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
10373 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
10374 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
10375 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
10379 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10380 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
10383 if test x"$ac_file" != x-; then
10384 { echo "$as_me:$LINENO: creating $ac_file" >&5
10385 echo "$as_me: creating $ac_file" >&6;}
10388 # Let's still pretend it is `configure' which instantiates (i.e., don't
10389 # use $as_me), people would be surprised to read:
10390 # /* config.h. Generated by config.status. */
10391 if test x"$ac_file" = x-; then
10394 configure_input="$ac_file. "
10396 configure_input=$configure_input"Generated from `echo $ac_file_in |
10397 sed 's,.*/,,'` by configure."
10399 # First look for the input files in the build tree, otherwise in the
10401 ac_file_inputs=`IFS=:
10402 for f in $ac_file_in; do
10404 -) echo $tmp/stdin ;;
10406 # Absolute (can't be DOS-style, as IFS=:)
10407 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10408 echo "$as_me: error: cannot find input file: $f" >&2;}
10409 { (exit 1); exit 1; }; }
10412 if test -f "$f"; then
10415 elif test -f "$srcdir/$f"; then
10420 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10421 echo "$as_me: error: cannot find input file: $f" >&2;}
10422 { (exit 1); exit 1; }; }
10425 done` || { (exit 1); exit 1; }
10427 cat >>$CONFIG_STATUS <<_ACEOF
10431 cat >>$CONFIG_STATUS <<\_ACEOF
10433 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10434 s,@configure_input@,$configure_input,;t t
10435 s,@srcdir@,$ac_srcdir,;t t
10436 s,@abs_srcdir@,$ac_abs_srcdir,;t t
10437 s,@top_srcdir@,$ac_top_srcdir,;t t
10438 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
10439 s,@builddir@,$ac_builddir,;t t
10440 s,@abs_builddir@,$ac_abs_builddir,;t t
10441 s,@top_builddir@,$ac_top_builddir,;t t
10442 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
10443 s,@INSTALL@,$ac_INSTALL,;t t
10444 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
10446 if test x"$ac_file" != x-; then
10447 mv $tmp/out $ac_file
10455 cat >>$CONFIG_STATUS <<\_ACEOF
10458 # CONFIG_HEADER section.
10461 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
10462 # NAME is the cpp macro being defined and VALUE is the value it is being given.
10464 # ac_d sets the value in "#define NAME VALUE" lines.
10465 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
10466 ac_dB='[ ].*$,\1#\2'
10469 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
10470 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
10471 ac_uB='$,\1#\2define\3'
10475 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
10476 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10478 - | *:- | *:-:* ) # input from stdin
10480 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10481 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10482 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10483 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10484 * ) ac_file_in=$ac_file.in ;;
10487 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
10488 echo "$as_me: creating $ac_file" >&6;}
10490 # First look for the input files in the build tree, otherwise in the
10492 ac_file_inputs=`IFS=:
10493 for f in $ac_file_in; do
10495 -) echo $tmp/stdin ;;
10497 # Absolute (can't be DOS-style, as IFS=:)
10498 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10499 echo "$as_me: error: cannot find input file: $f" >&2;}
10500 { (exit 1); exit 1; }; }
10503 if test -f "$f"; then
10506 elif test -f "$srcdir/$f"; then
10511 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10512 echo "$as_me: error: cannot find input file: $f" >&2;}
10513 { (exit 1); exit 1; }; }
10516 done` || { (exit 1); exit 1; }
10517 # Remove the trailing spaces.
10518 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
10522 # Transform confdefs.h into two sed scripts, `conftest.defines' and
10523 # `conftest.undefs', that substitutes the proper values into
10524 # config.h.in to produce config.h. The first handles `#define'
10525 # templates, and the second `#undef' templates.
10526 # And first: Protect against being on the right side of a sed subst in
10527 # config.status. Protect against being in an unquoted here document
10528 # in config.status.
10529 rm -f conftest.defines conftest.undefs
10530 # Using a here document instead of a string reduces the quoting nightmare.
10531 # Putting comments in sed scripts is not portable.
10533 # `end' is used to avoid that the second main sed command (meant for
10534 # 0-ary CPP macros) applies to n-ary macro definitions.
10535 # See the Autoconf documentation for `clear'.
10536 cat >confdef2sed.sed <<\_ACEOF
10541 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
10543 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
10546 # If some macros were called several times there might be several times
10547 # the same #defines, which is useless. Nevertheless, we may not want to
10548 # sort them, since we want the *last* AC-DEFINE to be honored.
10549 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
10550 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
10551 rm -f confdef2sed.sed
10553 # This sed command replaces #undef with comments. This is necessary, for
10554 # example, in the case of _POSIX_SOURCE, which is predefined and required
10555 # on some systems where configure will not decide to define it.
10556 cat >>conftest.undefs <<\_ACEOF
10557 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
10560 # Break up conftest.defines because some shells have a limit on the size
10561 # of here documents, and old seds have small limits too (100 cmds).
10562 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
10563 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
10564 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
10565 echo ' :' >>$CONFIG_STATUS
10566 rm -f conftest.tail
10567 while grep . conftest.defines >/dev/null
10569 # Write a limited-size here document to $tmp/defines.sed.
10570 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
10571 # Speed up: don't consider the non `#define' lines.
10572 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
10573 # Work around the forget-to-reset-the-flag bug.
10574 echo 't clr' >>$CONFIG_STATUS
10575 echo ': clr' >>$CONFIG_STATUS
10576 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
10578 sed -f $tmp/defines.sed $tmp/in >$tmp/out
10580 mv $tmp/out $tmp/in
10582 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
10583 rm -f conftest.defines
10584 mv conftest.tail conftest.defines
10586 rm -f conftest.defines
10587 echo ' fi # grep' >>$CONFIG_STATUS
10588 echo >>$CONFIG_STATUS
10590 # Break up conftest.undefs because some shells have a limit on the size
10591 # of here documents, and old seds have small limits too (100 cmds).
10592 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
10593 rm -f conftest.tail
10594 while grep . conftest.undefs >/dev/null
10596 # Write a limited-size here document to $tmp/undefs.sed.
10597 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
10598 # Speed up: don't consider the non `#undef'
10599 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
10600 # Work around the forget-to-reset-the-flag bug.
10601 echo 't clr' >>$CONFIG_STATUS
10602 echo ': clr' >>$CONFIG_STATUS
10603 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
10605 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
10607 mv $tmp/out $tmp/in
10609 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
10610 rm -f conftest.undefs
10611 mv conftest.tail conftest.undefs
10613 rm -f conftest.undefs
10615 cat >>$CONFIG_STATUS <<\_ACEOF
10616 # Let's still pretend it is `configure' which instantiates (i.e., don't
10617 # use $as_me), people would be surprised to read:
10618 # /* config.h. Generated by config.status. */
10619 if test x"$ac_file" = x-; then
10620 echo "/* Generated by configure. */" >$tmp/config.h
10622 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
10624 cat $tmp/in >>$tmp/config.h
10626 if test x"$ac_file" != x-; then
10627 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
10628 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10629 echo "$as_me: $ac_file is unchanged" >&6;}
10631 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
10632 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10633 X"$ac_file" : 'X\(//\)[^/]' \| \
10634 X"$ac_file" : 'X\(//\)$' \| \
10635 X"$ac_file" : 'X\(/\)' \| \
10636 . : '\(.\)' 2>/dev/null ||
10638 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10639 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10640 /^X\(\/\/\)$/{ s//\1/; q; }
10641 /^X\(\/\).*/{ s//\1/; q; }
10643 { if $as_mkdir_p; then
10648 while test ! -d "$as_dir"; do
10649 as_dirs="$as_dir $as_dirs"
10650 as_dir=`(dirname "$as_dir") 2>/dev/null ||
10651 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10652 X"$as_dir" : 'X\(//\)[^/]' \| \
10653 X"$as_dir" : 'X\(//\)$' \| \
10654 X"$as_dir" : 'X\(/\)' \| \
10655 . : '\(.\)' 2>/dev/null ||
10657 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10658 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10659 /^X\(\/\/\)$/{ s//\1/; q; }
10660 /^X\(\/\).*/{ s//\1/; q; }
10663 test ! -n "$as_dirs" || mkdir $as_dirs
10664 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10665 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10666 { (exit 1); exit 1; }; }; }
10669 mv $tmp/config.h $ac_file
10673 rm -f $tmp/config.h
10675 # Compute $ac_file's index in $config_headers.
10677 for _am_header in $config_headers :; do
10678 case $_am_header in
10679 $ac_file | $ac_file:* )
10682 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10685 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
10686 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10687 X$ac_file : 'X\(//\)[^/]' \| \
10688 X$ac_file : 'X\(//\)$' \| \
10689 X$ac_file : 'X\(/\)' \| \
10690 . : '\(.\)' 2>/dev/null ||
10692 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10693 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10694 /^X\(\/\/\)$/{ s//\1/; q; }
10695 /^X\(\/\).*/{ s//\1/; q; }
10696 s/.*/./; q'`/stamp-h$_am_stamp_count
10699 cat >>$CONFIG_STATUS <<\_ACEOF
10702 # CONFIG_COMMANDS section.
10704 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
10705 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
10706 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
10707 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
10708 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10709 X"$ac_dest" : 'X\(//\)[^/]' \| \
10710 X"$ac_dest" : 'X\(//\)$' \| \
10711 X"$ac_dest" : 'X\(/\)' \| \
10712 . : '\(.\)' 2>/dev/null ||
10714 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10715 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10716 /^X\(\/\/\)$/{ s//\1/; q; }
10717 /^X\(\/\).*/{ s//\1/; q; }
10721 if test "$ac_dir" != .; then
10722 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10723 # A "../" for each directory in $ac_dir_suffix.
10724 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
10726 ac_dir_suffix= ac_top_builddir=
10730 .) # No --srcdir option. We are building in place.
10732 if test -z "$ac_top_builddir"; then
10735 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
10737 [\\/]* | ?:[\\/]* ) # Absolute path.
10738 ac_srcdir=$srcdir$ac_dir_suffix;
10739 ac_top_srcdir=$srcdir ;;
10740 *) # Relative path.
10741 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
10742 ac_top_srcdir=$ac_top_builddir$srcdir ;;
10744 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
10746 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
10747 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
10748 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
10749 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
10752 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
10753 echo "$as_me: executing $ac_dest commands" >&6;}
10755 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
10756 # Strip MF so we end up with the name of the file.
10757 mf=`echo "$mf" | sed -e 's/:.*$//'`
10758 # Check whether this is an Automake generated Makefile or not.
10759 # We used to match only the files named `Makefile.in', but
10760 # some people rename them; so instead we look at the file content.
10761 # Grep'ing the first line is not enough: some people post-process
10762 # each Makefile.in and add a new line on top of each file to say so.
10763 # So let's grep whole file.
10764 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
10765 dirpart=`(dirname "$mf") 2>/dev/null ||
10766 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10767 X"$mf" : 'X\(//\)[^/]' \| \
10768 X"$mf" : 'X\(//\)$' \| \
10769 X"$mf" : 'X\(/\)' \| \
10770 . : '\(.\)' 2>/dev/null ||
10772 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10773 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10774 /^X\(\/\/\)$/{ s//\1/; q; }
10775 /^X\(\/\).*/{ s//\1/; q; }
10780 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
10781 # Extract the definition of DEP_FILES from the Makefile without
10783 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
10784 test -z "$DEPDIR" && continue
10785 # When using ansi2knr, U may be empty or an underscore; expand it
10786 U=`sed -n -e '/^U = / s///p' < "$mf"`
10787 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
10788 # We invoke sed twice because it is the simplest approach to
10789 # changing $(DEPDIR) to its actual value in the expansion.
10790 for file in `sed -n -e '
10791 /^DEP_FILES = .*\\\\$/ {
10800 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
10801 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10802 # Make sure the directory exists.
10803 test -f "$dirpart/$file" && continue
10804 fdir=`(dirname "$file") 2>/dev/null ||
10805 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10806 X"$file" : 'X\(//\)[^/]' \| \
10807 X"$file" : 'X\(//\)$' \| \
10808 X"$file" : 'X\(/\)' \| \
10809 . : '\(.\)' 2>/dev/null ||
10811 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10812 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10813 /^X\(\/\/\)$/{ s//\1/; q; }
10814 /^X\(\/\).*/{ s//\1/; q; }
10816 { if $as_mkdir_p; then
10817 mkdir -p $dirpart/$fdir
10819 as_dir=$dirpart/$fdir
10821 while test ! -d "$as_dir"; do
10822 as_dirs="$as_dir $as_dirs"
10823 as_dir=`(dirname "$as_dir") 2>/dev/null ||
10824 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10825 X"$as_dir" : 'X\(//\)[^/]' \| \
10826 X"$as_dir" : 'X\(//\)$' \| \
10827 X"$as_dir" : 'X\(/\)' \| \
10828 . : '\(.\)' 2>/dev/null ||
10830 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10831 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10832 /^X\(\/\/\)$/{ s//\1/; q; }
10833 /^X\(\/\).*/{ s//\1/; q; }
10836 test ! -n "$as_dirs" || mkdir $as_dirs
10837 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
10838 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
10839 { (exit 1); exit 1; }; }; }
10841 # echo "creating $dirpart/$file"
10842 echo '# dummy' > "$dirpart/$file"
10850 cat >>$CONFIG_STATUS <<\_ACEOF
10852 { (exit 0); exit 0; }
10854 chmod +x $CONFIG_STATUS
10855 ac_clean_files=$ac_clean_files_save
10858 # configure is writing to config.log, and then calls config.status.
10859 # config.status does its own redirection, appending to config.log.
10860 # Unfortunately, on DOS this fails, as config.log is still kept open
10861 # by configure, so config.status won't be able to write to it; its
10862 # output is simply discarded. So we exec the FD to /dev/null,
10863 # effectively closing config.log, so it can be properly (re)opened and
10864 # appended to by config.status. When coming back to configure, we
10865 # need to make the FD available again.
10866 if test "$no_create" != yes; then
10868 ac_config_status_args=
10869 test "$silent" = yes &&
10870 ac_config_status_args="$ac_config_status_args --quiet"
10872 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10874 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10875 # would make configure fail if this is the last instruction.
10876 $ac_cs_success || { (exit 1); exit 1; }
10880 echo "###############################################################################"
10881 echo " supported filesystems: $opt_fs"
10882 echo -n " suid files: "
10883 if test $LUFS_SUID; then echo "lufsmnt & lufsumount."; else echo "none."; fi
10884 echo "###############################################################################"