2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for util-vserver 0.30.208.
5 # Report bugs to <enrico.scholz@informatik.tu-chemnitz.de>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 DUALCASE=1; export DUALCASE # for MKS sh
26 # Support unset when possible.
27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196 if expr a : '\(a\)' >/dev/null 2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.file conf$$ 2>/dev/null; then
218 rm -f conf$$ conf$$.exe conf$$.file
220 if mkdir -p . 2>/dev/null; then
223 test -d ./-p && rmdir ./-p
227 as_executable_p="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # Check that we are running under the correct shell.
248 SHELL=${CONFIG_SHELL-/bin/sh}
252 # Remove one level of quotation (which was required for Make).
253 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
258 if test "X$1" = X--no-reexec; then
259 # Discard the --no-reexec flag, and continue.
261 elif test "X$1" = X--fallback-echo; then
262 # Avoid inline document here, it may be left over
264 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
265 # Yippee, $echo works!
268 # Restart under the correct shell.
269 exec $SHELL "$0" --no-reexec ${1+"$@"}
272 if test "X$1" = X--fallback-echo; then
273 # used as fallback echo
281 # The HP-UX ksh and POSIX shell print the target directory to stdout
283 if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
285 if test -z "$ECHO"; then
286 if test "X${echo_test_string+set}" != Xset; then
287 # find a string as large as possible, as long as the shell can cope with it
288 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
289 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
290 if (echo_test_string="`eval $cmd`") 2>/dev/null &&
291 echo_test_string="`eval $cmd`" &&
292 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
299 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
300 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
301 test "X$echo_testing_string" = "X$echo_test_string"; then
304 # The Solaris, AIX, and Digital Unix default echo programs unquote
305 # backslashes. This makes it impossible to quote backslashes using
306 # echo "$something" | sed 's/\\/\\\\/g'
308 # So, first we look for a working echo in the user's PATH.
310 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
311 for dir in $PATH /usr/ucb; do
313 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
314 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
315 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
316 test "X$echo_testing_string" = "X$echo_test_string"; then
323 if test "X$echo" = Xecho; then
324 # We didn't find a better echo, so look for alternatives.
325 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
326 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
327 test "X$echo_testing_string" = "X$echo_test_string"; then
328 # This shell has a builtin print -r that does the trick.
330 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
331 test "X$CONFIG_SHELL" != X/bin/ksh; then
332 # If we have ksh, try running configure again with it.
333 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
334 export ORIGINAL_CONFIG_SHELL
335 CONFIG_SHELL=/bin/ksh
337 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
341 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
342 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
343 test "X$echo_testing_string" = "X$echo_test_string"; then
346 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
347 test "X$echo_testing_string" = 'X\t' &&
348 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
349 test "X$echo_testing_string" = "X$echo_test_string"; then
350 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
352 SHELL="$CONFIG_SHELL"
354 echo="$CONFIG_SHELL $0 --fallback-echo"
355 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
356 test "X$echo_testing_string" = 'X\t' &&
357 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
358 test "X$echo_testing_string" = "X$echo_test_string"; then
359 echo="$CONFIG_SHELL $0 --fallback-echo"
361 # maybe with a smaller string...
364 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
365 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
372 if test "$prev" != 'sed 50q "$0"'; then
373 echo_test_string=`eval $prev`
374 export echo_test_string
375 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
377 # Oops. We lost completely, so just stick with echo.
386 # Copy echo and quote the copy suitably for passing to libtool from
387 # the Makefile, instead of quoting the original, which is used later.
389 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
390 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
396 tagnames=${tagnames+${tagnames},}CXX
398 tagnames=${tagnames+${tagnames},}F77
401 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
402 # so uname gets run too.
403 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
410 ac_default_prefix=/usr/local
411 ac_config_libobj_dir=.
416 SHELL=${CONFIG_SHELL-/bin/sh}
418 # Maximum number of lines to put in a shell here document.
419 # This variable seems obsolete. It should probably be removed, and
420 # only ac_max_sed_lines should be used.
421 : ${ac_max_here_lines=38}
423 # Identity of this package.
424 PACKAGE_NAME='util-vserver'
425 PACKAGE_TARNAME='util-vserver'
426 PACKAGE_VERSION='0.30.208'
427 PACKAGE_STRING='util-vserver 0.30.208'
428 PACKAGE_BUGREPORT='enrico.scholz@informatik.tu-chemnitz.de'
430 ac_unique_file="src/capchroot.c"
431 # Factoring default headers for most tests.
432 ac_includes_default="\
435 # include <sys/types.h>
438 # include <sys/stat.h>
449 # if !STDC_HEADERS && HAVE_MEMORY_H
455 # include <strings.h>
458 # include <inttypes.h>
468 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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os GPG_KEY CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LN_S ENSC_HAVE_CXX_COMPILER_TRUE ENSC_HAVE_CXX_COMPILER_FALSE ENSC_HAVE_C99_COMPILER_TRUE ENSC_HAVE_C99_COMPILER_FALSE ENSC_PATHPROG_SED CAT CHOWN CMP CP DIRNAME EGREP ENV GREP LN MKDIR MKFIFO MKTEMP MOUNT MV NICE PS RM RMDIR SED SH TAC TAR TOUCH TTY UMOUNT WC IP IPTABLES MODPROBE NAMEIF NOHUP RMMOD VCONFIG WGET DOXYGEN XSLTP XSLTPROC HAVE_XSLTP_TRUE HAVE_XSLTP_FALSE HAVE_XSLTPROC_TRUE HAVE_XSLTPROC_FALSE LIB_DEBUG_CPPFLAGS ENSC_USE_EXPENSIVE_TESTS initrddir RELEASE_CPPFLAGS DIET DIETFLAGS USE_DIETLIBC_TRUE USE_DIETLIBC_FALSE USE_DIETLIBC_COMPAT_TRUE USE_DIETLIBC_COMPAT_FALSE ENSC_USE_DIETLIBC_TRUE ENSC_USE_DIETLIBC_FALSE ENSC_USE_GLIBC_TRUE ENSC_USE_GLIBC_FALSE ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL kernelincludedir vserverdir CVS2CL_TAG CVS2CL HAVE_CVS2CL_TRUE HAVE_CVS2CL_FALSE RCS2LOG HAVE_RCS2LOG_TRUE HAVE_RCS2LOG_FALSE ENSC_ENABLE_INTERNAL_HEADERS_TRUE ENSC_ENABLE_INTERNAL_HEADERS_FALSE ENSC_HAVE_BEECRYPT_TRUE ENSC_HAVE_BEECRYPT_FALSE ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE LIBOBJS LTLIBOBJS'
471 # Initialize some variables set by options.
473 ac_init_version=false
474 # The variables have the same names as the options, with
475 # dashes changed to underlines.
483 program_transform_name=s,x,x,
491 # Installation directory options.
492 # These are left unexpanded so users can "make install exec_prefix=/foo"
493 # and all the variables that are supposed to be based on exec_prefix
494 # by default will actually change.
495 # Use braces instead of parens because sh, perl, etc. also accept them.
496 bindir='${exec_prefix}/bin'
497 sbindir='${exec_prefix}/sbin'
498 libexecdir='${exec_prefix}/libexec'
499 datadir='${prefix}/share'
500 sysconfdir='${prefix}/etc'
501 sharedstatedir='${prefix}/com'
502 localstatedir='${prefix}/var'
503 libdir='${exec_prefix}/lib'
504 includedir='${prefix}/include'
505 oldincludedir='/usr/include'
506 infodir='${prefix}/info'
507 mandir='${prefix}/man'
512 # If the previous option needs an argument, assign it.
513 if test -n "$ac_prev"; then
514 eval "$ac_prev=\$ac_option"
519 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
521 # Accept the important Cygnus configure options, so we can diagnose typos.
525 -bindir | --bindir | --bindi | --bind | --bin | --bi)
527 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
530 -build | --build | --buil | --bui | --bu)
531 ac_prev=build_alias ;;
532 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
533 build_alias=$ac_optarg ;;
535 -cache-file | --cache-file | --cache-fil | --cache-fi \
536 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
537 ac_prev=cache_file ;;
538 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
539 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
540 cache_file=$ac_optarg ;;
543 cache_file=config.cache ;;
545 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
547 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
549 datadir=$ac_optarg ;;
551 -disable-* | --disable-*)
552 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
553 # Reject names that are not valid shell variable names.
554 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
555 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
556 { (exit 1); exit 1; }; }
557 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
558 eval "enable_$ac_feature=no" ;;
560 -enable-* | --enable-*)
561 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
562 # Reject names that are not valid shell variable names.
563 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
564 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
565 { (exit 1); exit 1; }; }
566 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
568 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
571 eval "enable_$ac_feature='$ac_optarg'" ;;
573 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
574 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
575 | --exec | --exe | --ex)
576 ac_prev=exec_prefix ;;
577 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
578 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
579 | --exec=* | --exe=* | --ex=*)
580 exec_prefix=$ac_optarg ;;
582 -gas | --gas | --ga | --g)
583 # Obsolete; use --with-gas.
586 -help | --help | --hel | --he | -h)
588 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
589 ac_init_help=recursive ;;
590 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
591 ac_init_help=short ;;
593 -host | --host | --hos | --ho)
594 ac_prev=host_alias ;;
595 -host=* | --host=* | --hos=* | --ho=*)
596 host_alias=$ac_optarg ;;
598 -includedir | --includedir | --includedi | --included | --include \
599 | --includ | --inclu | --incl | --inc)
600 ac_prev=includedir ;;
601 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
602 | --includ=* | --inclu=* | --incl=* | --inc=*)
603 includedir=$ac_optarg ;;
605 -infodir | --infodir | --infodi | --infod | --info | --inf)
607 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
608 infodir=$ac_optarg ;;
610 -libdir | --libdir | --libdi | --libd)
612 -libdir=* | --libdir=* | --libdi=* | --libd=*)
615 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
616 | --libexe | --libex | --libe)
617 ac_prev=libexecdir ;;
618 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
619 | --libexe=* | --libex=* | --libe=*)
620 libexecdir=$ac_optarg ;;
622 -localstatedir | --localstatedir | --localstatedi | --localstated \
623 | --localstate | --localstat | --localsta | --localst \
624 | --locals | --local | --loca | --loc | --lo)
625 ac_prev=localstatedir ;;
626 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
627 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
628 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
629 localstatedir=$ac_optarg ;;
631 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
633 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
637 # Obsolete; use --without-fp.
640 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
641 | --no-cr | --no-c | -n)
644 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
645 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
648 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
649 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
650 | --oldin | --oldi | --old | --ol | --o)
651 ac_prev=oldincludedir ;;
652 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
653 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
654 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
655 oldincludedir=$ac_optarg ;;
657 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
659 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
662 -program-prefix | --program-prefix | --program-prefi | --program-pref \
663 | --program-pre | --program-pr | --program-p)
664 ac_prev=program_prefix ;;
665 -program-prefix=* | --program-prefix=* | --program-prefi=* \
666 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
667 program_prefix=$ac_optarg ;;
669 -program-suffix | --program-suffix | --program-suffi | --program-suff \
670 | --program-suf | --program-su | --program-s)
671 ac_prev=program_suffix ;;
672 -program-suffix=* | --program-suffix=* | --program-suffi=* \
673 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
674 program_suffix=$ac_optarg ;;
676 -program-transform-name | --program-transform-name \
677 | --program-transform-nam | --program-transform-na \
678 | --program-transform-n | --program-transform- \
679 | --program-transform | --program-transfor \
680 | --program-transfo | --program-transf \
681 | --program-trans | --program-tran \
682 | --progr-tra | --program-tr | --program-t)
683 ac_prev=program_transform_name ;;
684 -program-transform-name=* | --program-transform-name=* \
685 | --program-transform-nam=* | --program-transform-na=* \
686 | --program-transform-n=* | --program-transform-=* \
687 | --program-transform=* | --program-transfor=* \
688 | --program-transfo=* | --program-transf=* \
689 | --program-trans=* | --program-tran=* \
690 | --progr-tra=* | --program-tr=* | --program-t=*)
691 program_transform_name=$ac_optarg ;;
693 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
694 | -silent | --silent | --silen | --sile | --sil)
697 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
699 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
701 sbindir=$ac_optarg ;;
703 -sharedstatedir | --sharedstatedir | --sharedstatedi \
704 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
705 | --sharedst | --shareds | --shared | --share | --shar \
707 ac_prev=sharedstatedir ;;
708 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
709 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
710 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
712 sharedstatedir=$ac_optarg ;;
714 -site | --site | --sit)
716 -site=* | --site=* | --sit=*)
719 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
721 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
724 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
725 | --syscon | --sysco | --sysc | --sys | --sy)
726 ac_prev=sysconfdir ;;
727 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
728 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
729 sysconfdir=$ac_optarg ;;
731 -target | --target | --targe | --targ | --tar | --ta | --t)
732 ac_prev=target_alias ;;
733 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
734 target_alias=$ac_optarg ;;
736 -v | -verbose | --verbose | --verbos | --verbo | --verb)
739 -version | --version | --versio | --versi | --vers | -V)
743 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
744 # Reject names that are not valid shell variable names.
745 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
746 { echo "$as_me: error: invalid package name: $ac_package" >&2
747 { (exit 1); exit 1; }; }
748 ac_package=`echo $ac_package| sed 's/-/_/g'`
750 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
753 eval "with_$ac_package='$ac_optarg'" ;;
755 -without-* | --without-*)
756 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
757 # Reject names that are not valid shell variable names.
758 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
759 { echo "$as_me: error: invalid package name: $ac_package" >&2
760 { (exit 1); exit 1; }; }
761 ac_package=`echo $ac_package | sed 's/-/_/g'`
762 eval "with_$ac_package=no" ;;
765 # Obsolete; use --with-x.
768 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
769 | --x-incl | --x-inc | --x-in | --x-i)
770 ac_prev=x_includes ;;
771 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
772 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
773 x_includes=$ac_optarg ;;
775 -x-libraries | --x-libraries | --x-librarie | --x-librari \
776 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
777 ac_prev=x_libraries ;;
778 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
779 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
780 x_libraries=$ac_optarg ;;
782 -*) { echo "$as_me: error: unrecognized option: $ac_option
783 Try \`$0 --help' for more information." >&2
784 { (exit 1); exit 1; }; }
788 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
789 # Reject names that are not valid shell variable names.
790 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
791 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
792 { (exit 1); exit 1; }; }
793 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
794 eval "$ac_envvar='$ac_optarg'"
798 # FIXME: should be removed in autoconf 3.0.
799 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
800 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
801 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
802 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
808 if test -n "$ac_prev"; then
809 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
810 { echo "$as_me: error: missing argument to $ac_option" >&2
811 { (exit 1); exit 1; }; }
814 # Be sure to have absolute paths.
815 for ac_var in exec_prefix prefix
817 eval ac_val=$`echo $ac_var`
819 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
820 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
821 { (exit 1); exit 1; }; };;
825 # Be sure to have absolute paths.
826 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
827 localstatedir libdir includedir oldincludedir infodir mandir
829 eval ac_val=$`echo $ac_var`
831 [\\/$]* | ?:[\\/]* ) ;;
832 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
833 { (exit 1); exit 1; }; };;
837 # There might be people who depend on the old broken behavior: `$host'
838 # used to hold the argument of --host etc.
839 # FIXME: To remove some day.
844 # FIXME: To remove some day.
845 if test "x$host_alias" != x; then
846 if test "x$build_alias" = x; then
847 cross_compiling=maybe
848 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
849 If a cross compiler is detected then cross compile mode will be used." >&2
850 elif test "x$build_alias" != "x$host_alias"; then
856 test -n "$host_alias" && ac_tool_prefix=$host_alias-
858 test "$silent" = yes && exec 6>/dev/null
861 # Find the source files, if location was not specified.
862 if test -z "$srcdir"; then
863 ac_srcdir_defaulted=yes
864 # Try the directory containing this script, then its parent.
865 ac_confdir=`(dirname "$0") 2>/dev/null ||
866 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
867 X"$0" : 'X\(//\)[^/]' \| \
868 X"$0" : 'X\(//\)$' \| \
869 X"$0" : 'X\(/\)' \| \
870 . : '\(.\)' 2>/dev/null ||
872 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
873 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
874 /^X\(\/\/\)$/{ s//\1/; q; }
875 /^X\(\/\).*/{ s//\1/; q; }
878 if test ! -r $srcdir/$ac_unique_file; then
882 ac_srcdir_defaulted=no
884 if test ! -r $srcdir/$ac_unique_file; then
885 if test "$ac_srcdir_defaulted" = yes; then
886 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
887 { (exit 1); exit 1; }; }
889 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
890 { (exit 1); exit 1; }; }
893 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
894 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
895 { (exit 1); exit 1; }; }
896 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
897 ac_env_build_alias_set=${build_alias+set}
898 ac_env_build_alias_value=$build_alias
899 ac_cv_env_build_alias_set=${build_alias+set}
900 ac_cv_env_build_alias_value=$build_alias
901 ac_env_host_alias_set=${host_alias+set}
902 ac_env_host_alias_value=$host_alias
903 ac_cv_env_host_alias_set=${host_alias+set}
904 ac_cv_env_host_alias_value=$host_alias
905 ac_env_target_alias_set=${target_alias+set}
906 ac_env_target_alias_value=$target_alias
907 ac_cv_env_target_alias_set=${target_alias+set}
908 ac_cv_env_target_alias_value=$target_alias
909 ac_env_CXX_set=${CXX+set}
910 ac_env_CXX_value=$CXX
911 ac_cv_env_CXX_set=${CXX+set}
912 ac_cv_env_CXX_value=$CXX
913 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
914 ac_env_CXXFLAGS_value=$CXXFLAGS
915 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
916 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
917 ac_env_LDFLAGS_set=${LDFLAGS+set}
918 ac_env_LDFLAGS_value=$LDFLAGS
919 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
920 ac_cv_env_LDFLAGS_value=$LDFLAGS
921 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
922 ac_env_CPPFLAGS_value=$CPPFLAGS
923 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
924 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
925 ac_env_CC_set=${CC+set}
927 ac_cv_env_CC_set=${CC+set}
928 ac_cv_env_CC_value=$CC
929 ac_env_CFLAGS_set=${CFLAGS+set}
930 ac_env_CFLAGS_value=$CFLAGS
931 ac_cv_env_CFLAGS_set=${CFLAGS+set}
932 ac_cv_env_CFLAGS_value=$CFLAGS
933 ac_env_DIET_set=${DIET+set}
934 ac_env_DIET_value=$DIET
935 ac_cv_env_DIET_set=${DIET+set}
936 ac_cv_env_DIET_value=$DIET
937 ac_env_DIETFLAGS_set=${DIETFLAGS+set}
938 ac_env_DIETFLAGS_value=$DIETFLAGS
939 ac_cv_env_DIETFLAGS_set=${DIETFLAGS+set}
940 ac_cv_env_DIETFLAGS_value=$DIETFLAGS
941 ac_env_CPP_set=${CPP+set}
942 ac_env_CPP_value=$CPP
943 ac_cv_env_CPP_set=${CPP+set}
944 ac_cv_env_CPP_value=$CPP
945 ac_env_CXXCPP_set=${CXXCPP+set}
946 ac_env_CXXCPP_value=$CXXCPP
947 ac_cv_env_CXXCPP_set=${CXXCPP+set}
948 ac_cv_env_CXXCPP_value=$CXXCPP
949 ac_env_F77_set=${F77+set}
950 ac_env_F77_value=$F77
951 ac_cv_env_F77_set=${F77+set}
952 ac_cv_env_F77_value=$F77
953 ac_env_FFLAGS_set=${FFLAGS+set}
954 ac_env_FFLAGS_value=$FFLAGS
955 ac_cv_env_FFLAGS_set=${FFLAGS+set}
956 ac_cv_env_FFLAGS_value=$FFLAGS
959 # Report the --help message.
961 if test "$ac_init_help" = "long"; then
962 # Omit some internal or obsolete options to make the list less imposing.
963 # This message is too long to be a string in the A/UX 3.1 sh.
965 \`configure' configures util-vserver 0.30.208 to adapt to many kinds of systems.
967 Usage: $0 [OPTION]... [VAR=VALUE]...
969 To assign environment variables (e.g., CC, CFLAGS...), specify them as
970 VAR=VALUE. See below for descriptions of some of the useful variables.
972 Defaults for the options are specified in brackets.
975 -h, --help display this help and exit
976 --help=short display options specific to this package
977 --help=recursive display the short help of all the included packages
978 -V, --version display version information and exit
979 -q, --quiet, --silent do not print \`checking...' messages
980 --cache-file=FILE cache test results in FILE [disabled]
981 -C, --config-cache alias for \`--cache-file=config.cache'
982 -n, --no-create do not create output files
983 --srcdir=DIR find the sources in DIR [configure dir or \`..']
988 Installation directories:
989 --prefix=PREFIX install architecture-independent files in PREFIX
991 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
994 By default, \`make install' will install all the files in
995 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
996 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
997 for instance \`--prefix=\$HOME'.
999 For better control, use the options below.
1001 Fine tuning of the installation directories:
1002 --bindir=DIR user executables [EPREFIX/bin]
1003 --sbindir=DIR system admin executables [EPREFIX/sbin]
1004 --libexecdir=DIR program executables [EPREFIX/libexec]
1005 --datadir=DIR read-only architecture-independent data [PREFIX/share]
1006 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1007 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1008 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1009 --libdir=DIR object code libraries [EPREFIX/lib]
1010 --includedir=DIR C header files [PREFIX/include]
1011 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1012 --infodir=DIR info documentation [PREFIX/info]
1013 --mandir=DIR man documentation [PREFIX/man]
1019 --program-prefix=PREFIX prepend PREFIX to installed program names
1020 --program-suffix=SUFFIX append SUFFIX to installed program names
1021 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1024 --build=BUILD configure for building on BUILD [guessed]
1025 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1029 if test -n "$ac_init_help"; then
1030 case $ac_init_help in
1031 short | recursive ) echo "Configuration of util-vserver 0.30.208:";;
1036 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1037 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1038 --enable-maintainer-mode enable make rules and dependencies not useful
1039 (and sometimes confusing) to the casual installer
1040 --disable-dependency-tracking speeds up one-time build
1041 --enable-dependency-tracking do not reject slow dependency extractors
1042 --disable-extra-optimizations
1043 disable certain extra optimizations (default: no)
1044 --enable-lib-debug enable additional debug code in library (default:
1046 --disable-expensive-tests
1047 disable tests which might be expensive on some
1048 systems (default: no)
1049 --enable-release enable release mode (default: no)
1050 --disable-dietlibc do not use dietlibc resp. enforce its usage (with
1051 --enable-dietlibc) (default: autodetect dietlibc)
1052 --disable-alternative-syscalls
1053 do not use the alternative _syscallX macros provided
1054 by Herbert Poetzl (default: use them)
1055 --enable-shared[=PKGS]
1056 build shared libraries [default=yes]
1057 --enable-static[=PKGS]
1058 build static libraries [default=yes]
1059 --enable-fast-install[=PKGS]
1060 optimize for fast installation [default=yes]
1061 --disable-libtool-lock avoid locking (might break parallel builds)
1062 --disable-internal-headers
1063 use vserver specific headers from the kernel instead
1064 of the shipped versions (default: no)
1065 --enable-apis=APIS enable support for the given apis; possible values
1066 are: legacy,compat,v11,v13,fscompat,net,ALL
1067 (default: all except 'legacy')
1070 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1071 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1072 --with-initrddir <DIR> use <DIR> as directory for SysV init-files (default:
1074 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1075 --with-pic try to use only PIC/non-PIC objects [default=use
1078 include additional configurations [automatic]
1079 --with-kerneldir=DIR assume kernelsources in DIR (default:
1080 /lib/modules/<current>/build)
1081 --with-vrootdir=DIR place vservers under DIR (default: /vservers)
1082 --with-syscall=METHOD call syscall(2) with the specified METHOD; valid
1083 values are 'fast', 'traditional' and 'auto'
1086 Some influential environment variables:
1087 CXX C++ compiler command
1088 CXXFLAGS C++ compiler flags
1089 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1090 nonstandard directory <lib dir>
1091 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1092 headers in a nonstandard directory <include dir>
1093 CC C compiler command
1094 CFLAGS C compiler flags
1095 DIET The 'diet' wrapper (default: diet)
1096 DIETFLAGS Flags passed to the 'diet' wrapper (default: -O)
1098 CXXCPP C++ preprocessor
1099 F77 Fortran 77 compiler command
1100 FFLAGS Fortran 77 compiler flags
1102 Use these variables to override the choices made by `configure' or to help
1103 it to find libraries and programs with nonstandard names/locations.
1105 Report bugs to <enrico.scholz@informatik.tu-chemnitz.de>.
1109 if test "$ac_init_help" = "recursive"; then
1110 # If there are subdirs, report their specific --help.
1112 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1113 test -d $ac_dir || continue
1116 if test "$ac_dir" != .; then
1117 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1118 # A "../" for each directory in $ac_dir_suffix.
1119 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1121 ac_dir_suffix= ac_top_builddir=
1125 .) # No --srcdir option. We are building in place.
1127 if test -z "$ac_top_builddir"; then
1130 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1132 [\\/]* | ?:[\\/]* ) # Absolute path.
1133 ac_srcdir=$srcdir$ac_dir_suffix;
1134 ac_top_srcdir=$srcdir ;;
1136 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1137 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1140 # Do not use `cd foo && pwd` to compute absolute paths, because
1141 # the directories may not exist.
1143 .) ac_abs_builddir="$ac_dir";;
1146 .) ac_abs_builddir=`pwd`;;
1147 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1148 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1151 case $ac_abs_builddir in
1152 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1154 case ${ac_top_builddir}. in
1155 .) ac_abs_top_builddir=$ac_abs_builddir;;
1156 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1157 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1160 case $ac_abs_builddir in
1161 .) ac_abs_srcdir=$ac_srcdir;;
1164 .) ac_abs_srcdir=$ac_abs_builddir;;
1165 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1166 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1169 case $ac_abs_builddir in
1170 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1172 case $ac_top_srcdir in
1173 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1174 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1175 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1180 # Check for guested configure; otherwise get Cygnus style configure.
1181 if test -f $ac_srcdir/configure.gnu; then
1183 $SHELL $ac_srcdir/configure.gnu --help=recursive
1184 elif test -f $ac_srcdir/configure; then
1186 $SHELL $ac_srcdir/configure --help=recursive
1187 elif test -f $ac_srcdir/configure.ac ||
1188 test -f $ac_srcdir/configure.in; then
1190 $ac_configure --help
1192 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1198 test -n "$ac_init_help" && exit 0
1199 if $ac_init_version; then
1201 util-vserver configure 0.30.208
1202 generated by GNU Autoconf 2.59
1204 Copyright (C) 2003 Free Software Foundation, Inc.
1205 This configure script is free software; the Free Software Foundation
1206 gives unlimited permission to copy, distribute and modify it.
1212 This file contains any messages produced by compilers while
1213 running configure, to aid debugging if configure makes a mistake.
1215 It was created by util-vserver $as_me 0.30.208, which was
1216 generated by GNU Autoconf 2.59. Invocation command line was
1227 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1228 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1229 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1230 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1231 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1233 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1234 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1236 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1237 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1238 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1239 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1240 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1241 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1242 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1250 test -z "$as_dir" && as_dir=.
1251 echo "PATH: $as_dir"
1266 # Keep a trace of the command line.
1267 # Strip out --no-create and --no-recursion so they do not pile up.
1268 # Strip out --silent because we don't want to record it for future runs.
1269 # Also quote any args containing shell meta-characters.
1270 # Make two passes to allow for proper duplicate-argument suppression.
1275 ac_must_keep_next=false
1281 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1282 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1283 | -silent | --silent | --silen | --sile | --sil)
1285 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1286 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1289 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1291 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1292 if test $ac_must_keep_next = true; then
1293 ac_must_keep_next=false # Got value, back to normal.
1296 *=* | --config-cache | -C | -disable-* | --disable-* \
1297 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1298 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1299 | -with-* | --with-* | -without-* | --without-* | --x)
1300 case "$ac_configure_args0 " in
1301 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1304 -* ) ac_must_keep_next=true ;;
1307 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1308 # Get rid of the leading space.
1314 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1315 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1317 # When interrupted or exit'd, cleanup temporary files, and complete
1318 # config.log. We remove comments because anyway the quotes in there
1319 # would cause problems or look ugly.
1320 # WARNING: Be sure not to use single quotes in there, as some shells,
1321 # such as our DU 5.0 friend, will then `close' the trap.
1322 trap 'exit_status=$?
1323 # Save into config.log some information that might help in debugging.
1328 ## ---------------- ##
1329 ## Cache variables. ##
1330 ## ---------------- ##
1333 # The following way of writing the cache mishandles newlines in values,
1336 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1339 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1340 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1344 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1351 ## ----------------- ##
1352 ## Output variables. ##
1353 ## ----------------- ##
1356 for ac_var in $ac_subst_vars
1358 eval ac_val=$`echo $ac_var`
1359 echo "$ac_var='"'"'$ac_val'"'"'"
1363 if test -n "$ac_subst_files"; then
1370 for ac_var in $ac_subst_files
1372 eval ac_val=$`echo $ac_var`
1373 echo "$ac_var='"'"'$ac_val'"'"'"
1378 if test -s confdefs.h; then
1385 sed "/^$/d" confdefs.h | sort
1388 test "$ac_signal" != 0 &&
1389 echo "$as_me: caught signal $ac_signal"
1390 echo "$as_me: exit $exit_status"
1392 rm -f core *.core &&
1393 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1396 for ac_signal in 1 2 13 15; do
1397 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1401 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1402 rm -rf conftest* confdefs.h
1403 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1406 # Predefined preprocessor variables.
1408 cat >>confdefs.h <<_ACEOF
1409 #define PACKAGE_NAME "$PACKAGE_NAME"
1413 cat >>confdefs.h <<_ACEOF
1414 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1418 cat >>confdefs.h <<_ACEOF
1419 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1423 cat >>confdefs.h <<_ACEOF
1424 #define PACKAGE_STRING "$PACKAGE_STRING"
1428 cat >>confdefs.h <<_ACEOF
1429 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1433 # Let the site file select an alternate cache file if it wants to.
1434 # Prefer explicitly selected file to automatically selected ones.
1435 if test -z "$CONFIG_SITE"; then
1436 if test "x$prefix" != xNONE; then
1437 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1439 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1442 for ac_site_file in $CONFIG_SITE; do
1443 if test -r "$ac_site_file"; then
1444 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1445 echo "$as_me: loading site script $ac_site_file" >&6;}
1446 sed 's/^/| /' "$ac_site_file" >&5
1451 if test -r "$cache_file"; then
1452 # Some versions of bash will fail to source /dev/null (special
1453 # files actually), so we avoid doing that.
1454 if test -f "$cache_file"; then
1455 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1456 echo "$as_me: loading cache $cache_file" >&6;}
1458 [\\/]* | ?:[\\/]* ) . $cache_file;;
1459 *) . ./$cache_file;;
1463 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1464 echo "$as_me: creating cache $cache_file" >&6;}
1468 # Check that the precious variables saved in the cache have kept the same
1470 ac_cache_corrupted=false
1471 for ac_var in `(set) 2>&1 |
1472 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1473 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1474 eval ac_new_set=\$ac_env_${ac_var}_set
1475 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1476 eval ac_new_val="\$ac_env_${ac_var}_value"
1477 case $ac_old_set,$ac_new_set in
1479 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1480 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1481 ac_cache_corrupted=: ;;
1483 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1484 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1485 ac_cache_corrupted=: ;;
1488 if test "x$ac_old_val" != "x$ac_new_val"; then
1489 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1490 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1491 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1492 echo "$as_me: former value: $ac_old_val" >&2;}
1493 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1494 echo "$as_me: current value: $ac_new_val" >&2;}
1495 ac_cache_corrupted=:
1498 # Pass precious variables to config.status.
1499 if test "$ac_new_set" = set; then
1501 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1502 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1503 *) ac_arg=$ac_var=$ac_new_val ;;
1505 case " $ac_configure_args " in
1506 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1507 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1511 if $ac_cache_corrupted; then
1512 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1513 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1514 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1515 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1516 { (exit 1); exit 1; }; }
1520 ac_cpp='$CPP $CPPFLAGS'
1521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1552 ac_config_headers="$ac_config_headers config.h"
1555 am__api_version="1.9"
1557 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1558 if test -f $ac_dir/install-sh; then
1560 ac_install_sh="$ac_aux_dir/install-sh -c"
1562 elif test -f $ac_dir/install.sh; then
1564 ac_install_sh="$ac_aux_dir/install.sh -c"
1566 elif test -f $ac_dir/shtool; then
1568 ac_install_sh="$ac_aux_dir/shtool install -c"
1572 if test -z "$ac_aux_dir"; then
1573 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1574 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1575 { (exit 1); exit 1; }; }
1577 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1578 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1579 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1581 # Find a good install program. We prefer a C program (faster),
1582 # so one script is as good as another. But avoid the broken or
1583 # incompatible versions:
1584 # SysV /etc/install, /usr/sbin/install
1585 # SunOS /usr/etc/install
1586 # IRIX /sbin/install
1588 # AmigaOS /C/install, which installs bootblocks on floppy discs
1589 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1590 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1591 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1592 # OS/2's system install, which has a completely different semantic
1593 # ./install, which can be erroneously created by make from ./install.sh.
1594 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1595 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1596 if test -z "$INSTALL"; then
1597 if test "${ac_cv_path_install+set}" = set; then
1598 echo $ECHO_N "(cached) $ECHO_C" >&6
1600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1604 test -z "$as_dir" && as_dir=.
1605 # Account for people who put trailing slashes in PATH elements.
1607 ./ | .// | /cC/* | \
1608 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1609 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1612 # OSF1 and SCO ODT 3.0 have their own names for install.
1613 # Don't use installbsd from OSF since it installs stuff as root
1615 for ac_prog in ginstall scoinst install; do
1616 for ac_exec_ext in '' $ac_executable_extensions; do
1617 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1618 if test $ac_prog = install &&
1619 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1620 # AIX install. It has an incompatible calling convention.
1622 elif test $ac_prog = install &&
1623 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1624 # program-specific install script used by HP pwplus--don't use.
1627 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1639 if test "${ac_cv_path_install+set}" = set; then
1640 INSTALL=$ac_cv_path_install
1642 # As a last resort, use the slow shell script. We don't cache a
1643 # path for INSTALL within a source directory, because that will
1644 # break other packages using the cache if that directory is
1645 # removed, or if the path is relative.
1646 INSTALL=$ac_install_sh
1649 echo "$as_me:$LINENO: result: $INSTALL" >&5
1650 echo "${ECHO_T}$INSTALL" >&6
1652 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1653 # It thinks the first close brace ends the variable substitution.
1654 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1656 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1658 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1660 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1661 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1664 echo timestamp > conftest.file
1665 # Do `set' in a subshell so we don't clobber the current shell's
1666 # arguments. Must try -L first in case configure is actually a
1667 # symlink; some systems play weird games with the mod time of symlinks
1668 # (eg FreeBSD returns the mod time of the symlink's containing
1671 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1672 if test "$*" = "X"; then
1674 set X `ls -t $srcdir/configure conftest.file`
1677 if test "$*" != "X $srcdir/configure conftest.file" \
1678 && test "$*" != "X conftest.file $srcdir/configure"; then
1680 # If neither matched, then we have a broken ls. This can happen
1681 # if, for instance, CONFIG_SHELL is bash and it inherits a
1682 # broken ls alias from the environment. This has actually
1683 # happened. Such a system could not be considered "sane".
1684 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1685 alias in your environment" >&5
1686 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1687 alias in your environment" >&2;}
1688 { (exit 1); exit 1; }; }
1691 test "$2" = conftest.file
1697 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1698 Check your system clock" >&5
1699 echo "$as_me: error: newly created file is older than distributed files!
1700 Check your system clock" >&2;}
1701 { (exit 1); exit 1; }; }
1703 echo "$as_me:$LINENO: result: yes" >&5
1704 echo "${ECHO_T}yes" >&6
1705 test "$program_prefix" != NONE &&
1706 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1707 # Use a double $ so make ignores it.
1708 test "$program_suffix" != NONE &&
1709 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1710 # Double any \ or $. echo might interpret backslashes.
1711 # By default was `s,x,x', remove it if useless.
1712 cat <<\_ACEOF >conftest.sed
1713 s/[\\$]/&&/g;s/;s,x,x,$//
1715 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1718 # expand $ac_aux_dir to an absolute path
1719 am_aux_dir=`cd $ac_aux_dir && pwd`
1721 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1722 # Use eval to expand $SHELL
1723 if eval "$MISSING --run true"; then
1724 am_missing_run="$MISSING --run "
1727 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1728 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1731 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1732 # We used to keeping the `.' as first argument, in order to
1733 # allow $(mkdir_p) to be used without argument. As in
1734 # $(mkdir_p) $(somedir)
1735 # where $(somedir) is conditionally defined. However this is wrong
1737 # 1. if the package is installed by a user who cannot write `.'
1738 # make install will fail,
1739 # 2. the above comment should most certainly read
1740 # $(mkdir_p) $(DESTDIR)$(somedir)
1741 # so it does not work when $(somedir) is undefined and
1742 # $(DESTDIR) is not.
1743 # To support the latter case, we have to write
1744 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1745 # so the `.' trick is pointless.
1746 mkdir_p='mkdir -p --'
1748 # On NextStep and OpenStep, the `mkdir' command does not
1749 # recognize any option. It will interpret all options as
1750 # directories to create, and then abort because `.' already
1752 for d in ./-p ./--version;
1754 test -d $d && rmdir $d
1756 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1757 if test -f "$ac_aux_dir/mkinstalldirs"; then
1758 mkdir_p='$(mkinstalldirs)'
1760 mkdir_p='$(install_sh) -d'
1764 for ac_prog in gawk mawk nawk awk
1766 # Extract the first word of "$ac_prog", so it can be a program name with args.
1767 set dummy $ac_prog; ac_word=$2
1768 echo "$as_me:$LINENO: checking for $ac_word" >&5
1769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1770 if test "${ac_cv_prog_AWK+set}" = set; then
1771 echo $ECHO_N "(cached) $ECHO_C" >&6
1773 if test -n "$AWK"; then
1774 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1780 test -z "$as_dir" && as_dir=.
1781 for ac_exec_ext in '' $ac_executable_extensions; do
1782 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1783 ac_cv_prog_AWK="$ac_prog"
1784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1793 if test -n "$AWK"; then
1794 echo "$as_me:$LINENO: result: $AWK" >&5
1795 echo "${ECHO_T}$AWK" >&6
1797 echo "$as_me:$LINENO: result: no" >&5
1798 echo "${ECHO_T}no" >&6
1801 test -n "$AWK" && break
1804 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1805 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1806 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1807 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1808 echo $ECHO_N "(cached) $ECHO_C" >&6
1810 cat >conftest.make <<\_ACEOF
1812 @echo 'ac_maketemp="$(MAKE)"'
1814 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1815 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1816 if test -n "$ac_maketemp"; then
1817 eval ac_cv_prog_make_${ac_make}_set=yes
1819 eval ac_cv_prog_make_${ac_make}_set=no
1823 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1824 echo "$as_me:$LINENO: result: yes" >&5
1825 echo "${ECHO_T}yes" >&6
1828 echo "$as_me:$LINENO: result: no" >&5
1829 echo "${ECHO_T}no" >&6
1830 SET_MAKE="MAKE=${MAKE-make}"
1833 rm -rf .tst 2>/dev/null
1834 mkdir .tst 2>/dev/null
1835 if test -d .tst; then
1840 rmdir .tst 2>/dev/null
1842 # test to see if srcdir already configured
1843 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1844 test -f $srcdir/config.status; then
1845 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1846 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1847 { (exit 1); exit 1; }; }
1850 # test whether we have cygpath
1851 if test -z "$CYGPATH_W"; then
1852 if (cygpath --version) >/dev/null 2>/dev/null; then
1853 CYGPATH_W='cygpath -w'
1860 # Define the identity of the package.
1861 PACKAGE='util-vserver'
1865 cat >>confdefs.h <<_ACEOF
1866 #define PACKAGE "$PACKAGE"
1870 cat >>confdefs.h <<_ACEOF
1871 #define VERSION "$VERSION"
1874 # Some tools Automake needs.
1876 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1879 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1882 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1885 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1888 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1890 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1892 # Installed binaries are usually stripped using `strip' when the user
1893 # run `make install-strip'. However `strip' might not be the right
1894 # tool to use in cross-compilation environments, therefore Automake
1895 # will honor the `STRIP' environment variable to overrule this program.
1896 if test "$cross_compiling" != no; then
1897 if test -n "$ac_tool_prefix"; then
1898 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1899 set dummy ${ac_tool_prefix}strip; ac_word=$2
1900 echo "$as_me:$LINENO: checking for $ac_word" >&5
1901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1902 if test "${ac_cv_prog_STRIP+set}" = set; then
1903 echo $ECHO_N "(cached) $ECHO_C" >&6
1905 if test -n "$STRIP"; then
1906 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1912 test -z "$as_dir" && as_dir=.
1913 for ac_exec_ext in '' $ac_executable_extensions; do
1914 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1915 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1924 STRIP=$ac_cv_prog_STRIP
1925 if test -n "$STRIP"; then
1926 echo "$as_me:$LINENO: result: $STRIP" >&5
1927 echo "${ECHO_T}$STRIP" >&6
1929 echo "$as_me:$LINENO: result: no" >&5
1930 echo "${ECHO_T}no" >&6
1934 if test -z "$ac_cv_prog_STRIP"; then
1936 # Extract the first word of "strip", so it can be a program name with args.
1937 set dummy strip; ac_word=$2
1938 echo "$as_me:$LINENO: checking for $ac_word" >&5
1939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1940 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1941 echo $ECHO_N "(cached) $ECHO_C" >&6
1943 if test -n "$ac_ct_STRIP"; then
1944 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1950 test -z "$as_dir" && as_dir=.
1951 for ac_exec_ext in '' $ac_executable_extensions; do
1952 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1953 ac_cv_prog_ac_ct_STRIP="strip"
1954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1960 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1963 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1964 if test -n "$ac_ct_STRIP"; then
1965 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1966 echo "${ECHO_T}$ac_ct_STRIP" >&6
1968 echo "$as_me:$LINENO: result: no" >&5
1969 echo "${ECHO_T}no" >&6
1974 STRIP="$ac_cv_prog_STRIP"
1978 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1980 # We need awk for the "check" target. The system "awk" is bad on
1982 # Always define AMTAR for backward compatibility.
1984 AMTAR=${AMTAR-"${am_missing_run}tar"}
1986 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1992 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1993 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1994 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1995 if test "${enable_maintainer_mode+set}" = set; then
1996 enableval="$enable_maintainer_mode"
1997 USE_MAINTAINER_MODE=$enableval
1999 USE_MAINTAINER_MODE=no
2001 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2002 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2005 if test $USE_MAINTAINER_MODE = yes; then
2006 MAINTAINER_MODE_TRUE=
2007 MAINTAINER_MODE_FALSE='#'
2009 MAINTAINER_MODE_TRUE='#'
2010 MAINTAINER_MODE_FALSE=
2013 MAINT=$MAINTAINER_MODE_TRUE
2017 # Make sure we can run config.sub.
2018 $ac_config_sub sun4 >/dev/null 2>&1 ||
2019 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2020 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2021 { (exit 1); exit 1; }; }
2023 echo "$as_me:$LINENO: checking build system type" >&5
2024 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2025 if test "${ac_cv_build+set}" = set; then
2026 echo $ECHO_N "(cached) $ECHO_C" >&6
2028 ac_cv_build_alias=$build_alias
2029 test -z "$ac_cv_build_alias" &&
2030 ac_cv_build_alias=`$ac_config_guess`
2031 test -z "$ac_cv_build_alias" &&
2032 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2033 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2034 { (exit 1); exit 1; }; }
2035 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2036 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2037 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2038 { (exit 1); exit 1; }; }
2041 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2042 echo "${ECHO_T}$ac_cv_build" >&6
2044 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2045 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2046 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2049 echo "$as_me:$LINENO: checking host system type" >&5
2050 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2051 if test "${ac_cv_host+set}" = set; then
2052 echo $ECHO_N "(cached) $ECHO_C" >&6
2054 ac_cv_host_alias=$host_alias
2055 test -z "$ac_cv_host_alias" &&
2056 ac_cv_host_alias=$ac_cv_build_alias
2057 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2058 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2059 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2060 { (exit 1); exit 1; }; }
2063 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2064 echo "${ECHO_T}$ac_cv_host" >&6
2066 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2067 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2068 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2072 GPG_KEY="0xFFD316AC53ACA43A!"
2075 # Checks for programs.
2077 ac_cpp='$CXXCPP $CPPFLAGS'
2078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2081 if test -n "$ac_tool_prefix"; then
2082 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2084 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2085 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2086 echo "$as_me:$LINENO: checking for $ac_word" >&5
2087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2088 if test "${ac_cv_prog_CXX+set}" = set; then
2089 echo $ECHO_N "(cached) $ECHO_C" >&6
2091 if test -n "$CXX"; then
2092 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2098 test -z "$as_dir" && as_dir=.
2099 for ac_exec_ext in '' $ac_executable_extensions; do
2100 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2101 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2111 if test -n "$CXX"; then
2112 echo "$as_me:$LINENO: result: $CXX" >&5
2113 echo "${ECHO_T}$CXX" >&6
2115 echo "$as_me:$LINENO: result: no" >&5
2116 echo "${ECHO_T}no" >&6
2119 test -n "$CXX" && break
2122 if test -z "$CXX"; then
2124 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2126 # Extract the first word of "$ac_prog", so it can be a program name with args.
2127 set dummy $ac_prog; ac_word=$2
2128 echo "$as_me:$LINENO: checking for $ac_word" >&5
2129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2130 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2131 echo $ECHO_N "(cached) $ECHO_C" >&6
2133 if test -n "$ac_ct_CXX"; then
2134 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2140 test -z "$as_dir" && as_dir=.
2141 for ac_exec_ext in '' $ac_executable_extensions; do
2142 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2143 ac_cv_prog_ac_ct_CXX="$ac_prog"
2144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2152 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2153 if test -n "$ac_ct_CXX"; then
2154 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2155 echo "${ECHO_T}$ac_ct_CXX" >&6
2157 echo "$as_me:$LINENO: result: no" >&5
2158 echo "${ECHO_T}no" >&6
2161 test -n "$ac_ct_CXX" && break
2163 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2169 # Provide some information about the compiler.
2170 echo "$as_me:$LINENO:" \
2171 "checking for C++ compiler version" >&5
2172 ac_compiler=`set X $ac_compile; echo $2`
2173 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2174 (eval $ac_compiler --version </dev/null >&5) 2>&5
2176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2177 (exit $ac_status); }
2178 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2179 (eval $ac_compiler -v </dev/null >&5) 2>&5
2181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2182 (exit $ac_status); }
2183 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2184 (eval $ac_compiler -V </dev/null >&5) 2>&5
2186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2187 (exit $ac_status); }
2189 cat >conftest.$ac_ext <<_ACEOF
2192 cat confdefs.h >>conftest.$ac_ext
2193 cat >>conftest.$ac_ext <<_ACEOF
2194 /* end confdefs.h. */
2204 ac_clean_files_save=$ac_clean_files
2205 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2206 # Try to create an executable without -o first, disregard a.out.
2207 # It will help us diagnose broken compilers, and finding out an intuition
2209 echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2210 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
2211 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2212 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2213 (eval $ac_link_default) 2>&5
2215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2216 (exit $ac_status); }; then
2217 # Find the output, starting from the most likely. This scheme is
2218 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2221 # Be careful to initialize this variable, since it used to be cached.
2222 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2224 # b.out is created by i960 compilers.
2225 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2227 test -f "$ac_file" || continue
2229 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2232 # This is the source file.
2235 # We found the default executable, but exeext='' is most
2239 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2240 # FIXME: I believe we export ac_cv_exeext for Libtool,
2241 # but it would be cool to find out if it's true. Does anybody
2242 # maintain Libtool? --akim.
2250 echo "$as_me: failed program was:" >&5
2251 sed 's/^/| /' conftest.$ac_ext >&5
2253 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2254 See \`config.log' for more details." >&5
2255 echo "$as_me: error: C++ compiler cannot create executables
2256 See \`config.log' for more details." >&2;}
2257 { (exit 77); exit 77; }; }
2260 ac_exeext=$ac_cv_exeext
2261 echo "$as_me:$LINENO: result: $ac_file" >&5
2262 echo "${ECHO_T}$ac_file" >&6
2264 # Check the compiler produces executables we can run. If not, either
2265 # the compiler is broken, or we cross compile.
2266 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2267 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2268 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2269 # If not cross compiling, check that we can run a simple program.
2270 if test "$cross_compiling" != yes; then
2271 if { ac_try='./$ac_file'
2272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2276 (exit $ac_status); }; }; then
2279 if test "$cross_compiling" = maybe; then
2282 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2283 If you meant to cross compile, use \`--host'.
2284 See \`config.log' for more details." >&5
2285 echo "$as_me: error: cannot run C++ compiled programs.
2286 If you meant to cross compile, use \`--host'.
2287 See \`config.log' for more details." >&2;}
2288 { (exit 1); exit 1; }; }
2292 echo "$as_me:$LINENO: result: yes" >&5
2293 echo "${ECHO_T}yes" >&6
2295 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2296 ac_clean_files=$ac_clean_files_save
2297 # Check the compiler produces executables we can run. If not, either
2298 # the compiler is broken, or we cross compile.
2299 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2300 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2301 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2302 echo "${ECHO_T}$cross_compiling" >&6
2304 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2305 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2307 (eval $ac_link) 2>&5
2309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2310 (exit $ac_status); }; then
2311 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2312 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2313 # work properly (i.e., refer to `conftest.exe'), while it won't with
2315 for ac_file in conftest.exe conftest conftest.*; do
2316 test -f "$ac_file" || continue
2318 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2319 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2326 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2327 See \`config.log' for more details." >&5
2328 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2329 See \`config.log' for more details." >&2;}
2330 { (exit 1); exit 1; }; }
2333 rm -f conftest$ac_cv_exeext
2334 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2335 echo "${ECHO_T}$ac_cv_exeext" >&6
2337 rm -f conftest.$ac_ext
2338 EXEEXT=$ac_cv_exeext
2340 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2341 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2342 if test "${ac_cv_objext+set}" = set; then
2343 echo $ECHO_N "(cached) $ECHO_C" >&6
2345 cat >conftest.$ac_ext <<_ACEOF
2348 cat confdefs.h >>conftest.$ac_ext
2349 cat >>conftest.$ac_ext <<_ACEOF
2350 /* end confdefs.h. */
2360 rm -f conftest.o conftest.obj
2361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2362 (eval $ac_compile) 2>&5
2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365 (exit $ac_status); }; then
2366 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2368 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2369 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2374 echo "$as_me: failed program was:" >&5
2375 sed 's/^/| /' conftest.$ac_ext >&5
2377 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2378 See \`config.log' for more details." >&5
2379 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2380 See \`config.log' for more details." >&2;}
2381 { (exit 1); exit 1; }; }
2384 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2386 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2387 echo "${ECHO_T}$ac_cv_objext" >&6
2388 OBJEXT=$ac_cv_objext
2390 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2391 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2392 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2393 echo $ECHO_N "(cached) $ECHO_C" >&6
2395 cat >conftest.$ac_ext <<_ACEOF
2398 cat confdefs.h >>conftest.$ac_ext
2399 cat >>conftest.$ac_ext <<_ACEOF
2400 /* end confdefs.h. */
2413 rm -f conftest.$ac_objext
2414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2415 (eval $ac_compile) 2>conftest.er1
2417 grep -v '^ *+' conftest.er1 >conftest.err
2419 cat conftest.err >&5
2420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2421 (exit $ac_status); } &&
2422 { ac_try='test -z "$ac_cxx_werror_flag"
2423 || test ! -s conftest.err'
2424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2428 (exit $ac_status); }; } &&
2429 { ac_try='test -s conftest.$ac_objext'
2430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2434 (exit $ac_status); }; }; then
2437 echo "$as_me: failed program was:" >&5
2438 sed 's/^/| /' conftest.$ac_ext >&5
2442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2443 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2446 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2447 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2448 GXX=`test $ac_compiler_gnu = yes && echo yes`
2449 ac_test_CXXFLAGS=${CXXFLAGS+set}
2450 ac_save_CXXFLAGS=$CXXFLAGS
2452 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2453 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2454 if test "${ac_cv_prog_cxx_g+set}" = set; then
2455 echo $ECHO_N "(cached) $ECHO_C" >&6
2457 cat >conftest.$ac_ext <<_ACEOF
2460 cat confdefs.h >>conftest.$ac_ext
2461 cat >>conftest.$ac_ext <<_ACEOF
2462 /* end confdefs.h. */
2472 rm -f conftest.$ac_objext
2473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2474 (eval $ac_compile) 2>conftest.er1
2476 grep -v '^ *+' conftest.er1 >conftest.err
2478 cat conftest.err >&5
2479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2480 (exit $ac_status); } &&
2481 { ac_try='test -z "$ac_cxx_werror_flag"
2482 || test ! -s conftest.err'
2483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2487 (exit $ac_status); }; } &&
2488 { ac_try='test -s conftest.$ac_objext'
2489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2493 (exit $ac_status); }; }; then
2494 ac_cv_prog_cxx_g=yes
2496 echo "$as_me: failed program was:" >&5
2497 sed 's/^/| /' conftest.$ac_ext >&5
2501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2503 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2504 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2505 if test "$ac_test_CXXFLAGS" = set; then
2506 CXXFLAGS=$ac_save_CXXFLAGS
2507 elif test $ac_cv_prog_cxx_g = yes; then
2508 if test "$GXX" = yes; then
2514 if test "$GXX" = yes; then
2520 for ac_declaration in \
2522 'extern "C" void std::exit (int) throw (); using std::exit;' \
2523 'extern "C" void std::exit (int); using std::exit;' \
2524 'extern "C" void exit (int) throw ();' \
2525 'extern "C" void exit (int);' \
2528 cat >conftest.$ac_ext <<_ACEOF
2531 cat confdefs.h >>conftest.$ac_ext
2532 cat >>conftest.$ac_ext <<_ACEOF
2533 /* end confdefs.h. */
2544 rm -f conftest.$ac_objext
2545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2546 (eval $ac_compile) 2>conftest.er1
2548 grep -v '^ *+' conftest.er1 >conftest.err
2550 cat conftest.err >&5
2551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2552 (exit $ac_status); } &&
2553 { ac_try='test -z "$ac_cxx_werror_flag"
2554 || test ! -s conftest.err'
2555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2559 (exit $ac_status); }; } &&
2560 { ac_try='test -s conftest.$ac_objext'
2561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2565 (exit $ac_status); }; }; then
2568 echo "$as_me: failed program was:" >&5
2569 sed 's/^/| /' conftest.$ac_ext >&5
2573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2574 cat >conftest.$ac_ext <<_ACEOF
2577 cat confdefs.h >>conftest.$ac_ext
2578 cat >>conftest.$ac_ext <<_ACEOF
2579 /* end confdefs.h. */
2589 rm -f conftest.$ac_objext
2590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2591 (eval $ac_compile) 2>conftest.er1
2593 grep -v '^ *+' conftest.er1 >conftest.err
2595 cat conftest.err >&5
2596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2597 (exit $ac_status); } &&
2598 { ac_try='test -z "$ac_cxx_werror_flag"
2599 || test ! -s conftest.err'
2600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2604 (exit $ac_status); }; } &&
2605 { ac_try='test -s conftest.$ac_objext'
2606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610 (exit $ac_status); }; }; then
2613 echo "$as_me: failed program was:" >&5
2614 sed 's/^/| /' conftest.$ac_ext >&5
2617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2620 if test -n "$ac_declaration"; then
2621 echo '#ifdef __cplusplus' >>confdefs.h
2622 echo $ac_declaration >>confdefs.h
2623 echo '#endif' >>confdefs.h
2627 ac_cpp='$CPP $CPPFLAGS'
2628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2631 DEPDIR="${am__leading_dot}deps"
2633 ac_config_commands="$ac_config_commands depfiles"
2636 am_make=${MAKE-make}
2637 cat > confinc << 'END'
2642 # If we don't find an include directive, just comment out the code.
2643 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2644 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2648 # First try GNU make style include.
2649 echo "include confinc" > confmf
2650 # We grep out `Entering directory' and `Leaving directory'
2651 # messages which can occur if `w' ends up in MAKEFLAGS.
2652 # In particular we don't look at `^make:' because GNU make might
2653 # be invoked under some other name (usually "gmake"), in which
2654 # case it prints its new name instead of `make'.
2655 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2660 # Now try BSD make style include.
2661 if test "$am__include" = "#"; then
2662 echo '.include "confinc"' > confmf
2663 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2664 am__include=.include
2671 echo "$as_me:$LINENO: result: $_am_result" >&5
2672 echo "${ECHO_T}$_am_result" >&6
2673 rm -f confinc confmf
2675 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2676 if test "${enable_dependency_tracking+set}" = set; then
2677 enableval="$enable_dependency_tracking"
2680 if test "x$enable_dependency_tracking" != xno; then
2681 am_depcomp="$ac_aux_dir/depcomp"
2686 if test "x$enable_dependency_tracking" != xno; then
2697 depcc="$CXX" am_compiler_list=
2699 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2700 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2701 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
2702 echo $ECHO_N "(cached) $ECHO_C" >&6
2704 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2705 # We make a subdir and do the tests there. Otherwise we can end up
2706 # making bogus files that we don't know about and never remove. For
2707 # instance it was reported that on HP-UX the gcc test will end up
2708 # making a dummy file named `D' -- because `-MD' means `put the output
2711 # Copy depcomp to subdir because otherwise we won't find it if we're
2712 # using a relative directory.
2713 cp "$am_depcomp" conftest.dir
2715 # We will build objects and dependencies in a subdirectory because
2716 # it helps to detect inapplicable dependency modes. For instance
2717 # both Tru64's cc and ICC support -MD to output dependencies as a
2718 # side effect of compilation, but ICC will put the dependencies in
2719 # the current directory while Tru64 will put them in the object
2723 am_cv_CXX_dependencies_compiler_type=none
2724 if test "$am_compiler_list" = ""; then
2725 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2727 for depmode in $am_compiler_list; do
2728 # Setup a source with many dependencies, because some compilers
2729 # like to wrap large dependency lists on column 80 (with \), and
2730 # we should not choose a depcomp mode which is confused by this.
2732 # We need to recreate these files for each test, as the compiler may
2733 # overwrite some of them when testing with obscure command lines.
2734 # This happens at least with the AIX C compiler.
2736 for i in 1 2 3 4 5 6; do
2737 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2738 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2739 # Solaris 8's {/usr,}/bin/sh.
2740 touch sub/conftst$i.h
2742 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2746 # after this tag, mechanisms are not by side-effect, so they'll
2747 # only be used when explicitly requested
2748 if test "x$enable_dependency_tracking" = xyes; then
2756 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2757 # mode. It turns out that the SunPro C++ compiler does not properly
2758 # handle `-M -o', and we need to detect this.
2759 if depmode=$depmode \
2760 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2761 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2762 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2763 >/dev/null 2>conftest.err &&
2764 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2765 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2766 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2767 # icc doesn't choke on unknown options, it will just issue warnings
2768 # or remarks (even with -Werror). So we grep stderr for any message
2769 # that says an option was ignored or not supported.
2770 # When given -MP, icc 7.0 and 7.1 complain thusly:
2771 # icc: Command line warning: ignoring option '-M'; no argument required
2772 # The diagnosis changed in icc 8.0:
2773 # icc: Command line remark: option '-MP' not supported
2774 if (grep 'ignoring option' conftest.err ||
2775 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2776 am_cv_CXX_dependencies_compiler_type=$depmode
2785 am_cv_CXX_dependencies_compiler_type=none
2789 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
2790 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
2791 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
2796 test "x$enable_dependency_tracking" != xno \
2797 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
2798 am__fastdepCXX_TRUE=
2799 am__fastdepCXX_FALSE='#'
2801 am__fastdepCXX_TRUE='#'
2802 am__fastdepCXX_FALSE=
2807 ac_cpp='$CPP $CPPFLAGS'
2808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2811 if test -n "$ac_tool_prefix"; then
2812 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2813 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2814 echo "$as_me:$LINENO: checking for $ac_word" >&5
2815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2816 if test "${ac_cv_prog_CC+set}" = set; then
2817 echo $ECHO_N "(cached) $ECHO_C" >&6
2819 if test -n "$CC"; then
2820 ac_cv_prog_CC="$CC" # Let the user override the test.
2822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2826 test -z "$as_dir" && as_dir=.
2827 for ac_exec_ext in '' $ac_executable_extensions; do
2828 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2829 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2839 if test -n "$CC"; then
2840 echo "$as_me:$LINENO: result: $CC" >&5
2841 echo "${ECHO_T}$CC" >&6
2843 echo "$as_me:$LINENO: result: no" >&5
2844 echo "${ECHO_T}no" >&6
2848 if test -z "$ac_cv_prog_CC"; then
2850 # Extract the first word of "gcc", so it can be a program name with args.
2851 set dummy gcc; ac_word=$2
2852 echo "$as_me:$LINENO: checking for $ac_word" >&5
2853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2854 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2855 echo $ECHO_N "(cached) $ECHO_C" >&6
2857 if test -n "$ac_ct_CC"; then
2858 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2864 test -z "$as_dir" && as_dir=.
2865 for ac_exec_ext in '' $ac_executable_extensions; do
2866 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2867 ac_cv_prog_ac_ct_CC="gcc"
2868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2876 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2877 if test -n "$ac_ct_CC"; then
2878 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2879 echo "${ECHO_T}$ac_ct_CC" >&6
2881 echo "$as_me:$LINENO: result: no" >&5
2882 echo "${ECHO_T}no" >&6
2890 if test -z "$CC"; then
2891 if test -n "$ac_tool_prefix"; then
2892 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2893 set dummy ${ac_tool_prefix}cc; ac_word=$2
2894 echo "$as_me:$LINENO: checking for $ac_word" >&5
2895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2896 if test "${ac_cv_prog_CC+set}" = set; then
2897 echo $ECHO_N "(cached) $ECHO_C" >&6
2899 if test -n "$CC"; then
2900 ac_cv_prog_CC="$CC" # Let the user override the test.
2902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2906 test -z "$as_dir" && as_dir=.
2907 for ac_exec_ext in '' $ac_executable_extensions; do
2908 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2909 ac_cv_prog_CC="${ac_tool_prefix}cc"
2910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2919 if test -n "$CC"; then
2920 echo "$as_me:$LINENO: result: $CC" >&5
2921 echo "${ECHO_T}$CC" >&6
2923 echo "$as_me:$LINENO: result: no" >&5
2924 echo "${ECHO_T}no" >&6
2928 if test -z "$ac_cv_prog_CC"; then
2930 # Extract the first word of "cc", so it can be a program name with args.
2931 set dummy cc; ac_word=$2
2932 echo "$as_me:$LINENO: checking for $ac_word" >&5
2933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2934 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2935 echo $ECHO_N "(cached) $ECHO_C" >&6
2937 if test -n "$ac_ct_CC"; then
2938 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2944 test -z "$as_dir" && as_dir=.
2945 for ac_exec_ext in '' $ac_executable_extensions; do
2946 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2947 ac_cv_prog_ac_ct_CC="cc"
2948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2956 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2957 if test -n "$ac_ct_CC"; then
2958 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2959 echo "${ECHO_T}$ac_ct_CC" >&6
2961 echo "$as_me:$LINENO: result: no" >&5
2962 echo "${ECHO_T}no" >&6
2971 if test -z "$CC"; then
2972 # Extract the first word of "cc", so it can be a program name with args.
2973 set dummy cc; ac_word=$2
2974 echo "$as_me:$LINENO: checking for $ac_word" >&5
2975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2976 if test "${ac_cv_prog_CC+set}" = set; then
2977 echo $ECHO_N "(cached) $ECHO_C" >&6
2979 if test -n "$CC"; then
2980 ac_cv_prog_CC="$CC" # Let the user override the test.
2983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2987 test -z "$as_dir" && as_dir=.
2988 for ac_exec_ext in '' $ac_executable_extensions; do
2989 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2990 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2991 ac_prog_rejected=yes
2995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3001 if test $ac_prog_rejected = yes; then
3002 # We found a bogon in the path, so make sure we never use it.
3003 set dummy $ac_cv_prog_CC
3005 if test $# != 0; then
3006 # We chose a different compiler from the bogus one.
3007 # However, it has the same basename, so the bogon will be chosen
3008 # first if we set CC to just the basename; use the full file name.
3010 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3016 if test -n "$CC"; then
3017 echo "$as_me:$LINENO: result: $CC" >&5
3018 echo "${ECHO_T}$CC" >&6
3020 echo "$as_me:$LINENO: result: no" >&5
3021 echo "${ECHO_T}no" >&6
3025 if test -z "$CC"; then
3026 if test -n "$ac_tool_prefix"; then
3029 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3030 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3031 echo "$as_me:$LINENO: checking for $ac_word" >&5
3032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3033 if test "${ac_cv_prog_CC+set}" = set; then
3034 echo $ECHO_N "(cached) $ECHO_C" >&6
3036 if test -n "$CC"; then
3037 ac_cv_prog_CC="$CC" # Let the user override the test.
3039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3043 test -z "$as_dir" && as_dir=.
3044 for ac_exec_ext in '' $ac_executable_extensions; do
3045 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3046 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3056 if test -n "$CC"; then
3057 echo "$as_me:$LINENO: result: $CC" >&5
3058 echo "${ECHO_T}$CC" >&6
3060 echo "$as_me:$LINENO: result: no" >&5
3061 echo "${ECHO_T}no" >&6
3064 test -n "$CC" && break
3067 if test -z "$CC"; then
3071 # Extract the first word of "$ac_prog", so it can be a program name with args.
3072 set dummy $ac_prog; ac_word=$2
3073 echo "$as_me:$LINENO: checking for $ac_word" >&5
3074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3075 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3076 echo $ECHO_N "(cached) $ECHO_C" >&6
3078 if test -n "$ac_ct_CC"; then
3079 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3085 test -z "$as_dir" && as_dir=.
3086 for ac_exec_ext in '' $ac_executable_extensions; do
3087 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3088 ac_cv_prog_ac_ct_CC="$ac_prog"
3089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3097 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3098 if test -n "$ac_ct_CC"; then
3099 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3100 echo "${ECHO_T}$ac_ct_CC" >&6
3102 echo "$as_me:$LINENO: result: no" >&5
3103 echo "${ECHO_T}no" >&6
3106 test -n "$ac_ct_CC" && break
3115 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3116 See \`config.log' for more details." >&5
3117 echo "$as_me: error: no acceptable C compiler found in \$PATH
3118 See \`config.log' for more details." >&2;}
3119 { (exit 1); exit 1; }; }
3121 # Provide some information about the compiler.
3122 echo "$as_me:$LINENO:" \
3123 "checking for C compiler version" >&5
3124 ac_compiler=`set X $ac_compile; echo $2`
3125 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3126 (eval $ac_compiler --version </dev/null >&5) 2>&5
3128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3129 (exit $ac_status); }
3130 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3131 (eval $ac_compiler -v </dev/null >&5) 2>&5
3133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3134 (exit $ac_status); }
3135 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3136 (eval $ac_compiler -V </dev/null >&5) 2>&5
3138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139 (exit $ac_status); }
3141 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3142 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3143 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3144 echo $ECHO_N "(cached) $ECHO_C" >&6
3146 cat >conftest.$ac_ext <<_ACEOF
3149 cat confdefs.h >>conftest.$ac_ext
3150 cat >>conftest.$ac_ext <<_ACEOF
3151 /* end confdefs.h. */
3164 rm -f conftest.$ac_objext
3165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3166 (eval $ac_compile) 2>conftest.er1
3168 grep -v '^ *+' conftest.er1 >conftest.err
3170 cat conftest.err >&5
3171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3172 (exit $ac_status); } &&
3173 { ac_try='test -z "$ac_c_werror_flag"
3174 || test ! -s conftest.err'
3175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3179 (exit $ac_status); }; } &&
3180 { ac_try='test -s conftest.$ac_objext'
3181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3185 (exit $ac_status); }; }; then
3188 echo "$as_me: failed program was:" >&5
3189 sed 's/^/| /' conftest.$ac_ext >&5
3193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3194 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3197 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3198 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3199 GCC=`test $ac_compiler_gnu = yes && echo yes`
3200 ac_test_CFLAGS=${CFLAGS+set}
3201 ac_save_CFLAGS=$CFLAGS
3203 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3204 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3205 if test "${ac_cv_prog_cc_g+set}" = set; then
3206 echo $ECHO_N "(cached) $ECHO_C" >&6
3208 cat >conftest.$ac_ext <<_ACEOF
3211 cat confdefs.h >>conftest.$ac_ext
3212 cat >>conftest.$ac_ext <<_ACEOF
3213 /* end confdefs.h. */
3223 rm -f conftest.$ac_objext
3224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3225 (eval $ac_compile) 2>conftest.er1
3227 grep -v '^ *+' conftest.er1 >conftest.err
3229 cat conftest.err >&5
3230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3231 (exit $ac_status); } &&
3232 { ac_try='test -z "$ac_c_werror_flag"
3233 || test ! -s conftest.err'
3234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3238 (exit $ac_status); }; } &&
3239 { ac_try='test -s conftest.$ac_objext'
3240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3244 (exit $ac_status); }; }; then
3247 echo "$as_me: failed program was:" >&5
3248 sed 's/^/| /' conftest.$ac_ext >&5
3252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3254 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3255 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3256 if test "$ac_test_CFLAGS" = set; then
3257 CFLAGS=$ac_save_CFLAGS
3258 elif test $ac_cv_prog_cc_g = yes; then
3259 if test "$GCC" = yes; then
3265 if test "$GCC" = yes; then
3271 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3272 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3273 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3274 echo $ECHO_N "(cached) $ECHO_C" >&6
3276 ac_cv_prog_cc_stdc=no
3278 cat >conftest.$ac_ext <<_ACEOF
3281 cat confdefs.h >>conftest.$ac_ext
3282 cat >>conftest.$ac_ext <<_ACEOF
3283 /* end confdefs.h. */
3286 #include <sys/types.h>
3287 #include <sys/stat.h>
3288 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3289 struct buf { int x; };
3290 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3291 static char *e (p, i)
3297 static char *f (char * (*g) (char **, int), char **p, ...)
3302 s = g (p, va_arg (v,int));
3307 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3308 function prototypes and stuff, but not '\xHH' hex character constants.
3309 These don't provoke an error unfortunately, instead are silently treated
3310 as 'x'. The following induces an error, until -std1 is added to get
3311 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3312 array size at least. It's necessary to write '\x00'==0 to get something
3313 that's true only with -std1. */
3314 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3316 int test (int i, double x);
3317 struct s1 {int (*f) (int a);};
3318 struct s2 {int (*f) (double a);};
3319 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3325 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3330 # Don't try gcc -ansi; that turns off useful extensions and
3331 # breaks some systems' header files.
3332 # AIX -qlanglvl=ansi
3333 # Ultrix and OSF/1 -std1
3334 # HP-UX 10.20 and later -Ae
3335 # HP-UX older versions -Aa -D_HPUX_SOURCE
3336 # SVR4 -Xc -D__EXTENSIONS__
3337 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3339 CC="$ac_save_CC $ac_arg"
3340 rm -f conftest.$ac_objext
3341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3342 (eval $ac_compile) 2>conftest.er1
3344 grep -v '^ *+' conftest.er1 >conftest.err
3346 cat conftest.err >&5
3347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3348 (exit $ac_status); } &&
3349 { ac_try='test -z "$ac_c_werror_flag"
3350 || test ! -s conftest.err'
3351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3355 (exit $ac_status); }; } &&
3356 { ac_try='test -s conftest.$ac_objext'
3357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3361 (exit $ac_status); }; }; then
3362 ac_cv_prog_cc_stdc=$ac_arg
3365 echo "$as_me: failed program was:" >&5
3366 sed 's/^/| /' conftest.$ac_ext >&5
3369 rm -f conftest.err conftest.$ac_objext
3371 rm -f conftest.$ac_ext conftest.$ac_objext
3376 case "x$ac_cv_prog_cc_stdc" in
3378 echo "$as_me:$LINENO: result: none needed" >&5
3379 echo "${ECHO_T}none needed" >&6 ;;
3381 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3382 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3383 CC="$CC $ac_cv_prog_cc_stdc" ;;
3386 # Some people use a C++ compiler to compile C. Since we use `exit',
3387 # in C++ we need to declare it. In case someone uses the same compiler
3388 # for both compiling C and C++ we need to have the C++ compiler decide
3389 # the declaration of exit, since it's the most demanding environment.
3390 cat >conftest.$ac_ext <<_ACEOF
3395 rm -f conftest.$ac_objext
3396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3397 (eval $ac_compile) 2>conftest.er1
3399 grep -v '^ *+' conftest.er1 >conftest.err
3401 cat conftest.err >&5
3402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3403 (exit $ac_status); } &&
3404 { ac_try='test -z "$ac_c_werror_flag"
3405 || test ! -s conftest.err'
3406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3410 (exit $ac_status); }; } &&
3411 { ac_try='test -s conftest.$ac_objext'
3412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3416 (exit $ac_status); }; }; then
3417 for ac_declaration in \
3419 'extern "C" void std::exit (int) throw (); using std::exit;' \
3420 'extern "C" void std::exit (int); using std::exit;' \
3421 'extern "C" void exit (int) throw ();' \
3422 'extern "C" void exit (int);' \
3425 cat >conftest.$ac_ext <<_ACEOF
3428 cat confdefs.h >>conftest.$ac_ext
3429 cat >>conftest.$ac_ext <<_ACEOF
3430 /* end confdefs.h. */
3441 rm -f conftest.$ac_objext
3442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3443 (eval $ac_compile) 2>conftest.er1
3445 grep -v '^ *+' conftest.er1 >conftest.err
3447 cat conftest.err >&5
3448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3449 (exit $ac_status); } &&
3450 { ac_try='test -z "$ac_c_werror_flag"
3451 || test ! -s conftest.err'
3452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3456 (exit $ac_status); }; } &&
3457 { ac_try='test -s conftest.$ac_objext'
3458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3462 (exit $ac_status); }; }; then
3465 echo "$as_me: failed program was:" >&5
3466 sed 's/^/| /' conftest.$ac_ext >&5
3470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3471 cat >conftest.$ac_ext <<_ACEOF
3474 cat confdefs.h >>conftest.$ac_ext
3475 cat >>conftest.$ac_ext <<_ACEOF
3476 /* end confdefs.h. */
3486 rm -f conftest.$ac_objext
3487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3488 (eval $ac_compile) 2>conftest.er1
3490 grep -v '^ *+' conftest.er1 >conftest.err
3492 cat conftest.err >&5
3493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3494 (exit $ac_status); } &&
3495 { ac_try='test -z "$ac_c_werror_flag"
3496 || test ! -s conftest.err'
3497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3501 (exit $ac_status); }; } &&
3502 { ac_try='test -s conftest.$ac_objext'
3503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3507 (exit $ac_status); }; }; then
3510 echo "$as_me: failed program was:" >&5
3511 sed 's/^/| /' conftest.$ac_ext >&5
3514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3517 if test -n "$ac_declaration"; then
3518 echo '#ifdef __cplusplus' >>confdefs.h
3519 echo $ac_declaration >>confdefs.h
3520 echo '#endif' >>confdefs.h
3524 echo "$as_me: failed program was:" >&5
3525 sed 's/^/| /' conftest.$ac_ext >&5
3528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3530 ac_cpp='$CPP $CPPFLAGS'
3531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3535 depcc="$CC" am_compiler_list=
3537 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3538 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3539 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3540 echo $ECHO_N "(cached) $ECHO_C" >&6
3542 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3543 # We make a subdir and do the tests there. Otherwise we can end up
3544 # making bogus files that we don't know about and never remove. For
3545 # instance it was reported that on HP-UX the gcc test will end up
3546 # making a dummy file named `D' -- because `-MD' means `put the output
3549 # Copy depcomp to subdir because otherwise we won't find it if we're
3550 # using a relative directory.
3551 cp "$am_depcomp" conftest.dir
3553 # We will build objects and dependencies in a subdirectory because
3554 # it helps to detect inapplicable dependency modes. For instance
3555 # both Tru64's cc and ICC support -MD to output dependencies as a
3556 # side effect of compilation, but ICC will put the dependencies in
3557 # the current directory while Tru64 will put them in the object
3561 am_cv_CC_dependencies_compiler_type=none
3562 if test "$am_compiler_list" = ""; then
3563 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3565 for depmode in $am_compiler_list; do
3566 # Setup a source with many dependencies, because some compilers
3567 # like to wrap large dependency lists on column 80 (with \), and
3568 # we should not choose a depcomp mode which is confused by this.
3570 # We need to recreate these files for each test, as the compiler may
3571 # overwrite some of them when testing with obscure command lines.
3572 # This happens at least with the AIX C compiler.
3574 for i in 1 2 3 4 5 6; do
3575 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3576 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3577 # Solaris 8's {/usr,}/bin/sh.
3578 touch sub/conftst$i.h
3580 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3584 # after this tag, mechanisms are not by side-effect, so they'll
3585 # only be used when explicitly requested
3586 if test "x$enable_dependency_tracking" = xyes; then
3594 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3595 # mode. It turns out that the SunPro C++ compiler does not properly
3596 # handle `-M -o', and we need to detect this.
3597 if depmode=$depmode \
3598 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3599 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3600 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3601 >/dev/null 2>conftest.err &&
3602 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3603 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3604 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3605 # icc doesn't choke on unknown options, it will just issue warnings
3606 # or remarks (even with -Werror). So we grep stderr for any message
3607 # that says an option was ignored or not supported.
3608 # When given -MP, icc 7.0 and 7.1 complain thusly:
3609 # icc: Command line warning: ignoring option '-M'; no argument required
3610 # The diagnosis changed in icc 8.0:
3611 # icc: Command line remark: option '-MP' not supported
3612 if (grep 'ignoring option' conftest.err ||
3613 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3614 am_cv_CC_dependencies_compiler_type=$depmode
3623 am_cv_CC_dependencies_compiler_type=none
3627 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3628 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3629 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3634 test "x$enable_dependency_tracking" != xno \
3635 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3637 am__fastdepCC_FALSE='#'
3639 am__fastdepCC_TRUE='#'
3640 am__fastdepCC_FALSE=
3644 # Find a good install program. We prefer a C program (faster),
3645 # so one script is as good as another. But avoid the broken or
3646 # incompatible versions:
3647 # SysV /etc/install, /usr/sbin/install
3648 # SunOS /usr/etc/install
3649 # IRIX /sbin/install
3651 # AmigaOS /C/install, which installs bootblocks on floppy discs
3652 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3653 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3654 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3655 # OS/2's system install, which has a completely different semantic
3656 # ./install, which can be erroneously created by make from ./install.sh.
3657 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3658 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3659 if test -z "$INSTALL"; then
3660 if test "${ac_cv_path_install+set}" = set; then
3661 echo $ECHO_N "(cached) $ECHO_C" >&6
3663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3667 test -z "$as_dir" && as_dir=.
3668 # Account for people who put trailing slashes in PATH elements.
3670 ./ | .// | /cC/* | \
3671 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3672 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3675 # OSF1 and SCO ODT 3.0 have their own names for install.
3676 # Don't use installbsd from OSF since it installs stuff as root
3678 for ac_prog in ginstall scoinst install; do
3679 for ac_exec_ext in '' $ac_executable_extensions; do
3680 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3681 if test $ac_prog = install &&
3682 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3683 # AIX install. It has an incompatible calling convention.
3685 elif test $ac_prog = install &&
3686 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3687 # program-specific install script used by HP pwplus--don't use.
3690 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3702 if test "${ac_cv_path_install+set}" = set; then
3703 INSTALL=$ac_cv_path_install
3705 # As a last resort, use the slow shell script. We don't cache a
3706 # path for INSTALL within a source directory, because that will
3707 # break other packages using the cache if that directory is
3708 # removed, or if the path is relative.
3709 INSTALL=$ac_install_sh
3712 echo "$as_me:$LINENO: result: $INSTALL" >&5
3713 echo "${ECHO_T}$INSTALL" >&6
3715 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3716 # It thinks the first close brace ends the variable substitution.
3717 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3719 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3721 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3723 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3724 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3726 if test "$LN_S" = "ln -s"; then
3727 echo "$as_me:$LINENO: result: yes" >&5
3728 echo "${ECHO_T}yes" >&6
3730 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3731 echo "${ECHO_T}no, using $LN_S" >&6
3734 if test "x$CC" != xcc; then
3735 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3736 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
3738 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3739 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
3741 set dummy $CC; ac_cc=`echo $2 |
3742 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3743 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
3744 echo $ECHO_N "(cached) $ECHO_C" >&6
3746 cat >conftest.$ac_ext <<_ACEOF
3749 cat confdefs.h >>conftest.$ac_ext
3750 cat >>conftest.$ac_ext <<_ACEOF
3751 /* end confdefs.h. */
3761 # Make sure it works both with $CC and with simple cc.
3762 # We do the test twice because some compilers refuse to overwrite an
3763 # existing .o file with -o, though they will create one.
3764 ac_try='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
3765 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3769 (exit $ac_status); } &&
3770 test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3774 (exit $ac_status); };
3776 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3777 if test "x$CC" != xcc; then
3778 # Test first that cc exists at all.
3779 if { ac_try='cc -c conftest.$ac_ext >&5'
3780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3784 (exit $ac_status); }; }; then
3785 ac_try='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
3786 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3790 (exit $ac_status); } &&
3791 test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3795 (exit $ac_status); };
3800 # cc exists but doesn't like -o.
3801 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3806 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3811 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
3812 echo "$as_me:$LINENO: result: yes" >&5
3813 echo "${ECHO_T}yes" >&6
3815 echo "$as_me:$LINENO: result: no" >&5
3816 echo "${ECHO_T}no" >&6
3818 cat >>confdefs.h <<\_ACEOF
3819 #define NO_MINUS_C_MINUS_O 1
3824 # FIXME: we rely on the cache variable name because
3825 # there is no other way.
3827 ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3828 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
3829 # Losing compiler, so override with the script.
3830 # FIXME: It is wrong to rewrite CC.
3831 # But if we don't then we get into trouble of one sort or another.
3832 # A longer-term fix would be to have automake use am__CC in this case,
3833 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3834 CC="$am_aux_dir/compile $CC"
3841 echo "$as_me:$LINENO: checking whether $CXX is a C++ compiler" >&5
3842 echo $ECHO_N "checking whether $CXX is a C++ compiler... $ECHO_C" >&6
3843 if test "${ensc_cv_cxx_cxxcompiler+set}" = set; then
3844 echo $ECHO_N "(cached) $ECHO_C" >&6
3848 ac_cpp='$CXXCPP $CPPFLAGS'
3849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3853 cat >conftest.$ac_ext <<_ACEOF
3858 rm -f conftest.$ac_objext
3859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3860 (eval $ac_compile) 2>conftest.er1
3862 grep -v '^ *+' conftest.er1 >conftest.err
3864 cat conftest.err >&5
3865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3866 (exit $ac_status); } &&
3867 { ac_try='test -z "$ac_cxx_werror_flag"
3868 || test ! -s conftest.err'
3869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3873 (exit $ac_status); }; } &&
3874 { ac_try='test -s conftest.$ac_objext'
3875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3879 (exit $ac_status); }; }; then
3880 ensc_cv_cxx_cxxcompiler=yes
3882 echo "$as_me: failed program was:" >&5
3883 sed 's/^/| /' conftest.$ac_ext >&5
3885 ensc_cv_cxx_cxxcompiler=no
3887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3889 ac_cpp='$CPP $CPPFLAGS'
3890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3896 echo "$as_me:$LINENO: result: $ensc_cv_cxx_cxxcompiler" >&5
3897 echo "${ECHO_T}$ensc_cv_cxx_cxxcompiler" >&6
3901 if test x"$ensc_cv_cxx_cxxcompiler" = xyes; then
3902 ENSC_HAVE_CXX_COMPILER_TRUE=
3903 ENSC_HAVE_CXX_COMPILER_FALSE='#'
3905 ENSC_HAVE_CXX_COMPILER_TRUE='#'
3906 ENSC_HAVE_CXX_COMPILER_FALSE=
3910 if test x"$ensc_cv_cxx_cxxcompiler" = xno; then
3911 { echo "$as_me:$LINENO: WARNING: *** some programs will not be built because a C++ compiler is lacking" >&5
3912 echo "$as_me: WARNING: *** some programs will not be built because a C++ compiler is lacking" >&2;}
3919 echo "$as_me:$LINENO: checking whether $CC is a C99 compiler" >&5
3920 echo $ECHO_N "checking whether $CC is a C99 compiler... $ECHO_C" >&6
3921 if test "${ensc_cv_c99_c99compiler+set}" = set; then
3922 echo $ECHO_N "(cached) $ECHO_C" >&6
3926 ac_cpp='$CPP $CPPFLAGS'
3927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3931 cat >conftest.$ac_ext <<_ACEOF
3933 int main(int argc, char *argv) {
3934 struct { int x; } a = { .x = argc };
3940 rm -f conftest.$ac_objext
3941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3942 (eval $ac_compile) 2>conftest.er1
3944 grep -v '^ *+' conftest.er1 >conftest.err
3946 cat conftest.err >&5
3947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3948 (exit $ac_status); } &&
3949 { ac_try='test -z "$ac_c_werror_flag"
3950 || test ! -s conftest.err'
3951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3955 (exit $ac_status); }; } &&
3956 { ac_try='test -s conftest.$ac_objext'
3957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3961 (exit $ac_status); }; }; then
3962 ensc_cv_c99_c99compiler=yes
3964 echo "$as_me: failed program was:" >&5
3965 sed 's/^/| /' conftest.$ac_ext >&5
3967 ensc_cv_c99_c99compiler=no
3969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3971 ac_cpp='$CPP $CPPFLAGS'
3972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3978 echo "$as_me:$LINENO: result: $ensc_cv_c99_c99compiler" >&5
3979 echo "${ECHO_T}$ensc_cv_c99_c99compiler" >&6
3983 if test x"$ensc_cv_c99_c99compiler" = xyes; then
3984 ENSC_HAVE_C99_COMPILER_TRUE=
3985 ENSC_HAVE_C99_COMPILER_FALSE='#'
3987 ENSC_HAVE_C99_COMPILER_TRUE='#'
3988 ENSC_HAVE_C99_COMPILER_FALSE=
3992 if test x"$ensc_cv_c99_c99compiler" = xno; then
3993 { echo "$as_me:$LINENO: WARNING: *** some programs will not be built because system is lacking a C99 compiler" >&5
3994 echo "$as_me: WARNING: *** some programs will not be built because system is lacking a C99 compiler" >&2;}
3999 ensc_searchpath="$PATH:/sbin:/usr/sbin:/usr/local/sbin"
4024 # Extract the first word of "$ac_prog", so it can be a program name with args.
4025 set dummy $ac_prog; ac_word=$2
4026 echo "$as_me:$LINENO: checking for $ac_word" >&5
4027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4028 if test "${ac_cv_path_AWK+set}" = set; then
4029 echo $ECHO_N "(cached) $ECHO_C" >&6
4033 ac_cv_path_AWK="$AWK" # Let the user override the test with a path.
4036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4037 for as_dir in $ensc_searchpath
4040 test -z "$as_dir" && as_dir=.
4041 for ac_exec_ext in '' $ac_executable_extensions; do
4042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4043 ac_cv_path_AWK="$as_dir/$ac_word$ac_exec_ext"
4044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4055 if test -n "$AWK"; then
4056 echo "$as_me:$LINENO: result: $AWK" >&5
4057 echo "${ECHO_T}$AWK" >&6
4059 echo "$as_me:$LINENO: result: no" >&5
4060 echo "${ECHO_T}no" >&6
4063 test -n "$AWK" && break
4065 test -n "$AWK" || AWK="$ensc_dflt"
4068 if test -z "${AWK}" && $rq; then
4070 { { echo "$as_me:$LINENO: error: Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'." >&5
4071 echo "$as_me: error: Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4072 { (exit 1); exit 1; }; }
4074 { { echo "$as_me:$LINENO: error:
4075 Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'.
4077 echo "$as_me: error:
4078 Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'.
4080 { (exit 1); exit 1; }; }
4084 test "${AWK}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'AWK'@!${AWK}!g;"
4105 # Extract the first word of "$ac_prog", so it can be a program name with args.
4106 set dummy $ac_prog; ac_word=$2
4107 echo "$as_me:$LINENO: checking for $ac_word" >&5
4108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4109 if test "${ac_cv_path_CAT+set}" = set; then
4110 echo $ECHO_N "(cached) $ECHO_C" >&6
4114 ac_cv_path_CAT="$CAT" # Let the user override the test with a path.
4117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4118 for as_dir in $ensc_searchpath
4121 test -z "$as_dir" && as_dir=.
4122 for ac_exec_ext in '' $ac_executable_extensions; do
4123 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4124 ac_cv_path_CAT="$as_dir/$ac_word$ac_exec_ext"
4125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4136 if test -n "$CAT"; then
4137 echo "$as_me:$LINENO: result: $CAT" >&5
4138 echo "${ECHO_T}$CAT" >&6
4140 echo "$as_me:$LINENO: result: no" >&5
4141 echo "${ECHO_T}no" >&6
4144 test -n "$CAT" && break
4146 test -n "$CAT" || CAT="$ensc_dflt"
4149 if test -z "${CAT}" && $rq; then
4151 { { echo "$as_me:$LINENO: error: Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'." >&5
4152 echo "$as_me: error: Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4153 { (exit 1); exit 1; }; }
4155 { { echo "$as_me:$LINENO: error:
4156 Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'.
4158 echo "$as_me: error:
4159 Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'.
4161 { (exit 1); exit 1; }; }
4165 test "${CAT}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CAT'@!${CAT}!g;"
4184 for ac_prog in chown
4186 # Extract the first word of "$ac_prog", so it can be a program name with args.
4187 set dummy $ac_prog; ac_word=$2
4188 echo "$as_me:$LINENO: checking for $ac_word" >&5
4189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4190 if test "${ac_cv_path_CHOWN+set}" = set; then
4191 echo $ECHO_N "(cached) $ECHO_C" >&6
4195 ac_cv_path_CHOWN="$CHOWN" # Let the user override the test with a path.
4198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4199 for as_dir in $ensc_searchpath
4202 test -z "$as_dir" && as_dir=.
4203 for ac_exec_ext in '' $ac_executable_extensions; do
4204 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4205 ac_cv_path_CHOWN="$as_dir/$ac_word$ac_exec_ext"
4206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4215 CHOWN=$ac_cv_path_CHOWN
4217 if test -n "$CHOWN"; then
4218 echo "$as_me:$LINENO: result: $CHOWN" >&5
4219 echo "${ECHO_T}$CHOWN" >&6
4221 echo "$as_me:$LINENO: result: no" >&5
4222 echo "${ECHO_T}no" >&6
4225 test -n "$CHOWN" && break
4227 test -n "$CHOWN" || CHOWN="$ensc_dflt"
4230 if test -z "${CHOWN}" && $rq; then
4232 { { echo "$as_me:$LINENO: error: Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'." >&5
4233 echo "$as_me: error: Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4234 { (exit 1); exit 1; }; }
4236 { { echo "$as_me:$LINENO: error:
4237 Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'.
4239 echo "$as_me: error:
4240 Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'.
4242 { (exit 1); exit 1; }; }
4246 test "${CHOWN}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CHOWN'@!${CHOWN}!g;"
4267 # Extract the first word of "$ac_prog", so it can be a program name with args.
4268 set dummy $ac_prog; ac_word=$2
4269 echo "$as_me:$LINENO: checking for $ac_word" >&5
4270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4271 if test "${ac_cv_path_CMP+set}" = set; then
4272 echo $ECHO_N "(cached) $ECHO_C" >&6
4276 ac_cv_path_CMP="$CMP" # Let the user override the test with a path.
4279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4280 for as_dir in $ensc_searchpath
4283 test -z "$as_dir" && as_dir=.
4284 for ac_exec_ext in '' $ac_executable_extensions; do
4285 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4286 ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext"
4287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4298 if test -n "$CMP"; then
4299 echo "$as_me:$LINENO: result: $CMP" >&5
4300 echo "${ECHO_T}$CMP" >&6
4302 echo "$as_me:$LINENO: result: no" >&5
4303 echo "${ECHO_T}no" >&6
4306 test -n "$CMP" && break
4308 test -n "$CMP" || CMP="$ensc_dflt"
4311 if test -z "${CMP}" && $rq; then
4313 { { echo "$as_me:$LINENO: error: Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'." >&5
4314 echo "$as_me: error: Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4315 { (exit 1); exit 1; }; }
4317 { { echo "$as_me:$LINENO: error:
4318 Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'.
4320 echo "$as_me: error:
4321 Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'.
4323 { (exit 1); exit 1; }; }
4327 test "${CMP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CMP'@!${CMP}!g;"
4348 # Extract the first word of "$ac_prog", so it can be a program name with args.
4349 set dummy $ac_prog; ac_word=$2
4350 echo "$as_me:$LINENO: checking for $ac_word" >&5
4351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4352 if test "${ac_cv_path_CP+set}" = set; then
4353 echo $ECHO_N "(cached) $ECHO_C" >&6
4357 ac_cv_path_CP="$CP" # Let the user override the test with a path.
4360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4361 for as_dir in $ensc_searchpath
4364 test -z "$as_dir" && as_dir=.
4365 for ac_exec_ext in '' $ac_executable_extensions; do
4366 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4367 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
4368 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4379 if test -n "$CP"; then
4380 echo "$as_me:$LINENO: result: $CP" >&5
4381 echo "${ECHO_T}$CP" >&6
4383 echo "$as_me:$LINENO: result: no" >&5
4384 echo "${ECHO_T}no" >&6
4387 test -n "$CP" && break
4389 test -n "$CP" || CP="$ensc_dflt"
4392 if test -z "${CP}" && $rq; then
4394 { { echo "$as_me:$LINENO: error: Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'." >&5
4395 echo "$as_me: error: Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4396 { (exit 1); exit 1; }; }
4398 { { echo "$as_me:$LINENO: error:
4399 Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'.
4401 echo "$as_me: error:
4402 Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'.
4404 { (exit 1); exit 1; }; }
4408 test "${CP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CP'@!${CP}!g;"
4427 for ac_prog in dirname
4429 # Extract the first word of "$ac_prog", so it can be a program name with args.
4430 set dummy $ac_prog; ac_word=$2
4431 echo "$as_me:$LINENO: checking for $ac_word" >&5
4432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4433 if test "${ac_cv_path_DIRNAME+set}" = set; then
4434 echo $ECHO_N "(cached) $ECHO_C" >&6
4438 ac_cv_path_DIRNAME="$DIRNAME" # Let the user override the test with a path.
4441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4442 for as_dir in $ensc_searchpath
4445 test -z "$as_dir" && as_dir=.
4446 for ac_exec_ext in '' $ac_executable_extensions; do
4447 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4448 ac_cv_path_DIRNAME="$as_dir/$ac_word$ac_exec_ext"
4449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4458 DIRNAME=$ac_cv_path_DIRNAME
4460 if test -n "$DIRNAME"; then
4461 echo "$as_me:$LINENO: result: $DIRNAME" >&5
4462 echo "${ECHO_T}$DIRNAME" >&6
4464 echo "$as_me:$LINENO: result: no" >&5
4465 echo "${ECHO_T}no" >&6
4468 test -n "$DIRNAME" && break
4470 test -n "$DIRNAME" || DIRNAME="$ensc_dflt"
4473 if test -z "${DIRNAME}" && $rq; then
4475 { { echo "$as_me:$LINENO: error: Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'." >&5
4476 echo "$as_me: error: Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4477 { (exit 1); exit 1; }; }
4479 { { echo "$as_me:$LINENO: error:
4480 Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'.
4482 echo "$as_me: error:
4483 Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'.
4485 { (exit 1); exit 1; }; }
4489 test "${DIRNAME}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'DIRNAME'@!${DIRNAME}!g;"
4508 for ac_prog in egrep
4510 # Extract the first word of "$ac_prog", so it can be a program name with args.
4511 set dummy $ac_prog; ac_word=$2
4512 echo "$as_me:$LINENO: checking for $ac_word" >&5
4513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4514 if test "${ac_cv_path_EGREP+set}" = set; then
4515 echo $ECHO_N "(cached) $ECHO_C" >&6
4519 ac_cv_path_EGREP="$EGREP" # Let the user override the test with a path.
4522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4523 for as_dir in $ensc_searchpath
4526 test -z "$as_dir" && as_dir=.
4527 for ac_exec_ext in '' $ac_executable_extensions; do
4528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4529 ac_cv_path_EGREP="$as_dir/$ac_word$ac_exec_ext"
4530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4539 EGREP=$ac_cv_path_EGREP
4541 if test -n "$EGREP"; then
4542 echo "$as_me:$LINENO: result: $EGREP" >&5
4543 echo "${ECHO_T}$EGREP" >&6
4545 echo "$as_me:$LINENO: result: no" >&5
4546 echo "${ECHO_T}no" >&6
4549 test -n "$EGREP" && break
4551 test -n "$EGREP" || EGREP="$ensc_dflt"
4554 if test -z "${EGREP}" && $rq; then
4556 { { echo "$as_me:$LINENO: error: Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'." >&5
4557 echo "$as_me: error: Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4558 { (exit 1); exit 1; }; }
4560 { { echo "$as_me:$LINENO: error:
4561 Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'.
4563 echo "$as_me: error:
4564 Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'.
4566 { (exit 1); exit 1; }; }
4570 test "${EGREP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'EGREP'@!${EGREP}!g;"
4591 # Extract the first word of "$ac_prog", so it can be a program name with args.
4592 set dummy $ac_prog; ac_word=$2
4593 echo "$as_me:$LINENO: checking for $ac_word" >&5
4594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4595 if test "${ac_cv_path_ENV+set}" = set; then
4596 echo $ECHO_N "(cached) $ECHO_C" >&6
4600 ac_cv_path_ENV="$ENV" # Let the user override the test with a path.
4603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4604 for as_dir in $ensc_searchpath
4607 test -z "$as_dir" && as_dir=.
4608 for ac_exec_ext in '' $ac_executable_extensions; do
4609 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4610 ac_cv_path_ENV="$as_dir/$ac_word$ac_exec_ext"
4611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4622 if test -n "$ENV"; then
4623 echo "$as_me:$LINENO: result: $ENV" >&5
4624 echo "${ECHO_T}$ENV" >&6
4626 echo "$as_me:$LINENO: result: no" >&5
4627 echo "${ECHO_T}no" >&6
4630 test -n "$ENV" && break
4632 test -n "$ENV" || ENV="$ensc_dflt"
4635 if test -z "${ENV}" && $rq; then
4637 { { echo "$as_me:$LINENO: error: Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'." >&5
4638 echo "$as_me: error: Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4639 { (exit 1); exit 1; }; }
4641 { { echo "$as_me:$LINENO: error:
4642 Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'.
4644 echo "$as_me: error:
4645 Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'.
4647 { (exit 1); exit 1; }; }
4651 test "${ENV}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'ENV'@!${ENV}!g;"
4672 # Extract the first word of "$ac_prog", so it can be a program name with args.
4673 set dummy $ac_prog; ac_word=$2
4674 echo "$as_me:$LINENO: checking for $ac_word" >&5
4675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4676 if test "${ac_cv_path_GREP+set}" = set; then
4677 echo $ECHO_N "(cached) $ECHO_C" >&6
4681 ac_cv_path_GREP="$GREP" # Let the user override the test with a path.
4684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4685 for as_dir in $ensc_searchpath
4688 test -z "$as_dir" && as_dir=.
4689 for ac_exec_ext in '' $ac_executable_extensions; do
4690 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4691 ac_cv_path_GREP="$as_dir/$ac_word$ac_exec_ext"
4692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4701 GREP=$ac_cv_path_GREP
4703 if test -n "$GREP"; then
4704 echo "$as_me:$LINENO: result: $GREP" >&5
4705 echo "${ECHO_T}$GREP" >&6
4707 echo "$as_me:$LINENO: result: no" >&5
4708 echo "${ECHO_T}no" >&6
4711 test -n "$GREP" && break
4713 test -n "$GREP" || GREP="$ensc_dflt"
4716 if test -z "${GREP}" && $rq; then
4718 { { echo "$as_me:$LINENO: error: Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'." >&5
4719 echo "$as_me: error: Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4720 { (exit 1); exit 1; }; }
4722 { { echo "$as_me:$LINENO: error:
4723 Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'.
4725 echo "$as_me: error:
4726 Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'.
4728 { (exit 1); exit 1; }; }
4732 test "${GREP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'GREP'@!${GREP}!g;"
4753 # Extract the first word of "$ac_prog", so it can be a program name with args.
4754 set dummy $ac_prog; ac_word=$2
4755 echo "$as_me:$LINENO: checking for $ac_word" >&5
4756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4757 if test "${ac_cv_path_LN+set}" = set; then
4758 echo $ECHO_N "(cached) $ECHO_C" >&6
4762 ac_cv_path_LN="$LN" # Let the user override the test with a path.
4765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4766 for as_dir in $ensc_searchpath
4769 test -z "$as_dir" && as_dir=.
4770 for ac_exec_ext in '' $ac_executable_extensions; do
4771 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4772 ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext"
4773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4784 if test -n "$LN"; then
4785 echo "$as_me:$LINENO: result: $LN" >&5
4786 echo "${ECHO_T}$LN" >&6
4788 echo "$as_me:$LINENO: result: no" >&5
4789 echo "${ECHO_T}no" >&6
4792 test -n "$LN" && break
4794 test -n "$LN" || LN="$ensc_dflt"
4797 if test -z "${LN}" && $rq; then
4799 { { echo "$as_me:$LINENO: error: Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'." >&5
4800 echo "$as_me: error: Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4801 { (exit 1); exit 1; }; }
4803 { { echo "$as_me:$LINENO: error:
4804 Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'.
4806 echo "$as_me: error:
4807 Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'.
4809 { (exit 1); exit 1; }; }
4813 test "${LN}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'LN'@!${LN}!g;"
4832 for ac_prog in mkdir
4834 # Extract the first word of "$ac_prog", so it can be a program name with args.
4835 set dummy $ac_prog; ac_word=$2
4836 echo "$as_me:$LINENO: checking for $ac_word" >&5
4837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4838 if test "${ac_cv_path_MKDIR+set}" = set; then
4839 echo $ECHO_N "(cached) $ECHO_C" >&6
4843 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
4846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4847 for as_dir in $ensc_searchpath
4850 test -z "$as_dir" && as_dir=.
4851 for ac_exec_ext in '' $ac_executable_extensions; do
4852 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4853 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
4854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4863 MKDIR=$ac_cv_path_MKDIR
4865 if test -n "$MKDIR"; then
4866 echo "$as_me:$LINENO: result: $MKDIR" >&5
4867 echo "${ECHO_T}$MKDIR" >&6
4869 echo "$as_me:$LINENO: result: no" >&5
4870 echo "${ECHO_T}no" >&6
4873 test -n "$MKDIR" && break
4875 test -n "$MKDIR" || MKDIR="$ensc_dflt"
4878 if test -z "${MKDIR}" && $rq; then
4880 { { echo "$as_me:$LINENO: error: Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'." >&5
4881 echo "$as_me: error: Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4882 { (exit 1); exit 1; }; }
4884 { { echo "$as_me:$LINENO: error:
4885 Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'.
4887 echo "$as_me: error:
4888 Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'.
4890 { (exit 1); exit 1; }; }
4894 test "${MKDIR}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MKDIR'@!${MKDIR}!g;"
4913 for ac_prog in mkfifo
4915 # Extract the first word of "$ac_prog", so it can be a program name with args.
4916 set dummy $ac_prog; ac_word=$2
4917 echo "$as_me:$LINENO: checking for $ac_word" >&5
4918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4919 if test "${ac_cv_path_MKFIFO+set}" = set; then
4920 echo $ECHO_N "(cached) $ECHO_C" >&6
4924 ac_cv_path_MKFIFO="$MKFIFO" # Let the user override the test with a path.
4927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4928 for as_dir in $ensc_searchpath
4931 test -z "$as_dir" && as_dir=.
4932 for ac_exec_ext in '' $ac_executable_extensions; do
4933 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4934 ac_cv_path_MKFIFO="$as_dir/$ac_word$ac_exec_ext"
4935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4944 MKFIFO=$ac_cv_path_MKFIFO
4946 if test -n "$MKFIFO"; then
4947 echo "$as_me:$LINENO: result: $MKFIFO" >&5
4948 echo "${ECHO_T}$MKFIFO" >&6
4950 echo "$as_me:$LINENO: result: no" >&5
4951 echo "${ECHO_T}no" >&6
4954 test -n "$MKFIFO" && break
4956 test -n "$MKFIFO" || MKFIFO="$ensc_dflt"
4959 if test -z "${MKFIFO}" && $rq; then
4961 { { echo "$as_me:$LINENO: error: Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'." >&5
4962 echo "$as_me: error: Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'." >&2;}
4963 { (exit 1); exit 1; }; }
4965 { { echo "$as_me:$LINENO: error:
4966 Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'.
4968 echo "$as_me: error:
4969 Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'.
4971 { (exit 1); exit 1; }; }
4975 test "${MKFIFO}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MKFIFO'@!${MKFIFO}!g;"
4994 for ac_prog in mktemp
4996 # Extract the first word of "$ac_prog", so it can be a program name with args.
4997 set dummy $ac_prog; ac_word=$2
4998 echo "$as_me:$LINENO: checking for $ac_word" >&5
4999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5000 if test "${ac_cv_path_MKTEMP+set}" = set; then
5001 echo $ECHO_N "(cached) $ECHO_C" >&6
5005 ac_cv_path_MKTEMP="$MKTEMP" # Let the user override the test with a path.
5008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5009 for as_dir in $ensc_searchpath
5012 test -z "$as_dir" && as_dir=.
5013 for ac_exec_ext in '' $ac_executable_extensions; do
5014 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5015 ac_cv_path_MKTEMP="$as_dir/$ac_word$ac_exec_ext"
5016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5025 MKTEMP=$ac_cv_path_MKTEMP
5027 if test -n "$MKTEMP"; then
5028 echo "$as_me:$LINENO: result: $MKTEMP" >&5
5029 echo "${ECHO_T}$MKTEMP" >&6
5031 echo "$as_me:$LINENO: result: no" >&5
5032 echo "${ECHO_T}no" >&6
5035 test -n "$MKTEMP" && break
5037 test -n "$MKTEMP" || MKTEMP="$ensc_dflt"
5040 if test -z "${MKTEMP}" && $rq; then
5042 { { echo "$as_me:$LINENO: error: Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'." >&5
5043 echo "$as_me: error: Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5044 { (exit 1); exit 1; }; }
5046 { { echo "$as_me:$LINENO: error:
5047 Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'.
5049 echo "$as_me: error:
5050 Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'.
5052 { (exit 1); exit 1; }; }
5056 test "${MKTEMP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MKTEMP'@!${MKTEMP}!g;"
5075 for ac_prog in mount
5077 # Extract the first word of "$ac_prog", so it can be a program name with args.
5078 set dummy $ac_prog; ac_word=$2
5079 echo "$as_me:$LINENO: checking for $ac_word" >&5
5080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5081 if test "${ac_cv_path_MOUNT+set}" = set; then
5082 echo $ECHO_N "(cached) $ECHO_C" >&6
5086 ac_cv_path_MOUNT="$MOUNT" # Let the user override the test with a path.
5089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5090 for as_dir in $ensc_searchpath
5093 test -z "$as_dir" && as_dir=.
5094 for ac_exec_ext in '' $ac_executable_extensions; do
5095 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5096 ac_cv_path_MOUNT="$as_dir/$ac_word$ac_exec_ext"
5097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5106 MOUNT=$ac_cv_path_MOUNT
5108 if test -n "$MOUNT"; then
5109 echo "$as_me:$LINENO: result: $MOUNT" >&5
5110 echo "${ECHO_T}$MOUNT" >&6
5112 echo "$as_me:$LINENO: result: no" >&5
5113 echo "${ECHO_T}no" >&6
5116 test -n "$MOUNT" && break
5118 test -n "$MOUNT" || MOUNT="$ensc_dflt"
5121 if test -z "${MOUNT}" && $rq; then
5123 { { echo "$as_me:$LINENO: error: Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'." >&5
5124 echo "$as_me: error: Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5125 { (exit 1); exit 1; }; }
5127 { { echo "$as_me:$LINENO: error:
5128 Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'.
5130 echo "$as_me: error:
5131 Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'.
5133 { (exit 1); exit 1; }; }
5137 test "${MOUNT}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MOUNT'@!${MOUNT}!g;"
5158 # Extract the first word of "$ac_prog", so it can be a program name with args.
5159 set dummy $ac_prog; ac_word=$2
5160 echo "$as_me:$LINENO: checking for $ac_word" >&5
5161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5162 if test "${ac_cv_path_MV+set}" = set; then
5163 echo $ECHO_N "(cached) $ECHO_C" >&6
5167 ac_cv_path_MV="$MV" # Let the user override the test with a path.
5170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5171 for as_dir in $ensc_searchpath
5174 test -z "$as_dir" && as_dir=.
5175 for ac_exec_ext in '' $ac_executable_extensions; do
5176 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5177 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
5178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5189 if test -n "$MV"; then
5190 echo "$as_me:$LINENO: result: $MV" >&5
5191 echo "${ECHO_T}$MV" >&6
5193 echo "$as_me:$LINENO: result: no" >&5
5194 echo "${ECHO_T}no" >&6
5197 test -n "$MV" && break
5199 test -n "$MV" || MV="$ensc_dflt"
5202 if test -z "${MV}" && $rq; then
5204 { { echo "$as_me:$LINENO: error: Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'." >&5
5205 echo "$as_me: error: Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5206 { (exit 1); exit 1; }; }
5208 { { echo "$as_me:$LINENO: error:
5209 Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'.
5211 echo "$as_me: error:
5212 Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'.
5214 { (exit 1); exit 1; }; }
5218 test "${MV}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MV'@!${MV}!g;"
5239 # Extract the first word of "$ac_prog", so it can be a program name with args.
5240 set dummy $ac_prog; ac_word=$2
5241 echo "$as_me:$LINENO: checking for $ac_word" >&5
5242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5243 if test "${ac_cv_path_NICE+set}" = set; then
5244 echo $ECHO_N "(cached) $ECHO_C" >&6
5248 ac_cv_path_NICE="$NICE" # Let the user override the test with a path.
5251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5252 for as_dir in $ensc_searchpath
5255 test -z "$as_dir" && as_dir=.
5256 for ac_exec_ext in '' $ac_executable_extensions; do
5257 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5258 ac_cv_path_NICE="$as_dir/$ac_word$ac_exec_ext"
5259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5268 NICE=$ac_cv_path_NICE
5270 if test -n "$NICE"; then
5271 echo "$as_me:$LINENO: result: $NICE" >&5
5272 echo "${ECHO_T}$NICE" >&6
5274 echo "$as_me:$LINENO: result: no" >&5
5275 echo "${ECHO_T}no" >&6
5278 test -n "$NICE" && break
5280 test -n "$NICE" || NICE="$ensc_dflt"
5283 if test -z "${NICE}" && $rq; then
5285 { { echo "$as_me:$LINENO: error: Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'." >&5
5286 echo "$as_me: error: Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5287 { (exit 1); exit 1; }; }
5289 { { echo "$as_me:$LINENO: error:
5290 Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'.
5292 echo "$as_me: error:
5293 Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'.
5295 { (exit 1); exit 1; }; }
5299 test "${NICE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'NICE'@!${NICE}!g;"
5320 # Extract the first word of "$ac_prog", so it can be a program name with args.
5321 set dummy $ac_prog; ac_word=$2
5322 echo "$as_me:$LINENO: checking for $ac_word" >&5
5323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5324 if test "${ac_cv_path_PS+set}" = set; then
5325 echo $ECHO_N "(cached) $ECHO_C" >&6
5329 ac_cv_path_PS="$PS" # Let the user override the test with a path.
5332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5333 for as_dir in $ensc_searchpath
5336 test -z "$as_dir" && as_dir=.
5337 for ac_exec_ext in '' $ac_executable_extensions; do
5338 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5339 ac_cv_path_PS="$as_dir/$ac_word$ac_exec_ext"
5340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5351 if test -n "$PS"; then
5352 echo "$as_me:$LINENO: result: $PS" >&5
5353 echo "${ECHO_T}$PS" >&6
5355 echo "$as_me:$LINENO: result: no" >&5
5356 echo "${ECHO_T}no" >&6
5359 test -n "$PS" && break
5361 test -n "$PS" || PS="$ensc_dflt"
5364 if test -z "${PS}" && $rq; then
5366 { { echo "$as_me:$LINENO: error: Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'." >&5
5367 echo "$as_me: error: Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5368 { (exit 1); exit 1; }; }
5370 { { echo "$as_me:$LINENO: error:
5371 Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'.
5373 echo "$as_me: error:
5374 Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'.
5376 { (exit 1); exit 1; }; }
5380 test "${PS}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'PS'@!${PS}!g;"
5401 # Extract the first word of "$ac_prog", so it can be a program name with args.
5402 set dummy $ac_prog; ac_word=$2
5403 echo "$as_me:$LINENO: checking for $ac_word" >&5
5404 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5405 if test "${ac_cv_path_RM+set}" = set; then
5406 echo $ECHO_N "(cached) $ECHO_C" >&6
5410 ac_cv_path_RM="$RM" # Let the user override the test with a path.
5413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5414 for as_dir in $ensc_searchpath
5417 test -z "$as_dir" && as_dir=.
5418 for ac_exec_ext in '' $ac_executable_extensions; do
5419 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5420 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
5421 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5432 if test -n "$RM"; then
5433 echo "$as_me:$LINENO: result: $RM" >&5
5434 echo "${ECHO_T}$RM" >&6
5436 echo "$as_me:$LINENO: result: no" >&5
5437 echo "${ECHO_T}no" >&6
5440 test -n "$RM" && break
5442 test -n "$RM" || RM="$ensc_dflt"
5445 if test -z "${RM}" && $rq; then
5447 { { echo "$as_me:$LINENO: error: Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'." >&5
5448 echo "$as_me: error: Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5449 { (exit 1); exit 1; }; }
5451 { { echo "$as_me:$LINENO: error:
5452 Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'.
5454 echo "$as_me: error:
5455 Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'.
5457 { (exit 1); exit 1; }; }
5461 test "${RM}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RM'@!${RM}!g;"
5480 for ac_prog in rmdir
5482 # Extract the first word of "$ac_prog", so it can be a program name with args.
5483 set dummy $ac_prog; ac_word=$2
5484 echo "$as_me:$LINENO: checking for $ac_word" >&5
5485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5486 if test "${ac_cv_path_RMDIR+set}" = set; then
5487 echo $ECHO_N "(cached) $ECHO_C" >&6
5491 ac_cv_path_RMDIR="$RMDIR" # Let the user override the test with a path.
5494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5495 for as_dir in $ensc_searchpath
5498 test -z "$as_dir" && as_dir=.
5499 for ac_exec_ext in '' $ac_executable_extensions; do
5500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5501 ac_cv_path_RMDIR="$as_dir/$ac_word$ac_exec_ext"
5502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5511 RMDIR=$ac_cv_path_RMDIR
5513 if test -n "$RMDIR"; then
5514 echo "$as_me:$LINENO: result: $RMDIR" >&5
5515 echo "${ECHO_T}$RMDIR" >&6
5517 echo "$as_me:$LINENO: result: no" >&5
5518 echo "${ECHO_T}no" >&6
5521 test -n "$RMDIR" && break
5523 test -n "$RMDIR" || RMDIR="$ensc_dflt"
5526 if test -z "${RMDIR}" && $rq; then
5528 { { echo "$as_me:$LINENO: error: Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'." >&5
5529 echo "$as_me: error: Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5530 { (exit 1); exit 1; }; }
5532 { { echo "$as_me:$LINENO: error:
5533 Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'.
5535 echo "$as_me: error:
5536 Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'.
5538 { (exit 1); exit 1; }; }
5542 test "${RMDIR}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RMDIR'@!${RMDIR}!g;"
5563 # Extract the first word of "$ac_prog", so it can be a program name with args.
5564 set dummy $ac_prog; ac_word=$2
5565 echo "$as_me:$LINENO: checking for $ac_word" >&5
5566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5567 if test "${ac_cv_path_SED+set}" = set; then
5568 echo $ECHO_N "(cached) $ECHO_C" >&6
5572 ac_cv_path_SED="$SED" # Let the user override the test with a path.
5575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5576 for as_dir in $ensc_searchpath
5579 test -z "$as_dir" && as_dir=.
5580 for ac_exec_ext in '' $ac_executable_extensions; do
5581 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5582 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
5583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5594 if test -n "$SED"; then
5595 echo "$as_me:$LINENO: result: $SED" >&5
5596 echo "${ECHO_T}$SED" >&6
5598 echo "$as_me:$LINENO: result: no" >&5
5599 echo "${ECHO_T}no" >&6
5602 test -n "$SED" && break
5604 test -n "$SED" || SED="$ensc_dflt"
5607 if test -z "${SED}" && $rq; then
5609 { { echo "$as_me:$LINENO: error: Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'." >&5
5610 echo "$as_me: error: Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5611 { (exit 1); exit 1; }; }
5613 { { echo "$as_me:$LINENO: error:
5614 Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'.
5616 echo "$as_me: error:
5617 Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'.
5619 { (exit 1); exit 1; }; }
5623 test "${SED}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'SED'@!${SED}!g;"
5644 # Extract the first word of "$ac_prog", so it can be a program name with args.
5645 set dummy $ac_prog; ac_word=$2
5646 echo "$as_me:$LINENO: checking for $ac_word" >&5
5647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5648 if test "${ac_cv_path_SH+set}" = set; then
5649 echo $ECHO_N "(cached) $ECHO_C" >&6
5653 ac_cv_path_SH="$SH" # Let the user override the test with a path.
5656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5657 for as_dir in $ensc_searchpath
5660 test -z "$as_dir" && as_dir=.
5661 for ac_exec_ext in '' $ac_executable_extensions; do
5662 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5663 ac_cv_path_SH="$as_dir/$ac_word$ac_exec_ext"
5664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5675 if test -n "$SH"; then
5676 echo "$as_me:$LINENO: result: $SH" >&5
5677 echo "${ECHO_T}$SH" >&6
5679 echo "$as_me:$LINENO: result: no" >&5
5680 echo "${ECHO_T}no" >&6
5683 test -n "$SH" && break
5685 test -n "$SH" || SH="$ensc_dflt"
5688 if test -z "${SH}" && $rq; then
5690 { { echo "$as_me:$LINENO: error: Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'." >&5
5691 echo "$as_me: error: Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5692 { (exit 1); exit 1; }; }
5694 { { echo "$as_me:$LINENO: error:
5695 Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'.
5697 echo "$as_me: error:
5698 Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'.
5700 { (exit 1); exit 1; }; }
5704 test "${SH}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'SH'@!${SH}!g;"
5725 # Extract the first word of "$ac_prog", so it can be a program name with args.
5726 set dummy $ac_prog; ac_word=$2
5727 echo "$as_me:$LINENO: checking for $ac_word" >&5
5728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5729 if test "${ac_cv_path_TAC+set}" = set; then
5730 echo $ECHO_N "(cached) $ECHO_C" >&6
5734 ac_cv_path_TAC="$TAC" # Let the user override the test with a path.
5737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5738 for as_dir in $ensc_searchpath
5741 test -z "$as_dir" && as_dir=.
5742 for ac_exec_ext in '' $ac_executable_extensions; do
5743 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5744 ac_cv_path_TAC="$as_dir/$ac_word$ac_exec_ext"
5745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5756 if test -n "$TAC"; then
5757 echo "$as_me:$LINENO: result: $TAC" >&5
5758 echo "${ECHO_T}$TAC" >&6
5760 echo "$as_me:$LINENO: result: no" >&5
5761 echo "${ECHO_T}no" >&6
5764 test -n "$TAC" && break
5766 test -n "$TAC" || TAC="$ensc_dflt"
5769 if test -z "${TAC}" && $rq; then
5771 { { echo "$as_me:$LINENO: error: Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'." >&5
5772 echo "$as_me: error: Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5773 { (exit 1); exit 1; }; }
5775 { { echo "$as_me:$LINENO: error:
5776 Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'.
5778 echo "$as_me: error:
5779 Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'.
5781 { (exit 1); exit 1; }; }
5785 test "${TAC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TAC'@!${TAC}!g;"
5806 # Extract the first word of "$ac_prog", so it can be a program name with args.
5807 set dummy $ac_prog; ac_word=$2
5808 echo "$as_me:$LINENO: checking for $ac_word" >&5
5809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5810 if test "${ac_cv_path_TAR+set}" = set; then
5811 echo $ECHO_N "(cached) $ECHO_C" >&6
5815 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
5818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5819 for as_dir in $ensc_searchpath
5822 test -z "$as_dir" && as_dir=.
5823 for ac_exec_ext in '' $ac_executable_extensions; do
5824 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5825 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
5826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5837 if test -n "$TAR"; then
5838 echo "$as_me:$LINENO: result: $TAR" >&5
5839 echo "${ECHO_T}$TAR" >&6
5841 echo "$as_me:$LINENO: result: no" >&5
5842 echo "${ECHO_T}no" >&6
5845 test -n "$TAR" && break
5847 test -n "$TAR" || TAR="$ensc_dflt"
5850 if test -z "${TAR}" && $rq; then
5852 { { echo "$as_me:$LINENO: error: Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'." >&5
5853 echo "$as_me: error: Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5854 { (exit 1); exit 1; }; }
5856 { { echo "$as_me:$LINENO: error:
5857 Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'.
5859 echo "$as_me: error:
5860 Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'.
5862 { (exit 1); exit 1; }; }
5866 test "${TAR}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TAR'@!${TAR}!g;"
5885 for ac_prog in touch
5887 # Extract the first word of "$ac_prog", so it can be a program name with args.
5888 set dummy $ac_prog; ac_word=$2
5889 echo "$as_me:$LINENO: checking for $ac_word" >&5
5890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5891 if test "${ac_cv_path_TOUCH+set}" = set; then
5892 echo $ECHO_N "(cached) $ECHO_C" >&6
5896 ac_cv_path_TOUCH="$TOUCH" # Let the user override the test with a path.
5899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5900 for as_dir in $ensc_searchpath
5903 test -z "$as_dir" && as_dir=.
5904 for ac_exec_ext in '' $ac_executable_extensions; do
5905 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5906 ac_cv_path_TOUCH="$as_dir/$ac_word$ac_exec_ext"
5907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5916 TOUCH=$ac_cv_path_TOUCH
5918 if test -n "$TOUCH"; then
5919 echo "$as_me:$LINENO: result: $TOUCH" >&5
5920 echo "${ECHO_T}$TOUCH" >&6
5922 echo "$as_me:$LINENO: result: no" >&5
5923 echo "${ECHO_T}no" >&6
5926 test -n "$TOUCH" && break
5928 test -n "$TOUCH" || TOUCH="$ensc_dflt"
5931 if test -z "${TOUCH}" && $rq; then
5933 { { echo "$as_me:$LINENO: error: Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'." >&5
5934 echo "$as_me: error: Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'." >&2;}
5935 { (exit 1); exit 1; }; }
5937 { { echo "$as_me:$LINENO: error:
5938 Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'.
5940 echo "$as_me: error:
5941 Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'.
5943 { (exit 1); exit 1; }; }
5947 test "${TOUCH}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TOUCH'@!${TOUCH}!g;"
5968 # Extract the first word of "$ac_prog", so it can be a program name with args.
5969 set dummy $ac_prog; ac_word=$2
5970 echo "$as_me:$LINENO: checking for $ac_word" >&5
5971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5972 if test "${ac_cv_path_TTY+set}" = set; then
5973 echo $ECHO_N "(cached) $ECHO_C" >&6
5977 ac_cv_path_TTY="$TTY" # Let the user override the test with a path.
5980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5981 for as_dir in $ensc_searchpath
5984 test -z "$as_dir" && as_dir=.
5985 for ac_exec_ext in '' $ac_executable_extensions; do
5986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5987 ac_cv_path_TTY="$as_dir/$ac_word$ac_exec_ext"
5988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5999 if test -n "$TTY"; then
6000 echo "$as_me:$LINENO: result: $TTY" >&5
6001 echo "${ECHO_T}$TTY" >&6
6003 echo "$as_me:$LINENO: result: no" >&5
6004 echo "${ECHO_T}no" >&6
6007 test -n "$TTY" && break
6009 test -n "$TTY" || TTY="$ensc_dflt"
6012 if test -z "${TTY}" && $rq; then
6014 { { echo "$as_me:$LINENO: error: Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'." >&5
6015 echo "$as_me: error: Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6016 { (exit 1); exit 1; }; }
6018 { { echo "$as_me:$LINENO: error:
6019 Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'.
6021 echo "$as_me: error:
6022 Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'.
6024 { (exit 1); exit 1; }; }
6028 test "${TTY}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TTY'@!${TTY}!g;"
6047 for ac_prog in umount
6049 # Extract the first word of "$ac_prog", so it can be a program name with args.
6050 set dummy $ac_prog; ac_word=$2
6051 echo "$as_me:$LINENO: checking for $ac_word" >&5
6052 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6053 if test "${ac_cv_path_UMOUNT+set}" = set; then
6054 echo $ECHO_N "(cached) $ECHO_C" >&6
6058 ac_cv_path_UMOUNT="$UMOUNT" # Let the user override the test with a path.
6061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6062 for as_dir in $ensc_searchpath
6065 test -z "$as_dir" && as_dir=.
6066 for ac_exec_ext in '' $ac_executable_extensions; do
6067 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6068 ac_cv_path_UMOUNT="$as_dir/$ac_word$ac_exec_ext"
6069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6078 UMOUNT=$ac_cv_path_UMOUNT
6080 if test -n "$UMOUNT"; then
6081 echo "$as_me:$LINENO: result: $UMOUNT" >&5
6082 echo "${ECHO_T}$UMOUNT" >&6
6084 echo "$as_me:$LINENO: result: no" >&5
6085 echo "${ECHO_T}no" >&6
6088 test -n "$UMOUNT" && break
6090 test -n "$UMOUNT" || UMOUNT="$ensc_dflt"
6093 if test -z "${UMOUNT}" && $rq; then
6095 { { echo "$as_me:$LINENO: error: Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'." >&5
6096 echo "$as_me: error: Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6097 { (exit 1); exit 1; }; }
6099 { { echo "$as_me:$LINENO: error:
6100 Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'.
6102 echo "$as_me: error:
6103 Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'.
6105 { (exit 1); exit 1; }; }
6109 test "${UMOUNT}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'UMOUNT'@!${UMOUNT}!g;"
6130 # Extract the first word of "$ac_prog", so it can be a program name with args.
6131 set dummy $ac_prog; ac_word=$2
6132 echo "$as_me:$LINENO: checking for $ac_word" >&5
6133 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6134 if test "${ac_cv_path_WC+set}" = set; then
6135 echo $ECHO_N "(cached) $ECHO_C" >&6
6139 ac_cv_path_WC="$WC" # Let the user override the test with a path.
6142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6143 for as_dir in $ensc_searchpath
6146 test -z "$as_dir" && as_dir=.
6147 for ac_exec_ext in '' $ac_executable_extensions; do
6148 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6149 ac_cv_path_WC="$as_dir/$ac_word$ac_exec_ext"
6150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6161 if test -n "$WC"; then
6162 echo "$as_me:$LINENO: result: $WC" >&5
6163 echo "${ECHO_T}$WC" >&6
6165 echo "$as_me:$LINENO: result: no" >&5
6166 echo "${ECHO_T}no" >&6
6169 test -n "$WC" && break
6171 test -n "$WC" || WC="$ensc_dflt"
6174 if test -z "${WC}" && $rq; then
6176 { { echo "$as_me:$LINENO: error: Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'." >&5
6177 echo "$as_me: error: Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6178 { (exit 1); exit 1; }; }
6180 { { echo "$as_me:$LINENO: error:
6181 Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'.
6183 echo "$as_me: error:
6184 Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'.
6186 { (exit 1); exit 1; }; }
6190 test "${WC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'WC'@!${WC}!g;"
6213 # Extract the first word of "$ac_prog", so it can be a program name with args.
6214 set dummy $ac_prog; ac_word=$2
6215 echo "$as_me:$LINENO: checking for $ac_word" >&5
6216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6217 if test "${ac_cv_path_IP+set}" = set; then
6218 echo $ECHO_N "(cached) $ECHO_C" >&6
6222 ac_cv_path_IP="$IP" # Let the user override the test with a path.
6225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6226 for as_dir in $ensc_searchpath
6229 test -z "$as_dir" && as_dir=.
6230 for ac_exec_ext in '' $ac_executable_extensions; do
6231 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6232 ac_cv_path_IP="$as_dir/$ac_word$ac_exec_ext"
6233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6244 if test -n "$IP"; then
6245 echo "$as_me:$LINENO: result: $IP" >&5
6246 echo "${ECHO_T}$IP" >&6
6248 echo "$as_me:$LINENO: result: no" >&5
6249 echo "${ECHO_T}no" >&6
6252 test -n "$IP" && break
6254 test -n "$IP" || IP="$ensc_dflt"
6257 if test -z "${IP}" && $rq; then
6258 if test -z "Usually, this tool is shipped in the 'iproute' or 'iproute2' package of your distribution"; then
6259 { { echo "$as_me:$LINENO: error: Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'." >&5
6260 echo "$as_me: error: Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6261 { (exit 1); exit 1; }; }
6263 { { echo "$as_me:$LINENO: error:
6264 Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'.
6265 Usually, this tool is shipped in the 'iproute' or 'iproute2' package of your distribution" >&5
6266 echo "$as_me: error:
6267 Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'.
6268 Usually, this tool is shipped in the 'iproute' or 'iproute2' package of your distribution" >&2;}
6269 { (exit 1); exit 1; }; }
6273 test "${IP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'IP'@!${IP}!g;"
6292 for ac_prog in iptables
6294 # Extract the first word of "$ac_prog", so it can be a program name with args.
6295 set dummy $ac_prog; ac_word=$2
6296 echo "$as_me:$LINENO: checking for $ac_word" >&5
6297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6298 if test "${ac_cv_path_IPTABLES+set}" = set; then
6299 echo $ECHO_N "(cached) $ECHO_C" >&6
6303 ac_cv_path_IPTABLES="$IPTABLES" # Let the user override the test with a path.
6306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6307 for as_dir in $ensc_searchpath
6310 test -z "$as_dir" && as_dir=.
6311 for ac_exec_ext in '' $ac_executable_extensions; do
6312 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6313 ac_cv_path_IPTABLES="$as_dir/$ac_word$ac_exec_ext"
6314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6323 IPTABLES=$ac_cv_path_IPTABLES
6325 if test -n "$IPTABLES"; then
6326 echo "$as_me:$LINENO: result: $IPTABLES" >&5
6327 echo "${ECHO_T}$IPTABLES" >&6
6329 echo "$as_me:$LINENO: result: no" >&5
6330 echo "${ECHO_T}no" >&6
6333 test -n "$IPTABLES" && break
6335 test -n "$IPTABLES" || IPTABLES="$ensc_dflt"
6338 if test -z "${IPTABLES}" && $rq; then
6340 { { echo "$as_me:$LINENO: error: Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'." >&5
6341 echo "$as_me: error: Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6342 { (exit 1); exit 1; }; }
6344 { { echo "$as_me:$LINENO: error:
6345 Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'.
6347 echo "$as_me: error:
6348 Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'.
6350 { (exit 1); exit 1; }; }
6354 test "${IPTABLES}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'IPTABLES'@!${IPTABLES}!g;"
6373 for ac_prog in modprobe
6375 # Extract the first word of "$ac_prog", so it can be a program name with args.
6376 set dummy $ac_prog; ac_word=$2
6377 echo "$as_me:$LINENO: checking for $ac_word" >&5
6378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6379 if test "${ac_cv_path_MODPROBE+set}" = set; then
6380 echo $ECHO_N "(cached) $ECHO_C" >&6
6384 ac_cv_path_MODPROBE="$MODPROBE" # Let the user override the test with a path.
6387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6388 for as_dir in $ensc_searchpath
6391 test -z "$as_dir" && as_dir=.
6392 for ac_exec_ext in '' $ac_executable_extensions; do
6393 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6394 ac_cv_path_MODPROBE="$as_dir/$ac_word$ac_exec_ext"
6395 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6404 MODPROBE=$ac_cv_path_MODPROBE
6406 if test -n "$MODPROBE"; then
6407 echo "$as_me:$LINENO: result: $MODPROBE" >&5
6408 echo "${ECHO_T}$MODPROBE" >&6
6410 echo "$as_me:$LINENO: result: no" >&5
6411 echo "${ECHO_T}no" >&6
6414 test -n "$MODPROBE" && break
6416 test -n "$MODPROBE" || MODPROBE="$ensc_dflt"
6419 if test -z "${MODPROBE}" && $rq; then
6421 { { echo "$as_me:$LINENO: error: Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'." >&5
6422 echo "$as_me: error: Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6423 { (exit 1); exit 1; }; }
6425 { { echo "$as_me:$LINENO: error:
6426 Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'.
6428 echo "$as_me: error:
6429 Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'.
6431 { (exit 1); exit 1; }; }
6435 test "${MODPROBE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MODPROBE'@!${MODPROBE}!g;"
6454 for ac_prog in nameif
6456 # Extract the first word of "$ac_prog", so it can be a program name with args.
6457 set dummy $ac_prog; ac_word=$2
6458 echo "$as_me:$LINENO: checking for $ac_word" >&5
6459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6460 if test "${ac_cv_path_NAMEIF+set}" = set; then
6461 echo $ECHO_N "(cached) $ECHO_C" >&6
6465 ac_cv_path_NAMEIF="$NAMEIF" # Let the user override the test with a path.
6468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6469 for as_dir in $ensc_searchpath
6472 test -z "$as_dir" && as_dir=.
6473 for ac_exec_ext in '' $ac_executable_extensions; do
6474 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6475 ac_cv_path_NAMEIF="$as_dir/$ac_word$ac_exec_ext"
6476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6485 NAMEIF=$ac_cv_path_NAMEIF
6487 if test -n "$NAMEIF"; then
6488 echo "$as_me:$LINENO: result: $NAMEIF" >&5
6489 echo "${ECHO_T}$NAMEIF" >&6
6491 echo "$as_me:$LINENO: result: no" >&5
6492 echo "${ECHO_T}no" >&6
6495 test -n "$NAMEIF" && break
6497 test -n "$NAMEIF" || NAMEIF="$ensc_dflt"
6500 if test -z "${NAMEIF}" && $rq; then
6502 { { echo "$as_me:$LINENO: error: Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'." >&5
6503 echo "$as_me: error: Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6504 { (exit 1); exit 1; }; }
6506 { { echo "$as_me:$LINENO: error:
6507 Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'.
6509 echo "$as_me: error:
6510 Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'.
6512 { (exit 1); exit 1; }; }
6516 test "${NAMEIF}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'NAMEIF'@!${NAMEIF}!g;"
6535 for ac_prog in nohup
6537 # Extract the first word of "$ac_prog", so it can be a program name with args.
6538 set dummy $ac_prog; ac_word=$2
6539 echo "$as_me:$LINENO: checking for $ac_word" >&5
6540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6541 if test "${ac_cv_path_NOHUP+set}" = set; then
6542 echo $ECHO_N "(cached) $ECHO_C" >&6
6546 ac_cv_path_NOHUP="$NOHUP" # Let the user override the test with a path.
6549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6550 for as_dir in $ensc_searchpath
6553 test -z "$as_dir" && as_dir=.
6554 for ac_exec_ext in '' $ac_executable_extensions; do
6555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6556 ac_cv_path_NOHUP="$as_dir/$ac_word$ac_exec_ext"
6557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6566 NOHUP=$ac_cv_path_NOHUP
6568 if test -n "$NOHUP"; then
6569 echo "$as_me:$LINENO: result: $NOHUP" >&5
6570 echo "${ECHO_T}$NOHUP" >&6
6572 echo "$as_me:$LINENO: result: no" >&5
6573 echo "${ECHO_T}no" >&6
6576 test -n "$NOHUP" && break
6578 test -n "$NOHUP" || NOHUP="$ensc_dflt"
6581 if test -z "${NOHUP}" && $rq; then
6583 { { echo "$as_me:$LINENO: error: Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'." >&5
6584 echo "$as_me: error: Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6585 { (exit 1); exit 1; }; }
6587 { { echo "$as_me:$LINENO: error:
6588 Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'.
6590 echo "$as_me: error:
6591 Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'.
6593 { (exit 1); exit 1; }; }
6597 test "${NOHUP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'NOHUP'@!${NOHUP}!g;"
6616 for ac_prog in rmmod
6618 # Extract the first word of "$ac_prog", so it can be a program name with args.
6619 set dummy $ac_prog; ac_word=$2
6620 echo "$as_me:$LINENO: checking for $ac_word" >&5
6621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6622 if test "${ac_cv_path_RMMOD+set}" = set; then
6623 echo $ECHO_N "(cached) $ECHO_C" >&6
6627 ac_cv_path_RMMOD="$RMMOD" # Let the user override the test with a path.
6630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6631 for as_dir in $ensc_searchpath
6634 test -z "$as_dir" && as_dir=.
6635 for ac_exec_ext in '' $ac_executable_extensions; do
6636 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6637 ac_cv_path_RMMOD="$as_dir/$ac_word$ac_exec_ext"
6638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6647 RMMOD=$ac_cv_path_RMMOD
6649 if test -n "$RMMOD"; then
6650 echo "$as_me:$LINENO: result: $RMMOD" >&5
6651 echo "${ECHO_T}$RMMOD" >&6
6653 echo "$as_me:$LINENO: result: no" >&5
6654 echo "${ECHO_T}no" >&6
6657 test -n "$RMMOD" && break
6659 test -n "$RMMOD" || RMMOD="$ensc_dflt"
6662 if test -z "${RMMOD}" && $rq; then
6664 { { echo "$as_me:$LINENO: error: Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'." >&5
6665 echo "$as_me: error: Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6666 { (exit 1); exit 1; }; }
6668 { { echo "$as_me:$LINENO: error:
6669 Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'.
6671 echo "$as_me: error:
6672 Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'.
6674 { (exit 1); exit 1; }; }
6678 test "${RMMOD}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RMMOD'@!${RMMOD}!g;"
6697 for ac_prog in vconfig
6699 # Extract the first word of "$ac_prog", so it can be a program name with args.
6700 set dummy $ac_prog; ac_word=$2
6701 echo "$as_me:$LINENO: checking for $ac_word" >&5
6702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6703 if test "${ac_cv_path_VCONFIG+set}" = set; then
6704 echo $ECHO_N "(cached) $ECHO_C" >&6
6708 ac_cv_path_VCONFIG="$VCONFIG" # Let the user override the test with a path.
6711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6712 for as_dir in $ensc_searchpath
6715 test -z "$as_dir" && as_dir=.
6716 for ac_exec_ext in '' $ac_executable_extensions; do
6717 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6718 ac_cv_path_VCONFIG="$as_dir/$ac_word$ac_exec_ext"
6719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6728 VCONFIG=$ac_cv_path_VCONFIG
6730 if test -n "$VCONFIG"; then
6731 echo "$as_me:$LINENO: result: $VCONFIG" >&5
6732 echo "${ECHO_T}$VCONFIG" >&6
6734 echo "$as_me:$LINENO: result: no" >&5
6735 echo "${ECHO_T}no" >&6
6738 test -n "$VCONFIG" && break
6740 test -n "$VCONFIG" || VCONFIG="$ensc_dflt"
6743 if test -z "${VCONFIG}" && $rq; then
6744 if test -z "See http://www.candelatech.com/~greear/vlan.html; usually this tool is shipped in the 'vconfig' or 'vlan' package of your distribution"; then
6745 { { echo "$as_me:$LINENO: error: Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'." >&5
6746 echo "$as_me: error: Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6747 { (exit 1); exit 1; }; }
6749 { { echo "$as_me:$LINENO: error:
6750 Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'.
6751 See http://www.candelatech.com/~greear/vlan.html; usually this tool is shipped in the 'vconfig' or 'vlan' package of your distribution" >&5
6752 echo "$as_me: error:
6753 Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'.
6754 See http://www.candelatech.com/~greear/vlan.html; usually this tool is shipped in the 'vconfig' or 'vlan' package of your distribution" >&2;}
6755 { (exit 1); exit 1; }; }
6759 test "${VCONFIG}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'VCONFIG'@!${VCONFIG}!g;"
6780 # Extract the first word of "$ac_prog", so it can be a program name with args.
6781 set dummy $ac_prog; ac_word=$2
6782 echo "$as_me:$LINENO: checking for $ac_word" >&5
6783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6784 if test "${ac_cv_path_WGET+set}" = set; then
6785 echo $ECHO_N "(cached) $ECHO_C" >&6
6789 ac_cv_path_WGET="$WGET" # Let the user override the test with a path.
6792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6793 for as_dir in $ensc_searchpath
6796 test -z "$as_dir" && as_dir=.
6797 for ac_exec_ext in '' $ac_executable_extensions; do
6798 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6799 ac_cv_path_WGET="$as_dir/$ac_word$ac_exec_ext"
6800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6809 WGET=$ac_cv_path_WGET
6811 if test -n "$WGET"; then
6812 echo "$as_me:$LINENO: result: $WGET" >&5
6813 echo "${ECHO_T}$WGET" >&6
6815 echo "$as_me:$LINENO: result: no" >&5
6816 echo "${ECHO_T}no" >&6
6819 test -n "$WGET" && break
6821 test -n "$WGET" || WGET="$ensc_dflt"
6824 if test -z "${WGET}" && $rq; then
6826 { { echo "$as_me:$LINENO: error: Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'." >&5
6827 echo "$as_me: error: Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6828 { (exit 1); exit 1; }; }
6830 { { echo "$as_me:$LINENO: error:
6831 Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'.
6833 echo "$as_me: error:
6834 Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'.
6836 { (exit 1); exit 1; }; }
6840 test "${WGET}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'WGET'@!${WGET}!g;"
6848 if test -z ":"; then
6860 for ac_prog in doxygen
6862 # Extract the first word of "$ac_prog", so it can be a program name with args.
6863 set dummy $ac_prog; ac_word=$2
6864 echo "$as_me:$LINENO: checking for $ac_word" >&5
6865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6866 if test "${ac_cv_path_DOXYGEN+set}" = set; then
6867 echo $ECHO_N "(cached) $ECHO_C" >&6
6871 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
6874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6875 for as_dir in $ensc_searchpath
6878 test -z "$as_dir" && as_dir=.
6879 for ac_exec_ext in '' $ac_executable_extensions; do
6880 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6881 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
6882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6891 DOXYGEN=$ac_cv_path_DOXYGEN
6893 if test -n "$DOXYGEN"; then
6894 echo "$as_me:$LINENO: result: $DOXYGEN" >&5
6895 echo "${ECHO_T}$DOXYGEN" >&6
6897 echo "$as_me:$LINENO: result: no" >&5
6898 echo "${ECHO_T}no" >&6
6901 test -n "$DOXYGEN" && break
6903 test -n "$DOXYGEN" || DOXYGEN="$ensc_dflt"
6906 if test -z "${DOXYGEN}" && $rq; then
6908 { { echo "$as_me:$LINENO: error: Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'." >&5
6909 echo "$as_me: error: Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6910 { (exit 1); exit 1; }; }
6912 { { echo "$as_me:$LINENO: error:
6913 Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'.
6915 echo "$as_me: error:
6916 Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'.
6918 { (exit 1); exit 1; }; }
6922 test "${DOXYGEN}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'DOXYGEN'@!${DOXYGEN}!g;"
6929 if test -z ":"; then
6941 for ac_prog in xsltp
6943 # Extract the first word of "$ac_prog", so it can be a program name with args.
6944 set dummy $ac_prog; ac_word=$2
6945 echo "$as_me:$LINENO: checking for $ac_word" >&5
6946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6947 if test "${ac_cv_path_XSLTP+set}" = set; then
6948 echo $ECHO_N "(cached) $ECHO_C" >&6
6952 ac_cv_path_XSLTP="$XSLTP" # Let the user override the test with a path.
6955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6956 for as_dir in $ensc_searchpath
6959 test -z "$as_dir" && as_dir=.
6960 for ac_exec_ext in '' $ac_executable_extensions; do
6961 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6962 ac_cv_path_XSLTP="$as_dir/$ac_word$ac_exec_ext"
6963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6972 XSLTP=$ac_cv_path_XSLTP
6974 if test -n "$XSLTP"; then
6975 echo "$as_me:$LINENO: result: $XSLTP" >&5
6976 echo "${ECHO_T}$XSLTP" >&6
6978 echo "$as_me:$LINENO: result: no" >&5
6979 echo "${ECHO_T}no" >&6
6982 test -n "$XSLTP" && break
6984 test -n "$XSLTP" || XSLTP="$ensc_dflt"
6987 if test -z "${XSLTP}" && $rq; then
6989 { { echo "$as_me:$LINENO: error: Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'." >&5
6990 echo "$as_me: error: Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
6991 { (exit 1); exit 1; }; }
6993 { { echo "$as_me:$LINENO: error:
6994 Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'.
6996 echo "$as_me: error:
6997 Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'.
6999 { (exit 1); exit 1; }; }
7003 test "${XSLTP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'XSLTP'@!${XSLTP}!g;"
7010 if test -z ":"; then
7022 for ac_prog in xsltproc
7024 # Extract the first word of "$ac_prog", so it can be a program name with args.
7025 set dummy $ac_prog; ac_word=$2
7026 echo "$as_me:$LINENO: checking for $ac_word" >&5
7027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7028 if test "${ac_cv_path_XSLTPROC+set}" = set; then
7029 echo $ECHO_N "(cached) $ECHO_C" >&6
7033 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
7036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7037 for as_dir in $ensc_searchpath
7040 test -z "$as_dir" && as_dir=.
7041 for ac_exec_ext in '' $ac_executable_extensions; do
7042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7043 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
7044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7053 XSLTPROC=$ac_cv_path_XSLTPROC
7055 if test -n "$XSLTPROC"; then
7056 echo "$as_me:$LINENO: result: $XSLTPROC" >&5
7057 echo "${ECHO_T}$XSLTPROC" >&6
7059 echo "$as_me:$LINENO: result: no" >&5
7060 echo "${ECHO_T}no" >&6
7063 test -n "$XSLTPROC" && break
7065 test -n "$XSLTPROC" || XSLTPROC="$ensc_dflt"
7068 if test -z "${XSLTPROC}" && $rq; then
7070 { { echo "$as_me:$LINENO: error: Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'." >&5
7071 echo "$as_me: error: Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'." >&2;}
7072 { (exit 1); exit 1; }; }
7074 { { echo "$as_me:$LINENO: error:
7075 Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'.
7077 echo "$as_me: error:
7078 Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'.
7080 { (exit 1); exit 1; }; }
7084 test "${XSLTPROC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'XSLTPROC'@!${XSLTPROC}!g;"
7091 if test "$XSLTP" != ':'; then
7093 HAVE_XSLTP_FALSE='#'
7101 if test "$XSLTPROC" != ':'; then
7103 HAVE_XSLTPROC_FALSE='#'
7105 HAVE_XSLTPROC_TRUE='#'
7106 HAVE_XSLTPROC_FALSE=
7113 warn_flags="-Werror -W"
7114 echo "$as_me:$LINENO: checking whether the C-compiler accepts ${warn_flags}" >&5
7115 echo $ECHO_N "checking whether the C-compiler accepts ${warn_flags}... $ECHO_C" >&6
7117 ac_cpp='$CPP $CPPFLAGS'
7118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7122 __ensc_check_warnflags_old_CFLAGS="${CFLAGS}"
7123 CFLAGS="$warn_flags"
7124 cat >conftest.$ac_ext <<_ACEOF
7127 cat confdefs.h >>conftest.$ac_ext
7128 cat >>conftest.$ac_ext <<_ACEOF
7129 /* end confdefs.h. */
7130 inline static void f(){}
7139 rm -f conftest.$ac_objext
7140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7141 (eval $ac_compile) 2>conftest.er1
7143 grep -v '^ *+' conftest.er1 >conftest.err
7145 cat conftest.err >&5
7146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7147 (exit $ac_status); } &&
7148 { ac_try='test -z "$ac_c_werror_flag"
7149 || test ! -s conftest.err'
7150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7154 (exit $ac_status); }; } &&
7155 { ac_try='test -s conftest.$ac_objext'
7156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7160 (exit $ac_status); }; }; then
7161 ensc_sys_compilerwarnflags_C=${warn_flags}
7163 echo "$as_me: failed program was:" >&5
7164 sed 's/^/| /' conftest.$ac_ext >&5
7166 ensc_sys_compilerwarnflags_C=
7168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7170 ac_cpp='$CPP $CPPFLAGS'
7171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7175 CFLAGS="$__ensc_check_warnflags_old_CFLAGS"
7177 if test x"${ensc_sys_compilerwarnflags_C}" = x; then
7178 echo "$as_me:$LINENO: result: no" >&5
7179 echo "${ECHO_T}no" >&6
7181 echo "$as_me:$LINENO: result: yes" >&5
7182 echo "${ECHO_T}yes" >&6
7189 echo 'void f(){}' > conftest.c
7190 for i in -std=c99 -Wall -pedantic -W
7192 echo "$as_me:$LINENO: checking whether $CC accepts $i" >&5
7193 echo $ECHO_N "checking whether $CC accepts $i... $ECHO_C" >&6
7194 if test -z "`${CC} ${ensc_sys_compilerwarnflags_C} $i -c conftest.c 2>&1`"
7196 CFLAGS="${CFLAGS} $i"
7197 echo "$as_me:$LINENO: result: yes" >&5
7198 echo "${ECHO_T}yes" >&6
7200 echo "$as_me:$LINENO: result: no" >&5
7201 echo "${ECHO_T}no" >&6
7204 rm -f conftest.c conftest.o
7208 warn_flags="-Werror -W"
7209 echo "$as_me:$LINENO: checking whether the C++-compiler accepts ${warn_flags}" >&5
7210 echo $ECHO_N "checking whether the C++-compiler accepts ${warn_flags}... $ECHO_C" >&6
7212 ac_cpp='$CXXCPP $CPPFLAGS'
7213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7217 __ensc_check_warnflags_old_CFLAGS="${CXXFLAGS}"
7218 CXXFLAGS="$warn_flags"
7219 cat >conftest.$ac_ext <<_ACEOF
7222 cat confdefs.h >>conftest.$ac_ext
7223 cat >>conftest.$ac_ext <<_ACEOF
7224 /* end confdefs.h. */
7225 inline static void f(){}
7234 rm -f conftest.$ac_objext
7235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7236 (eval $ac_compile) 2>conftest.er1
7238 grep -v '^ *+' conftest.er1 >conftest.err
7240 cat conftest.err >&5
7241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7242 (exit $ac_status); } &&
7243 { ac_try='test -z "$ac_cxx_werror_flag"
7244 || test ! -s conftest.err'
7245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7249 (exit $ac_status); }; } &&
7250 { ac_try='test -s conftest.$ac_objext'
7251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7255 (exit $ac_status); }; }; then
7256 ensc_sys_compilerwarnflags_CXX=${warn_flags}
7258 echo "$as_me: failed program was:" >&5
7259 sed 's/^/| /' conftest.$ac_ext >&5
7261 ensc_sys_compilerwarnflags_CXX=
7263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7265 ac_cpp='$CPP $CPPFLAGS'
7266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7270 CXXFLAGS="$__ensc_check_warnflags_old_CFLAGS"
7272 if test x"${ensc_sys_compilerwarnflags_CXX}" = x; then
7273 echo "$as_me:$LINENO: result: no" >&5
7274 echo "${ECHO_T}no" >&6
7276 echo "$as_me:$LINENO: result: yes" >&5
7277 echo "${ECHO_T}yes" >&6
7284 echo 'void f(){}' > conftest.cc
7285 for i in -ansi -Wall -pedantic -W -fmessage-length=0
7287 echo "$as_me:$LINENO: checking whether $CXX accepts $i" >&5
7288 echo $ECHO_N "checking whether $CXX accepts $i... $ECHO_C" >&6
7289 if test -z "`${CXX} ${ensc_sys_compilerwarnflags_CXX} $i -c conftest.cc 2>&1`"
7291 CXXFLAGS="${CXXFLAGS} $i"
7292 echo "$as_me:$LINENO: result: yes" >&5
7293 echo "${ECHO_T}yes" >&6
7295 echo "$as_me:$LINENO: result: no" >&5
7296 echo "${ECHO_T}no" >&6
7299 rm -f conftest.cc conftest.o
7302 echo "$as_me:$LINENO: checking whether to enable extra optimizations" >&5
7303 echo $ECHO_N "checking whether to enable extra optimizations... $ECHO_C" >&6
7304 # Check whether --enable-extra-optimizations or --disable-extra-optimizations was given.
7305 if test "${enable_extra_optimizations+set}" = set; then
7306 enableval="$enable_extra_optimizations"
7307 case "$enableval" in
7308 (yes) use_extra_optimizations=1;;
7309 (no) use_extra_optimizations=;;
7310 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--disable-extra-optimizations'" >&5
7311 echo "$as_me: error: '$enableval' is not a valid value for '--disable-extra-optimizations'" >&2;}
7312 { (exit 1); exit 1; }; };;
7315 use_extra_optimizations=1
7318 if test x"$use_extra_optimizations" = x; then
7319 echo "$as_me:$LINENO: result: no" >&5
7320 echo "${ECHO_T}no" >&6
7322 echo "$as_me:$LINENO: result: yes" >&5
7323 echo "${ECHO_T}yes" >&6
7327 echo 'void f(){}' > conftest.c
7328 for i in -funit-at-a-time
7330 echo "$as_me:$LINENO: checking whether $CC accepts $i" >&5
7331 echo $ECHO_N "checking whether $CC accepts $i... $ECHO_C" >&6
7332 if test -z "`${CC} ${ensc_sys_compilerwarnflags_C} $i -c conftest.c 2>&1`"
7334 CFLAGS="${CFLAGS} $i"
7335 echo "$as_me:$LINENO: result: yes" >&5
7336 echo "${ECHO_T}yes" >&6
7338 echo "$as_me:$LINENO: result: no" >&5
7339 echo "${ECHO_T}no" >&6
7342 rm -f conftest.c conftest.o
7347 echo 'void f(){}' > conftest.cc
7348 for i in -funit-at-a-time
7350 echo "$as_me:$LINENO: checking whether $CXX accepts $i" >&5
7351 echo $ECHO_N "checking whether $CXX accepts $i... $ECHO_C" >&6
7352 if test -z "`${CXX} ${ensc_sys_compilerwarnflags_CXX} $i -c conftest.cc 2>&1`"
7354 CXXFLAGS="${CXXFLAGS} $i"
7355 echo "$as_me:$LINENO: result: yes" >&5
7356 echo "${ECHO_T}yes" >&6
7358 echo "$as_me:$LINENO: result: no" >&5
7359 echo "${ECHO_T}no" >&6
7362 rm -f conftest.cc conftest.o
7366 echo "$as_me:$LINENO: checking whether to enable debug-code in library" >&5
7367 echo $ECHO_N "checking whether to enable debug-code in library... $ECHO_C" >&6
7368 # Check whether --enable-lib-debug or --disable-lib-debug was given.
7369 if test "${enable_lib_debug+set}" = set; then
7370 enableval="$enable_lib_debug"
7371 case "$enableval" in
7372 (yes) use_lib_debug=1;;
7373 (no) use_lib_debug=;;
7374 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--enable-lib-debug'" >&5
7375 echo "$as_me: error: '$enableval' is not a valid value for '--enable-lib-debug'" >&2;}
7376 { (exit 1); exit 1; }; };;
7382 if test x"$use_lib_debug" = x; then
7383 LIB_DEBUG_CPPFLAGS=-DNDEBUG
7385 echo "$as_me:$LINENO: result: no" >&5
7386 echo "${ECHO_T}no" >&6
7389 echo "$as_me:$LINENO: result: yes" >&5
7390 echo "${ECHO_T}yes" >&6
7393 echo "$as_me:$LINENO: checking whether to enable expensive tests" >&5
7394 echo $ECHO_N "checking whether to enable expensive tests... $ECHO_C" >&6
7395 # Check whether --enable-expensive-tests or --disable-expensive-tests was given.
7396 if test "${enable_expensive_tests+set}" = set; then
7397 enableval="$enable_expensive_tests"
7398 case "$enableval" in
7399 (yes|no) use_expensive_tests=$enableval;;
7400 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--disable-expensive-tests'" >&5
7401 echo "$as_me: error: '$enableval' is not a valid value for '--disable-expensive-tests'" >&2;}
7402 { (exit 1); exit 1; }; };;
7405 use_expensive_tests=yes
7407 echo "$as_me:$LINENO: result: $use_expensive_tests" >&5
7408 echo "${ECHO_T}$use_expensive_tests" >&6
7410 ENSC_USE_EXPENSIVE_TESTS="$use_expensive_tests"
7415 echo "$as_me:$LINENO: checking for declarations in <linux/personality.h>" >&5
7416 echo $ECHO_N "checking for declarations in <linux/personality.h>... $ECHO_C" >&6
7417 echo "$as_me:$LINENO: result: " >&5
7418 echo "${ECHO_T}" >&6
7421 ac_cpp='$CPP $CPPFLAGS'
7422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7426 echo "$as_me:$LINENO: checking whether MMAP_PAGE_ZERO is declared" >&5
7427 echo $ECHO_N "checking whether MMAP_PAGE_ZERO is declared... $ECHO_C" >&6
7428 if test "${ac_cv_have_decl_MMAP_PAGE_ZERO+set}" = set; then
7429 echo $ECHO_N "(cached) $ECHO_C" >&6
7431 cat >conftest.$ac_ext <<_ACEOF
7434 cat confdefs.h >>conftest.$ac_ext
7435 cat >>conftest.$ac_ext <<_ACEOF
7436 /* end confdefs.h. */
7438 #include <linux/personality.h>
7444 #ifndef MMAP_PAGE_ZERO
7445 char *p = (char *) MMAP_PAGE_ZERO;
7452 rm -f conftest.$ac_objext
7453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7454 (eval $ac_compile) 2>conftest.er1
7456 grep -v '^ *+' conftest.er1 >conftest.err
7458 cat conftest.err >&5
7459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7460 (exit $ac_status); } &&
7461 { ac_try='test -z "$ac_c_werror_flag"
7462 || test ! -s conftest.err'
7463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7467 (exit $ac_status); }; } &&
7468 { ac_try='test -s conftest.$ac_objext'
7469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7473 (exit $ac_status); }; }; then
7474 ac_cv_have_decl_MMAP_PAGE_ZERO=yes
7476 echo "$as_me: failed program was:" >&5
7477 sed 's/^/| /' conftest.$ac_ext >&5
7479 ac_cv_have_decl_MMAP_PAGE_ZERO=no
7481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7483 echo "$as_me:$LINENO: result: $ac_cv_have_decl_MMAP_PAGE_ZERO" >&5
7484 echo "${ECHO_T}$ac_cv_have_decl_MMAP_PAGE_ZERO" >&6
7485 if test $ac_cv_have_decl_MMAP_PAGE_ZERO = yes; then
7487 cat >>confdefs.h <<_ACEOF
7488 #define HAVE_DECL_MMAP_PAGE_ZERO 1
7493 cat >>confdefs.h <<_ACEOF
7494 #define HAVE_DECL_MMAP_PAGE_ZERO 0
7499 echo "$as_me:$LINENO: checking whether ADDR_LIMIT_32BIT is declared" >&5
7500 echo $ECHO_N "checking whether ADDR_LIMIT_32BIT is declared... $ECHO_C" >&6
7501 if test "${ac_cv_have_decl_ADDR_LIMIT_32BIT+set}" = set; then
7502 echo $ECHO_N "(cached) $ECHO_C" >&6
7504 cat >conftest.$ac_ext <<_ACEOF
7507 cat confdefs.h >>conftest.$ac_ext
7508 cat >>conftest.$ac_ext <<_ACEOF
7509 /* end confdefs.h. */
7511 #include <linux/personality.h>
7517 #ifndef ADDR_LIMIT_32BIT
7518 char *p = (char *) ADDR_LIMIT_32BIT;
7525 rm -f conftest.$ac_objext
7526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7527 (eval $ac_compile) 2>conftest.er1
7529 grep -v '^ *+' conftest.er1 >conftest.err
7531 cat conftest.err >&5
7532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7533 (exit $ac_status); } &&
7534 { ac_try='test -z "$ac_c_werror_flag"
7535 || test ! -s conftest.err'
7536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7540 (exit $ac_status); }; } &&
7541 { ac_try='test -s conftest.$ac_objext'
7542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7546 (exit $ac_status); }; }; then
7547 ac_cv_have_decl_ADDR_LIMIT_32BIT=yes
7549 echo "$as_me: failed program was:" >&5
7550 sed 's/^/| /' conftest.$ac_ext >&5
7552 ac_cv_have_decl_ADDR_LIMIT_32BIT=no
7554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7556 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ADDR_LIMIT_32BIT" >&5
7557 echo "${ECHO_T}$ac_cv_have_decl_ADDR_LIMIT_32BIT" >&6
7558 if test $ac_cv_have_decl_ADDR_LIMIT_32BIT = yes; then
7560 cat >>confdefs.h <<_ACEOF
7561 #define HAVE_DECL_ADDR_LIMIT_32BIT 1
7566 cat >>confdefs.h <<_ACEOF
7567 #define HAVE_DECL_ADDR_LIMIT_32BIT 0
7572 echo "$as_me:$LINENO: checking whether SHORT_INODE is declared" >&5
7573 echo $ECHO_N "checking whether SHORT_INODE is declared... $ECHO_C" >&6
7574 if test "${ac_cv_have_decl_SHORT_INODE+set}" = set; then
7575 echo $ECHO_N "(cached) $ECHO_C" >&6
7577 cat >conftest.$ac_ext <<_ACEOF
7580 cat confdefs.h >>conftest.$ac_ext
7581 cat >>conftest.$ac_ext <<_ACEOF
7582 /* end confdefs.h. */
7584 #include <linux/personality.h>
7591 char *p = (char *) SHORT_INODE;
7598 rm -f conftest.$ac_objext
7599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7600 (eval $ac_compile) 2>conftest.er1
7602 grep -v '^ *+' conftest.er1 >conftest.err
7604 cat conftest.err >&5
7605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7606 (exit $ac_status); } &&
7607 { ac_try='test -z "$ac_c_werror_flag"
7608 || test ! -s conftest.err'
7609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7613 (exit $ac_status); }; } &&
7614 { ac_try='test -s conftest.$ac_objext'
7615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7619 (exit $ac_status); }; }; then
7620 ac_cv_have_decl_SHORT_INODE=yes
7622 echo "$as_me: failed program was:" >&5
7623 sed 's/^/| /' conftest.$ac_ext >&5
7625 ac_cv_have_decl_SHORT_INODE=no
7627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7629 echo "$as_me:$LINENO: result: $ac_cv_have_decl_SHORT_INODE" >&5
7630 echo "${ECHO_T}$ac_cv_have_decl_SHORT_INODE" >&6
7631 if test $ac_cv_have_decl_SHORT_INODE = yes; then
7633 cat >>confdefs.h <<_ACEOF
7634 #define HAVE_DECL_SHORT_INODE 1
7639 cat >>confdefs.h <<_ACEOF
7640 #define HAVE_DECL_SHORT_INODE 0
7645 echo "$as_me:$LINENO: checking whether WHOLE_SECONDS is declared" >&5
7646 echo $ECHO_N "checking whether WHOLE_SECONDS is declared... $ECHO_C" >&6
7647 if test "${ac_cv_have_decl_WHOLE_SECONDS+set}" = set; then
7648 echo $ECHO_N "(cached) $ECHO_C" >&6
7650 cat >conftest.$ac_ext <<_ACEOF
7653 cat confdefs.h >>conftest.$ac_ext
7654 cat >>conftest.$ac_ext <<_ACEOF
7655 /* end confdefs.h. */
7657 #include <linux/personality.h>
7663 #ifndef WHOLE_SECONDS
7664 char *p = (char *) WHOLE_SECONDS;
7671 rm -f conftest.$ac_objext
7672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7673 (eval $ac_compile) 2>conftest.er1
7675 grep -v '^ *+' conftest.er1 >conftest.err
7677 cat conftest.err >&5
7678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7679 (exit $ac_status); } &&
7680 { ac_try='test -z "$ac_c_werror_flag"
7681 || test ! -s conftest.err'
7682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7686 (exit $ac_status); }; } &&
7687 { ac_try='test -s conftest.$ac_objext'
7688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7692 (exit $ac_status); }; }; then
7693 ac_cv_have_decl_WHOLE_SECONDS=yes
7695 echo "$as_me: failed program was:" >&5
7696 sed 's/^/| /' conftest.$ac_ext >&5
7698 ac_cv_have_decl_WHOLE_SECONDS=no
7700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7702 echo "$as_me:$LINENO: result: $ac_cv_have_decl_WHOLE_SECONDS" >&5
7703 echo "${ECHO_T}$ac_cv_have_decl_WHOLE_SECONDS" >&6
7704 if test $ac_cv_have_decl_WHOLE_SECONDS = yes; then
7706 cat >>confdefs.h <<_ACEOF
7707 #define HAVE_DECL_WHOLE_SECONDS 1
7712 cat >>confdefs.h <<_ACEOF
7713 #define HAVE_DECL_WHOLE_SECONDS 0
7718 echo "$as_me:$LINENO: checking whether STICKY_TIMEOUTS is declared" >&5
7719 echo $ECHO_N "checking whether STICKY_TIMEOUTS is declared... $ECHO_C" >&6
7720 if test "${ac_cv_have_decl_STICKY_TIMEOUTS+set}" = set; then
7721 echo $ECHO_N "(cached) $ECHO_C" >&6
7723 cat >conftest.$ac_ext <<_ACEOF
7726 cat confdefs.h >>conftest.$ac_ext
7727 cat >>conftest.$ac_ext <<_ACEOF
7728 /* end confdefs.h. */
7730 #include <linux/personality.h>
7736 #ifndef STICKY_TIMEOUTS
7737 char *p = (char *) STICKY_TIMEOUTS;
7744 rm -f conftest.$ac_objext
7745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7746 (eval $ac_compile) 2>conftest.er1
7748 grep -v '^ *+' conftest.er1 >conftest.err
7750 cat conftest.err >&5
7751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7752 (exit $ac_status); } &&
7753 { ac_try='test -z "$ac_c_werror_flag"
7754 || test ! -s conftest.err'
7755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7759 (exit $ac_status); }; } &&
7760 { ac_try='test -s conftest.$ac_objext'
7761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7765 (exit $ac_status); }; }; then
7766 ac_cv_have_decl_STICKY_TIMEOUTS=yes
7768 echo "$as_me: failed program was:" >&5
7769 sed 's/^/| /' conftest.$ac_ext >&5
7771 ac_cv_have_decl_STICKY_TIMEOUTS=no
7773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7775 echo "$as_me:$LINENO: result: $ac_cv_have_decl_STICKY_TIMEOUTS" >&5
7776 echo "${ECHO_T}$ac_cv_have_decl_STICKY_TIMEOUTS" >&6
7777 if test $ac_cv_have_decl_STICKY_TIMEOUTS = yes; then
7779 cat >>confdefs.h <<_ACEOF
7780 #define HAVE_DECL_STICKY_TIMEOUTS 1
7785 cat >>confdefs.h <<_ACEOF
7786 #define HAVE_DECL_STICKY_TIMEOUTS 0
7791 echo "$as_me:$LINENO: checking whether ADDR_LIMIT_3GB is declared" >&5
7792 echo $ECHO_N "checking whether ADDR_LIMIT_3GB is declared... $ECHO_C" >&6
7793 if test "${ac_cv_have_decl_ADDR_LIMIT_3GB+set}" = set; then
7794 echo $ECHO_N "(cached) $ECHO_C" >&6
7796 cat >conftest.$ac_ext <<_ACEOF
7799 cat confdefs.h >>conftest.$ac_ext
7800 cat >>conftest.$ac_ext <<_ACEOF
7801 /* end confdefs.h. */
7803 #include <linux/personality.h>
7809 #ifndef ADDR_LIMIT_3GB
7810 char *p = (char *) ADDR_LIMIT_3GB;
7817 rm -f conftest.$ac_objext
7818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7819 (eval $ac_compile) 2>conftest.er1
7821 grep -v '^ *+' conftest.er1 >conftest.err
7823 cat conftest.err >&5
7824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7825 (exit $ac_status); } &&
7826 { ac_try='test -z "$ac_c_werror_flag"
7827 || test ! -s conftest.err'
7828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7832 (exit $ac_status); }; } &&
7833 { ac_try='test -s conftest.$ac_objext'
7834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7838 (exit $ac_status); }; }; then
7839 ac_cv_have_decl_ADDR_LIMIT_3GB=yes
7841 echo "$as_me: failed program was:" >&5
7842 sed 's/^/| /' conftest.$ac_ext >&5
7844 ac_cv_have_decl_ADDR_LIMIT_3GB=no
7846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7848 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ADDR_LIMIT_3GB" >&5
7849 echo "${ECHO_T}$ac_cv_have_decl_ADDR_LIMIT_3GB" >&6
7850 if test $ac_cv_have_decl_ADDR_LIMIT_3GB = yes; then
7852 cat >>confdefs.h <<_ACEOF
7853 #define HAVE_DECL_ADDR_LIMIT_3GB 1
7858 cat >>confdefs.h <<_ACEOF
7859 #define HAVE_DECL_ADDR_LIMIT_3GB 0
7867 echo "$as_me:$LINENO: checking whether PER_LINUX is declared" >&5
7868 echo $ECHO_N "checking whether PER_LINUX is declared... $ECHO_C" >&6
7869 if test "${ac_cv_have_decl_PER_LINUX+set}" = set; then
7870 echo $ECHO_N "(cached) $ECHO_C" >&6
7872 cat >conftest.$ac_ext <<_ACEOF
7875 cat confdefs.h >>conftest.$ac_ext
7876 cat >>conftest.$ac_ext <<_ACEOF
7877 /* end confdefs.h. */
7879 #include <linux/personality.h>
7886 char *p = (char *) PER_LINUX;
7893 rm -f conftest.$ac_objext
7894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7895 (eval $ac_compile) 2>conftest.er1
7897 grep -v '^ *+' conftest.er1 >conftest.err
7899 cat conftest.err >&5
7900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7901 (exit $ac_status); } &&
7902 { ac_try='test -z "$ac_c_werror_flag"
7903 || test ! -s conftest.err'
7904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7908 (exit $ac_status); }; } &&
7909 { ac_try='test -s conftest.$ac_objext'
7910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7914 (exit $ac_status); }; }; then
7915 ac_cv_have_decl_PER_LINUX=yes
7917 echo "$as_me: failed program was:" >&5
7918 sed 's/^/| /' conftest.$ac_ext >&5
7920 ac_cv_have_decl_PER_LINUX=no
7922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7924 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX" >&5
7925 echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX" >&6
7926 if test $ac_cv_have_decl_PER_LINUX = yes; then
7928 cat >>confdefs.h <<_ACEOF
7929 #define HAVE_DECL_PER_LINUX 1
7934 cat >>confdefs.h <<_ACEOF
7935 #define HAVE_DECL_PER_LINUX 0
7940 echo "$as_me:$LINENO: checking whether PER_LINUX_32BIT is declared" >&5
7941 echo $ECHO_N "checking whether PER_LINUX_32BIT is declared... $ECHO_C" >&6
7942 if test "${ac_cv_have_decl_PER_LINUX_32BIT+set}" = set; then
7943 echo $ECHO_N "(cached) $ECHO_C" >&6
7945 cat >conftest.$ac_ext <<_ACEOF
7948 cat confdefs.h >>conftest.$ac_ext
7949 cat >>conftest.$ac_ext <<_ACEOF
7950 /* end confdefs.h. */
7952 #include <linux/personality.h>
7958 #ifndef PER_LINUX_32BIT
7959 char *p = (char *) PER_LINUX_32BIT;
7966 rm -f conftest.$ac_objext
7967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7968 (eval $ac_compile) 2>conftest.er1
7970 grep -v '^ *+' conftest.er1 >conftest.err
7972 cat conftest.err >&5
7973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7974 (exit $ac_status); } &&
7975 { ac_try='test -z "$ac_c_werror_flag"
7976 || test ! -s conftest.err'
7977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7981 (exit $ac_status); }; } &&
7982 { ac_try='test -s conftest.$ac_objext'
7983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7987 (exit $ac_status); }; }; then
7988 ac_cv_have_decl_PER_LINUX_32BIT=yes
7990 echo "$as_me: failed program was:" >&5
7991 sed 's/^/| /' conftest.$ac_ext >&5
7993 ac_cv_have_decl_PER_LINUX_32BIT=no
7995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7997 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX_32BIT" >&5
7998 echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX_32BIT" >&6
7999 if test $ac_cv_have_decl_PER_LINUX_32BIT = yes; then
8001 cat >>confdefs.h <<_ACEOF
8002 #define HAVE_DECL_PER_LINUX_32BIT 1
8007 cat >>confdefs.h <<_ACEOF
8008 #define HAVE_DECL_PER_LINUX_32BIT 0
8013 echo "$as_me:$LINENO: checking whether PER_SVR4 is declared" >&5
8014 echo $ECHO_N "checking whether PER_SVR4 is declared... $ECHO_C" >&6
8015 if test "${ac_cv_have_decl_PER_SVR4+set}" = set; then
8016 echo $ECHO_N "(cached) $ECHO_C" >&6
8018 cat >conftest.$ac_ext <<_ACEOF
8021 cat confdefs.h >>conftest.$ac_ext
8022 cat >>conftest.$ac_ext <<_ACEOF
8023 /* end confdefs.h. */
8025 #include <linux/personality.h>
8032 char *p = (char *) PER_SVR4;
8039 rm -f conftest.$ac_objext
8040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8041 (eval $ac_compile) 2>conftest.er1
8043 grep -v '^ *+' conftest.er1 >conftest.err
8045 cat conftest.err >&5
8046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8047 (exit $ac_status); } &&
8048 { ac_try='test -z "$ac_c_werror_flag"
8049 || test ! -s conftest.err'
8050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8054 (exit $ac_status); }; } &&
8055 { ac_try='test -s conftest.$ac_objext'
8056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8060 (exit $ac_status); }; }; then
8061 ac_cv_have_decl_PER_SVR4=yes
8063 echo "$as_me: failed program was:" >&5
8064 sed 's/^/| /' conftest.$ac_ext >&5
8066 ac_cv_have_decl_PER_SVR4=no
8068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8070 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SVR4" >&5
8071 echo "${ECHO_T}$ac_cv_have_decl_PER_SVR4" >&6
8072 if test $ac_cv_have_decl_PER_SVR4 = yes; then
8074 cat >>confdefs.h <<_ACEOF
8075 #define HAVE_DECL_PER_SVR4 1
8080 cat >>confdefs.h <<_ACEOF
8081 #define HAVE_DECL_PER_SVR4 0
8086 echo "$as_me:$LINENO: checking whether PER_SVR3 is declared" >&5
8087 echo $ECHO_N "checking whether PER_SVR3 is declared... $ECHO_C" >&6
8088 if test "${ac_cv_have_decl_PER_SVR3+set}" = set; then
8089 echo $ECHO_N "(cached) $ECHO_C" >&6
8091 cat >conftest.$ac_ext <<_ACEOF
8094 cat confdefs.h >>conftest.$ac_ext
8095 cat >>conftest.$ac_ext <<_ACEOF
8096 /* end confdefs.h. */
8098 #include <linux/personality.h>
8105 char *p = (char *) PER_SVR3;
8112 rm -f conftest.$ac_objext
8113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8114 (eval $ac_compile) 2>conftest.er1
8116 grep -v '^ *+' conftest.er1 >conftest.err
8118 cat conftest.err >&5
8119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8120 (exit $ac_status); } &&
8121 { ac_try='test -z "$ac_c_werror_flag"
8122 || test ! -s conftest.err'
8123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8127 (exit $ac_status); }; } &&
8128 { ac_try='test -s conftest.$ac_objext'
8129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8133 (exit $ac_status); }; }; then
8134 ac_cv_have_decl_PER_SVR3=yes
8136 echo "$as_me: failed program was:" >&5
8137 sed 's/^/| /' conftest.$ac_ext >&5
8139 ac_cv_have_decl_PER_SVR3=no
8141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8143 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SVR3" >&5
8144 echo "${ECHO_T}$ac_cv_have_decl_PER_SVR3" >&6
8145 if test $ac_cv_have_decl_PER_SVR3 = yes; then
8147 cat >>confdefs.h <<_ACEOF
8148 #define HAVE_DECL_PER_SVR3 1
8153 cat >>confdefs.h <<_ACEOF
8154 #define HAVE_DECL_PER_SVR3 0
8159 echo "$as_me:$LINENO: checking whether PER_SCOSVR3 is declared" >&5
8160 echo $ECHO_N "checking whether PER_SCOSVR3 is declared... $ECHO_C" >&6
8161 if test "${ac_cv_have_decl_PER_SCOSVR3+set}" = set; then
8162 echo $ECHO_N "(cached) $ECHO_C" >&6
8164 cat >conftest.$ac_ext <<_ACEOF
8167 cat confdefs.h >>conftest.$ac_ext
8168 cat >>conftest.$ac_ext <<_ACEOF
8169 /* end confdefs.h. */
8171 #include <linux/personality.h>
8178 char *p = (char *) PER_SCOSVR3;
8185 rm -f conftest.$ac_objext
8186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8187 (eval $ac_compile) 2>conftest.er1
8189 grep -v '^ *+' conftest.er1 >conftest.err
8191 cat conftest.err >&5
8192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8193 (exit $ac_status); } &&
8194 { ac_try='test -z "$ac_c_werror_flag"
8195 || test ! -s conftest.err'
8196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8200 (exit $ac_status); }; } &&
8201 { ac_try='test -s conftest.$ac_objext'
8202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8206 (exit $ac_status); }; }; then
8207 ac_cv_have_decl_PER_SCOSVR3=yes
8209 echo "$as_me: failed program was:" >&5
8210 sed 's/^/| /' conftest.$ac_ext >&5
8212 ac_cv_have_decl_PER_SCOSVR3=no
8214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8216 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SCOSVR3" >&5
8217 echo "${ECHO_T}$ac_cv_have_decl_PER_SCOSVR3" >&6
8218 if test $ac_cv_have_decl_PER_SCOSVR3 = yes; then
8220 cat >>confdefs.h <<_ACEOF
8221 #define HAVE_DECL_PER_SCOSVR3 1
8226 cat >>confdefs.h <<_ACEOF
8227 #define HAVE_DECL_PER_SCOSVR3 0
8232 echo "$as_me:$LINENO: checking whether PER_OSR5 is declared" >&5
8233 echo $ECHO_N "checking whether PER_OSR5 is declared... $ECHO_C" >&6
8234 if test "${ac_cv_have_decl_PER_OSR5+set}" = set; then
8235 echo $ECHO_N "(cached) $ECHO_C" >&6
8237 cat >conftest.$ac_ext <<_ACEOF
8240 cat confdefs.h >>conftest.$ac_ext
8241 cat >>conftest.$ac_ext <<_ACEOF
8242 /* end confdefs.h. */
8244 #include <linux/personality.h>
8251 char *p = (char *) PER_OSR5;
8258 rm -f conftest.$ac_objext
8259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8260 (eval $ac_compile) 2>conftest.er1
8262 grep -v '^ *+' conftest.er1 >conftest.err
8264 cat conftest.err >&5
8265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8266 (exit $ac_status); } &&
8267 { ac_try='test -z "$ac_c_werror_flag"
8268 || test ! -s conftest.err'
8269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8273 (exit $ac_status); }; } &&
8274 { ac_try='test -s conftest.$ac_objext'
8275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8279 (exit $ac_status); }; }; then
8280 ac_cv_have_decl_PER_OSR5=yes
8282 echo "$as_me: failed program was:" >&5
8283 sed 's/^/| /' conftest.$ac_ext >&5
8285 ac_cv_have_decl_PER_OSR5=no
8287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8289 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_OSR5" >&5
8290 echo "${ECHO_T}$ac_cv_have_decl_PER_OSR5" >&6
8291 if test $ac_cv_have_decl_PER_OSR5 = yes; then
8293 cat >>confdefs.h <<_ACEOF
8294 #define HAVE_DECL_PER_OSR5 1
8299 cat >>confdefs.h <<_ACEOF
8300 #define HAVE_DECL_PER_OSR5 0
8305 echo "$as_me:$LINENO: checking whether PER_WYSEV386 is declared" >&5
8306 echo $ECHO_N "checking whether PER_WYSEV386 is declared... $ECHO_C" >&6
8307 if test "${ac_cv_have_decl_PER_WYSEV386+set}" = set; then
8308 echo $ECHO_N "(cached) $ECHO_C" >&6
8310 cat >conftest.$ac_ext <<_ACEOF
8313 cat confdefs.h >>conftest.$ac_ext
8314 cat >>conftest.$ac_ext <<_ACEOF
8315 /* end confdefs.h. */
8317 #include <linux/personality.h>
8323 #ifndef PER_WYSEV386
8324 char *p = (char *) PER_WYSEV386;
8331 rm -f conftest.$ac_objext
8332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8333 (eval $ac_compile) 2>conftest.er1
8335 grep -v '^ *+' conftest.er1 >conftest.err
8337 cat conftest.err >&5
8338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8339 (exit $ac_status); } &&
8340 { ac_try='test -z "$ac_c_werror_flag"
8341 || test ! -s conftest.err'
8342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8346 (exit $ac_status); }; } &&
8347 { ac_try='test -s conftest.$ac_objext'
8348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8352 (exit $ac_status); }; }; then
8353 ac_cv_have_decl_PER_WYSEV386=yes
8355 echo "$as_me: failed program was:" >&5
8356 sed 's/^/| /' conftest.$ac_ext >&5
8358 ac_cv_have_decl_PER_WYSEV386=no
8360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8362 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_WYSEV386" >&5
8363 echo "${ECHO_T}$ac_cv_have_decl_PER_WYSEV386" >&6
8364 if test $ac_cv_have_decl_PER_WYSEV386 = yes; then
8366 cat >>confdefs.h <<_ACEOF
8367 #define HAVE_DECL_PER_WYSEV386 1
8372 cat >>confdefs.h <<_ACEOF
8373 #define HAVE_DECL_PER_WYSEV386 0
8378 echo "$as_me:$LINENO: checking whether PER_ISCR4 is declared" >&5
8379 echo $ECHO_N "checking whether PER_ISCR4 is declared... $ECHO_C" >&6
8380 if test "${ac_cv_have_decl_PER_ISCR4+set}" = set; then
8381 echo $ECHO_N "(cached) $ECHO_C" >&6
8383 cat >conftest.$ac_ext <<_ACEOF
8386 cat confdefs.h >>conftest.$ac_ext
8387 cat >>conftest.$ac_ext <<_ACEOF
8388 /* end confdefs.h. */
8390 #include <linux/personality.h>
8397 char *p = (char *) PER_ISCR4;
8404 rm -f conftest.$ac_objext
8405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8406 (eval $ac_compile) 2>conftest.er1
8408 grep -v '^ *+' conftest.er1 >conftest.err
8410 cat conftest.err >&5
8411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8412 (exit $ac_status); } &&
8413 { ac_try='test -z "$ac_c_werror_flag"
8414 || test ! -s conftest.err'
8415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8419 (exit $ac_status); }; } &&
8420 { ac_try='test -s conftest.$ac_objext'
8421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8425 (exit $ac_status); }; }; then
8426 ac_cv_have_decl_PER_ISCR4=yes
8428 echo "$as_me: failed program was:" >&5
8429 sed 's/^/| /' conftest.$ac_ext >&5
8431 ac_cv_have_decl_PER_ISCR4=no
8433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8435 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_ISCR4" >&5
8436 echo "${ECHO_T}$ac_cv_have_decl_PER_ISCR4" >&6
8437 if test $ac_cv_have_decl_PER_ISCR4 = yes; then
8439 cat >>confdefs.h <<_ACEOF
8440 #define HAVE_DECL_PER_ISCR4 1
8445 cat >>confdefs.h <<_ACEOF
8446 #define HAVE_DECL_PER_ISCR4 0
8451 echo "$as_me:$LINENO: checking whether PER_BSD is declared" >&5
8452 echo $ECHO_N "checking whether PER_BSD is declared... $ECHO_C" >&6
8453 if test "${ac_cv_have_decl_PER_BSD+set}" = set; then
8454 echo $ECHO_N "(cached) $ECHO_C" >&6
8456 cat >conftest.$ac_ext <<_ACEOF
8459 cat confdefs.h >>conftest.$ac_ext
8460 cat >>conftest.$ac_ext <<_ACEOF
8461 /* end confdefs.h. */
8463 #include <linux/personality.h>
8470 char *p = (char *) PER_BSD;
8477 rm -f conftest.$ac_objext
8478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8479 (eval $ac_compile) 2>conftest.er1
8481 grep -v '^ *+' conftest.er1 >conftest.err
8483 cat conftest.err >&5
8484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8485 (exit $ac_status); } &&
8486 { ac_try='test -z "$ac_c_werror_flag"
8487 || test ! -s conftest.err'
8488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8492 (exit $ac_status); }; } &&
8493 { ac_try='test -s conftest.$ac_objext'
8494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8498 (exit $ac_status); }; }; then
8499 ac_cv_have_decl_PER_BSD=yes
8501 echo "$as_me: failed program was:" >&5
8502 sed 's/^/| /' conftest.$ac_ext >&5
8504 ac_cv_have_decl_PER_BSD=no
8506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8508 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_BSD" >&5
8509 echo "${ECHO_T}$ac_cv_have_decl_PER_BSD" >&6
8510 if test $ac_cv_have_decl_PER_BSD = yes; then
8512 cat >>confdefs.h <<_ACEOF
8513 #define HAVE_DECL_PER_BSD 1
8518 cat >>confdefs.h <<_ACEOF
8519 #define HAVE_DECL_PER_BSD 0
8524 echo "$as_me:$LINENO: checking whether PER_SUNOS is declared" >&5
8525 echo $ECHO_N "checking whether PER_SUNOS is declared... $ECHO_C" >&6
8526 if test "${ac_cv_have_decl_PER_SUNOS+set}" = set; then
8527 echo $ECHO_N "(cached) $ECHO_C" >&6
8529 cat >conftest.$ac_ext <<_ACEOF
8532 cat confdefs.h >>conftest.$ac_ext
8533 cat >>conftest.$ac_ext <<_ACEOF
8534 /* end confdefs.h. */
8536 #include <linux/personality.h>
8543 char *p = (char *) PER_SUNOS;
8550 rm -f conftest.$ac_objext
8551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8552 (eval $ac_compile) 2>conftest.er1
8554 grep -v '^ *+' conftest.er1 >conftest.err
8556 cat conftest.err >&5
8557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8558 (exit $ac_status); } &&
8559 { ac_try='test -z "$ac_c_werror_flag"
8560 || test ! -s conftest.err'
8561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8565 (exit $ac_status); }; } &&
8566 { ac_try='test -s conftest.$ac_objext'
8567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8571 (exit $ac_status); }; }; then
8572 ac_cv_have_decl_PER_SUNOS=yes
8574 echo "$as_me: failed program was:" >&5
8575 sed 's/^/| /' conftest.$ac_ext >&5
8577 ac_cv_have_decl_PER_SUNOS=no
8579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8581 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SUNOS" >&5
8582 echo "${ECHO_T}$ac_cv_have_decl_PER_SUNOS" >&6
8583 if test $ac_cv_have_decl_PER_SUNOS = yes; then
8585 cat >>confdefs.h <<_ACEOF
8586 #define HAVE_DECL_PER_SUNOS 1
8591 cat >>confdefs.h <<_ACEOF
8592 #define HAVE_DECL_PER_SUNOS 0
8597 echo "$as_me:$LINENO: checking whether PER_XENIX is declared" >&5
8598 echo $ECHO_N "checking whether PER_XENIX is declared... $ECHO_C" >&6
8599 if test "${ac_cv_have_decl_PER_XENIX+set}" = set; then
8600 echo $ECHO_N "(cached) $ECHO_C" >&6
8602 cat >conftest.$ac_ext <<_ACEOF
8605 cat confdefs.h >>conftest.$ac_ext
8606 cat >>conftest.$ac_ext <<_ACEOF
8607 /* end confdefs.h. */
8609 #include <linux/personality.h>
8616 char *p = (char *) PER_XENIX;
8623 rm -f conftest.$ac_objext
8624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8625 (eval $ac_compile) 2>conftest.er1
8627 grep -v '^ *+' conftest.er1 >conftest.err
8629 cat conftest.err >&5
8630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8631 (exit $ac_status); } &&
8632 { ac_try='test -z "$ac_c_werror_flag"
8633 || test ! -s conftest.err'
8634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8638 (exit $ac_status); }; } &&
8639 { ac_try='test -s conftest.$ac_objext'
8640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8644 (exit $ac_status); }; }; then
8645 ac_cv_have_decl_PER_XENIX=yes
8647 echo "$as_me: failed program was:" >&5
8648 sed 's/^/| /' conftest.$ac_ext >&5
8650 ac_cv_have_decl_PER_XENIX=no
8652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8654 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_XENIX" >&5
8655 echo "${ECHO_T}$ac_cv_have_decl_PER_XENIX" >&6
8656 if test $ac_cv_have_decl_PER_XENIX = yes; then
8658 cat >>confdefs.h <<_ACEOF
8659 #define HAVE_DECL_PER_XENIX 1
8664 cat >>confdefs.h <<_ACEOF
8665 #define HAVE_DECL_PER_XENIX 0
8670 echo "$as_me:$LINENO: checking whether PER_LINUX32 is declared" >&5
8671 echo $ECHO_N "checking whether PER_LINUX32 is declared... $ECHO_C" >&6
8672 if test "${ac_cv_have_decl_PER_LINUX32+set}" = set; then
8673 echo $ECHO_N "(cached) $ECHO_C" >&6
8675 cat >conftest.$ac_ext <<_ACEOF
8678 cat confdefs.h >>conftest.$ac_ext
8679 cat >>conftest.$ac_ext <<_ACEOF
8680 /* end confdefs.h. */
8682 #include <linux/personality.h>
8689 char *p = (char *) PER_LINUX32;
8696 rm -f conftest.$ac_objext
8697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8698 (eval $ac_compile) 2>conftest.er1
8700 grep -v '^ *+' conftest.er1 >conftest.err
8702 cat conftest.err >&5
8703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8704 (exit $ac_status); } &&
8705 { ac_try='test -z "$ac_c_werror_flag"
8706 || test ! -s conftest.err'
8707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8711 (exit $ac_status); }; } &&
8712 { ac_try='test -s conftest.$ac_objext'
8713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8717 (exit $ac_status); }; }; then
8718 ac_cv_have_decl_PER_LINUX32=yes
8720 echo "$as_me: failed program was:" >&5
8721 sed 's/^/| /' conftest.$ac_ext >&5
8723 ac_cv_have_decl_PER_LINUX32=no
8725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8727 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX32" >&5
8728 echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX32" >&6
8729 if test $ac_cv_have_decl_PER_LINUX32 = yes; then
8731 cat >>confdefs.h <<_ACEOF
8732 #define HAVE_DECL_PER_LINUX32 1
8737 cat >>confdefs.h <<_ACEOF
8738 #define HAVE_DECL_PER_LINUX32 0
8743 echo "$as_me:$LINENO: checking whether PER_LINUX32_3GB is declared" >&5
8744 echo $ECHO_N "checking whether PER_LINUX32_3GB is declared... $ECHO_C" >&6
8745 if test "${ac_cv_have_decl_PER_LINUX32_3GB+set}" = set; then
8746 echo $ECHO_N "(cached) $ECHO_C" >&6
8748 cat >conftest.$ac_ext <<_ACEOF
8751 cat confdefs.h >>conftest.$ac_ext
8752 cat >>conftest.$ac_ext <<_ACEOF
8753 /* end confdefs.h. */
8755 #include <linux/personality.h>
8761 #ifndef PER_LINUX32_3GB
8762 char *p = (char *) PER_LINUX32_3GB;
8769 rm -f conftest.$ac_objext
8770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8771 (eval $ac_compile) 2>conftest.er1
8773 grep -v '^ *+' conftest.er1 >conftest.err
8775 cat conftest.err >&5
8776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8777 (exit $ac_status); } &&
8778 { ac_try='test -z "$ac_c_werror_flag"
8779 || test ! -s conftest.err'
8780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8784 (exit $ac_status); }; } &&
8785 { ac_try='test -s conftest.$ac_objext'
8786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8790 (exit $ac_status); }; }; then
8791 ac_cv_have_decl_PER_LINUX32_3GB=yes
8793 echo "$as_me: failed program was:" >&5
8794 sed 's/^/| /' conftest.$ac_ext >&5
8796 ac_cv_have_decl_PER_LINUX32_3GB=no
8798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8800 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX32_3GB" >&5
8801 echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX32_3GB" >&6
8802 if test $ac_cv_have_decl_PER_LINUX32_3GB = yes; then
8804 cat >>confdefs.h <<_ACEOF
8805 #define HAVE_DECL_PER_LINUX32_3GB 1
8810 cat >>confdefs.h <<_ACEOF
8811 #define HAVE_DECL_PER_LINUX32_3GB 0
8816 echo "$as_me:$LINENO: checking whether PER_IRIX32 is declared" >&5
8817 echo $ECHO_N "checking whether PER_IRIX32 is declared... $ECHO_C" >&6
8818 if test "${ac_cv_have_decl_PER_IRIX32+set}" = set; then
8819 echo $ECHO_N "(cached) $ECHO_C" >&6
8821 cat >conftest.$ac_ext <<_ACEOF
8824 cat confdefs.h >>conftest.$ac_ext
8825 cat >>conftest.$ac_ext <<_ACEOF
8826 /* end confdefs.h. */
8828 #include <linux/personality.h>
8835 char *p = (char *) PER_IRIX32;
8842 rm -f conftest.$ac_objext
8843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8844 (eval $ac_compile) 2>conftest.er1
8846 grep -v '^ *+' conftest.er1 >conftest.err
8848 cat conftest.err >&5
8849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8850 (exit $ac_status); } &&
8851 { ac_try='test -z "$ac_c_werror_flag"
8852 || test ! -s conftest.err'
8853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8857 (exit $ac_status); }; } &&
8858 { ac_try='test -s conftest.$ac_objext'
8859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8863 (exit $ac_status); }; }; then
8864 ac_cv_have_decl_PER_IRIX32=yes
8866 echo "$as_me: failed program was:" >&5
8867 sed 's/^/| /' conftest.$ac_ext >&5
8869 ac_cv_have_decl_PER_IRIX32=no
8871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8873 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_IRIX32" >&5
8874 echo "${ECHO_T}$ac_cv_have_decl_PER_IRIX32" >&6
8875 if test $ac_cv_have_decl_PER_IRIX32 = yes; then
8877 cat >>confdefs.h <<_ACEOF
8878 #define HAVE_DECL_PER_IRIX32 1
8883 cat >>confdefs.h <<_ACEOF
8884 #define HAVE_DECL_PER_IRIX32 0
8889 echo "$as_me:$LINENO: checking whether PER_IRIXN32 is declared" >&5
8890 echo $ECHO_N "checking whether PER_IRIXN32 is declared... $ECHO_C" >&6
8891 if test "${ac_cv_have_decl_PER_IRIXN32+set}" = set; then
8892 echo $ECHO_N "(cached) $ECHO_C" >&6
8894 cat >conftest.$ac_ext <<_ACEOF
8897 cat confdefs.h >>conftest.$ac_ext
8898 cat >>conftest.$ac_ext <<_ACEOF
8899 /* end confdefs.h. */
8901 #include <linux/personality.h>
8908 char *p = (char *) PER_IRIXN32;
8915 rm -f conftest.$ac_objext
8916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8917 (eval $ac_compile) 2>conftest.er1
8919 grep -v '^ *+' conftest.er1 >conftest.err
8921 cat conftest.err >&5
8922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8923 (exit $ac_status); } &&
8924 { ac_try='test -z "$ac_c_werror_flag"
8925 || test ! -s conftest.err'
8926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8930 (exit $ac_status); }; } &&
8931 { ac_try='test -s conftest.$ac_objext'
8932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8936 (exit $ac_status); }; }; then
8937 ac_cv_have_decl_PER_IRIXN32=yes
8939 echo "$as_me: failed program was:" >&5
8940 sed 's/^/| /' conftest.$ac_ext >&5
8942 ac_cv_have_decl_PER_IRIXN32=no
8944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8946 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_IRIXN32" >&5
8947 echo "${ECHO_T}$ac_cv_have_decl_PER_IRIXN32" >&6
8948 if test $ac_cv_have_decl_PER_IRIXN32 = yes; then
8950 cat >>confdefs.h <<_ACEOF
8951 #define HAVE_DECL_PER_IRIXN32 1
8956 cat >>confdefs.h <<_ACEOF
8957 #define HAVE_DECL_PER_IRIXN32 0
8962 echo "$as_me:$LINENO: checking whether PER_IRIX64 is declared" >&5
8963 echo $ECHO_N "checking whether PER_IRIX64 is declared... $ECHO_C" >&6
8964 if test "${ac_cv_have_decl_PER_IRIX64+set}" = set; then
8965 echo $ECHO_N "(cached) $ECHO_C" >&6
8967 cat >conftest.$ac_ext <<_ACEOF
8970 cat confdefs.h >>conftest.$ac_ext
8971 cat >>conftest.$ac_ext <<_ACEOF
8972 /* end confdefs.h. */
8974 #include <linux/personality.h>
8981 char *p = (char *) PER_IRIX64;
8988 rm -f conftest.$ac_objext
8989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8990 (eval $ac_compile) 2>conftest.er1
8992 grep -v '^ *+' conftest.er1 >conftest.err
8994 cat conftest.err >&5
8995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8996 (exit $ac_status); } &&
8997 { ac_try='test -z "$ac_c_werror_flag"
8998 || test ! -s conftest.err'
8999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9003 (exit $ac_status); }; } &&
9004 { ac_try='test -s conftest.$ac_objext'
9005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9009 (exit $ac_status); }; }; then
9010 ac_cv_have_decl_PER_IRIX64=yes
9012 echo "$as_me: failed program was:" >&5
9013 sed 's/^/| /' conftest.$ac_ext >&5
9015 ac_cv_have_decl_PER_IRIX64=no
9017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9019 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_IRIX64" >&5
9020 echo "${ECHO_T}$ac_cv_have_decl_PER_IRIX64" >&6
9021 if test $ac_cv_have_decl_PER_IRIX64 = yes; then
9023 cat >>confdefs.h <<_ACEOF
9024 #define HAVE_DECL_PER_IRIX64 1
9029 cat >>confdefs.h <<_ACEOF
9030 #define HAVE_DECL_PER_IRIX64 0
9035 echo "$as_me:$LINENO: checking whether PER_RISCOS is declared" >&5
9036 echo $ECHO_N "checking whether PER_RISCOS is declared... $ECHO_C" >&6
9037 if test "${ac_cv_have_decl_PER_RISCOS+set}" = set; then
9038 echo $ECHO_N "(cached) $ECHO_C" >&6
9040 cat >conftest.$ac_ext <<_ACEOF
9043 cat confdefs.h >>conftest.$ac_ext
9044 cat >>conftest.$ac_ext <<_ACEOF
9045 /* end confdefs.h. */
9047 #include <linux/personality.h>
9054 char *p = (char *) PER_RISCOS;
9061 rm -f conftest.$ac_objext
9062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9063 (eval $ac_compile) 2>conftest.er1
9065 grep -v '^ *+' conftest.er1 >conftest.err
9067 cat conftest.err >&5
9068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9069 (exit $ac_status); } &&
9070 { ac_try='test -z "$ac_c_werror_flag"
9071 || test ! -s conftest.err'
9072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9076 (exit $ac_status); }; } &&
9077 { ac_try='test -s conftest.$ac_objext'
9078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9082 (exit $ac_status); }; }; then
9083 ac_cv_have_decl_PER_RISCOS=yes
9085 echo "$as_me: failed program was:" >&5
9086 sed 's/^/| /' conftest.$ac_ext >&5
9088 ac_cv_have_decl_PER_RISCOS=no
9090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9092 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_RISCOS" >&5
9093 echo "${ECHO_T}$ac_cv_have_decl_PER_RISCOS" >&6
9094 if test $ac_cv_have_decl_PER_RISCOS = yes; then
9096 cat >>confdefs.h <<_ACEOF
9097 #define HAVE_DECL_PER_RISCOS 1
9102 cat >>confdefs.h <<_ACEOF
9103 #define HAVE_DECL_PER_RISCOS 0
9108 echo "$as_me:$LINENO: checking whether PER_SOLARIS is declared" >&5
9109 echo $ECHO_N "checking whether PER_SOLARIS is declared... $ECHO_C" >&6
9110 if test "${ac_cv_have_decl_PER_SOLARIS+set}" = set; then
9111 echo $ECHO_N "(cached) $ECHO_C" >&6
9113 cat >conftest.$ac_ext <<_ACEOF
9116 cat confdefs.h >>conftest.$ac_ext
9117 cat >>conftest.$ac_ext <<_ACEOF
9118 /* end confdefs.h. */
9120 #include <linux/personality.h>
9127 char *p = (char *) PER_SOLARIS;
9134 rm -f conftest.$ac_objext
9135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9136 (eval $ac_compile) 2>conftest.er1
9138 grep -v '^ *+' conftest.er1 >conftest.err
9140 cat conftest.err >&5
9141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9142 (exit $ac_status); } &&
9143 { ac_try='test -z "$ac_c_werror_flag"
9144 || test ! -s conftest.err'
9145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9149 (exit $ac_status); }; } &&
9150 { ac_try='test -s conftest.$ac_objext'
9151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9155 (exit $ac_status); }; }; then
9156 ac_cv_have_decl_PER_SOLARIS=yes
9158 echo "$as_me: failed program was:" >&5
9159 sed 's/^/| /' conftest.$ac_ext >&5
9161 ac_cv_have_decl_PER_SOLARIS=no
9163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9165 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SOLARIS" >&5
9166 echo "${ECHO_T}$ac_cv_have_decl_PER_SOLARIS" >&6
9167 if test $ac_cv_have_decl_PER_SOLARIS = yes; then
9169 cat >>confdefs.h <<_ACEOF
9170 #define HAVE_DECL_PER_SOLARIS 1
9175 cat >>confdefs.h <<_ACEOF
9176 #define HAVE_DECL_PER_SOLARIS 0
9181 echo "$as_me:$LINENO: checking whether PER_UW7 is declared" >&5
9182 echo $ECHO_N "checking whether PER_UW7 is declared... $ECHO_C" >&6
9183 if test "${ac_cv_have_decl_PER_UW7+set}" = set; then
9184 echo $ECHO_N "(cached) $ECHO_C" >&6
9186 cat >conftest.$ac_ext <<_ACEOF
9189 cat confdefs.h >>conftest.$ac_ext
9190 cat >>conftest.$ac_ext <<_ACEOF
9191 /* end confdefs.h. */
9193 #include <linux/personality.h>
9200 char *p = (char *) PER_UW7;
9207 rm -f conftest.$ac_objext
9208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9209 (eval $ac_compile) 2>conftest.er1
9211 grep -v '^ *+' conftest.er1 >conftest.err
9213 cat conftest.err >&5
9214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9215 (exit $ac_status); } &&
9216 { ac_try='test -z "$ac_c_werror_flag"
9217 || test ! -s conftest.err'
9218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9222 (exit $ac_status); }; } &&
9223 { ac_try='test -s conftest.$ac_objext'
9224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9228 (exit $ac_status); }; }; then
9229 ac_cv_have_decl_PER_UW7=yes
9231 echo "$as_me: failed program was:" >&5
9232 sed 's/^/| /' conftest.$ac_ext >&5
9234 ac_cv_have_decl_PER_UW7=no
9236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9238 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_UW7" >&5
9239 echo "${ECHO_T}$ac_cv_have_decl_PER_UW7" >&6
9240 if test $ac_cv_have_decl_PER_UW7 = yes; then
9242 cat >>confdefs.h <<_ACEOF
9243 #define HAVE_DECL_PER_UW7 1
9248 cat >>confdefs.h <<_ACEOF
9249 #define HAVE_DECL_PER_UW7 0
9254 echo "$as_me:$LINENO: checking whether PER_HPUX is declared" >&5
9255 echo $ECHO_N "checking whether PER_HPUX is declared... $ECHO_C" >&6
9256 if test "${ac_cv_have_decl_PER_HPUX+set}" = set; then
9257 echo $ECHO_N "(cached) $ECHO_C" >&6
9259 cat >conftest.$ac_ext <<_ACEOF
9262 cat confdefs.h >>conftest.$ac_ext
9263 cat >>conftest.$ac_ext <<_ACEOF
9264 /* end confdefs.h. */
9266 #include <linux/personality.h>
9273 char *p = (char *) PER_HPUX;
9280 rm -f conftest.$ac_objext
9281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9282 (eval $ac_compile) 2>conftest.er1
9284 grep -v '^ *+' conftest.er1 >conftest.err
9286 cat conftest.err >&5
9287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9288 (exit $ac_status); } &&
9289 { ac_try='test -z "$ac_c_werror_flag"
9290 || test ! -s conftest.err'
9291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9295 (exit $ac_status); }; } &&
9296 { ac_try='test -s conftest.$ac_objext'
9297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9301 (exit $ac_status); }; }; then
9302 ac_cv_have_decl_PER_HPUX=yes
9304 echo "$as_me: failed program was:" >&5
9305 sed 's/^/| /' conftest.$ac_ext >&5
9307 ac_cv_have_decl_PER_HPUX=no
9309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9311 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_HPUX" >&5
9312 echo "${ECHO_T}$ac_cv_have_decl_PER_HPUX" >&6
9313 if test $ac_cv_have_decl_PER_HPUX = yes; then
9315 cat >>confdefs.h <<_ACEOF
9316 #define HAVE_DECL_PER_HPUX 1
9321 cat >>confdefs.h <<_ACEOF
9322 #define HAVE_DECL_PER_HPUX 0
9327 echo "$as_me:$LINENO: checking whether PER_OSF4 is declared" >&5
9328 echo $ECHO_N "checking whether PER_OSF4 is declared... $ECHO_C" >&6
9329 if test "${ac_cv_have_decl_PER_OSF4+set}" = set; then
9330 echo $ECHO_N "(cached) $ECHO_C" >&6
9332 cat >conftest.$ac_ext <<_ACEOF
9335 cat confdefs.h >>conftest.$ac_ext
9336 cat >>conftest.$ac_ext <<_ACEOF
9337 /* end confdefs.h. */
9339 #include <linux/personality.h>
9346 char *p = (char *) PER_OSF4;
9353 rm -f conftest.$ac_objext
9354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9355 (eval $ac_compile) 2>conftest.er1
9357 grep -v '^ *+' conftest.er1 >conftest.err
9359 cat conftest.err >&5
9360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9361 (exit $ac_status); } &&
9362 { ac_try='test -z "$ac_c_werror_flag"
9363 || test ! -s conftest.err'
9364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9368 (exit $ac_status); }; } &&
9369 { ac_try='test -s conftest.$ac_objext'
9370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9374 (exit $ac_status); }; }; then
9375 ac_cv_have_decl_PER_OSF4=yes
9377 echo "$as_me: failed program was:" >&5
9378 sed 's/^/| /' conftest.$ac_ext >&5
9380 ac_cv_have_decl_PER_OSF4=no
9382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9384 echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_OSF4" >&5
9385 echo "${ECHO_T}$ac_cv_have_decl_PER_OSF4" >&6
9386 if test $ac_cv_have_decl_PER_OSF4 = yes; then
9388 cat >>confdefs.h <<_ACEOF
9389 #define HAVE_DECL_PER_OSF4 1
9394 cat >>confdefs.h <<_ACEOF
9395 #define HAVE_DECL_PER_OSF4 0
9403 ac_cpp='$CPP $CPPFLAGS'
9404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9413 echo "$as_me:$LINENO: checking for initrddir" >&5
9414 echo $ECHO_N "checking for initrddir... $ECHO_C" >&6
9416 # Check whether --with-initrddir or --without-initrddir was given.
9417 if test "${with_initrddir+set}" = set; then
9418 withval="$with_initrddir"
9420 yes|no) { { echo "$as_me:$LINENO: error: '$withval' is not a valid value for '--with-initrddir'" >&5
9421 echo "$as_me: error: '$withval' is not a valid value for '--with-initrddir'" >&2;}
9422 { (exit 1); exit 1; }; };;
9423 *) ensc_initrddir=$withval;;
9426 ensc_initrddir='$(sysconfdir)/init.d'
9429 if test "initrddir"; then
9430 initrddir=$ensc_initrddir
9434 echo "$as_me:$LINENO: result: $ensc_initrddir" >&5
9435 echo "${ECHO_T}$ensc_initrddir" >&6
9438 echo "$as_me:$LINENO: checking whether to enable release-mode" >&5
9439 echo $ECHO_N "checking whether to enable release-mode... $ECHO_C" >&6
9440 # Check whether --enable-release or --disable-release was given.
9441 if test "${enable_release+set}" = set; then
9442 enableval="$enable_release"
9443 case "$enableval" in
9444 yes) ensc_release_mode=yes;;
9445 no) ensc_release_mode=no;;
9446 *) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--enable-release'" >&5
9447 echo "$as_me: error: '$enableval' is not a valid value for '--enable-release'" >&2;}
9448 { (exit 1); exit 1; }; };;
9451 ensc_release_mode=no
9454 if test x"$ensc_release_mode" = xno; then
9457 RELEASE_CPPFLAGS='-DNDEBUG'
9461 echo "$as_me:$LINENO: result: $ensc_release_mode" >&5
9462 echo "${ECHO_T}$ensc_release_mode" >&6
9467 (i*86|athlon) min_diet_ver=0.25;;
9468 (ia64|hppa*) min_diet_ver=0.29;;
9469 (*) min_diet_ver=0.28;;
9473 echo "$as_me:$LINENO: checking whether to enable dietlibc" >&5
9474 echo $ECHO_N "checking whether to enable dietlibc... $ECHO_C" >&6
9482 # Check whether --enable-dietlibc or --disable-dietlibc was given.
9483 if test "${enable_dietlibc+set}" = set; then
9484 enableval="$enable_dietlibc"
9485 case "$enableval" in
9486 (yes) use_dietlibc=forced;;
9487 (no) use_dietlibc=forced_no;;
9488 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for --enable-dietlibc" >&5
9489 echo "$as_me: error: '$enableval' is not a valid value for --enable-dietlibc" >&2;}
9490 { (exit 1); exit 1; }; };;
9493 which "$DIET" >/dev/null 2>/dev/null && use_dietlibc=detected || use_dietlibc=detected_no
9496 if test "$use_dietlibc" = detected -a "$min_diet_ver"; then
9497 _dietlibc_ver=$($DIET -v 2>&1 | sed '1p;d')
9498 _dietlibc_ver=${_dietlibc_ver##*diet version }
9499 _dietlibc_ver=${_dietlibc_ver##*dietlibc-}
9500 _dietlibc_ver_maj=${_dietlibc_ver%%.*}
9501 _dietlibc_ver_min=${_dietlibc_ver##*.}
9502 _dietlibc_ver_min=${_dietlibc_ver_min%%[!0-9]*}
9503 _dietlibc_cmp="$min_diet_ver"
9504 _dietlibc_cmp_maj=${_dietlibc_cmp%%.*}
9505 _dietlibc_cmp_min=${_dietlibc_cmp##*.}
9507 ENSC_VERSION_DIETLIBC=$_dietlibc_ver_maj.$_dietlibc_ver_min
9509 let _dietlibc_ver=_dietlibc_ver_maj*1000+_dietlibc_ver_min 2>/dev/null || _dietlibc_ver=0
9510 let _dietlibc_cmp=_dietlibc_cmp_maj*1000+_dietlibc_cmp_min
9512 test $_dietlibc_ver -ge $_dietlibc_cmp || use_dietlibc=detected_old
9514 ENSC_VERSION_DIETLIBC=
9518 ENSC_VERSION_DIETLIBC_NUM=$_dietlibc_ver
9519 ensc_have_dietlibc=no
9521 case x"$use_dietlibc" in
9527 USE_DIETLIBC_FALSE='#'
9529 USE_DIETLIBC_TRUE='#'
9533 echo "$as_me:$LINENO: result: yes (autodetected, $ENSC_VERSION_DIETLIBC)" >&5
9534 echo "${ECHO_T}yes (autodetected, $ENSC_VERSION_DIETLIBC)" >&6
9535 ensc_have_dietlibc=yes
9542 USE_DIETLIBC_FALSE='#'
9544 USE_DIETLIBC_TRUE='#'
9548 echo "$as_me:$LINENO: result: yes (forced)" >&5
9549 echo "${ECHO_T}yes (forced)" >&6
9550 ensc_have_dietlibc=yes
9557 USE_DIETLIBC_FALSE='#'
9559 USE_DIETLIBC_TRUE='#'
9563 echo "$as_me:$LINENO: result: no (detected)" >&5
9564 echo "${ECHO_T}no (detected)" >&6
9571 USE_DIETLIBC_FALSE='#'
9573 USE_DIETLIBC_TRUE='#'
9577 echo "$as_me:$LINENO: result: no (too old; $min_diet_ver+ required, $ENSC_VERSION_DIETLIBC found)" >&5
9578 echo "${ECHO_T}no (too old; $min_diet_ver+ required, $ENSC_VERSION_DIETLIBC found)" >&6
9585 USE_DIETLIBC_FALSE='#'
9587 USE_DIETLIBC_TRUE='#'
9591 echo "$as_me:$LINENO: result: no (forced)" >&5
9592 echo "${ECHO_T}no (forced)" >&6
9595 { { echo "$as_me:$LINENO: error: internal error, use_dietlibc was \"$use_dietlibc\"" >&5
9596 echo "$as_me: error: internal error, use_dietlibc was \"$use_dietlibc\"" >&2;}
9597 { (exit 1); exit 1; }; }
9601 if test x"$ensc_have_dietlibc" != xno; then
9606 echo "$as_me:$LINENO: checking whether dietlibc supports C99" >&5
9607 echo $ECHO_N "checking whether dietlibc supports C99... $ECHO_C" >&6
9608 if test "${ensc_cv_c_dietlibc_c99+set}" = set; then
9609 echo $ECHO_N "(cached) $ECHO_C" >&6
9612 _ensc_dietlibc_c99_old_CFLAGS=$CFLAGS
9613 _ensc_dietlibc_c99_old_CC=$CC
9616 CC="${DIET:-diet} $CC"
9619 ac_cpp='$CPP $CPPFLAGS'
9620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9624 cat >conftest.$ac_ext <<_ACEOF
9627 rm -f conftest.$ac_objext
9628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9629 (eval $ac_compile) 2>conftest.er1
9631 grep -v '^ *+' conftest.er1 >conftest.err
9633 cat conftest.err >&5
9634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9635 (exit $ac_status); } &&
9636 { ac_try='test -z "$ac_c_werror_flag"
9637 || test ! -s conftest.err'
9638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9642 (exit $ac_status); }; } &&
9643 { ac_try='test -s conftest.$ac_objext'
9644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9648 (exit $ac_status); }; }; then
9650 cat >conftest.$ac_ext <<_ACEOF
9653 #include <sys/cdefs.h>
9655 # error 'inline' badly defined
9657 volatile uint64_t a;
9660 rm -f conftest.$ac_objext
9661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9662 (eval $ac_compile) 2>conftest.er1
9664 grep -v '^ *+' conftest.er1 >conftest.err
9666 cat conftest.err >&5
9667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9668 (exit $ac_status); } &&
9669 { ac_try='test -z "$ac_c_werror_flag"
9670 || test ! -s conftest.err'
9671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9675 (exit $ac_status); }; } &&
9676 { ac_try='test -s conftest.$ac_objext'
9677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9681 (exit $ac_status); }; }; then
9682 ensc_cv_c_dietlibc_c99=yes
9684 echo "$as_me: failed program was:" >&5
9685 sed 's/^/| /' conftest.$ac_ext >&5
9687 ensc_cv_c_dietlibc_c99=no
9689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9691 echo "$as_me: failed program was:" >&5
9692 sed 's/^/| /' conftest.$ac_ext >&5
9694 ensc_cv_c_dietlibc_c99='skipped (compiler does not support C99)'
9696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9698 ac_cpp='$CPP $CPPFLAGS'
9699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9704 CC=$_ensc_dietlibc_c99_old_CC
9705 CFLAGS=$_ensc_dietlibc_c99_old_CFLAGS
9708 echo "$as_me:$LINENO: result: $ensc_cv_c_dietlibc_c99" >&5
9709 echo "${ECHO_T}$ensc_cv_c_dietlibc_c99" >&6
9711 if test x"$ensc_cv_c_dietlibc_c99" = xyes; then
9712 cat >>confdefs.h <<\_ACEOF
9713 #define ENSC_DIETLIBC_C99 1
9721 if test x"$ensc_have_dietlibc" = xno; then
9722 { echo "$as_me:$LINENO: WARNING: *** ***" >&5
9723 echo "$as_me: WARNING: *** ***" >&2;}
9724 { echo "$as_me:$LINENO: WARNING: *** it is strongly recommended to link util-vserver against ***" >&5
9725 echo "$as_me: WARNING: *** it is strongly recommended to link util-vserver against ***" >&2;}
9726 { echo "$as_me:$LINENO: WARNING: *** dietlibc; glibc's NSS functions are very unreliable in ***" >&5
9727 echo "$as_me: WARNING: *** dietlibc; glibc's NSS functions are very unreliable in ***" >&2;}
9728 { echo "$as_me:$LINENO: WARNING: *** chroot() environments, so you have to expect problems ***" >&5
9729 echo "$as_me: WARNING: *** chroot() environments, so you have to expect problems ***" >&2;}
9730 { echo "$as_me:$LINENO: WARNING: *** there. ***" >&5
9731 echo "$as_me: WARNING: *** there. ***" >&2;}
9732 { echo "$as_me:$LINENO: WARNING: *** ***" >&5
9733 echo "$as_me: WARNING: *** ***" >&2;}
9737 USE_DIETLIBC_COMPAT_TRUE=
9738 USE_DIETLIBC_COMPAT_FALSE='#'
9740 USE_DIETLIBC_COMPAT_TRUE='#'
9741 USE_DIETLIBC_COMPAT_FALSE=
9745 # HACK: libtool does not have cmdline options to build only
9746 # dynamic libraries; this can be done with the
9747 # '--disable-static' ./configure option only. As our static
9748 # libraries will be build with dietlibc, we have to do set
9749 # this option which is evaluated by 'AC_PROG_LIBTOOL'
9750 # below. Therefore, this macro must not be called earlier.
9757 if test "$host_cpu" = x86_64 -a $ENSC_VERSION_DIETLIBC_NUM -le 0027; then
9758 { echo "$as_me:$LINENO: WARNING: *** ***" >&5
9759 echo "$as_me: WARNING: *** ***" >&2;}
9760 { echo "$as_me:$LINENO: WARNING: *** dietlibc<=0.27 is known to be broken for x86_64 systems ***" >&5
9761 echo "$as_me: WARNING: *** dietlibc<=0.27 is known to be broken for x86_64 systems ***" >&2;}
9762 { echo "$as_me:$LINENO: WARNING: *** please make sure that at least the environ.S fix is applied ***" >&5
9763 echo "$as_me: WARNING: *** please make sure that at least the environ.S fix is applied ***" >&2;}
9764 { echo "$as_me:$LINENO: WARNING: *** and lib/__nice.c added ***" >&5
9765 echo "$as_me: WARNING: *** and lib/__nice.c added ***" >&2;}
9766 { echo "$as_me:$LINENO: WARNING: *** ***" >&5
9767 echo "$as_me: WARNING: *** ***" >&2;}
9771 echo "$as_me:$LINENO: checking whether to use alternative _syscallX macros" >&5
9772 echo $ECHO_N "checking whether to use alternative _syscallX macros... $ECHO_C" >&6
9773 # Check whether --enable-alternative-syscalls or --disable-alternative-syscalls was given.
9774 if test "${enable_alternative_syscalls+set}" = set; then
9775 enableval="$enable_alternative_syscalls"
9777 (yes|no) ensc_use_alternative_syscall_macros=$enableval;;
9778 (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--disable-alternative-syscalls'" >&5
9779 echo "$as_me: error: '$enableval' is not a valid value for '--disable-alternative-syscalls'" >&2;}
9780 { (exit 1); exit 1; }; };;
9783 ensc_use_alternative_syscall_macros=yes
9786 case $ensc_use_alternative_syscall_macros in
9788 cat >>confdefs.h <<\_ACEOF
9789 #define ENSC_USE_ALTERNATIVE_SYSCALL_MACROS 1
9794 echo "$as_me:$LINENO: result: $ensc_use_alternative_syscall_macros" >&5
9795 echo "${ECHO_T}$ensc_use_alternative_syscall_macros" >&6
9800 echo "$as_me:$LINENO: checking whether dietlibc needs '-lcompat'" >&5
9801 echo $ECHO_N "checking whether dietlibc needs '-lcompat'... $ECHO_C" >&6
9802 if test "${ensc_cv_c_dietlibc_compat+set}" = set; then
9803 echo $ECHO_N "(cached) $ECHO_C" >&6
9807 ac_cpp='$CPP $CPPFLAGS'
9808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9812 ensc_dietlibc_need_compat_old_CC=$CC
9813 CC="${DIET:-diet} $CC"
9814 cat >conftest.$ac_ext <<_ACEOF
9818 cat confdefs.h >>conftest.$ac_ext
9819 cat >>conftest.$ac_ext <<_ACEOF
9820 /* end confdefs.h. */
9822 #include "$srcdir/lib/syscall-wrap.h"
9825 #define __NR_foo0 42
9826 #define __NR_foo1 42
9827 #define __NR_foo2 42
9828 #define __NR_foo3 42
9829 #define __NR_foo4 42
9830 #define __NR_foo5 42
9831 inline static _syscall0(int, foo0)
9832 inline static _syscall1(int, foo1, int, a)
9833 inline static _syscall2(int, foo2, int, a, int, b)
9834 inline static _syscall3(int, foo3, int, a, int, b, int, c)
9835 inline static _syscall4(int, foo4, int, a, int, b, int, c, int, d)
9836 inline static _syscall5(int, foo5, int, a, int, b, int, c, int, d, int, e)
9841 foo0(); foo1(0); foo2(0,0); foo3(0,0,0); foo4(0,0,0,0); foo5(0,0,0,0,0);
9846 rm -f conftest.$ac_objext conftest$ac_exeext
9847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9848 (eval $ac_link) 2>conftest.er1
9850 grep -v '^ *+' conftest.er1 >conftest.err
9852 cat conftest.err >&5
9853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9854 (exit $ac_status); } &&
9855 { ac_try='test -z "$ac_c_werror_flag"
9856 || test ! -s conftest.err'
9857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9861 (exit $ac_status); }; } &&
9862 { ac_try='test -s conftest$ac_exeext'
9863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9867 (exit $ac_status); }; }; then
9868 ensc_cv_c_dietlibc_compat=no
9870 echo "$as_me: failed program was:" >&5
9871 sed 's/^/| /' conftest.$ac_ext >&5
9873 ensc_cv_c_dietlibc_compat=yes
9875 rm -f conftest.err conftest.$ac_objext \
9876 conftest$ac_exeext conftest.$ac_ext
9877 CC=$ensc_dietlibc_need_compat_old_CC
9879 ac_cpp='$CPP $CPPFLAGS'
9880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9886 echo "$as_me:$LINENO: result: $ensc_cv_c_dietlibc_compat" >&5
9887 echo "${ECHO_T}$ensc_cv_c_dietlibc_compat" >&6
9889 if test x"USE_DIETLIBC_COMPAT" != x; then
9892 if test x"$ensc_cv_c_dietlibc_compat" = xyes; then
9893 USE_DIETLIBC_COMPAT_TRUE=
9894 USE_DIETLIBC_COMPAT_FALSE='#'
9896 USE_DIETLIBC_COMPAT_TRUE='#'
9897 USE_DIETLIBC_COMPAT_FALSE=
9906 if test x"$ensc_have_dietlibc" = xyes; then
9907 ENSC_USE_DIETLIBC_TRUE=
9908 ENSC_USE_DIETLIBC_FALSE='#'
9910 ENSC_USE_DIETLIBC_TRUE='#'
9911 ENSC_USE_DIETLIBC_FALSE=
9917 ENSC_USE_GLIBC_TRUE=
9918 ENSC_USE_GLIBC_FALSE='#'
9920 ENSC_USE_GLIBC_TRUE='#'
9921 ENSC_USE_GLIBC_FALSE=
9925 # HACK: see comments at 'enable_static' above
9926 # Check whether --enable-shared or --disable-shared was given.
9927 if test "${enable_shared+set}" = set; then
9928 enableval="$enable_shared"
9929 p=${PACKAGE-default}
9931 yes) enable_shared=yes ;;
9932 no) enable_shared=no ;;
9935 # Look at the argument we got. We use all the common list separators.
9936 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9937 for pkg in $enableval; do
9939 if test "X$pkg" = "X$p"; then
9950 # Check whether --enable-static or --disable-static was given.
9951 if test "${enable_static+set}" = set; then
9952 enableval="$enable_static"
9953 p=${PACKAGE-default}
9955 yes) enable_static=yes ;;
9956 no) enable_static=no ;;
9959 # Look at the argument we got. We use all the common list separators.
9960 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9961 for pkg in $enableval; do
9963 if test "X$pkg" = "X$p"; then
9974 # Check whether --enable-fast-install or --disable-fast-install was given.
9975 if test "${enable_fast_install+set}" = set; then
9976 enableval="$enable_fast_install"
9977 p=${PACKAGE-default}
9979 yes) enable_fast_install=yes ;;
9980 no) enable_fast_install=no ;;
9982 enable_fast_install=no
9983 # Look at the argument we got. We use all the common list separators.
9984 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9985 for pkg in $enableval; do
9987 if test "X$pkg" = "X$p"; then
9988 enable_fast_install=yes
9995 enable_fast_install=yes
9998 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
9999 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
10000 if test "${lt_cv_path_SED+set}" = set; then
10001 echo $ECHO_N "(cached) $ECHO_C" >&6
10003 # Loop through the user's path and test for sed and gsed.
10004 # Then use that list of sed's as ones to test for truncation.
10005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10006 for as_dir in $PATH
10009 test -z "$as_dir" && as_dir=.
10010 for lt_ac_prog in sed gsed; do
10011 for ac_exec_ext in '' $ac_executable_extensions; do
10012 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
10013 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
10020 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
10021 # along with /bin/sed that truncates output.
10022 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
10023 test ! -f $lt_ac_sed && break
10024 cat /dev/null > conftest.in
10026 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
10027 # Check for GNU sed and select it if it is found.
10028 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
10029 lt_cv_path_SED=$lt_ac_sed
10033 cat conftest.in conftest.in >conftest.tmp
10034 mv conftest.tmp conftest.in
10035 cp conftest.in conftest.nl
10037 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
10038 cmp -s conftest.out conftest.nl || break
10039 # 10000 chars as input seems more than enough
10040 test $lt_ac_count -gt 10 && break
10041 lt_ac_count=`expr $lt_ac_count + 1`
10042 if test $lt_ac_count -gt $lt_ac_max; then
10043 lt_ac_max=$lt_ac_count
10044 lt_cv_path_SED=$lt_ac_sed
10048 SED=$lt_cv_path_SED
10052 echo "$as_me:$LINENO: result: $SED" >&5
10053 echo "${ECHO_T}$SED" >&6
10055 echo "$as_me:$LINENO: checking for egrep" >&5
10056 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10057 if test "${ac_cv_prog_egrep+set}" = set; then
10058 echo $ECHO_N "(cached) $ECHO_C" >&6
10060 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
10061 then ac_cv_prog_egrep='grep -E'
10062 else ac_cv_prog_egrep='egrep'
10065 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10066 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10067 EGREP=$ac_cv_prog_egrep
10071 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10072 if test "${with_gnu_ld+set}" = set; then
10073 withval="$with_gnu_ld"
10074 test "$withval" = no || with_gnu_ld=yes
10079 if test "$GCC" = yes; then
10080 # Check if gcc -print-prog-name=ld gives a path.
10081 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10082 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10085 # gcc leaves a trailing carriage return which upsets mingw
10086 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10088 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
10091 # Accept absolute paths.
10093 re_direlt='/[^/][^/]*/\.\./'
10094 # Canonicalize the pathname of ld
10095 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
10096 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
10097 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
10099 test -z "$LD" && LD="$ac_prog"
10102 # If it fails, then pretend we aren't using GCC.
10106 # If it is relative, then search for the first ld in PATH.
10107 with_gnu_ld=unknown
10110 elif test "$with_gnu_ld" = yes; then
10111 echo "$as_me:$LINENO: checking for GNU ld" >&5
10112 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10114 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10115 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10117 if test "${lt_cv_path_LD+set}" = set; then
10118 echo $ECHO_N "(cached) $ECHO_C" >&6
10120 if test -z "$LD"; then
10121 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10122 for ac_dir in $PATH; do
10124 test -z "$ac_dir" && ac_dir=.
10125 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10126 lt_cv_path_LD="$ac_dir/$ac_prog"
10127 # Check to see if the program is GNU ld. I'd rather use --version,
10128 # but apparently some GNU ld's only accept -v.
10129 # Break only if it was the GNU/non-GNU ld that we prefer.
10130 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10131 *GNU* | *'with BFD'*)
10132 test "$with_gnu_ld" != no && break
10135 test "$with_gnu_ld" != yes && break
10142 lt_cv_path_LD="$LD" # Let the user override the test with a path.
10146 LD="$lt_cv_path_LD"
10147 if test -n "$LD"; then
10148 echo "$as_me:$LINENO: result: $LD" >&5
10149 echo "${ECHO_T}$LD" >&6
10151 echo "$as_me:$LINENO: result: no" >&5
10152 echo "${ECHO_T}no" >&6
10154 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10155 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10156 { (exit 1); exit 1; }; }
10157 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10158 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10159 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10160 echo $ECHO_N "(cached) $ECHO_C" >&6
10162 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
10163 case `$LD -v 2>&1 </dev/null` in
10164 *GNU* | *'with BFD'*)
10165 lt_cv_prog_gnu_ld=yes
10168 lt_cv_prog_gnu_ld=no
10172 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10173 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
10174 with_gnu_ld=$lt_cv_prog_gnu_ld
10177 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
10178 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
10179 if test "${lt_cv_ld_reload_flag+set}" = set; then
10180 echo $ECHO_N "(cached) $ECHO_C" >&6
10182 lt_cv_ld_reload_flag='-r'
10184 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
10185 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
10186 reload_flag=$lt_cv_ld_reload_flag
10187 case $reload_flag in
10189 *) reload_flag=" $reload_flag" ;;
10191 reload_cmds='$LD$reload_flag -o $output$reload_objs'
10193 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
10194 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
10195 if test "${lt_cv_path_NM+set}" = set; then
10196 echo $ECHO_N "(cached) $ECHO_C" >&6
10198 if test -n "$NM"; then
10199 # Let the user override the test.
10200 lt_cv_path_NM="$NM"
10202 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10203 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
10205 test -z "$ac_dir" && ac_dir=.
10206 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
10207 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
10208 # Check to see if the nm accepts a BSD-compat flag.
10209 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
10210 # nm: unknown option "B" ignored
10211 # Tru64's nm complains that /dev/null is an invalid object file
10212 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
10213 */dev/null* | *'Invalid file or object type'*)
10214 lt_cv_path_NM="$tmp_nm -B"
10218 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
10220 lt_cv_path_NM="$tmp_nm -p"
10224 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
10225 continue # so that we can try to find one that supports BSD flags
10232 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
10235 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
10236 echo "${ECHO_T}$lt_cv_path_NM" >&6
10237 NM="$lt_cv_path_NM"
10239 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
10240 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
10241 if test "${lt_cv_deplibs_check_method+set}" = set; then
10242 echo $ECHO_N "(cached) $ECHO_C" >&6
10244 lt_cv_file_magic_cmd='$MAGIC_CMD'
10245 lt_cv_file_magic_test_file=
10246 lt_cv_deplibs_check_method='unknown'
10247 # Need to set the preceding variable on all platforms that support
10248 # interlibrary dependencies.
10249 # 'none' -- dependencies not supported.
10250 # `unknown' -- same as none, but documents that we really don't know.
10251 # 'pass_all' -- all dependencies passed with no checks.
10252 # 'test_compile' -- check by making test program.
10253 # 'file_magic [[regex]]' -- check by looking for files in library path
10254 # which responds to the $file_magic_cmd with a given extended regex.
10255 # If you have `file' or equivalent on your system and you're not sure
10256 # whether `pass_all' will *always* work, you probably want this one.
10260 lt_cv_deplibs_check_method=pass_all
10264 lt_cv_deplibs_check_method=pass_all
10268 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
10269 lt_cv_file_magic_cmd='/usr/bin/file -L'
10270 lt_cv_file_magic_test_file=/shlib/libc.so
10274 # func_win32_libid is a shell function defined in ltmain.sh
10275 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
10276 lt_cv_file_magic_cmd='func_win32_libid'
10280 # Base MSYS/MinGW do not provide the 'file' command needed by
10281 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
10282 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
10283 lt_cv_file_magic_cmd='$OBJDUMP -f'
10286 darwin* | rhapsody*)
10287 lt_cv_deplibs_check_method=pass_all
10290 freebsd* | kfreebsd*-gnu)
10291 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
10294 # Not sure whether the presence of OpenBSD here was a mistake.
10295 # Let's accept both of them until this is cleared up.
10296 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
10297 lt_cv_file_magic_cmd=/usr/bin/file
10298 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
10302 lt_cv_deplibs_check_method=pass_all
10307 lt_cv_deplibs_check_method=pass_all
10310 hpux10.20* | hpux11*)
10311 lt_cv_file_magic_cmd=/usr/bin/file
10312 case "$host_cpu" in
10314 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
10315 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
10318 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
10319 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
10322 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
10323 lt_cv_file_magic_test_file=/usr/lib/libc.sl
10328 irix5* | irix6* | nonstopux*)
10330 *-32|*"-32 ") libmagic=32-bit;;
10331 *-n32|*"-n32 ") libmagic=N32;;
10332 *-64|*"-64 ") libmagic=64-bit;;
10333 *) libmagic=never-match;;
10335 lt_cv_deplibs_check_method=pass_all
10338 # This must be Linux ELF.
10341 alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*|x86_64*)
10342 lt_cv_deplibs_check_method=pass_all ;;
10344 # glibc up to 2.1.1 does not perform some relocations on ARM
10345 # this will be overridden with pass_all, but let us keep it just in case
10346 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
10348 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
10349 lt_cv_deplibs_check_method=pass_all
10353 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
10354 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
10356 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
10361 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
10362 lt_cv_file_magic_cmd=/usr/bin/file
10363 lt_cv_file_magic_test_file=/usr/lib/libnls.so
10367 lt_cv_deplibs_check_method=unknown
10371 lt_cv_file_magic_cmd=/usr/bin/file
10372 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
10373 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10374 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
10376 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
10380 osf3* | osf4* | osf5*)
10381 lt_cv_deplibs_check_method=pass_all
10385 lt_cv_deplibs_check_method=pass_all
10389 lt_cv_deplibs_check_method=pass_all
10392 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10393 case $host_vendor in
10395 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]'
10396 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
10399 lt_cv_deplibs_check_method=pass_all
10402 lt_cv_file_magic_cmd='/bin/file'
10403 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
10406 lt_cv_file_magic_cmd='/bin/file'
10407 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
10408 lt_cv_file_magic_test_file=/lib/libc.so
10411 lt_cv_deplibs_check_method=pass_all
10416 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
10417 lt_cv_deplibs_check_method=pass_all
10422 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
10423 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
10424 file_magic_cmd=$lt_cv_file_magic_cmd
10425 deplibs_check_method=$lt_cv_deplibs_check_method
10426 test -z "$deplibs_check_method" && deplibs_check_method=unknown
10431 # If no C compiler was specified, use CC.
10434 # Allow CC to be a program name with arguments.
10437 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
10438 if test "${enable_libtool_lock+set}" = set; then
10439 enableval="$enable_libtool_lock"
10442 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
10444 # Some flags need to be propagated to the compiler or linker for good
10448 # Find out which ABI we are using.
10449 echo 'int i;' > conftest.$ac_ext
10450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10451 (eval $ac_compile) 2>&5
10453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10454 (exit $ac_status); }; then
10455 case `/usr/bin/file conftest.$ac_objext` in
10457 HPUX_IA64_MODE="32"
10460 HPUX_IA64_MODE="64"
10467 # Find out which ABI we are using.
10468 echo '#line 10468 "configure"' > conftest.$ac_ext
10469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10470 (eval $ac_compile) 2>&5
10472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10473 (exit $ac_status); }; then
10474 if test "$lt_cv_prog_gnu_ld" = yes; then
10475 case `/usr/bin/file conftest.$ac_objext` in
10477 LD="${LD-ld} -melf32bsmip"
10480 LD="${LD-ld} -melf32bmipn32"
10483 LD="${LD-ld} -melf64bmip"
10487 case `/usr/bin/file conftest.$ac_objext` in
10503 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
10504 # Find out which ABI we are using.
10505 echo 'int i;' > conftest.$ac_ext
10506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10507 (eval $ac_compile) 2>&5
10509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10510 (exit $ac_status); }; then
10511 case "`/usr/bin/file conftest.o`" in
10515 LD="${LD-ld} -m elf_i386"
10517 ppc64-*linux*|powerpc64-*linux*)
10518 LD="${LD-ld} -m elf32ppclinux"
10521 LD="${LD-ld} -m elf_s390"
10524 LD="${LD-ld} -m elf32_sparc"
10531 LD="${LD-ld} -m elf_x86_64"
10533 ppc*-*linux*|powerpc*-*linux*)
10534 LD="${LD-ld} -m elf64ppc"
10537 LD="${LD-ld} -m elf64_s390"
10540 LD="${LD-ld} -m elf64_sparc"
10550 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
10551 SAVE_CFLAGS="$CFLAGS"
10552 CFLAGS="$CFLAGS -belf"
10553 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
10554 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
10555 if test "${lt_cv_cc_needs_belf+set}" = set; then
10556 echo $ECHO_N "(cached) $ECHO_C" >&6
10559 ac_cpp='$CPP $CPPFLAGS'
10560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10564 cat >conftest.$ac_ext <<_ACEOF
10567 cat confdefs.h >>conftest.$ac_ext
10568 cat >>conftest.$ac_ext <<_ACEOF
10569 /* end confdefs.h. */
10579 rm -f conftest.$ac_objext conftest$ac_exeext
10580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10581 (eval $ac_link) 2>conftest.er1
10583 grep -v '^ *+' conftest.er1 >conftest.err
10585 cat conftest.err >&5
10586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10587 (exit $ac_status); } &&
10588 { ac_try='test -z "$ac_c_werror_flag"
10589 || test ! -s conftest.err'
10590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10591 (eval $ac_try) 2>&5
10593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10594 (exit $ac_status); }; } &&
10595 { ac_try='test -s conftest$ac_exeext'
10596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10597 (eval $ac_try) 2>&5
10599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10600 (exit $ac_status); }; }; then
10601 lt_cv_cc_needs_belf=yes
10603 echo "$as_me: failed program was:" >&5
10604 sed 's/^/| /' conftest.$ac_ext >&5
10606 lt_cv_cc_needs_belf=no
10608 rm -f conftest.err conftest.$ac_objext \
10609 conftest$ac_exeext conftest.$ac_ext
10611 ac_cpp='$CPP $CPPFLAGS'
10612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10617 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
10618 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
10619 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
10620 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
10621 CFLAGS="$SAVE_CFLAGS"
10627 need_locks="$enable_libtool_lock"
10631 ac_cpp='$CPP $CPPFLAGS'
10632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10635 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10636 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10637 # On Suns, sometimes $CPP names a directory.
10638 if test -n "$CPP" && test -d "$CPP"; then
10641 if test -z "$CPP"; then
10642 if test "${ac_cv_prog_CPP+set}" = set; then
10643 echo $ECHO_N "(cached) $ECHO_C" >&6
10645 # Double quotes because CPP needs to be expanded
10646 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10648 ac_preproc_ok=false
10649 for ac_c_preproc_warn_flag in '' yes
10651 # Use a header file that comes with gcc, so configuring glibc
10652 # with a fresh cross-compiler works.
10653 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10654 # <limits.h> exists even on freestanding compilers.
10655 # On the NeXT, cc -E runs the code through the compiler's parser,
10656 # not just through cpp. "Syntax error" is here to catch this case.
10657 cat >conftest.$ac_ext <<_ACEOF
10660 cat confdefs.h >>conftest.$ac_ext
10661 cat >>conftest.$ac_ext <<_ACEOF
10662 /* end confdefs.h. */
10664 # include <limits.h>
10666 # include <assert.h>
10670 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10671 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10673 grep -v '^ *+' conftest.er1 >conftest.err
10675 cat conftest.err >&5
10676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10677 (exit $ac_status); } >/dev/null; then
10678 if test -s conftest.err; then
10679 ac_cpp_err=$ac_c_preproc_warn_flag
10680 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10687 if test -z "$ac_cpp_err"; then
10690 echo "$as_me: failed program was:" >&5
10691 sed 's/^/| /' conftest.$ac_ext >&5
10693 # Broken: fails on valid input.
10696 rm -f conftest.err conftest.$ac_ext
10698 # OK, works on sane cases. Now check whether non-existent headers
10699 # can be detected and how.
10700 cat >conftest.$ac_ext <<_ACEOF
10703 cat confdefs.h >>conftest.$ac_ext
10704 cat >>conftest.$ac_ext <<_ACEOF
10705 /* end confdefs.h. */
10706 #include <ac_nonexistent.h>
10708 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10709 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10711 grep -v '^ *+' conftest.er1 >conftest.err
10713 cat conftest.err >&5
10714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10715 (exit $ac_status); } >/dev/null; then
10716 if test -s conftest.err; then
10717 ac_cpp_err=$ac_c_preproc_warn_flag
10718 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10725 if test -z "$ac_cpp_err"; then
10726 # Broken: success on invalid input.
10729 echo "$as_me: failed program was:" >&5
10730 sed 's/^/| /' conftest.$ac_ext >&5
10732 # Passes both tests.
10736 rm -f conftest.err conftest.$ac_ext
10739 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10740 rm -f conftest.err conftest.$ac_ext
10741 if $ac_preproc_ok; then
10746 ac_cv_prog_CPP=$CPP
10749 CPP=$ac_cv_prog_CPP
10751 ac_cv_prog_CPP=$CPP
10753 echo "$as_me:$LINENO: result: $CPP" >&5
10754 echo "${ECHO_T}$CPP" >&6
10755 ac_preproc_ok=false
10756 for ac_c_preproc_warn_flag in '' yes
10758 # Use a header file that comes with gcc, so configuring glibc
10759 # with a fresh cross-compiler works.
10760 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10761 # <limits.h> exists even on freestanding compilers.
10762 # On the NeXT, cc -E runs the code through the compiler's parser,
10763 # not just through cpp. "Syntax error" is here to catch this case.
10764 cat >conftest.$ac_ext <<_ACEOF
10767 cat confdefs.h >>conftest.$ac_ext
10768 cat >>conftest.$ac_ext <<_ACEOF
10769 /* end confdefs.h. */
10771 # include <limits.h>
10773 # include <assert.h>
10777 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10778 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10780 grep -v '^ *+' conftest.er1 >conftest.err
10782 cat conftest.err >&5
10783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10784 (exit $ac_status); } >/dev/null; then
10785 if test -s conftest.err; then
10786 ac_cpp_err=$ac_c_preproc_warn_flag
10787 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10794 if test -z "$ac_cpp_err"; then
10797 echo "$as_me: failed program was:" >&5
10798 sed 's/^/| /' conftest.$ac_ext >&5
10800 # Broken: fails on valid input.
10803 rm -f conftest.err conftest.$ac_ext
10805 # OK, works on sane cases. Now check whether non-existent headers
10806 # can be detected and how.
10807 cat >conftest.$ac_ext <<_ACEOF
10810 cat confdefs.h >>conftest.$ac_ext
10811 cat >>conftest.$ac_ext <<_ACEOF
10812 /* end confdefs.h. */
10813 #include <ac_nonexistent.h>
10815 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10816 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10818 grep -v '^ *+' conftest.er1 >conftest.err
10820 cat conftest.err >&5
10821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10822 (exit $ac_status); } >/dev/null; then
10823 if test -s conftest.err; then
10824 ac_cpp_err=$ac_c_preproc_warn_flag
10825 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10832 if test -z "$ac_cpp_err"; then
10833 # Broken: success on invalid input.
10836 echo "$as_me: failed program was:" >&5
10837 sed 's/^/| /' conftest.$ac_ext >&5
10839 # Passes both tests.
10843 rm -f conftest.err conftest.$ac_ext
10846 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10847 rm -f conftest.err conftest.$ac_ext
10848 if $ac_preproc_ok; then
10851 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10852 See \`config.log' for more details." >&5
10853 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10854 See \`config.log' for more details." >&2;}
10855 { (exit 1); exit 1; }; }
10859 ac_cpp='$CPP $CPPFLAGS'
10860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10865 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
10866 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
10867 if test "${ac_cv_header_stdc+set}" = set; then
10868 echo $ECHO_N "(cached) $ECHO_C" >&6
10870 cat >conftest.$ac_ext <<_ACEOF
10873 cat confdefs.h >>conftest.$ac_ext
10874 cat >>conftest.$ac_ext <<_ACEOF
10875 /* end confdefs.h. */
10876 #include <stdlib.h>
10877 #include <stdarg.h>
10878 #include <string.h>
10889 rm -f conftest.$ac_objext
10890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10891 (eval $ac_compile) 2>conftest.er1
10893 grep -v '^ *+' conftest.er1 >conftest.err
10895 cat conftest.err >&5
10896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10897 (exit $ac_status); } &&
10898 { ac_try='test -z "$ac_c_werror_flag"
10899 || test ! -s conftest.err'
10900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10901 (eval $ac_try) 2>&5
10903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10904 (exit $ac_status); }; } &&
10905 { ac_try='test -s conftest.$ac_objext'
10906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10907 (eval $ac_try) 2>&5
10909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10910 (exit $ac_status); }; }; then
10911 ac_cv_header_stdc=yes
10913 echo "$as_me: failed program was:" >&5
10914 sed 's/^/| /' conftest.$ac_ext >&5
10916 ac_cv_header_stdc=no
10918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10920 if test $ac_cv_header_stdc = yes; then
10921 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
10922 cat >conftest.$ac_ext <<_ACEOF
10925 cat confdefs.h >>conftest.$ac_ext
10926 cat >>conftest.$ac_ext <<_ACEOF
10927 /* end confdefs.h. */
10928 #include <string.h>
10931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10932 $EGREP "memchr" >/dev/null 2>&1; then
10935 ac_cv_header_stdc=no
10941 if test $ac_cv_header_stdc = yes; then
10942 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
10943 cat >conftest.$ac_ext <<_ACEOF
10946 cat confdefs.h >>conftest.$ac_ext
10947 cat >>conftest.$ac_ext <<_ACEOF
10948 /* end confdefs.h. */
10949 #include <stdlib.h>
10952 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10953 $EGREP "free" >/dev/null 2>&1; then
10956 ac_cv_header_stdc=no
10962 if test $ac_cv_header_stdc = yes; then
10963 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
10964 if test "$cross_compiling" = yes; then
10967 cat >conftest.$ac_ext <<_ACEOF
10970 cat confdefs.h >>conftest.$ac_ext
10971 cat >>conftest.$ac_ext <<_ACEOF
10972 /* end confdefs.h. */
10974 #if ((' ' & 0x0FF) == 0x020)
10975 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
10976 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10978 # define ISLOWER(c) \
10979 (('a' <= (c) && (c) <= 'i') \
10980 || ('j' <= (c) && (c) <= 'r') \
10981 || ('s' <= (c) && (c) <= 'z'))
10982 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
10985 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
10990 for (i = 0; i < 256; i++)
10991 if (XOR (islower (i), ISLOWER (i))
10992 || toupper (i) != TOUPPER (i))
10997 rm -f conftest$ac_exeext
10998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10999 (eval $ac_link) 2>&5
11001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11002 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11004 (eval $ac_try) 2>&5
11006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11007 (exit $ac_status); }; }; then
11010 echo "$as_me: program exited with status $ac_status" >&5
11011 echo "$as_me: failed program was:" >&5
11012 sed 's/^/| /' conftest.$ac_ext >&5
11014 ( exit $ac_status )
11015 ac_cv_header_stdc=no
11017 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11021 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11022 echo "${ECHO_T}$ac_cv_header_stdc" >&6
11023 if test $ac_cv_header_stdc = yes; then
11025 cat >>confdefs.h <<\_ACEOF
11026 #define STDC_HEADERS 1
11031 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
11041 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
11042 inttypes.h stdint.h unistd.h
11044 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11045 echo "$as_me:$LINENO: checking for $ac_header" >&5
11046 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11047 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11048 echo $ECHO_N "(cached) $ECHO_C" >&6
11050 cat >conftest.$ac_ext <<_ACEOF
11053 cat confdefs.h >>conftest.$ac_ext
11054 cat >>conftest.$ac_ext <<_ACEOF
11055 /* end confdefs.h. */
11056 $ac_includes_default
11058 #include <$ac_header>
11060 rm -f conftest.$ac_objext
11061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11062 (eval $ac_compile) 2>conftest.er1
11064 grep -v '^ *+' conftest.er1 >conftest.err
11066 cat conftest.err >&5
11067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11068 (exit $ac_status); } &&
11069 { ac_try='test -z "$ac_c_werror_flag"
11070 || test ! -s conftest.err'
11071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11072 (eval $ac_try) 2>&5
11074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11075 (exit $ac_status); }; } &&
11076 { ac_try='test -s conftest.$ac_objext'
11077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11078 (eval $ac_try) 2>&5
11080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11081 (exit $ac_status); }; }; then
11082 eval "$as_ac_Header=yes"
11084 echo "$as_me: failed program was:" >&5
11085 sed 's/^/| /' conftest.$ac_ext >&5
11087 eval "$as_ac_Header=no"
11089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11092 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11093 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11094 cat >>confdefs.h <<_ACEOF
11095 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11104 for ac_header in dlfcn.h
11106 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11107 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11108 echo "$as_me:$LINENO: checking for $ac_header" >&5
11109 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11110 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11111 echo $ECHO_N "(cached) $ECHO_C" >&6
11113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11114 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11116 # Is the header compilable?
11117 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11118 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11119 cat >conftest.$ac_ext <<_ACEOF
11122 cat confdefs.h >>conftest.$ac_ext
11123 cat >>conftest.$ac_ext <<_ACEOF
11124 /* end confdefs.h. */
11125 $ac_includes_default
11126 #include <$ac_header>
11128 rm -f conftest.$ac_objext
11129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11130 (eval $ac_compile) 2>conftest.er1
11132 grep -v '^ *+' conftest.er1 >conftest.err
11134 cat conftest.err >&5
11135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11136 (exit $ac_status); } &&
11137 { ac_try='test -z "$ac_c_werror_flag"
11138 || test ! -s conftest.err'
11139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11140 (eval $ac_try) 2>&5
11142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11143 (exit $ac_status); }; } &&
11144 { ac_try='test -s conftest.$ac_objext'
11145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11146 (eval $ac_try) 2>&5
11148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11149 (exit $ac_status); }; }; then
11150 ac_header_compiler=yes
11152 echo "$as_me: failed program was:" >&5
11153 sed 's/^/| /' conftest.$ac_ext >&5
11155 ac_header_compiler=no
11157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11158 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11159 echo "${ECHO_T}$ac_header_compiler" >&6
11161 # Is the header present?
11162 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11163 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11164 cat >conftest.$ac_ext <<_ACEOF
11167 cat confdefs.h >>conftest.$ac_ext
11168 cat >>conftest.$ac_ext <<_ACEOF
11169 /* end confdefs.h. */
11170 #include <$ac_header>
11172 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11173 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11175 grep -v '^ *+' conftest.er1 >conftest.err
11177 cat conftest.err >&5
11178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11179 (exit $ac_status); } >/dev/null; then
11180 if test -s conftest.err; then
11181 ac_cpp_err=$ac_c_preproc_warn_flag
11182 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11189 if test -z "$ac_cpp_err"; then
11190 ac_header_preproc=yes
11192 echo "$as_me: failed program was:" >&5
11193 sed 's/^/| /' conftest.$ac_ext >&5
11195 ac_header_preproc=no
11197 rm -f conftest.err conftest.$ac_ext
11198 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11199 echo "${ECHO_T}$ac_header_preproc" >&6
11201 # So? What about this header?
11202 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11204 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11205 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11206 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11207 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11208 ac_header_preproc=yes
11211 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11212 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11213 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11214 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11215 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11216 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11217 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11218 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11219 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11220 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11221 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11222 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11225 ## ------------------------------------------------------ ##
11226 ## Report this to enrico.scholz@informatik.tu-chemnitz.de ##
11227 ## ------------------------------------------------------ ##
11230 sed "s/^/$as_me: WARNING: /" >&2
11233 echo "$as_me:$LINENO: checking for $ac_header" >&5
11234 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11235 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11236 echo $ECHO_N "(cached) $ECHO_C" >&6
11238 eval "$as_ac_Header=\$ac_header_preproc"
11240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11241 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11244 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11245 cat >>confdefs.h <<_ACEOF
11246 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11254 ac_cpp='$CXXCPP $CPPFLAGS'
11255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11258 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
11259 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
11260 if test -z "$CXXCPP"; then
11261 if test "${ac_cv_prog_CXXCPP+set}" = set; then
11262 echo $ECHO_N "(cached) $ECHO_C" >&6
11264 # Double quotes because CXXCPP needs to be expanded
11265 for CXXCPP in "$CXX -E" "/lib/cpp"
11267 ac_preproc_ok=false
11268 for ac_cxx_preproc_warn_flag in '' yes
11270 # Use a header file that comes with gcc, so configuring glibc
11271 # with a fresh cross-compiler works.
11272 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11273 # <limits.h> exists even on freestanding compilers.
11274 # On the NeXT, cc -E runs the code through the compiler's parser,
11275 # not just through cpp. "Syntax error" is here to catch this case.
11276 cat >conftest.$ac_ext <<_ACEOF
11279 cat confdefs.h >>conftest.$ac_ext
11280 cat >>conftest.$ac_ext <<_ACEOF
11281 /* end confdefs.h. */
11283 # include <limits.h>
11285 # include <assert.h>
11289 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11290 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11292 grep -v '^ *+' conftest.er1 >conftest.err
11294 cat conftest.err >&5
11295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11296 (exit $ac_status); } >/dev/null; then
11297 if test -s conftest.err; then
11298 ac_cpp_err=$ac_cxx_preproc_warn_flag
11299 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
11306 if test -z "$ac_cpp_err"; then
11309 echo "$as_me: failed program was:" >&5
11310 sed 's/^/| /' conftest.$ac_ext >&5
11312 # Broken: fails on valid input.
11315 rm -f conftest.err conftest.$ac_ext
11317 # OK, works on sane cases. Now check whether non-existent headers
11318 # can be detected and how.
11319 cat >conftest.$ac_ext <<_ACEOF
11322 cat confdefs.h >>conftest.$ac_ext
11323 cat >>conftest.$ac_ext <<_ACEOF
11324 /* end confdefs.h. */
11325 #include <ac_nonexistent.h>
11327 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11328 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11330 grep -v '^ *+' conftest.er1 >conftest.err
11332 cat conftest.err >&5
11333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11334 (exit $ac_status); } >/dev/null; then
11335 if test -s conftest.err; then
11336 ac_cpp_err=$ac_cxx_preproc_warn_flag
11337 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
11344 if test -z "$ac_cpp_err"; then
11345 # Broken: success on invalid input.
11348 echo "$as_me: failed program was:" >&5
11349 sed 's/^/| /' conftest.$ac_ext >&5
11351 # Passes both tests.
11355 rm -f conftest.err conftest.$ac_ext
11358 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11359 rm -f conftest.err conftest.$ac_ext
11360 if $ac_preproc_ok; then
11365 ac_cv_prog_CXXCPP=$CXXCPP
11368 CXXCPP=$ac_cv_prog_CXXCPP
11370 ac_cv_prog_CXXCPP=$CXXCPP
11372 echo "$as_me:$LINENO: result: $CXXCPP" >&5
11373 echo "${ECHO_T}$CXXCPP" >&6
11374 ac_preproc_ok=false
11375 for ac_cxx_preproc_warn_flag in '' yes
11377 # Use a header file that comes with gcc, so configuring glibc
11378 # with a fresh cross-compiler works.
11379 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11380 # <limits.h> exists even on freestanding compilers.
11381 # On the NeXT, cc -E runs the code through the compiler's parser,
11382 # not just through cpp. "Syntax error" is here to catch this case.
11383 cat >conftest.$ac_ext <<_ACEOF
11386 cat confdefs.h >>conftest.$ac_ext
11387 cat >>conftest.$ac_ext <<_ACEOF
11388 /* end confdefs.h. */
11390 # include <limits.h>
11392 # include <assert.h>
11396 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11397 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11399 grep -v '^ *+' conftest.er1 >conftest.err
11401 cat conftest.err >&5
11402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11403 (exit $ac_status); } >/dev/null; then
11404 if test -s conftest.err; then
11405 ac_cpp_err=$ac_cxx_preproc_warn_flag
11406 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
11413 if test -z "$ac_cpp_err"; then
11416 echo "$as_me: failed program was:" >&5
11417 sed 's/^/| /' conftest.$ac_ext >&5
11419 # Broken: fails on valid input.
11422 rm -f conftest.err conftest.$ac_ext
11424 # OK, works on sane cases. Now check whether non-existent headers
11425 # can be detected and how.
11426 cat >conftest.$ac_ext <<_ACEOF
11429 cat confdefs.h >>conftest.$ac_ext
11430 cat >>conftest.$ac_ext <<_ACEOF
11431 /* end confdefs.h. */
11432 #include <ac_nonexistent.h>
11434 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11435 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11437 grep -v '^ *+' conftest.er1 >conftest.err
11439 cat conftest.err >&5
11440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11441 (exit $ac_status); } >/dev/null; then
11442 if test -s conftest.err; then
11443 ac_cpp_err=$ac_cxx_preproc_warn_flag
11444 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
11451 if test -z "$ac_cpp_err"; then
11452 # Broken: success on invalid input.
11455 echo "$as_me: failed program was:" >&5
11456 sed 's/^/| /' conftest.$ac_ext >&5
11458 # Passes both tests.
11462 rm -f conftest.err conftest.$ac_ext
11465 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11466 rm -f conftest.err conftest.$ac_ext
11467 if $ac_preproc_ok; then
11470 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
11471 See \`config.log' for more details." >&5
11472 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
11473 See \`config.log' for more details." >&2;}
11474 { (exit 1); exit 1; }; }
11478 ac_cpp='$CXXCPP $CPPFLAGS'
11479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11484 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
11485 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11486 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
11487 if test -n "$ac_tool_prefix"; then
11488 for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
11490 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11491 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11492 echo "$as_me:$LINENO: checking for $ac_word" >&5
11493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11494 if test "${ac_cv_prog_F77+set}" = set; then
11495 echo $ECHO_N "(cached) $ECHO_C" >&6
11497 if test -n "$F77"; then
11498 ac_cv_prog_F77="$F77" # Let the user override the test.
11500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11501 for as_dir in $PATH
11504 test -z "$as_dir" && as_dir=.
11505 for ac_exec_ext in '' $ac_executable_extensions; do
11506 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11507 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
11508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11516 F77=$ac_cv_prog_F77
11517 if test -n "$F77"; then
11518 echo "$as_me:$LINENO: result: $F77" >&5
11519 echo "${ECHO_T}$F77" >&6
11521 echo "$as_me:$LINENO: result: no" >&5
11522 echo "${ECHO_T}no" >&6
11525 test -n "$F77" && break
11528 if test -z "$F77"; then
11530 for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
11532 # Extract the first word of "$ac_prog", so it can be a program name with args.
11533 set dummy $ac_prog; ac_word=$2
11534 echo "$as_me:$LINENO: checking for $ac_word" >&5
11535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11536 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
11537 echo $ECHO_N "(cached) $ECHO_C" >&6
11539 if test -n "$ac_ct_F77"; then
11540 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
11542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11543 for as_dir in $PATH
11546 test -z "$as_dir" && as_dir=.
11547 for ac_exec_ext in '' $ac_executable_extensions; do
11548 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11549 ac_cv_prog_ac_ct_F77="$ac_prog"
11550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11558 ac_ct_F77=$ac_cv_prog_ac_ct_F77
11559 if test -n "$ac_ct_F77"; then
11560 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
11561 echo "${ECHO_T}$ac_ct_F77" >&6
11563 echo "$as_me:$LINENO: result: no" >&5
11564 echo "${ECHO_T}no" >&6
11567 test -n "$ac_ct_F77" && break
11574 # Provide some information about the compiler.
11575 echo "$as_me:11575:" \
11576 "checking for Fortran 77 compiler version" >&5
11577 ac_compiler=`set X $ac_compile; echo $2`
11578 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11579 (eval $ac_compiler --version </dev/null >&5) 2>&5
11581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11582 (exit $ac_status); }
11583 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11584 (eval $ac_compiler -v </dev/null >&5) 2>&5
11586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11587 (exit $ac_status); }
11588 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11589 (eval $ac_compiler -V </dev/null >&5) 2>&5
11591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11592 (exit $ac_status); }
11595 # If we don't use `.F' as extension, the preprocessor is not run on the
11596 # input file. (Note that this only needs to work for GNU compilers.)
11597 ac_save_ext=$ac_ext
11599 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
11600 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
11601 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
11602 echo $ECHO_N "(cached) $ECHO_C" >&6
11604 cat >conftest.$ac_ext <<_ACEOF
11612 rm -f conftest.$ac_objext
11613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11614 (eval $ac_compile) 2>conftest.er1
11616 grep -v '^ *+' conftest.er1 >conftest.err
11618 cat conftest.err >&5
11619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11620 (exit $ac_status); } &&
11621 { ac_try='test -z "$ac_f77_werror_flag"
11622 || test ! -s conftest.err'
11623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11624 (eval $ac_try) 2>&5
11626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11627 (exit $ac_status); }; } &&
11628 { ac_try='test -s conftest.$ac_objext'
11629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11630 (eval $ac_try) 2>&5
11632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11633 (exit $ac_status); }; }; then
11634 ac_compiler_gnu=yes
11636 echo "$as_me: failed program was:" >&5
11637 sed 's/^/| /' conftest.$ac_ext >&5
11641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11642 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
11645 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
11646 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
11647 ac_ext=$ac_save_ext
11648 ac_test_FFLAGS=${FFLAGS+set}
11649 ac_save_FFLAGS=$FFLAGS
11651 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
11652 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
11653 if test "${ac_cv_prog_f77_g+set}" = set; then
11654 echo $ECHO_N "(cached) $ECHO_C" >&6
11657 cat >conftest.$ac_ext <<_ACEOF
11662 rm -f conftest.$ac_objext
11663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11664 (eval $ac_compile) 2>conftest.er1
11666 grep -v '^ *+' conftest.er1 >conftest.err
11668 cat conftest.err >&5
11669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11670 (exit $ac_status); } &&
11671 { ac_try='test -z "$ac_f77_werror_flag"
11672 || test ! -s conftest.err'
11673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11674 (eval $ac_try) 2>&5
11676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11677 (exit $ac_status); }; } &&
11678 { ac_try='test -s conftest.$ac_objext'
11679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11680 (eval $ac_try) 2>&5
11682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11683 (exit $ac_status); }; }; then
11684 ac_cv_prog_f77_g=yes
11686 echo "$as_me: failed program was:" >&5
11687 sed 's/^/| /' conftest.$ac_ext >&5
11689 ac_cv_prog_f77_g=no
11691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11694 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
11695 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
11696 if test "$ac_test_FFLAGS" = set; then
11697 FFLAGS=$ac_save_FFLAGS
11698 elif test $ac_cv_prog_f77_g = yes; then
11699 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
11705 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
11712 G77=`test $ac_compiler_gnu = yes && echo yes`
11714 ac_cpp='$CPP $CPPFLAGS'
11715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11721 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
11723 # find the maximum length of command line arguments
11724 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
11725 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
11726 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
11727 echo $ECHO_N "(cached) $ECHO_C" >&6
11734 # On DJGPP, this test can blow up pretty badly due to problems in libc
11735 # (any single argument exceeding 2000 bytes causes a buffer overrun
11736 # during glob expansion). Even if it were fixed, the result of this
11737 # check would be larger than it should be.
11738 lt_cv_sys_max_cmd_len=12288; # 12K is about right
11742 # Under GNU Hurd, this test is not required because there is
11743 # no limit to the length of command line arguments.
11744 # Libtool will interpret -1 as no limit whatsoever
11745 lt_cv_sys_max_cmd_len=-1;
11749 # On Win9x/ME, this test blows up -- it succeeds, but takes
11750 # about 5 minutes as the teststring grows exponentially.
11751 # Worse, since 9x/ME are not pre-emptively multitasking,
11752 # you end up with a "frozen" computer, even though with patience
11753 # the test eventually succeeds (with a max line length of 256k).
11754 # Instead, let's just punt: use the minimum linelength reported by
11755 # all of the supported platforms: 8192 (on NT/2K/XP).
11756 lt_cv_sys_max_cmd_len=8192;
11760 # On AmigaOS with pdksh, this test takes hours, literally.
11761 # So we just punt and use a minimum line length of 8192.
11762 lt_cv_sys_max_cmd_len=8192;
11766 # If test is not a shell built-in, we'll probably end up computing a
11767 # maximum length that is only half of the actual maximum length, but
11769 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
11770 = "XX$teststring") >/dev/null 2>&1 &&
11771 new_result=`expr "X$teststring" : ".*" 2>&1` &&
11772 lt_cv_sys_max_cmd_len=$new_result &&
11773 test $i != 17 # 1/2 MB should be enough
11776 teststring=$teststring$teststring
11779 # Add a significant safety factor because C++ compilers can tack on massive
11780 # amounts of additional arguments before passing them to the linker.
11781 # It appears as though 1/2 is a usable value.
11782 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
11788 if test -n $lt_cv_sys_max_cmd_len ; then
11789 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
11790 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
11792 echo "$as_me:$LINENO: result: none" >&5
11793 echo "${ECHO_T}none" >&6
11799 # Check for command to grab the raw symbol name followed by C symbol from nm.
11800 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
11801 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
11802 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
11803 echo $ECHO_N "(cached) $ECHO_C" >&6
11806 # These are sane defaults that work on at least a few old systems.
11807 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
11809 # Character class describing NM global symbol codes.
11810 symcode='[BCDEGRST]'
11812 # Regexp to match symbols that can be accessed directly from C.
11813 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
11815 # Transform the above into a raw symbol and a C symbol.
11816 symxfrm='\1 \2\3 \3'
11818 # Transform an extracted symbol line into a proper C declaration
11819 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
11821 # Transform an extracted symbol line into symbol name and symbol address
11822 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
11824 # Define system-specific variables.
11829 cygwin* | mingw* | pw32*)
11830 symcode='[ABCDGISTW]'
11832 hpux*) # Its linker distinguishes data from code symbols
11833 if test "$host_cpu" = ia64; then
11834 symcode='[ABCDEGRST]'
11836 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
11837 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
11839 irix* | nonstopux*)
11840 symcode='[BCDEGRST]'
11843 symcode='[BCDEGQRST]'
11853 # Handle CRLF in mingw tool chain
11857 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
11861 # If we're using GNU nm, then use its standard symbol codes.
11862 case `$NM -V 2>&1` in
11863 *GNU* | *'with BFD'*)
11864 symcode='[ABCDGIRSTW]' ;;
11867 # Try without a prefix undercore, then with it.
11868 for ac_symprfx in "" "_"; do
11870 # Write the raw and C identifiers.
11871 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
11873 # Check to see that the pipe works correctly.
11877 cat > conftest.$ac_ext <<EOF
11882 void nm_test_func(){}
11886 int main(){nm_test_var='a';nm_test_func();return(0);}
11889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11890 (eval $ac_compile) 2>&5
11892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11893 (exit $ac_status); }; then
11894 # Now try to grab the symbols.
11896 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
11897 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
11899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11900 (exit $ac_status); } && test -s "$nlist"; then
11901 # Try sorting and uniquifying the output.
11902 if sort "$nlist" | uniq > "$nlist"T; then
11903 mv -f "$nlist"T "$nlist"
11908 # Make sure that we snagged all the symbols we need.
11909 if grep ' nm_test_var$' "$nlist" >/dev/null; then
11910 if grep ' nm_test_func$' "$nlist" >/dev/null; then
11911 cat <<EOF > conftest.$ac_ext
11917 # Now generate the symbol file.
11918 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
11920 cat <<EOF >> conftest.$ac_ext
11921 #if defined (__STDC__) && __STDC__
11922 # define lt_ptr_t void *
11924 # define lt_ptr_t char *
11928 /* The mapping between symbol names and symbols. */
11933 lt_preloaded_symbols[] =
11936 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
11937 cat <<\EOF >> conftest.$ac_ext
11945 # Now try linking the two files.
11946 mv conftest.$ac_objext conftstm.$ac_objext
11947 lt_save_LIBS="$LIBS"
11948 lt_save_CFLAGS="$CFLAGS"
11949 LIBS="conftstm.$ac_objext"
11950 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
11951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11952 (eval $ac_link) 2>&5
11954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11955 (exit $ac_status); } && test -s conftest${ac_exeext}; then
11958 LIBS="$lt_save_LIBS"
11959 CFLAGS="$lt_save_CFLAGS"
11961 echo "cannot find nm_test_func in $nlist" >&5
11964 echo "cannot find nm_test_var in $nlist" >&5
11967 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
11970 echo "$progname: failed program was:" >&5
11971 cat conftest.$ac_ext >&5
11973 rm -f conftest* conftst*
11975 # Do not use the global_symbol_pipe unless it works.
11976 if test "$pipe_works" = yes; then
11979 lt_cv_sys_global_symbol_pipe=
11985 if test -z "$lt_cv_sys_global_symbol_pipe"; then
11986 lt_cv_sys_global_symbol_to_cdecl=
11988 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
11989 echo "$as_me:$LINENO: result: failed" >&5
11990 echo "${ECHO_T}failed" >&6
11992 echo "$as_me:$LINENO: result: ok" >&5
11993 echo "${ECHO_T}ok" >&6
11996 echo "$as_me:$LINENO: checking for objdir" >&5
11997 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
11998 if test "${lt_cv_objdir+set}" = set; then
11999 echo $ECHO_N "(cached) $ECHO_C" >&6
12001 rm -f .libs 2>/dev/null
12002 mkdir .libs 2>/dev/null
12003 if test -d .libs; then
12006 # MS-DOS does not allow filenames that begin with a dot.
12009 rmdir .libs 2>/dev/null
12011 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
12012 echo "${ECHO_T}$lt_cv_objdir" >&6
12013 objdir=$lt_cv_objdir
12021 # AIX sometimes has problems with the GCC collect2 program. For some
12022 # reason, if we set the COLLECT_NAMES environment variable, the problems
12023 # vanish in a puff of smoke.
12024 if test "X${COLLECT_NAMES+set}" != Xset; then
12026 export COLLECT_NAMES
12031 # Sed substitution that helps us do robust quoting. It backslashifies
12032 # metacharacters that are still active within double-quoted strings.
12033 Xsed='sed -e s/^X//'
12034 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
12036 # Same as above, but do not quote variable references.
12037 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
12039 # Sed substitution to delay expansion of an escaped shell variable in a
12040 # double_quote_subst'ed string.
12041 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
12043 # Sed substitution to avoid accidental globbing in evaled expressions
12044 no_glob_subst='s/\*/\\\*/g'
12049 # Global variables:
12050 default_ofile=libtool
12051 can_build_shared=yes
12053 # All known linkers require a `.a' archive for static linking (except M$VC,
12054 # which needs '.lib').
12056 ltmain="$ac_aux_dir/ltmain.sh"
12057 ofile="$default_ofile"
12058 with_gnu_ld="$lt_cv_prog_gnu_ld"
12060 if test -n "$ac_tool_prefix"; then
12061 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
12062 set dummy ${ac_tool_prefix}ar; ac_word=$2
12063 echo "$as_me:$LINENO: checking for $ac_word" >&5
12064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12065 if test "${ac_cv_prog_AR+set}" = set; then
12066 echo $ECHO_N "(cached) $ECHO_C" >&6
12068 if test -n "$AR"; then
12069 ac_cv_prog_AR="$AR" # Let the user override the test.
12071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12072 for as_dir in $PATH
12075 test -z "$as_dir" && as_dir=.
12076 for ac_exec_ext in '' $ac_executable_extensions; do
12077 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12078 ac_cv_prog_AR="${ac_tool_prefix}ar"
12079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12088 if test -n "$AR"; then
12089 echo "$as_me:$LINENO: result: $AR" >&5
12090 echo "${ECHO_T}$AR" >&6
12092 echo "$as_me:$LINENO: result: no" >&5
12093 echo "${ECHO_T}no" >&6
12097 if test -z "$ac_cv_prog_AR"; then
12099 # Extract the first word of "ar", so it can be a program name with args.
12100 set dummy ar; ac_word=$2
12101 echo "$as_me:$LINENO: checking for $ac_word" >&5
12102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12103 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
12104 echo $ECHO_N "(cached) $ECHO_C" >&6
12106 if test -n "$ac_ct_AR"; then
12107 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
12109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12110 for as_dir in $PATH
12113 test -z "$as_dir" && as_dir=.
12114 for ac_exec_ext in '' $ac_executable_extensions; do
12115 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12116 ac_cv_prog_ac_ct_AR="ar"
12117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12123 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
12126 ac_ct_AR=$ac_cv_prog_ac_ct_AR
12127 if test -n "$ac_ct_AR"; then
12128 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
12129 echo "${ECHO_T}$ac_ct_AR" >&6
12131 echo "$as_me:$LINENO: result: no" >&5
12132 echo "${ECHO_T}no" >&6
12137 AR="$ac_cv_prog_AR"
12140 if test -n "$ac_tool_prefix"; then
12141 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12142 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
12143 echo "$as_me:$LINENO: checking for $ac_word" >&5
12144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12145 if test "${ac_cv_prog_RANLIB+set}" = set; then
12146 echo $ECHO_N "(cached) $ECHO_C" >&6
12148 if test -n "$RANLIB"; then
12149 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
12151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12152 for as_dir in $PATH
12155 test -z "$as_dir" && as_dir=.
12156 for ac_exec_ext in '' $ac_executable_extensions; do
12157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12158 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
12159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12167 RANLIB=$ac_cv_prog_RANLIB
12168 if test -n "$RANLIB"; then
12169 echo "$as_me:$LINENO: result: $RANLIB" >&5
12170 echo "${ECHO_T}$RANLIB" >&6
12172 echo "$as_me:$LINENO: result: no" >&5
12173 echo "${ECHO_T}no" >&6
12177 if test -z "$ac_cv_prog_RANLIB"; then
12178 ac_ct_RANLIB=$RANLIB
12179 # Extract the first word of "ranlib", so it can be a program name with args.
12180 set dummy ranlib; ac_word=$2
12181 echo "$as_me:$LINENO: checking for $ac_word" >&5
12182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12183 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12184 echo $ECHO_N "(cached) $ECHO_C" >&6
12186 if test -n "$ac_ct_RANLIB"; then
12187 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
12189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12190 for as_dir in $PATH
12193 test -z "$as_dir" && as_dir=.
12194 for ac_exec_ext in '' $ac_executable_extensions; do
12195 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12196 ac_cv_prog_ac_ct_RANLIB="ranlib"
12197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12203 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
12206 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
12207 if test -n "$ac_ct_RANLIB"; then
12208 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12209 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12211 echo "$as_me:$LINENO: result: no" >&5
12212 echo "${ECHO_T}no" >&6
12215 RANLIB=$ac_ct_RANLIB
12217 RANLIB="$ac_cv_prog_RANLIB"
12220 if test -n "$ac_tool_prefix"; then
12221 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
12222 set dummy ${ac_tool_prefix}strip; ac_word=$2
12223 echo "$as_me:$LINENO: checking for $ac_word" >&5
12224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12225 if test "${ac_cv_prog_STRIP+set}" = set; then
12226 echo $ECHO_N "(cached) $ECHO_C" >&6
12228 if test -n "$STRIP"; then
12229 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
12231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12232 for as_dir in $PATH
12235 test -z "$as_dir" && as_dir=.
12236 for ac_exec_ext in '' $ac_executable_extensions; do
12237 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12238 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
12239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12247 STRIP=$ac_cv_prog_STRIP
12248 if test -n "$STRIP"; then
12249 echo "$as_me:$LINENO: result: $STRIP" >&5
12250 echo "${ECHO_T}$STRIP" >&6
12252 echo "$as_me:$LINENO: result: no" >&5
12253 echo "${ECHO_T}no" >&6
12257 if test -z "$ac_cv_prog_STRIP"; then
12259 # Extract the first word of "strip", so it can be a program name with args.
12260 set dummy strip; ac_word=$2
12261 echo "$as_me:$LINENO: checking for $ac_word" >&5
12262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12263 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
12264 echo $ECHO_N "(cached) $ECHO_C" >&6
12266 if test -n "$ac_ct_STRIP"; then
12267 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
12269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12270 for as_dir in $PATH
12273 test -z "$as_dir" && as_dir=.
12274 for ac_exec_ext in '' $ac_executable_extensions; do
12275 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12276 ac_cv_prog_ac_ct_STRIP="strip"
12277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12283 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
12286 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
12287 if test -n "$ac_ct_STRIP"; then
12288 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
12289 echo "${ECHO_T}$ac_ct_STRIP" >&6
12291 echo "$as_me:$LINENO: result: no" >&5
12292 echo "${ECHO_T}no" >&6
12297 STRIP="$ac_cv_prog_STRIP"
12302 old_CFLAGS="$CFLAGS"
12304 # Set sane defaults for various variables
12305 test -z "$AR" && AR=ar
12306 test -z "$AR_FLAGS" && AR_FLAGS=cru
12307 test -z "$AS" && AS=as
12308 test -z "$CC" && CC=cc
12309 test -z "$LTCC" && LTCC=$CC
12310 test -z "$DLLTOOL" && DLLTOOL=dlltool
12311 test -z "$LD" && LD=ld
12312 test -z "$LN_S" && LN_S="ln -s"
12313 test -z "$MAGIC_CMD" && MAGIC_CMD=file
12314 test -z "$NM" && NM=nm
12315 test -z "$SED" && SED=sed
12316 test -z "$OBJDUMP" && OBJDUMP=objdump
12317 test -z "$RANLIB" && RANLIB=:
12318 test -z "$STRIP" && STRIP=:
12319 test -z "$ac_objext" && ac_objext=o
12321 # Determine commands to create old-style static archives.
12322 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
12323 old_postinstall_cmds='chmod 644 $oldlib'
12324 old_postuninstall_cmds=
12326 if test -n "$RANLIB"; then
12329 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
12332 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
12335 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
12338 # Only perform the check for file, if the check method requires it
12339 case $deplibs_check_method in
12341 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
12342 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
12343 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
12344 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
12345 echo $ECHO_N "(cached) $ECHO_C" >&6
12349 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
12352 lt_save_MAGIC_CMD="$MAGIC_CMD"
12353 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12354 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
12355 for ac_dir in $ac_dummy; do
12357 test -z "$ac_dir" && ac_dir=.
12358 if test -f $ac_dir/${ac_tool_prefix}file; then
12359 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
12360 if test -n "$file_magic_test_file"; then
12361 case $deplibs_check_method in
12363 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
12364 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
12365 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
12366 $EGREP "$file_magic_regex" > /dev/null; then
12371 *** Warning: the command libtool uses to detect shared libraries,
12372 *** $file_magic_cmd, produces output that libtool cannot recognize.
12373 *** The result is that libtool may fail to recognize shared libraries
12374 *** as such. This will affect the creation of libtool libraries that
12375 *** depend on shared libraries, but programs linked with such libtool
12376 *** libraries will work regardless of this problem. Nevertheless, you
12377 *** may want to report the problem to your system manager and/or to
12378 *** bug-libtool@gnu.org
12388 MAGIC_CMD="$lt_save_MAGIC_CMD"
12393 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
12394 if test -n "$MAGIC_CMD"; then
12395 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
12396 echo "${ECHO_T}$MAGIC_CMD" >&6
12398 echo "$as_me:$LINENO: result: no" >&5
12399 echo "${ECHO_T}no" >&6
12402 if test -z "$lt_cv_path_MAGIC_CMD"; then
12403 if test -n "$ac_tool_prefix"; then
12404 echo "$as_me:$LINENO: checking for file" >&5
12405 echo $ECHO_N "checking for file... $ECHO_C" >&6
12406 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
12407 echo $ECHO_N "(cached) $ECHO_C" >&6
12411 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
12414 lt_save_MAGIC_CMD="$MAGIC_CMD"
12415 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12416 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
12417 for ac_dir in $ac_dummy; do
12419 test -z "$ac_dir" && ac_dir=.
12420 if test -f $ac_dir/file; then
12421 lt_cv_path_MAGIC_CMD="$ac_dir/file"
12422 if test -n "$file_magic_test_file"; then
12423 case $deplibs_check_method in
12425 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
12426 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
12427 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
12428 $EGREP "$file_magic_regex" > /dev/null; then
12433 *** Warning: the command libtool uses to detect shared libraries,
12434 *** $file_magic_cmd, produces output that libtool cannot recognize.
12435 *** The result is that libtool may fail to recognize shared libraries
12436 *** as such. This will affect the creation of libtool libraries that
12437 *** depend on shared libraries, but programs linked with such libtool
12438 *** libraries will work regardless of this problem. Nevertheless, you
12439 *** may want to report the problem to your system manager and/or to
12440 *** bug-libtool@gnu.org
12450 MAGIC_CMD="$lt_save_MAGIC_CMD"
12455 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
12456 if test -n "$MAGIC_CMD"; then
12457 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
12458 echo "${ECHO_T}$MAGIC_CMD" >&6
12460 echo "$as_me:$LINENO: result: no" >&5
12461 echo "${ECHO_T}no" >&6
12474 enable_win32_dll=no
12476 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
12477 if test "${enable_libtool_lock+set}" = set; then
12478 enableval="$enable_libtool_lock"
12481 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
12484 # Check whether --with-pic or --without-pic was given.
12485 if test "${with_pic+set}" = set; then
12486 withval="$with_pic"
12487 pic_mode="$withval"
12491 test -z "$pic_mode" && pic_mode=default
12493 # Use C for the default configuration in the libtool script
12497 ac_cpp='$CPP $CPPFLAGS'
12498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12503 # Source file extension for C test sources.
12506 # Object file extension for compiled C test sources.
12510 # Code to be used in simple compile tests
12511 lt_simple_compile_test_code="int some_variable = 0;\n"
12513 # Code to be used in simple link tests
12514 lt_simple_link_test_code='int main(){return(0);}\n'
12517 # If no C compiler was specified, use CC.
12520 # Allow CC to be a program name with arguments.
12525 # Check for any special shared library compilation flags.
12528 if test "$GCC" = no; then
12531 lt_prog_cc_shlib='-belf'
12535 if test -n "$lt_prog_cc_shlib"; then
12536 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
12537 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
12538 if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
12540 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
12541 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
12542 lt_cv_prog_cc_can_build_shared=no
12548 # Check to make sure the static flag actually works.
12550 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
12551 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
12552 if test "${lt_prog_compiler_static_works+set}" = set; then
12553 echo $ECHO_N "(cached) $ECHO_C" >&6
12555 lt_prog_compiler_static_works=no
12556 save_LDFLAGS="$LDFLAGS"
12557 LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
12558 printf "$lt_simple_link_test_code" > conftest.$ac_ext
12559 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12560 # The compiler can only warn and ignore the option if not recognized
12561 # So say no if there are warnings
12562 if test -s conftest.err; then
12563 # Append any errors to the config.log.
12564 cat conftest.err 1>&5
12566 lt_prog_compiler_static_works=yes
12570 LDFLAGS="$save_LDFLAGS"
12573 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
12574 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
12576 if test x"$lt_prog_compiler_static_works" = xyes; then
12579 lt_prog_compiler_static=
12585 lt_prog_compiler_no_builtin_flag=
12587 if test "$GCC" = yes; then
12588 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
12591 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
12592 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
12593 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
12594 echo $ECHO_N "(cached) $ECHO_C" >&6
12596 lt_cv_prog_compiler_rtti_exceptions=no
12597 ac_outfile=conftest.$ac_objext
12598 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12599 lt_compiler_flag="-fno-rtti -fno-exceptions"
12600 # Insert the option either (1) after the last *FLAGS variable, or
12601 # (2) before a word containing "conftest.", or (3) at the end.
12602 # Note that $ac_compile itself does not contain backslashes and begins
12603 # with a dollar sign (not a hyphen), so the echo should work correctly.
12604 # The option is referenced via a variable to avoid confusing sed.
12605 lt_compile=`echo "$ac_compile" | $SED \
12606 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
12607 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12608 -e 's:$: $lt_compiler_flag:'`
12609 (eval echo "\"\$as_me:12609: $lt_compile\"" >&5)
12610 (eval "$lt_compile" 2>conftest.err)
12612 cat conftest.err >&5
12613 echo "$as_me:12613: \$? = $ac_status" >&5
12614 if (exit $ac_status) && test -s "$ac_outfile"; then
12615 # The compiler can only warn and ignore the option if not recognized
12616 # So say no if there are warnings
12617 if test ! -s conftest.err; then
12618 lt_cv_prog_compiler_rtti_exceptions=yes
12624 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
12625 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
12627 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
12628 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
12635 lt_prog_compiler_wl=
12636 lt_prog_compiler_pic=
12637 lt_prog_compiler_static=
12639 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12640 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12642 if test "$GCC" = yes; then
12643 lt_prog_compiler_wl='-Wl,'
12644 lt_prog_compiler_static='-static'
12648 # All AIX code is PIC.
12649 if test "$host_cpu" = ia64; then
12650 # AIX 5 now supports IA64 processor
12651 lt_prog_compiler_static='-Bstatic'
12656 # FIXME: we need at least 68020 code to build shared libraries, but
12657 # adding the `-m68020' flag to GCC prevents building anything better,
12659 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
12662 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12663 # PIC is the default for these OSes.
12666 mingw* | pw32* | os2*)
12667 # This hack is so that the source file can tell whether it is being
12668 # built for inclusion in a dll (and should export symbols for example).
12669 lt_prog_compiler_pic='-DDLL_EXPORT'
12672 darwin* | rhapsody*)
12673 # PIC is the default on this platform
12674 # Common symbols not allowed in MH_DYLIB files
12675 lt_prog_compiler_pic='-fno-common'
12679 # Just because we use GCC doesn't mean we suddenly get shared libraries
12680 # on systems that don't support them.
12681 lt_prog_compiler_can_build_shared=no
12686 if test -d /usr/nec; then
12687 lt_prog_compiler_pic=-Kconform_pic
12692 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12693 # not for PA HP-UX.
12694 case "$host_cpu" in
12699 lt_prog_compiler_pic='-fPIC'
12705 lt_prog_compiler_pic='-fPIC'
12709 # PORTME Check for flag to pass linker flags through the system compiler.
12712 lt_prog_compiler_wl='-Wl,'
12713 if test "$host_cpu" = ia64; then
12714 # AIX 5 now supports IA64 processor
12715 lt_prog_compiler_static='-Bstatic'
12717 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
12721 mingw* | pw32* | os2*)
12722 # This hack is so that the source file can tell whether it is being
12723 # built for inclusion in a dll (and should export symbols for example).
12724 lt_prog_compiler_pic='-DDLL_EXPORT'
12727 hpux9* | hpux10* | hpux11*)
12728 lt_prog_compiler_wl='-Wl,'
12729 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12730 # not for PA HP-UX.
12731 case "$host_cpu" in
12736 lt_prog_compiler_pic='+Z'
12739 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12740 lt_prog_compiler_static='${wl}-a ${wl}archive'
12743 irix5* | irix6* | nonstopux*)
12744 lt_prog_compiler_wl='-Wl,'
12745 # PIC (with -KPIC) is the default.
12746 lt_prog_compiler_static='-non_shared'
12750 lt_prog_compiler_pic='-KPIC'
12751 lt_prog_compiler_static='-Bstatic'
12757 lt_prog_compiler_wl='-Wl,'
12758 lt_prog_compiler_pic='-KPIC'
12759 lt_prog_compiler_static='-static'
12762 lt_prog_compiler_wl='-Wl,'
12763 # All Alpha code is PIC.
12764 lt_prog_compiler_static='-non_shared'
12769 osf3* | osf4* | osf5*)
12770 lt_prog_compiler_wl='-Wl,'
12771 # All OSF/1 code is PIC.
12772 lt_prog_compiler_static='-non_shared'
12776 lt_prog_compiler_pic='-Kpic'
12777 lt_prog_compiler_static='-dn'
12781 lt_prog_compiler_wl='-Wl,'
12782 lt_prog_compiler_pic='-KPIC'
12783 lt_prog_compiler_static='-Bstatic'
12787 lt_prog_compiler_wl='-Qoption ld '
12788 lt_prog_compiler_pic='-PIC'
12789 lt_prog_compiler_static='-Bstatic'
12792 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12793 lt_prog_compiler_wl='-Wl,'
12794 lt_prog_compiler_pic='-KPIC'
12795 lt_prog_compiler_static='-Bstatic'
12799 if test -d /usr/nec ;then
12800 lt_prog_compiler_pic='-Kconform_pic'
12801 lt_prog_compiler_static='-Bstatic'
12806 lt_prog_compiler_pic='-pic'
12807 lt_prog_compiler_static='-Bstatic'
12811 lt_prog_compiler_can_build_shared=no
12816 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
12817 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
12820 # Check to make sure the PIC flag actually works.
12822 if test -n "$lt_prog_compiler_pic"; then
12824 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
12825 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
12826 if test "${lt_prog_compiler_pic_works+set}" = set; then
12827 echo $ECHO_N "(cached) $ECHO_C" >&6
12829 lt_prog_compiler_pic_works=no
12830 ac_outfile=conftest.$ac_objext
12831 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12832 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
12833 # Insert the option either (1) after the last *FLAGS variable, or
12834 # (2) before a word containing "conftest.", or (3) at the end.
12835 # Note that $ac_compile itself does not contain backslashes and begins
12836 # with a dollar sign (not a hyphen), so the echo should work correctly.
12837 # The option is referenced via a variable to avoid confusing sed.
12838 lt_compile=`echo "$ac_compile" | $SED \
12839 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
12840 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12841 -e 's:$: $lt_compiler_flag:'`
12842 (eval echo "\"\$as_me:12842: $lt_compile\"" >&5)
12843 (eval "$lt_compile" 2>conftest.err)
12845 cat conftest.err >&5
12846 echo "$as_me:12846: \$? = $ac_status" >&5
12847 if (exit $ac_status) && test -s "$ac_outfile"; then
12848 # The compiler can only warn and ignore the option if not recognized
12849 # So say no if there are warnings
12850 if test ! -s conftest.err; then
12851 lt_prog_compiler_pic_works=yes
12857 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
12858 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
12860 if test x"$lt_prog_compiler_pic_works" = xyes; then
12861 case $lt_prog_compiler_pic in
12863 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
12866 lt_prog_compiler_pic=
12867 lt_prog_compiler_can_build_shared=no
12872 # For platforms which do not support PIC, -DPIC is meaningless:
12874 lt_prog_compiler_pic=
12877 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
12881 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12882 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12883 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
12884 echo $ECHO_N "(cached) $ECHO_C" >&6
12886 lt_cv_prog_compiler_c_o=no
12887 $rm -r conftest 2>/dev/null
12891 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12893 lt_compiler_flag="-o out/conftest2.$ac_objext"
12894 # Insert the option either (1) after the last *FLAGS variable, or
12895 # (2) before a word containing "conftest.", or (3) at the end.
12896 # Note that $ac_compile itself does not contain backslashes and begins
12897 # with a dollar sign (not a hyphen), so the echo should work correctly.
12898 lt_compile=`echo "$ac_compile" | $SED \
12899 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
12900 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12901 -e 's:$: $lt_compiler_flag:'`
12902 (eval echo "\"\$as_me:12902: $lt_compile\"" >&5)
12903 (eval "$lt_compile" 2>out/conftest.err)
12905 cat out/conftest.err >&5
12906 echo "$as_me:12906: \$? = $ac_status" >&5
12907 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12909 # The compiler can only warn and ignore the option if not recognized
12910 # So say no if there are warnings
12911 if test ! -s out/conftest.err; then
12912 lt_cv_prog_compiler_c_o=yes
12917 # SGI C++ compiler will create directory out/ii_files/ for
12918 # template instantiation
12919 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
12920 $rm out/* && rmdir out
12926 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
12927 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
12930 hard_links="nottested"
12931 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
12932 # do not overwrite the value of need_locks provided by the user
12933 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12934 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12937 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12939 ln conftest.a conftest.b 2>&5 || hard_links=no
12940 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12941 echo "$as_me:$LINENO: result: $hard_links" >&5
12942 echo "${ECHO_T}$hard_links" >&6
12943 if test "$hard_links" = no; then
12944 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12945 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12952 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12953 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12956 allow_undefined_flag=
12957 enable_shared_with_static_runtimes=no
12959 archive_expsym_cmds=
12960 old_archive_From_new_cmds=
12961 old_archive_from_expsyms_cmds=
12962 export_dynamic_flag_spec=
12963 whole_archive_flag_spec=
12964 thread_safe_flag_spec=
12965 hardcode_libdir_flag_spec=
12966 hardcode_libdir_flag_spec_ld=
12967 hardcode_libdir_separator=
12969 hardcode_minus_L=no
12970 hardcode_shlibpath_var=unsupported
12971 link_all_deplibs=unknown
12972 hardcode_automatic=no
12974 module_expsym_cmds=
12975 always_export_symbols=no
12976 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12977 # include_expsyms should be a list of space-separated symbols to be *always*
12978 # included in the symbol list
12980 # exclude_expsyms can be an extended regexp of symbols to exclude
12981 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12982 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12983 # as well as any symbol that contains `d'.
12984 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
12985 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12986 # platforms (ab)use it in PIC code, but their linkers get confused if
12987 # the symbol is explicitly referenced. Since portable code cannot
12988 # rely on this symbol name, it's probably fine to never include it in
12989 # preloaded symbol tables.
12990 extract_expsyms_cmds=
12993 cygwin* | mingw* | pw32*)
12994 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12995 # When not using gcc, we currently assume that we are using
12996 # Microsoft Visual C++.
12997 if test "$GCC" != yes; then
13007 if test "$with_gnu_ld" = yes; then
13008 # If archive_cmds runs LD, not CC, wlarc should be empty
13011 # See if GNU ld supports shared libraries.
13013 aix3* | aix4* | aix5*)
13014 # On AIX/PPC, the GNU linker is very broken
13015 if test "$host_cpu" != ia64; then
13019 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13020 *** to be unable to reliably create shared libraries on AIX.
13021 *** Therefore, libtool is disabling shared libraries support. If you
13022 *** really care for shared libraries, you may want to modify your PATH
13023 *** so that a non-GNU linker is found, and then restart.
13030 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)'
13031 hardcode_libdir_flag_spec='-L$libdir'
13032 hardcode_minus_L=yes
13034 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13035 # that the semantics of dynamic libraries on AmigaOS, at least up
13036 # to version 4, is to share data among multiple programs linked
13037 # with the same dynamic library. Since this doesn't match the
13038 # behavior of shared libraries on other platforms, we can't use
13044 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13045 allow_undefined_flag=unsupported
13046 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13047 # support --undefined. This deserves some investigation. FIXME
13048 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13054 cygwin* | mingw* | pw32*)
13055 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
13056 # as there is no search path for DLLs.
13057 hardcode_libdir_flag_spec='-L$libdir'
13058 allow_undefined_flag=unsupported
13059 always_export_symbols=no
13060 enable_shared_with_static_runtimes=yes
13061 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13063 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13064 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13065 # If the export-symbols file already is a .def file (1st line
13066 # is EXPORTS), use it as is; otherwise, prepend...
13067 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13068 cp $export_symbols $output_objdir/$soname.def;
13070 echo EXPORTS > $output_objdir/$soname.def;
13071 cat $export_symbols >> $output_objdir/$soname.def;
13073 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13080 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13081 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13084 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13085 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13090 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13094 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13095 *** create shared libraries on Solaris systems. Therefore, libtool
13096 *** is disabling shared libraries support. We urge you to upgrade GNU
13097 *** binutils to release 2.9.1 or newer. Another option is to modify
13098 *** your PATH or compiler configuration so that the native linker is
13099 *** used, and then restart.
13102 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13103 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13104 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13111 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13113 hardcode_direct=yes
13114 hardcode_shlibpath_var=no
13118 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13119 tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13120 archive_cmds="$tmp_archive_cmds"
13121 supports_anon_versioning=no
13122 case `$LD -v 2>/dev/null` in
13123 *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13124 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
13125 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
13126 *\ 2.11.*) ;; # other 2.11 versions
13127 *) supports_anon_versioning=yes ;;
13129 if test $supports_anon_versioning = yes; then
13130 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
13131 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13132 $echo "local: *; };" >> $output_objdir/$libname.ver~
13133 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13135 archive_expsym_cmds="$tmp_archive_cmds"
13143 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13144 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13145 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13152 if test "$ld_shlibs" = yes; then
13153 runpath_var=LD_RUN_PATH
13154 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
13155 export_dynamic_flag_spec='${wl}--export-dynamic'
13156 # ancient GNU ld didn't support --whole-archive et. al.
13157 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13158 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13160 whole_archive_flag_spec=
13164 # PORTME fill in a description of your system's linker (not GNU ld)
13167 allow_undefined_flag=unsupported
13168 always_export_symbols=yes
13169 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'
13170 # Note: this linker hardcodes the directories in LIBPATH if there
13171 # are no directories specified by -L.
13172 hardcode_minus_L=yes
13173 if test "$GCC" = yes && test -z "$link_static_flag"; then
13174 # Neither direct hardcoding nor static linking is supported with a
13176 hardcode_direct=unsupported
13181 if test "$host_cpu" = ia64; then
13182 # On IA64, the linker does run time linking by default, so we don't
13183 # have to do anything special.
13184 aix_use_runtimelinking=no
13185 exp_sym_flag='-Bexport'
13188 # If we're using GNU nm, then we don't want the "-C" option.
13189 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13190 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13191 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
13193 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
13195 aix_use_runtimelinking=no
13197 # Test if we are trying to use run time linking or normal
13198 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13199 # need to do runtime linking.
13200 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13201 for ld_flag in $LDFLAGS; do
13202 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13203 aix_use_runtimelinking=yes
13209 exp_sym_flag='-bexport'
13210 no_entry_flag='-bnoentry'
13213 # When large executables or shared objects are built, AIX ld can
13214 # have problems creating the table of contents. If linking a library
13215 # or program results in "error TOC overflow" add -mminimal-toc to
13216 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13217 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13220 hardcode_direct=yes
13221 hardcode_libdir_separator=':'
13222 link_all_deplibs=yes
13224 if test "$GCC" = yes; then
13225 case $host_os in aix4.012|aix4.012.*)
13226 # We only want to do this on AIX 4.2 and lower, the check
13227 # below for broken collect2 doesn't work under 4.3+
13228 collect2name=`${CC} -print-prog-name=collect2`
13229 if test -f "$collect2name" && \
13230 strings "$collect2name" | grep resolve_lib_name >/dev/null
13232 # We have reworked collect2
13233 hardcode_direct=yes
13235 # We have old collect2
13236 hardcode_direct=unsupported
13237 # It fails to find uninstalled libraries when the uninstalled
13238 # path is not listed in the libpath. Setting hardcode_minus_L
13239 # to unsupported forces relinking
13240 hardcode_minus_L=yes
13241 hardcode_libdir_flag_spec='-L$libdir'
13242 hardcode_libdir_separator=
13245 shared_flag='-shared'
13248 if test "$host_cpu" = ia64; then
13249 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13250 # chokes on -Wl,-G. The following line is correct:
13253 if test "$aix_use_runtimelinking" = yes; then
13254 shared_flag='${wl}-G'
13256 shared_flag='${wl}-bM:SRE'
13261 # It seems that -bexpall does not export symbols beginning with
13262 # underscore (_), so it is better to generate a list of symbols to export.
13263 always_export_symbols=yes
13264 if test "$aix_use_runtimelinking" = yes; then
13265 # Warning - without using the other runtime loading flags (-brtl),
13266 # -berok will link without error, but may produce a broken library.
13267 allow_undefined_flag='-berok'
13268 # Determine the default libpath from the value encoded in an empty executable.
13269 cat >conftest.$ac_ext <<_ACEOF
13272 cat confdefs.h >>conftest.$ac_ext
13273 cat >>conftest.$ac_ext <<_ACEOF
13274 /* end confdefs.h. */
13284 rm -f conftest.$ac_objext conftest$ac_exeext
13285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13286 (eval $ac_link) 2>conftest.er1
13288 grep -v '^ *+' conftest.er1 >conftest.err
13290 cat conftest.err >&5
13291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13292 (exit $ac_status); } &&
13293 { ac_try='test -z "$ac_c_werror_flag"
13294 || test ! -s conftest.err'
13295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13296 (eval $ac_try) 2>&5
13298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13299 (exit $ac_status); }; } &&
13300 { ac_try='test -s conftest$ac_exeext'
13301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13302 (eval $ac_try) 2>&5
13304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13305 (exit $ac_status); }; }; then
13307 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13309 # Check for a 64-bit object if we didn't find anything.
13310 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13313 echo "$as_me: failed program was:" >&5
13314 sed 's/^/| /' conftest.$ac_ext >&5
13317 rm -f conftest.err conftest.$ac_objext \
13318 conftest$ac_exeext conftest.$ac_ext
13319 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13321 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
13322 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"
13324 if test "$host_cpu" = ia64; then
13325 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
13326 allow_undefined_flag="-z nodefs"
13327 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
13329 # Determine the default libpath from the value encoded in an empty executable.
13330 cat >conftest.$ac_ext <<_ACEOF
13333 cat confdefs.h >>conftest.$ac_ext
13334 cat >>conftest.$ac_ext <<_ACEOF
13335 /* end confdefs.h. */
13345 rm -f conftest.$ac_objext conftest$ac_exeext
13346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13347 (eval $ac_link) 2>conftest.er1
13349 grep -v '^ *+' conftest.er1 >conftest.err
13351 cat conftest.err >&5
13352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13353 (exit $ac_status); } &&
13354 { ac_try='test -z "$ac_c_werror_flag"
13355 || test ! -s conftest.err'
13356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13357 (eval $ac_try) 2>&5
13359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13360 (exit $ac_status); }; } &&
13361 { ac_try='test -s conftest$ac_exeext'
13362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13363 (eval $ac_try) 2>&5
13365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13366 (exit $ac_status); }; }; then
13368 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13370 # Check for a 64-bit object if we didn't find anything.
13371 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13374 echo "$as_me: failed program was:" >&5
13375 sed 's/^/| /' conftest.$ac_ext >&5
13378 rm -f conftest.err conftest.$ac_objext \
13379 conftest$ac_exeext conftest.$ac_ext
13380 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13382 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
13383 # Warning - without using the other run time loading flags,
13384 # -berok will link without error, but may produce a broken library.
13385 no_undefined_flag=' ${wl}-bernotok'
13386 allow_undefined_flag=' ${wl}-berok'
13387 # -bexpall does not export symbols beginning with underscore (_)
13388 always_export_symbols=yes
13389 # Exported symbols can be pulled into shared objects from archives
13390 whole_archive_flag_spec=' '
13391 archive_cmds_need_lc=yes
13392 # This is similar to how AIX traditionally builds it's shared libraries.
13393 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
13399 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)'
13400 hardcode_libdir_flag_spec='-L$libdir'
13401 hardcode_minus_L=yes
13402 # see comment about different semantics on the GNU ld section
13407 export_dynamic_flag_spec=-rdynamic
13410 cygwin* | mingw* | pw32*)
13411 # When not using gcc, we currently assume that we are using
13412 # Microsoft Visual C++.
13413 # hardcode_libdir_flag_spec is actually meaningless, as there is
13414 # no search path for DLLs.
13415 hardcode_libdir_flag_spec=' '
13416 allow_undefined_flag=unsupported
13417 # Tell ltmain to make .lib files, not .a files.
13419 # Tell ltmain to make .dll files, not .so files.
13421 # FIXME: Setting linknames here is a bad hack.
13422 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13423 # The linker will automatically build a .lib file if we build a DLL.
13424 old_archive_From_new_cmds='true'
13425 # FIXME: Should let the user specify the lib program.
13426 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
13427 fix_srcfile_path='`cygpath -w "$srcfile"`'
13428 enable_shared_with_static_runtimes=yes
13431 darwin* | rhapsody*)
13432 if test "$GXX" = yes ; then
13433 archive_cmds_need_lc=no
13435 rhapsody* | darwin1.[012])
13436 allow_undefined_flag='-undefined suppress'
13439 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
13440 allow_undefined_flag='-flat_namespace -undefined suppress'
13442 case ${MACOSX_DEPLOYMENT_TARGET} in
13444 allow_undefined_flag='-flat_namespace -undefined suppress'
13447 allow_undefined_flag='-undefined dynamic_lookup'
13453 lt_int_apple_cc_single_mod=no
13454 output_verbose_link_cmd='echo'
13455 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13456 lt_int_apple_cc_single_mod=yes
13458 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13459 archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13461 archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13463 module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13464 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13465 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13466 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13468 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13470 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13472 hardcode_automatic=yes
13473 hardcode_shlibpath_var=unsupported
13474 whole_archive_flag_spec='-all_load $convenience'
13475 link_all_deplibs=yes
13482 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13483 hardcode_libdir_flag_spec='-L$libdir'
13484 hardcode_shlibpath_var=no
13491 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13492 # support. Future versions do this automatically, but an explicit c++rt0.o
13493 # does not break anything, and helps significantly (at the cost of a little
13496 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13497 hardcode_libdir_flag_spec='-R$libdir'
13498 hardcode_direct=yes
13499 hardcode_shlibpath_var=no
13502 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13504 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13505 hardcode_direct=yes
13506 hardcode_minus_L=yes
13507 hardcode_shlibpath_var=no
13510 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13511 freebsd* | kfreebsd*-gnu)
13512 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13513 hardcode_libdir_flag_spec='-R$libdir'
13514 hardcode_direct=yes
13515 hardcode_shlibpath_var=no
13519 if test "$GCC" = yes; then
13520 archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13522 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'
13524 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
13525 hardcode_libdir_separator=:
13526 hardcode_direct=yes
13528 # hardcode_minus_L: Not really in the search PATH,
13529 # but as the default location of the library.
13530 hardcode_minus_L=yes
13531 export_dynamic_flag_spec='${wl}-E'
13535 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13536 case "$host_cpu" in
13538 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13541 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13545 case "$host_cpu" in
13547 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
13550 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13554 if test "$with_gnu_ld" = no; then
13555 case "$host_cpu" in
13557 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
13558 hardcode_libdir_flag_spec_ld='+b $libdir'
13559 hardcode_libdir_separator=:
13561 hardcode_shlibpath_var=no
13564 hardcode_libdir_flag_spec='-L$libdir'
13566 hardcode_shlibpath_var=no
13568 # hardcode_minus_L: Not really in the search PATH,
13569 # but as the default location of the library.
13570 hardcode_minus_L=yes
13573 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
13574 hardcode_libdir_separator=:
13575 hardcode_direct=yes
13576 export_dynamic_flag_spec='${wl}-E'
13578 # hardcode_minus_L: Not really in the search PATH,
13579 # but as the default location of the library.
13580 hardcode_minus_L=yes
13586 irix5* | irix6* | nonstopux*)
13587 if test "$GCC" = yes; then
13588 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'
13590 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'
13591 hardcode_libdir_flag_spec_ld='-rpath $libdir'
13593 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13594 hardcode_libdir_separator=:
13595 link_all_deplibs=yes
13599 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13600 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13602 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13604 hardcode_libdir_flag_spec='-R$libdir'
13605 hardcode_direct=yes
13606 hardcode_shlibpath_var=no
13610 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13611 hardcode_direct=yes
13612 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13613 hardcode_libdir_separator=:
13614 hardcode_shlibpath_var=no
13618 hardcode_direct=yes
13619 hardcode_shlibpath_var=no
13620 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13621 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13622 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
13623 export_dynamic_flag_spec='${wl}-E'
13626 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13627 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13628 hardcode_libdir_flag_spec='-R$libdir'
13631 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13632 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
13639 hardcode_libdir_flag_spec='-L$libdir'
13640 hardcode_minus_L=yes
13641 allow_undefined_flag=unsupported
13642 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'
13643 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13647 if test "$GCC" = yes; then
13648 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
13649 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'
13651 allow_undefined_flag=' -expect_unresolved \*'
13652 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'
13654 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13655 hardcode_libdir_separator=:
13658 osf4* | osf5*) # as osf3* with the addition of -msym flag
13659 if test "$GCC" = yes; then
13660 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
13661 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'
13662 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13664 allow_undefined_flag=' -expect_unresolved \*'
13665 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'
13666 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
13667 $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'
13669 # Both c and cxx compiler support -rpath directly
13670 hardcode_libdir_flag_spec='-rpath $libdir'
13672 hardcode_libdir_separator=:
13676 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13677 hardcode_shlibpath_var=no
13678 export_dynamic_flag_spec='${wl}-Bexport'
13679 runpath_var=LD_RUN_PATH
13680 hardcode_runpath_var=yes
13684 no_undefined_flag=' -z text'
13685 if test "$GCC" = yes; then
13686 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13687 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13688 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
13690 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13691 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13692 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13694 hardcode_libdir_flag_spec='-R$libdir'
13695 hardcode_shlibpath_var=no
13697 solaris2.[0-5] | solaris2.[0-5].*) ;;
13698 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
13699 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
13701 link_all_deplibs=yes
13705 if test "x$host_vendor" = xsequent; then
13706 # Use $CC to link under sequent, because it throws in some extra .o
13707 # files that make .init and .fini sections work.
13708 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13710 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13712 hardcode_libdir_flag_spec='-L$libdir'
13713 hardcode_direct=yes
13714 hardcode_minus_L=yes
13715 hardcode_shlibpath_var=no
13719 case $host_vendor in
13721 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13722 hardcode_direct=yes # is this really true???
13725 ## LD is ld it makes a PLAMLIB
13726 ## CC just makes a GrossModule.
13727 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13728 reload_cmds='$CC -r -o $output$reload_objs'
13732 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13733 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
13736 runpath_var='LD_RUN_PATH'
13737 hardcode_shlibpath_var=no
13741 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13742 hardcode_shlibpath_var=no
13743 export_dynamic_flag_spec='-Bexport'
13747 if test -d /usr/nec; then
13748 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13749 hardcode_shlibpath_var=no
13750 runpath_var=LD_RUN_PATH
13751 hardcode_runpath_var=yes
13757 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13758 hardcode_direct=yes
13759 hardcode_minus_L=no
13760 hardcode_shlibpath_var=no
13761 hardcode_runpath_var=yes
13762 runpath_var=LD_RUN_PATH
13765 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
13766 no_undefined_flag='${wl}-z ${wl}text'
13767 if test "$GCC" = yes; then
13768 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13770 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13772 runpath_var='LD_RUN_PATH'
13773 hardcode_shlibpath_var=no
13777 no_undefined_flag=' -z text'
13778 # $CC -shared without GNU ld will not create a library from C++
13779 # object files and a static libstdc++, better avoid it by now
13780 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13781 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13782 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13783 hardcode_libdir_flag_spec=
13784 hardcode_shlibpath_var=no
13785 runpath_var='LD_RUN_PATH'
13789 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13790 hardcode_libdir_flag_spec='-L$libdir'
13791 hardcode_shlibpath_var=no
13800 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
13801 echo "${ECHO_T}$ld_shlibs" >&6
13802 test "$ld_shlibs" = no && can_build_shared=no
13804 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13805 if test "$GCC" = yes; then
13806 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13810 # Do we need to explicitly link libc?
13812 case "x$archive_cmds_need_lc" in
13814 # Assume -lc should be added
13815 archive_cmds_need_lc=yes
13817 if test "$enable_shared" = yes && test "$GCC" = yes; then
13818 case $archive_cmds in
13820 # FIXME: we may have to deal with multi-command sequences.
13823 # Test whether the compiler implicitly links with -lc since on some
13824 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13825 # to ld, don't add -lc before -lgcc.
13826 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13827 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13829 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13832 (eval $ac_compile) 2>&5
13834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13835 (exit $ac_status); } 2>conftest.err; then
13838 libobjs=conftest.$ac_objext
13840 wl=$lt_prog_compiler_wl
13846 lt_save_allow_undefined_flag=$allow_undefined_flag
13847 allow_undefined_flag=
13848 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13849 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13852 (exit $ac_status); }
13854 archive_cmds_need_lc=no
13856 archive_cmds_need_lc=yes
13858 allow_undefined_flag=$lt_save_allow_undefined_flag
13860 cat conftest.err 1>&5
13863 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
13864 echo "${ECHO_T}$archive_cmds_need_lc" >&6
13871 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13872 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13873 library_names_spec=
13874 libname_spec='lib$name'
13878 postuninstall_cmds=
13882 shlibpath_overrides_runpath=unknown
13884 dynamic_linker="$host_os ld.so"
13885 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13886 if test "$GCC" = yes; then
13887 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13888 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
13889 # if the path contains ";" then we assume it to be the separator
13890 # otherwise default to the standard path separator (i.e. ":") - it is
13891 # assumed that no part of a normal pathname contains ";" but that should
13892 # okay in the real world where ";" in dirpaths is itself problematic.
13893 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13895 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13898 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13900 need_lib_prefix=unknown
13901 hardcode_into_libs=no
13903 # when you set need_version to no, make sure it does not cause -set_version
13904 # flags to be left without arguments
13905 need_version=unknown
13910 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13911 shlibpath_var=LIBPATH
13913 # AIX 3 has no versioning support, so we append a major version to the name.
13914 soname_spec='${libname}${release}${shared_ext}$major'
13921 hardcode_into_libs=yes
13922 if test "$host_cpu" = ia64; then
13923 # AIX 5 supports IA64
13924 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13925 shlibpath_var=LD_LIBRARY_PATH
13927 # With GCC up to 2.95.x, collect2 would create an import file
13928 # for dependence libraries. The import file would start with
13929 # the line `#! .'. This would cause the generated library to
13930 # depend on `.', always an invalid library. This was fixed in
13931 # development snapshots of GCC prior to 3.0.
13933 aix4 | aix4.[01] | aix4.[01].*)
13934 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13936 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
13939 can_build_shared=no
13943 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13944 # soname into executable. Probably we can add versioning support to
13945 # collect2, so additional links can be useful in future.
13946 if test "$aix_use_runtimelinking" = yes; then
13947 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13948 # instead of lib<name>.a to let people know that these are not
13949 # typical AIX shared libraries.
13950 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13952 # We preserve .a as extension for shared libraries through AIX4.2
13953 # and later when we are not doing run time linking.
13954 library_names_spec='${libname}${release}.a $libname.a'
13955 soname_spec='${libname}${release}${shared_ext}$major'
13957 shlibpath_var=LIBPATH
13962 library_names_spec='$libname.ixlibrary $libname.a'
13963 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13964 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'
13968 library_names_spec='${libname}${shared_ext}'
13969 dynamic_linker="$host_os ld.so"
13970 shlibpath_var=LIBRARY_PATH
13976 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13977 soname_spec='${libname}${release}${shared_ext}$major'
13978 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13979 shlibpath_var=LD_LIBRARY_PATH
13980 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13981 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13982 # the default ld.so.conf also contains /usr/contrib/lib and
13983 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13984 # libtool to hard-code these into programs
13987 cygwin* | mingw* | pw32*)
13988 version_type=windows
13993 case $GCC,$host_os in
13994 yes,cygwin* | yes,mingw* | yes,pw32*)
13995 library_names_spec='$libname.dll.a'
13996 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13997 postinstall_cmds='base_file=`basename \${file}`~
13998 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13999 dldir=$destdir/`dirname \$dlpath`~
14000 test -d \$dldir || mkdir -p \$dldir~
14001 $install_prog $dir/$dlname \$dldir/$dlname'
14002 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14003 dlpath=$dir/\$dldll~
14005 shlibpath_overrides_runpath=yes
14009 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14010 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14011 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14014 # MinGW DLLs use traditional 'lib' prefix
14015 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14016 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14017 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14018 # It is most probably a Windows format PATH printed by
14019 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14020 # path with ; separators, and with drive letters. We can handle the
14021 # drive letters (cygwin fileutils understands them), so leave them,
14022 # especially as we might pass files found there to a mingw objdump,
14023 # which wouldn't understand a cygwinified path. Ahh.
14024 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14026 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14030 # pw32 DLLs use 'pw' prefix rather than 'lib'
14031 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14037 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14040 dynamic_linker='Win32 ld.exe'
14041 # FIXME: first we should search . and the directory the executable is in
14045 darwin* | rhapsody*)
14046 dynamic_linker="$host_os dyld"
14047 version_type=darwin
14050 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14051 soname_spec='${libname}${release}${major}$shared_ext'
14052 shlibpath_overrides_runpath=yes
14053 shlibpath_var=DYLD_LIBRARY_PATH
14054 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
14055 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14056 if test "$GCC" = yes; then
14057 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
14059 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
14061 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14068 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14069 soname_spec='${libname}${release}${shared_ext}$major'
14070 shlibpath_var=LD_LIBRARY_PATH
14081 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14082 soname_spec='${libname}${release}${shared_ext}$major'
14083 shlibpath_var=LD_LIBRARY_PATH
14084 shlibpath_overrides_runpath=no
14085 hardcode_into_libs=yes
14086 dynamic_linker='GNU ld.so'
14090 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14091 version_type=freebsd-$objformat
14092 case $version_type in
14094 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14099 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14103 shlibpath_var=LD_LIBRARY_PATH
14106 shlibpath_overrides_runpath=yes
14108 freebsd3.01* | freebsdelf3.01*)
14109 shlibpath_overrides_runpath=yes
14110 hardcode_into_libs=yes
14113 shlibpath_overrides_runpath=no
14114 hardcode_into_libs=yes
14123 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14124 soname_spec='${libname}${release}${shared_ext}$major'
14125 shlibpath_var=LD_LIBRARY_PATH
14126 hardcode_into_libs=yes
14129 hpux9* | hpux10* | hpux11*)
14130 # Give a soname corresponding to the major version so that dld.sl refuses to
14131 # link against other versions.
14135 case "$host_cpu" in
14138 hardcode_into_libs=yes
14139 dynamic_linker="$host_os dld.so"
14140 shlibpath_var=LD_LIBRARY_PATH
14141 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14142 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14143 soname_spec='${libname}${release}${shared_ext}$major'
14144 if test "X$HPUX_IA64_MODE" = X32; then
14145 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14147 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14149 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14153 hardcode_into_libs=yes
14154 dynamic_linker="$host_os dld.sl"
14155 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14156 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14157 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14158 soname_spec='${libname}${release}${shared_ext}$major'
14159 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14160 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14164 dynamic_linker="$host_os dld.sl"
14165 shlibpath_var=SHLIB_PATH
14166 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14167 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14168 soname_spec='${libname}${release}${shared_ext}$major'
14171 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14172 postinstall_cmds='chmod 555 $lib'
14175 irix5* | irix6* | nonstopux*)
14177 nonstopux*) version_type=nonstopux ;;
14179 if test "$lt_cv_prog_gnu_ld" = yes; then
14187 soname_spec='${libname}${release}${shared_ext}$major'
14188 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14190 irix5* | nonstopux*)
14191 libsuff= shlibsuff=
14194 case $LD in # libtool.m4 will add one of these switches to LD
14195 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14196 libsuff= shlibsuff= libmagic=32-bit;;
14197 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14198 libsuff=32 shlibsuff=N32 libmagic=N32;;
14199 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14200 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14201 *) libsuff= shlibsuff= libmagic=never-match;;
14205 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14206 shlibpath_overrides_runpath=no
14207 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14208 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14209 hardcode_into_libs=yes
14212 # No shared lib support for Linux oldld, aout, or coff.
14213 linux*oldld* | linux*aout* | linux*coff*)
14217 # This must be Linux ELF.
14222 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14223 soname_spec='${libname}${release}${shared_ext}$major'
14224 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14225 shlibpath_var=LD_LIBRARY_PATH
14226 shlibpath_overrides_runpath=no
14227 # This implies no fast_install, which is unacceptable.
14228 # Some rework will be needed to allow for fast_install
14229 # before this can be enabled.
14230 hardcode_into_libs=yes
14232 # find out which ABI we are using
14234 case "$host_cpu" in
14235 x86_64*|s390x*|powerpc64*)
14236 echo '#line 14236 "configure"' > conftest.$ac_ext
14237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14238 (eval $ac_compile) 2>&5
14240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14241 (exit $ac_status); }; then
14242 case `/usr/bin/file conftest.$ac_objext` in
14245 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
14253 # Append ld.so.conf contents to the search path
14254 if test -f /etc/ld.so.conf; then
14255 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
14256 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
14259 # We used to test for /lib/ld.so.1 and disable shared libraries on
14260 # powerpc, because MkLinux only supported shared libraries with the
14261 # GNU dynamic linker. Since this was broken with cross compilers,
14262 # most powerpc-linux boxes support dynamic linking these days and
14263 # people can always --disable-shared, the test was removed, and we
14264 # assume the GNU/Linux dynamic linker is in use.
14265 dynamic_linker='GNU/Linux ld.so'
14272 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14273 soname_spec='${libname}${release}${shared_ext}$major'
14274 shlibpath_var=LD_LIBRARY_PATH
14275 shlibpath_overrides_runpath=no
14276 hardcode_into_libs=yes
14277 dynamic_linker='GNU ld.so'
14284 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14285 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14286 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14287 dynamic_linker='NetBSD (a.out) ld.so'
14289 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14290 soname_spec='${libname}${release}${shared_ext}$major'
14291 dynamic_linker='NetBSD ld.elf_so'
14293 shlibpath_var=LD_LIBRARY_PATH
14294 shlibpath_overrides_runpath=yes
14295 hardcode_into_libs=yes
14300 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14301 shlibpath_var=LD_LIBRARY_PATH
14302 shlibpath_overrides_runpath=yes
14309 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14310 soname_spec='${libname}${release}${shared_ext}$major'
14311 shlibpath_var=LD_LIBRARY_PATH
14312 shlibpath_overrides_runpath=yes
14319 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14320 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14321 shlibpath_var=LD_LIBRARY_PATH
14322 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14324 openbsd2.[89] | openbsd2.[89].*)
14325 shlibpath_overrides_runpath=no
14328 shlibpath_overrides_runpath=yes
14332 shlibpath_overrides_runpath=yes
14337 libname_spec='$name'
14340 library_names_spec='$libname${shared_ext} $libname.a'
14341 dynamic_linker='OS/2 ld.exe'
14342 shlibpath_var=LIBPATH
14345 osf3* | osf4* | osf5*)
14349 soname_spec='${libname}${release}${shared_ext}$major'
14350 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14351 shlibpath_var=LD_LIBRARY_PATH
14352 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14353 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14358 soname_spec='${libname}${release}${shared_ext}$major'
14359 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14360 shlibpath_var=LD_LIBRARY_PATH
14367 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14368 soname_spec='${libname}${release}${shared_ext}$major'
14369 shlibpath_var=LD_LIBRARY_PATH
14370 shlibpath_overrides_runpath=yes
14371 hardcode_into_libs=yes
14372 # ldd complains unless libraries are executable
14373 postinstall_cmds='chmod +x $lib'
14378 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14379 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14380 shlibpath_var=LD_LIBRARY_PATH
14381 shlibpath_overrides_runpath=yes
14382 if test "$with_gnu_ld" = yes; then
14388 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14390 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14391 soname_spec='${libname}${release}${shared_ext}$major'
14392 shlibpath_var=LD_LIBRARY_PATH
14393 case $host_vendor in
14395 shlibpath_overrides_runpath=no
14397 export_dynamic_flag_spec='${wl}-Blargedynsym'
14398 runpath_var=LD_RUN_PATH
14406 shlibpath_overrides_runpath=no
14407 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14413 if test -d /usr/nec ;then
14415 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14416 soname_spec='$libname${shared_ext}.$major'
14417 shlibpath_var=LD_LIBRARY_PATH
14423 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14424 soname_spec='${libname}${release}${shared_ext}$major'
14425 shlibpath_var=LD_LIBRARY_PATH
14432 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14433 echo "${ECHO_T}$dynamic_linker" >&6
14434 test "$dynamic_linker" = no && can_build_shared=no
14436 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14437 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14439 if test -n "$hardcode_libdir_flag_spec" || \
14440 test -n "$runpath_var " || \
14441 test "X$hardcode_automatic"="Xyes" ; then
14443 # We can hardcode non-existant directories.
14444 if test "$hardcode_direct" != no &&
14445 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14446 # have to relink, otherwise we might link with an installed library
14447 # when we should be linking with a yet-to-be-installed one
14448 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
14449 test "$hardcode_minus_L" != no; then
14450 # Linking always hardcodes the temporary library directory.
14451 hardcode_action=relink
14453 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14454 hardcode_action=immediate
14457 # We cannot hardcode anything, or else we can only hardcode existing
14459 hardcode_action=unsupported
14461 echo "$as_me:$LINENO: result: $hardcode_action" >&5
14462 echo "${ECHO_T}$hardcode_action" >&6
14464 if test "$hardcode_action" = relink; then
14465 # Fast installation is not supported
14466 enable_fast_install=no
14467 elif test "$shlibpath_overrides_runpath" = yes ||
14468 test "$enable_shared" = no; then
14469 # Fast installation is not necessary
14470 enable_fast_install=needless
14475 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14476 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14477 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
14478 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14479 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14480 echo "$as_me:$LINENO: result: yes" >&5
14481 echo "${ECHO_T}yes" >&6
14483 # FIXME - insert some real tests, host_os isn't really good enough
14486 if test -n "$STRIP" ; then
14487 striplib="$STRIP -x"
14488 echo "$as_me:$LINENO: result: yes" >&5
14489 echo "${ECHO_T}yes" >&6
14491 echo "$as_me:$LINENO: result: no" >&5
14492 echo "${ECHO_T}no" >&6
14496 echo "$as_me:$LINENO: result: no" >&5
14497 echo "${ECHO_T}no" >&6
14502 if test "x$enable_dlopen" != xyes; then
14503 enable_dlopen=unknown
14504 enable_dlopen_self=unknown
14505 enable_dlopen_self_static=unknown
14512 lt_cv_dlopen="load_add_on"
14514 lt_cv_dlopen_self=yes
14518 lt_cv_dlopen="LoadLibrary"
14523 lt_cv_dlopen="dlopen"
14528 # if libdl is installed we need to link against it
14529 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
14530 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
14531 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
14532 echo $ECHO_N "(cached) $ECHO_C" >&6
14534 ac_check_lib_save_LIBS=$LIBS
14536 cat >conftest.$ac_ext <<_ACEOF
14539 cat confdefs.h >>conftest.$ac_ext
14540 cat >>conftest.$ac_ext <<_ACEOF
14541 /* end confdefs.h. */
14543 /* Override any gcc2 internal prototype to avoid an error. */
14547 /* We use char because int might match the return type of a gcc2
14548 builtin and then its argument prototype would still apply. */
14558 rm -f conftest.$ac_objext conftest$ac_exeext
14559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14560 (eval $ac_link) 2>conftest.er1
14562 grep -v '^ *+' conftest.er1 >conftest.err
14564 cat conftest.err >&5
14565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14566 (exit $ac_status); } &&
14567 { ac_try='test -z "$ac_c_werror_flag"
14568 || test ! -s conftest.err'
14569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14570 (eval $ac_try) 2>&5
14572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14573 (exit $ac_status); }; } &&
14574 { ac_try='test -s conftest$ac_exeext'
14575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14576 (eval $ac_try) 2>&5
14578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14579 (exit $ac_status); }; }; then
14580 ac_cv_lib_dl_dlopen=yes
14582 echo "$as_me: failed program was:" >&5
14583 sed 's/^/| /' conftest.$ac_ext >&5
14585 ac_cv_lib_dl_dlopen=no
14587 rm -f conftest.err conftest.$ac_objext \
14588 conftest$ac_exeext conftest.$ac_ext
14589 LIBS=$ac_check_lib_save_LIBS
14591 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
14592 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
14593 if test $ac_cv_lib_dl_dlopen = yes; then
14594 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
14597 lt_cv_dlopen="dyld"
14599 lt_cv_dlopen_self=yes
14606 echo "$as_me:$LINENO: checking for shl_load" >&5
14607 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
14608 if test "${ac_cv_func_shl_load+set}" = set; then
14609 echo $ECHO_N "(cached) $ECHO_C" >&6
14611 cat >conftest.$ac_ext <<_ACEOF
14614 cat confdefs.h >>conftest.$ac_ext
14615 cat >>conftest.$ac_ext <<_ACEOF
14616 /* end confdefs.h. */
14617 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
14618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14619 #define shl_load innocuous_shl_load
14621 /* System header to define __stub macros and hopefully few prototypes,
14622 which can conflict with char shl_load (); below.
14623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14624 <limits.h> exists even on freestanding compilers. */
14627 # include <limits.h>
14629 # include <assert.h>
14634 /* Override any gcc2 internal prototype to avoid an error. */
14639 /* We use char because int might match the return type of a gcc2
14640 builtin and then its argument prototype would still apply. */
14642 /* The GNU C library defines this for functions which it implements
14643 to always fail with ENOSYS. Some functions are actually named
14644 something starting with __ and the normal name is an alias. */
14645 #if defined (__stub_shl_load) || defined (__stub___shl_load)
14648 char (*f) () = shl_load;
14657 return f != shl_load;
14662 rm -f conftest.$ac_objext conftest$ac_exeext
14663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14664 (eval $ac_link) 2>conftest.er1
14666 grep -v '^ *+' conftest.er1 >conftest.err
14668 cat conftest.err >&5
14669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14670 (exit $ac_status); } &&
14671 { ac_try='test -z "$ac_c_werror_flag"
14672 || test ! -s conftest.err'
14673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14674 (eval $ac_try) 2>&5
14676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14677 (exit $ac_status); }; } &&
14678 { ac_try='test -s conftest$ac_exeext'
14679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14680 (eval $ac_try) 2>&5
14682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14683 (exit $ac_status); }; }; then
14684 ac_cv_func_shl_load=yes
14686 echo "$as_me: failed program was:" >&5
14687 sed 's/^/| /' conftest.$ac_ext >&5
14689 ac_cv_func_shl_load=no
14691 rm -f conftest.err conftest.$ac_objext \
14692 conftest$ac_exeext conftest.$ac_ext
14694 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
14695 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
14696 if test $ac_cv_func_shl_load = yes; then
14697 lt_cv_dlopen="shl_load"
14699 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
14700 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
14701 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
14702 echo $ECHO_N "(cached) $ECHO_C" >&6
14704 ac_check_lib_save_LIBS=$LIBS
14706 cat >conftest.$ac_ext <<_ACEOF
14709 cat confdefs.h >>conftest.$ac_ext
14710 cat >>conftest.$ac_ext <<_ACEOF
14711 /* end confdefs.h. */
14713 /* Override any gcc2 internal prototype to avoid an error. */
14717 /* We use char because int might match the return type of a gcc2
14718 builtin and then its argument prototype would still apply. */
14728 rm -f conftest.$ac_objext conftest$ac_exeext
14729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14730 (eval $ac_link) 2>conftest.er1
14732 grep -v '^ *+' conftest.er1 >conftest.err
14734 cat conftest.err >&5
14735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14736 (exit $ac_status); } &&
14737 { ac_try='test -z "$ac_c_werror_flag"
14738 || test ! -s conftest.err'
14739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14740 (eval $ac_try) 2>&5
14742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14743 (exit $ac_status); }; } &&
14744 { ac_try='test -s conftest$ac_exeext'
14745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14746 (eval $ac_try) 2>&5
14748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14749 (exit $ac_status); }; }; then
14750 ac_cv_lib_dld_shl_load=yes
14752 echo "$as_me: failed program was:" >&5
14753 sed 's/^/| /' conftest.$ac_ext >&5
14755 ac_cv_lib_dld_shl_load=no
14757 rm -f conftest.err conftest.$ac_objext \
14758 conftest$ac_exeext conftest.$ac_ext
14759 LIBS=$ac_check_lib_save_LIBS
14761 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
14762 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
14763 if test $ac_cv_lib_dld_shl_load = yes; then
14764 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
14766 echo "$as_me:$LINENO: checking for dlopen" >&5
14767 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
14768 if test "${ac_cv_func_dlopen+set}" = set; then
14769 echo $ECHO_N "(cached) $ECHO_C" >&6
14771 cat >conftest.$ac_ext <<_ACEOF
14774 cat confdefs.h >>conftest.$ac_ext
14775 cat >>conftest.$ac_ext <<_ACEOF
14776 /* end confdefs.h. */
14777 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
14778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14779 #define dlopen innocuous_dlopen
14781 /* System header to define __stub macros and hopefully few prototypes,
14782 which can conflict with char dlopen (); below.
14783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14784 <limits.h> exists even on freestanding compilers. */
14787 # include <limits.h>
14789 # include <assert.h>
14794 /* Override any gcc2 internal prototype to avoid an error. */
14799 /* We use char because int might match the return type of a gcc2
14800 builtin and then its argument prototype would still apply. */
14802 /* The GNU C library defines this for functions which it implements
14803 to always fail with ENOSYS. Some functions are actually named
14804 something starting with __ and the normal name is an alias. */
14805 #if defined (__stub_dlopen) || defined (__stub___dlopen)
14808 char (*f) () = dlopen;
14817 return f != dlopen;
14822 rm -f conftest.$ac_objext conftest$ac_exeext
14823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14824 (eval $ac_link) 2>conftest.er1
14826 grep -v '^ *+' conftest.er1 >conftest.err
14828 cat conftest.err >&5
14829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14830 (exit $ac_status); } &&
14831 { ac_try='test -z "$ac_c_werror_flag"
14832 || test ! -s conftest.err'
14833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14834 (eval $ac_try) 2>&5
14836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14837 (exit $ac_status); }; } &&
14838 { ac_try='test -s conftest$ac_exeext'
14839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14840 (eval $ac_try) 2>&5
14842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14843 (exit $ac_status); }; }; then
14844 ac_cv_func_dlopen=yes
14846 echo "$as_me: failed program was:" >&5
14847 sed 's/^/| /' conftest.$ac_ext >&5
14849 ac_cv_func_dlopen=no
14851 rm -f conftest.err conftest.$ac_objext \
14852 conftest$ac_exeext conftest.$ac_ext
14854 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
14855 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
14856 if test $ac_cv_func_dlopen = yes; then
14857 lt_cv_dlopen="dlopen"
14859 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
14860 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
14861 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
14862 echo $ECHO_N "(cached) $ECHO_C" >&6
14864 ac_check_lib_save_LIBS=$LIBS
14866 cat >conftest.$ac_ext <<_ACEOF
14869 cat confdefs.h >>conftest.$ac_ext
14870 cat >>conftest.$ac_ext <<_ACEOF
14871 /* end confdefs.h. */
14873 /* Override any gcc2 internal prototype to avoid an error. */
14877 /* We use char because int might match the return type of a gcc2
14878 builtin and then its argument prototype would still apply. */
14888 rm -f conftest.$ac_objext conftest$ac_exeext
14889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14890 (eval $ac_link) 2>conftest.er1
14892 grep -v '^ *+' conftest.er1 >conftest.err
14894 cat conftest.err >&5
14895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14896 (exit $ac_status); } &&
14897 { ac_try='test -z "$ac_c_werror_flag"
14898 || test ! -s conftest.err'
14899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14900 (eval $ac_try) 2>&5
14902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14903 (exit $ac_status); }; } &&
14904 { ac_try='test -s conftest$ac_exeext'
14905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14906 (eval $ac_try) 2>&5
14908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14909 (exit $ac_status); }; }; then
14910 ac_cv_lib_dl_dlopen=yes
14912 echo "$as_me: failed program was:" >&5
14913 sed 's/^/| /' conftest.$ac_ext >&5
14915 ac_cv_lib_dl_dlopen=no
14917 rm -f conftest.err conftest.$ac_objext \
14918 conftest$ac_exeext conftest.$ac_ext
14919 LIBS=$ac_check_lib_save_LIBS
14921 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
14922 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
14923 if test $ac_cv_lib_dl_dlopen = yes; then
14924 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
14926 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
14927 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
14928 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
14929 echo $ECHO_N "(cached) $ECHO_C" >&6
14931 ac_check_lib_save_LIBS=$LIBS
14932 LIBS="-lsvld $LIBS"
14933 cat >conftest.$ac_ext <<_ACEOF
14936 cat confdefs.h >>conftest.$ac_ext
14937 cat >>conftest.$ac_ext <<_ACEOF
14938 /* end confdefs.h. */
14940 /* Override any gcc2 internal prototype to avoid an error. */
14944 /* We use char because int might match the return type of a gcc2
14945 builtin and then its argument prototype would still apply. */
14955 rm -f conftest.$ac_objext conftest$ac_exeext
14956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14957 (eval $ac_link) 2>conftest.er1
14959 grep -v '^ *+' conftest.er1 >conftest.err
14961 cat conftest.err >&5
14962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14963 (exit $ac_status); } &&
14964 { ac_try='test -z "$ac_c_werror_flag"
14965 || test ! -s conftest.err'
14966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14967 (eval $ac_try) 2>&5
14969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14970 (exit $ac_status); }; } &&
14971 { ac_try='test -s conftest$ac_exeext'
14972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14973 (eval $ac_try) 2>&5
14975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14976 (exit $ac_status); }; }; then
14977 ac_cv_lib_svld_dlopen=yes
14979 echo "$as_me: failed program was:" >&5
14980 sed 's/^/| /' conftest.$ac_ext >&5
14982 ac_cv_lib_svld_dlopen=no
14984 rm -f conftest.err conftest.$ac_objext \
14985 conftest$ac_exeext conftest.$ac_ext
14986 LIBS=$ac_check_lib_save_LIBS
14988 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
14989 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
14990 if test $ac_cv_lib_svld_dlopen = yes; then
14991 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
14993 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
14994 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
14995 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
14996 echo $ECHO_N "(cached) $ECHO_C" >&6
14998 ac_check_lib_save_LIBS=$LIBS
15000 cat >conftest.$ac_ext <<_ACEOF
15003 cat confdefs.h >>conftest.$ac_ext
15004 cat >>conftest.$ac_ext <<_ACEOF
15005 /* end confdefs.h. */
15007 /* Override any gcc2 internal prototype to avoid an error. */
15011 /* We use char because int might match the return type of a gcc2
15012 builtin and then its argument prototype would still apply. */
15022 rm -f conftest.$ac_objext conftest$ac_exeext
15023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15024 (eval $ac_link) 2>conftest.er1
15026 grep -v '^ *+' conftest.er1 >conftest.err
15028 cat conftest.err >&5
15029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15030 (exit $ac_status); } &&
15031 { ac_try='test -z "$ac_c_werror_flag"
15032 || test ! -s conftest.err'
15033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15034 (eval $ac_try) 2>&5
15036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15037 (exit $ac_status); }; } &&
15038 { ac_try='test -s conftest$ac_exeext'
15039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15040 (eval $ac_try) 2>&5
15042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15043 (exit $ac_status); }; }; then
15044 ac_cv_lib_dld_dld_link=yes
15046 echo "$as_me: failed program was:" >&5
15047 sed 's/^/| /' conftest.$ac_ext >&5
15049 ac_cv_lib_dld_dld_link=no
15051 rm -f conftest.err conftest.$ac_objext \
15052 conftest$ac_exeext conftest.$ac_ext
15053 LIBS=$ac_check_lib_save_LIBS
15055 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
15056 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
15057 if test $ac_cv_lib_dld_dld_link = yes; then
15058 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
15079 if test "x$lt_cv_dlopen" != xno; then
15085 case $lt_cv_dlopen in
15087 save_CPPFLAGS="$CPPFLAGS"
15088 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
15090 save_LDFLAGS="$LDFLAGS"
15091 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
15094 LIBS="$lt_cv_dlopen_libs $LIBS"
15096 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
15097 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
15098 if test "${lt_cv_dlopen_self+set}" = set; then
15099 echo $ECHO_N "(cached) $ECHO_C" >&6
15101 if test "$cross_compiling" = yes; then :
15102 lt_cv_dlopen_self=cross
15104 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15105 lt_status=$lt_dlunknown
15106 cat > conftest.$ac_ext <<EOF
15107 #line 15107 "configure"
15108 #include "confdefs.h"
15117 # define LT_DLGLOBAL RTLD_GLOBAL
15120 # define LT_DLGLOBAL DL_GLOBAL
15122 # define LT_DLGLOBAL 0
15126 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15127 find out it does not work in some platform. */
15128 #ifndef LT_DLLAZY_OR_NOW
15130 # define LT_DLLAZY_OR_NOW RTLD_LAZY
15133 # define LT_DLLAZY_OR_NOW DL_LAZY
15136 # define LT_DLLAZY_OR_NOW RTLD_NOW
15139 # define LT_DLLAZY_OR_NOW DL_NOW
15141 # define LT_DLLAZY_OR_NOW 0
15149 extern "C" void exit (int);
15152 void fnord() { int i=42;}
15155 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15156 int status = $lt_dlunknown;
15160 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
15161 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
15162 /* dlclose (self); */
15168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15169 (eval $ac_link) 2>&5
15171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15172 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
15173 (./conftest; exit; ) 2>/dev/null
15175 case x$lt_status in
15176 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
15177 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
15178 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
15181 # compilation failed
15182 lt_cv_dlopen_self=no
15189 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
15190 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
15192 if test "x$lt_cv_dlopen_self" = xyes; then
15193 LDFLAGS="$LDFLAGS $link_static_flag"
15194 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
15195 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
15196 if test "${lt_cv_dlopen_self_static+set}" = set; then
15197 echo $ECHO_N "(cached) $ECHO_C" >&6
15199 if test "$cross_compiling" = yes; then :
15200 lt_cv_dlopen_self_static=cross
15202 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15203 lt_status=$lt_dlunknown
15204 cat > conftest.$ac_ext <<EOF
15205 #line 15205 "configure"
15206 #include "confdefs.h"
15215 # define LT_DLGLOBAL RTLD_GLOBAL
15218 # define LT_DLGLOBAL DL_GLOBAL
15220 # define LT_DLGLOBAL 0
15224 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15225 find out it does not work in some platform. */
15226 #ifndef LT_DLLAZY_OR_NOW
15228 # define LT_DLLAZY_OR_NOW RTLD_LAZY
15231 # define LT_DLLAZY_OR_NOW DL_LAZY
15234 # define LT_DLLAZY_OR_NOW RTLD_NOW
15237 # define LT_DLLAZY_OR_NOW DL_NOW
15239 # define LT_DLLAZY_OR_NOW 0
15247 extern "C" void exit (int);
15250 void fnord() { int i=42;}
15253 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15254 int status = $lt_dlunknown;
15258 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
15259 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
15260 /* dlclose (self); */
15266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15267 (eval $ac_link) 2>&5
15269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15270 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
15271 (./conftest; exit; ) 2>/dev/null
15273 case x$lt_status in
15274 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
15275 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
15276 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
15279 # compilation failed
15280 lt_cv_dlopen_self_static=no
15287 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
15288 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
15291 CPPFLAGS="$save_CPPFLAGS"
15292 LDFLAGS="$save_LDFLAGS"
15297 case $lt_cv_dlopen_self in
15298 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
15299 *) enable_dlopen_self=unknown ;;
15302 case $lt_cv_dlopen_self_static in
15303 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
15304 *) enable_dlopen_self_static=unknown ;;
15309 # Report which librarie types wil actually be built
15310 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
15311 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
15312 echo "$as_me:$LINENO: result: $can_build_shared" >&5
15313 echo "${ECHO_T}$can_build_shared" >&6
15315 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
15316 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
15317 test "$can_build_shared" = "no" && enable_shared=no
15319 # On AIX, shared libraries and static libraries use the same namespace, and
15320 # are all built from PIC.
15323 test "$enable_shared" = yes && enable_static=no
15324 if test -n "$RANLIB"; then
15325 archive_cmds="$archive_cmds~\$RANLIB \$lib"
15326 postinstall_cmds='$RANLIB $lib'
15331 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
15332 test "$enable_shared" = yes && enable_static=no
15335 darwin* | rhapsody*)
15336 if test "$GCC" = yes; then
15337 archive_cmds_need_lc=no
15339 rhapsody* | darwin1.[012])
15340 allow_undefined_flag='-undefined suppress'
15343 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15344 allow_undefined_flag='-flat_namespace -undefined suppress'
15346 case ${MACOSX_DEPLOYMENT_TARGET} in
15348 allow_undefined_flag='-flat_namespace -undefined suppress'
15351 allow_undefined_flag='-undefined dynamic_lookup'
15357 output_verbose_link_cmd='echo'
15358 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
15359 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15360 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
15361 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15362 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15364 hardcode_automatic=yes
15365 hardcode_shlibpath_var=unsupported
15366 whole_archive_flag_spec='-all_load $convenience'
15367 link_all_deplibs=yes
15373 echo "$as_me:$LINENO: result: $enable_shared" >&5
15374 echo "${ECHO_T}$enable_shared" >&6
15376 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
15377 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
15378 # Make sure either enable_shared or enable_static is yes.
15379 test "$enable_shared" = yes || enable_static=yes
15380 echo "$as_me:$LINENO: result: $enable_static" >&5
15381 echo "${ECHO_T}$enable_static" >&6
15383 # The else clause should only fire when bootstrapping the
15384 # libtool distribution, otherwise you forgot to ship ltmain.sh
15385 # with your package, and you will get complaints that there are
15386 # no rules to generate ltmain.sh.
15387 if test -f "$ltmain"; then
15388 # See if we are running on zsh, and set the options which allow our commands through
15389 # without removal of \ escapes.
15390 if test -n "${ZSH_VERSION+set}" ; then
15391 setopt NO_GLOB_SUBST
15393 # Now quote all the things that may contain metacharacters while being
15394 # careful not to overquote the AC_SUBSTed values. We take copies of the
15395 # variables and quote the copies for generation of the libtool script.
15396 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
15398 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15399 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15400 deplibs_check_method reload_flag reload_cmds need_locks \
15401 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15402 lt_cv_sys_global_symbol_to_c_name_address \
15403 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15404 old_postinstall_cmds old_postuninstall_cmds \
15408 lt_prog_compiler_wl \
15409 lt_prog_compiler_pic \
15410 lt_prog_compiler_static \
15411 lt_prog_compiler_no_builtin_flag \
15412 export_dynamic_flag_spec \
15413 thread_safe_flag_spec \
15414 whole_archive_flag_spec \
15415 enable_shared_with_static_runtimes \
15417 old_archive_from_new_cmds \
15422 compiler_lib_search_path \
15424 archive_expsym_cmds \
15426 postuninstall_cmds \
15427 old_archive_from_expsyms_cmds \
15428 allow_undefined_flag \
15429 no_undefined_flag \
15430 export_symbols_cmds \
15431 hardcode_libdir_flag_spec \
15432 hardcode_libdir_flag_spec_ld \
15433 hardcode_libdir_separator \
15434 hardcode_automatic \
15436 module_expsym_cmds \
15437 lt_cv_prog_compiler_c_o \
15439 include_expsyms; do
15442 old_archive_cmds | \
15443 old_archive_from_new_cmds | \
15445 archive_expsym_cmds | \
15447 module_expsym_cmds | \
15448 old_archive_from_expsyms_cmds | \
15449 export_symbols_cmds | \
15450 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15451 postinstall_cmds | postuninstall_cmds | \
15452 old_postinstall_cmds | old_postuninstall_cmds | \
15453 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
15454 # Double-quote double-evaled strings.
15455 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15458 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15464 *'\$0 --fallback-echo"')
15465 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15469 cfgfile="${ofile}T"
15470 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
15472 { echo "$as_me:$LINENO: creating $ofile" >&5
15473 echo "$as_me: creating $ofile" >&6;}
15475 cat <<__EOF__ >> "$cfgfile"
15478 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15479 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
15480 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15482 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
15483 # Free Software Foundation, Inc.
15485 # This file is part of GNU Libtool:
15486 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
15488 # This program is free software; you can redistribute it and/or modify
15489 # it under the terms of the GNU General Public License as published by
15490 # the Free Software Foundation; either version 2 of the License, or
15491 # (at your option) any later version.
15493 # This program is distributed in the hope that it will be useful, but
15494 # WITHOUT ANY WARRANTY; without even the implied warranty of
15495 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15496 # General Public License for more details.
15498 # You should have received a copy of the GNU General Public License
15499 # along with this program; if not, write to the Free Software
15500 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
15502 # As a special exception to the GNU General Public License, if you
15503 # distribute this file as part of a program that contains a
15504 # configuration script generated by Autoconf, you may include it under
15505 # the same distribution terms that you use for the rest of that program.
15507 # A sed program that does not truncate output.
15510 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15511 Xsed="$SED -e s/^X//"
15513 # The HP-UX ksh and POSIX shell print the target directory to stdout
15514 # if CDPATH is set.
15515 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
15517 # The names of the tagged configurations supported by this script.
15520 # ### BEGIN LIBTOOL CONFIG
15522 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15524 # Shell to use when invoking shell scripts.
15527 # Whether or not to build shared libraries.
15528 build_libtool_libs=$enable_shared
15530 # Whether or not to build static libraries.
15531 build_old_libs=$enable_static
15533 # Whether or not to add -lc for building shared libraries.
15534 build_libtool_need_lc=$archive_cmds_need_lc
15536 # Whether or not to disallow shared libs when runtime libs are static
15537 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15539 # Whether or not to optimize for fast installation.
15540 fast_install=$enable_fast_install
15543 host_alias=$host_alias
15546 # An echo program that does not interpret backslashes.
15551 AR_FLAGS=$lt_AR_FLAGS
15556 # A language-specific compiler.
15559 # Is the compiler the GNU C compiler?
15565 # The linker used to build libraries.
15568 # Whether we need hard or soft links.
15571 # A BSD-compatible nm program.
15574 # A symbol stripping program
15577 # Used to examine libraries when file_magic_cmd begins "file"
15578 MAGIC_CMD=$MAGIC_CMD
15580 # Used on cygwin: DLL creation program.
15583 # Used on cygwin: object dumper.
15586 # Used on cygwin: assembler.
15589 # The name of the directory that contains temporary libtool files.
15592 # How to create reloadable object files.
15593 reload_flag=$lt_reload_flag
15594 reload_cmds=$lt_reload_cmds
15596 # How to pass a linker flag through the compiler.
15597 wl=$lt_lt_prog_compiler_wl
15599 # Object file suffix (normally "o").
15600 objext="$ac_objext"
15602 # Old archive suffix (normally "a").
15605 # Shared library suffix (normally ".so").
15606 shrext_cmds='$shrext_cmds'
15608 # Executable file suffix (normally "").
15611 # Additional compiler flags for building library objects.
15612 pic_flag=$lt_lt_prog_compiler_pic
15615 # What is the maximum length of a command?
15616 max_cmd_len=$lt_cv_sys_max_cmd_len
15618 # Does compiler simultaneously support -c and -o options?
15619 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15621 # Must we lock files when doing compilation ?
15622 need_locks=$lt_need_locks
15624 # Do we need the lib prefix for modules?
15625 need_lib_prefix=$need_lib_prefix
15627 # Do we need a version for libraries?
15628 need_version=$need_version
15630 # Whether dlopen is supported.
15631 dlopen_support=$enable_dlopen
15633 # Whether dlopen of programs is supported.
15634 dlopen_self=$enable_dlopen_self
15636 # Whether dlopen of statically linked programs is supported.
15637 dlopen_self_static=$enable_dlopen_self_static
15639 # Compiler flag to prevent dynamic linking.
15640 link_static_flag=$lt_lt_prog_compiler_static
15642 # Compiler flag to turn off builtin functions.
15643 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15645 # Compiler flag to allow reflexive dlopens.
15646 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15648 # Compiler flag to generate shared objects directly from archives.
15649 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15651 # Compiler flag to generate thread-safe objects.
15652 thread_safe_flag_spec=$lt_thread_safe_flag_spec
15654 # Library versioning type.
15655 version_type=$version_type
15657 # Format of library name prefix.
15658 libname_spec=$lt_libname_spec
15660 # List of archive names. First name is the real one, the rest are links.
15661 # The last name is the one that the linker finds with -lNAME.
15662 library_names_spec=$lt_library_names_spec
15664 # The coded name of the library, if different from the real name.
15665 soname_spec=$lt_soname_spec
15667 # Commands used to build and install an old-style archive.
15669 old_archive_cmds=$lt_old_archive_cmds
15670 old_postinstall_cmds=$lt_old_postinstall_cmds
15671 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15673 # Create an old-style archive from a shared archive.
15674 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15676 # Create a temporary old-style archive to link instead of a shared archive.
15677 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15679 # Commands used to build and install a shared archive.
15680 archive_cmds=$lt_archive_cmds
15681 archive_expsym_cmds=$lt_archive_expsym_cmds
15682 postinstall_cmds=$lt_postinstall_cmds
15683 postuninstall_cmds=$lt_postuninstall_cmds
15685 # Commands used to build a loadable module (assumed same as above if empty)
15686 module_cmds=$lt_module_cmds
15687 module_expsym_cmds=$lt_module_expsym_cmds
15689 # Commands to strip libraries.
15690 old_striplib=$lt_old_striplib
15691 striplib=$lt_striplib
15693 # Dependencies to place before the objects being linked to create a
15695 predep_objects=$lt_predep_objects
15697 # Dependencies to place after the objects being linked to create a
15699 postdep_objects=$lt_postdep_objects
15701 # Dependencies to place before the objects being linked to create a
15703 predeps=$lt_predeps
15705 # Dependencies to place after the objects being linked to create a
15707 postdeps=$lt_postdeps
15709 # The library search path used internally by the compiler when linking
15710 # a shared library.
15711 compiler_lib_search_path=$lt_compiler_lib_search_path
15713 # Method to check whether dependent libraries are shared objects.
15714 deplibs_check_method=$lt_deplibs_check_method
15716 # Command to use when deplibs_check_method == file_magic.
15717 file_magic_cmd=$lt_file_magic_cmd
15719 # Flag that allows shared libraries with undefined symbols to be built.
15720 allow_undefined_flag=$lt_allow_undefined_flag
15722 # Flag that forces no undefined symbols.
15723 no_undefined_flag=$lt_no_undefined_flag
15725 # Commands used to finish a libtool library installation in a directory.
15726 finish_cmds=$lt_finish_cmds
15728 # Same as above, but a single script fragment to be evaled but not shown.
15729 finish_eval=$lt_finish_eval
15731 # Take the output of nm and produce a listing of raw symbols and C names.
15732 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15734 # Transform the output of nm in a proper C declaration
15735 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15737 # Transform the output of nm in a C name address pair
15738 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15740 # This is the shared library runtime path variable.
15741 runpath_var=$runpath_var
15743 # This is the shared library path variable.
15744 shlibpath_var=$shlibpath_var
15746 # Is shlibpath searched before the hard-coded library search path?
15747 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15749 # How to hardcode a shared library path into an executable.
15750 hardcode_action=$hardcode_action
15752 # Whether we should hardcode library paths into libraries.
15753 hardcode_into_libs=$hardcode_into_libs
15755 # Flag to hardcode \$libdir into a binary during linking.
15756 # This must work even if \$libdir does not exist.
15757 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15759 # If ld is used when linking, flag to hardcode \$libdir into
15760 # a binary during linking. This must work even if \$libdir does
15762 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15764 # Whether we need a single -rpath flag with a separated argument.
15765 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15767 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15768 # resulting binary.
15769 hardcode_direct=$hardcode_direct
15771 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15772 # resulting binary.
15773 hardcode_minus_L=$hardcode_minus_L
15775 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15776 # the resulting binary.
15777 hardcode_shlibpath_var=$hardcode_shlibpath_var
15779 # Set to yes if building a shared library automatically hardcodes DIR into the library
15780 # and all subsequent libraries and executables linked against it.
15781 hardcode_automatic=$hardcode_automatic
15783 # Variables whose values should be saved in libtool wrapper scripts and
15784 # restored at relink time.
15785 variables_saved_for_relink="$variables_saved_for_relink"
15787 # Whether libtool must link a program against all its dependency libraries.
15788 link_all_deplibs=$link_all_deplibs
15790 # Compile-time system search path for libraries
15791 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15793 # Run-time system search path for libraries
15794 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15796 # Fix the shell variable \$srcfile for the compiler.
15797 fix_srcfile_path="$fix_srcfile_path"
15799 # Set to yes if exported symbols are required.
15800 always_export_symbols=$always_export_symbols
15802 # The commands to list exported symbols.
15803 export_symbols_cmds=$lt_export_symbols_cmds
15805 # The commands to extract the exported symbol list from a shared archive.
15806 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15808 # Symbols that should not be listed in the preloaded symbols.
15809 exclude_expsyms=$lt_exclude_expsyms
15811 # Symbols that must always be exported.
15812 include_expsyms=$lt_include_expsyms
15814 # ### END LIBTOOL CONFIG
15821 cat <<\EOF >> "$cfgfile"
15823 # AIX sometimes has problems with the GCC collect2 program. For some
15824 # reason, if we set the COLLECT_NAMES environment variable, the problems
15825 # vanish in a puff of smoke.
15826 if test "X${COLLECT_NAMES+set}" != Xset; then
15828 export COLLECT_NAMES
15834 # We use sed instead of cat because bash on DJGPP gets confused if
15835 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15836 # text mode, it properly converts lines to CR/LF. This bash problem
15837 # is reportedly fixed, but why not run on old versions too?
15838 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
15840 mv -f "$cfgfile" "$ofile" || \
15841 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15845 # If there is no Makefile yet, we rely on a make rule to execute
15846 # `config.status --recheck' to rerun these tests and create the
15847 # libtool script then.
15848 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15849 if test -f "$ltmain_in"; then
15850 test -f Makefile && make "$ltmain"
15856 ac_cpp='$CPP $CPPFLAGS'
15857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15864 # Check whether --with-tags or --without-tags was given.
15865 if test "${with_tags+set}" = set; then
15866 withval="$with_tags"
15867 tagnames="$withval"
15870 if test -f "$ltmain" && test -n "$tagnames"; then
15871 if test ! -f "${ofile}"; then
15872 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
15873 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
15876 if test -z "$LTCC"; then
15877 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
15878 if test -z "$LTCC"; then
15879 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
15880 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
15882 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
15883 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
15887 # Extract list of available tagged configurations in $ofile.
15888 # Note that this assumes the entire list is on one line.
15889 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
15891 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
15892 for tagname in $tagnames; do
15894 # Check whether tagname contains only valid characters
15895 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
15897 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
15898 echo "$as_me: error: invalid tag name: $tagname" >&2;}
15899 { (exit 1); exit 1; }; }
15903 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
15905 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
15906 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
15907 { (exit 1); exit 1; }; }
15910 # Update the list of available tags.
15911 if test -n "$tagname"; then
15912 echo appending configuration tag \"$tagname\" to $ofile
15916 if test -n "$CXX" && test "X$CXX" != "Xno"; then
15918 ac_cpp='$CXXCPP $CPPFLAGS'
15919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15926 archive_cmds_need_lc_CXX=no
15927 allow_undefined_flag_CXX=
15928 always_export_symbols_CXX=no
15929 archive_expsym_cmds_CXX=
15930 export_dynamic_flag_spec_CXX=
15931 hardcode_direct_CXX=no
15932 hardcode_libdir_flag_spec_CXX=
15933 hardcode_libdir_flag_spec_ld_CXX=
15934 hardcode_libdir_separator_CXX=
15935 hardcode_minus_L_CXX=no
15936 hardcode_automatic_CXX=no
15938 module_expsym_cmds_CXX=
15939 link_all_deplibs_CXX=unknown
15940 old_archive_cmds_CXX=$old_archive_cmds
15941 no_undefined_flag_CXX=
15942 whole_archive_flag_spec_CXX=
15943 enable_shared_with_static_runtimes_CXX=no
15945 # Dependencies to place before and after the object being linked:
15946 predep_objects_CXX=
15947 postdep_objects_CXX=
15950 compiler_lib_search_path_CXX=
15952 # Source file extension for C++ test sources.
15955 # Object file extension for compiled C++ test sources.
15959 # Code to be used in simple compile tests
15960 lt_simple_compile_test_code="int some_variable = 0;\n"
15962 # Code to be used in simple link tests
15963 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
15965 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15967 # If no C compiler was specified, use CC.
15970 # Allow CC to be a program name with arguments.
15974 # Allow CC to be a program name with arguments.
15979 lt_save_with_gnu_ld=$with_gnu_ld
15980 lt_save_path_LD=$lt_cv_path_LD
15981 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
15982 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
15984 unset lt_cv_prog_gnu_ld
15986 if test -n "${lt_cv_path_LDCXX+set}"; then
15987 lt_cv_path_LD=$lt_cv_path_LDCXX
15989 unset lt_cv_path_LD
15991 test -z "${LDCXX+set}" || LD=$LDCXX
15995 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
15997 # We don't want -fno-exception wen compiling C++ code, so set the
15998 # no_builtin_flag separately
15999 if test "$GXX" = yes; then
16000 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
16002 lt_prog_compiler_no_builtin_flag_CXX=
16005 if test "$GXX" = yes; then
16006 # Set up default GNU C++ configuration
16009 # Check whether --with-gnu-ld or --without-gnu-ld was given.
16010 if test "${with_gnu_ld+set}" = set; then
16011 withval="$with_gnu_ld"
16012 test "$withval" = no || with_gnu_ld=yes
16017 if test "$GCC" = yes; then
16018 # Check if gcc -print-prog-name=ld gives a path.
16019 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
16020 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
16023 # gcc leaves a trailing carriage return which upsets mingw
16024 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16026 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
16029 # Accept absolute paths.
16031 re_direlt='/[^/][^/]*/\.\./'
16032 # Canonicalize the pathname of ld
16033 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
16034 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
16035 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
16037 test -z "$LD" && LD="$ac_prog"
16040 # If it fails, then pretend we aren't using GCC.
16044 # If it is relative, then search for the first ld in PATH.
16045 with_gnu_ld=unknown
16048 elif test "$with_gnu_ld" = yes; then
16049 echo "$as_me:$LINENO: checking for GNU ld" >&5
16050 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
16052 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
16053 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
16055 if test "${lt_cv_path_LD+set}" = set; then
16056 echo $ECHO_N "(cached) $ECHO_C" >&6
16058 if test -z "$LD"; then
16059 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
16060 for ac_dir in $PATH; do
16062 test -z "$ac_dir" && ac_dir=.
16063 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
16064 lt_cv_path_LD="$ac_dir/$ac_prog"
16065 # Check to see if the program is GNU ld. I'd rather use --version,
16066 # but apparently some GNU ld's only accept -v.
16067 # Break only if it was the GNU/non-GNU ld that we prefer.
16068 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
16069 *GNU* | *'with BFD'*)
16070 test "$with_gnu_ld" != no && break
16073 test "$with_gnu_ld" != yes && break
16080 lt_cv_path_LD="$LD" # Let the user override the test with a path.
16084 LD="$lt_cv_path_LD"
16085 if test -n "$LD"; then
16086 echo "$as_me:$LINENO: result: $LD" >&5
16087 echo "${ECHO_T}$LD" >&6
16089 echo "$as_me:$LINENO: result: no" >&5
16090 echo "${ECHO_T}no" >&6
16092 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
16093 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
16094 { (exit 1); exit 1; }; }
16095 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
16096 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
16097 if test "${lt_cv_prog_gnu_ld+set}" = set; then
16098 echo $ECHO_N "(cached) $ECHO_C" >&6
16100 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
16101 case `$LD -v 2>&1 </dev/null` in
16102 *GNU* | *'with BFD'*)
16103 lt_cv_prog_gnu_ld=yes
16106 lt_cv_prog_gnu_ld=no
16110 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
16111 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
16112 with_gnu_ld=$lt_cv_prog_gnu_ld
16116 # Check if GNU C++ uses GNU ld as the underlying linker, since the
16117 # archiving commands below assume that GNU ld is being used.
16118 if test "$with_gnu_ld" = yes; then
16119 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
16120 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16122 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
16123 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
16125 # If archive_cmds runs LD, not CC, wlarc should be empty
16126 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
16127 # investigate it a little bit more. (MM)
16130 # ancient GNU ld didn't support --whole-archive et. al.
16131 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
16132 grep 'no-whole-archive' > /dev/null; then
16133 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16135 whole_archive_flag_spec_CXX=
16141 # A generic and very simple default shared library creation
16142 # command for GNU C++ for the case where it uses the native
16143 # linker, instead of GNU ld. If possible, this setting should
16144 # overridden to take advantage of the native linker features on
16145 # the platform it is being used on.
16146 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16149 # Commands to make compiler produce verbose output that lists
16150 # what "hidden" libraries, object files and flags are used when
16151 # linking a shared library.
16152 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
16160 # PORTME: fill in a description of your system's C++ link characteristics
16161 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16162 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16166 # FIXME: insert proper C++ library support
16170 if test "$host_cpu" = ia64; then
16171 # On IA64, the linker does run time linking by default, so we don't
16172 # have to do anything special.
16173 aix_use_runtimelinking=no
16174 exp_sym_flag='-Bexport'
16177 aix_use_runtimelinking=no
16179 # Test if we are trying to use run time linking or normal
16180 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16181 # need to do runtime linking.
16182 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
16183 for ld_flag in $LDFLAGS; do
16186 aix_use_runtimelinking=yes
16193 exp_sym_flag='-bexport'
16194 no_entry_flag='-bnoentry'
16197 # When large executables or shared objects are built, AIX ld can
16198 # have problems creating the table of contents. If linking a library
16199 # or program results in "error TOC overflow" add -mminimal-toc to
16200 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16201 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16203 archive_cmds_CXX=''
16204 hardcode_direct_CXX=yes
16205 hardcode_libdir_separator_CXX=':'
16206 link_all_deplibs_CXX=yes
16208 if test "$GXX" = yes; then
16209 case $host_os in aix4.012|aix4.012.*)
16210 # We only want to do this on AIX 4.2 and lower, the check
16211 # below for broken collect2 doesn't work under 4.3+
16212 collect2name=`${CC} -print-prog-name=collect2`
16213 if test -f "$collect2name" && \
16214 strings "$collect2name" | grep resolve_lib_name >/dev/null
16216 # We have reworked collect2
16217 hardcode_direct_CXX=yes
16219 # We have old collect2
16220 hardcode_direct_CXX=unsupported
16221 # It fails to find uninstalled libraries when the uninstalled
16222 # path is not listed in the libpath. Setting hardcode_minus_L
16223 # to unsupported forces relinking
16224 hardcode_minus_L_CXX=yes
16225 hardcode_libdir_flag_spec_CXX='-L$libdir'
16226 hardcode_libdir_separator_CXX=
16229 shared_flag='-shared'
16232 if test "$host_cpu" = ia64; then
16233 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16234 # chokes on -Wl,-G. The following line is correct:
16237 if test "$aix_use_runtimelinking" = yes; then
16238 shared_flag='${wl}-G'
16240 shared_flag='${wl}-bM:SRE'
16245 # It seems that -bexpall does not export symbols beginning with
16246 # underscore (_), so it is better to generate a list of symbols to export.
16247 always_export_symbols_CXX=yes
16248 if test "$aix_use_runtimelinking" = yes; then
16249 # Warning - without using the other runtime loading flags (-brtl),
16250 # -berok will link without error, but may produce a broken library.
16251 allow_undefined_flag_CXX='-berok'
16252 # Determine the default libpath from the value encoded in an empty executable.
16253 cat >conftest.$ac_ext <<_ACEOF
16256 cat confdefs.h >>conftest.$ac_ext
16257 cat >>conftest.$ac_ext <<_ACEOF
16258 /* end confdefs.h. */
16268 rm -f conftest.$ac_objext conftest$ac_exeext
16269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16270 (eval $ac_link) 2>conftest.er1
16272 grep -v '^ *+' conftest.er1 >conftest.err
16274 cat conftest.err >&5
16275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16276 (exit $ac_status); } &&
16277 { ac_try='test -z "$ac_cxx_werror_flag"
16278 || test ! -s conftest.err'
16279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16280 (eval $ac_try) 2>&5
16282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16283 (exit $ac_status); }; } &&
16284 { ac_try='test -s conftest$ac_exeext'
16285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16286 (eval $ac_try) 2>&5
16288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16289 (exit $ac_status); }; }; then
16291 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16293 # Check for a 64-bit object if we didn't find anything.
16294 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16297 echo "$as_me: failed program was:" >&5
16298 sed 's/^/| /' conftest.$ac_ext >&5
16301 rm -f conftest.err conftest.$ac_objext \
16302 conftest$ac_exeext conftest.$ac_ext
16303 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16305 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
16307 archive_expsym_cmds_CXX="\$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"
16309 if test "$host_cpu" = ia64; then
16310 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
16311 allow_undefined_flag_CXX="-z nodefs"
16312 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
16314 # Determine the default libpath from the value encoded in an empty executable.
16315 cat >conftest.$ac_ext <<_ACEOF
16318 cat confdefs.h >>conftest.$ac_ext
16319 cat >>conftest.$ac_ext <<_ACEOF
16320 /* end confdefs.h. */
16330 rm -f conftest.$ac_objext conftest$ac_exeext
16331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16332 (eval $ac_link) 2>conftest.er1
16334 grep -v '^ *+' conftest.er1 >conftest.err
16336 cat conftest.err >&5
16337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16338 (exit $ac_status); } &&
16339 { ac_try='test -z "$ac_cxx_werror_flag"
16340 || test ! -s conftest.err'
16341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16342 (eval $ac_try) 2>&5
16344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16345 (exit $ac_status); }; } &&
16346 { ac_try='test -s conftest$ac_exeext'
16347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16348 (eval $ac_try) 2>&5
16350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16351 (exit $ac_status); }; }; then
16353 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16355 # Check for a 64-bit object if we didn't find anything.
16356 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16359 echo "$as_me: failed program was:" >&5
16360 sed 's/^/| /' conftest.$ac_ext >&5
16363 rm -f conftest.err conftest.$ac_objext \
16364 conftest$ac_exeext conftest.$ac_ext
16365 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16367 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
16368 # Warning - without using the other run time loading flags,
16369 # -berok will link without error, but may produce a broken library.
16370 no_undefined_flag_CXX=' ${wl}-bernotok'
16371 allow_undefined_flag_CXX=' ${wl}-berok'
16372 # -bexpall does not export symbols beginning with underscore (_)
16373 always_export_symbols_CXX=yes
16374 # Exported symbols can be pulled into shared objects from archives
16375 whole_archive_flag_spec_CXX=' '
16376 archive_cmds_need_lc_CXX=yes
16377 # This is similar to how AIX traditionally builds it's shared libraries.
16378 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
16383 case $cc_basename in
16385 # FIXME: insert proper C++ library support
16391 cygwin* | mingw* | pw32*)
16392 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
16393 # as there is no search path for DLLs.
16394 hardcode_libdir_flag_spec_CXX='-L$libdir'
16395 allow_undefined_flag_CXX=unsupported
16396 always_export_symbols_CXX=no
16397 enable_shared_with_static_runtimes_CXX=yes
16399 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16400 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16401 # If the export-symbols file already is a .def file (1st line
16402 # is EXPORTS), use it as is; otherwise, prepend...
16403 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16404 cp $export_symbols $output_objdir/$soname.def;
16406 echo EXPORTS > $output_objdir/$soname.def;
16407 cat $export_symbols >> $output_objdir/$soname.def;
16409 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16415 darwin* | rhapsody*)
16416 if test "$GXX" = yes; then
16417 archive_cmds_need_lc_CXX=no
16419 rhapsody* | darwin1.[012])
16420 allow_undefined_flag_CXX='-undefined suppress'
16423 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16424 allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
16426 case ${MACOSX_DEPLOYMENT_TARGET} in
16428 allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
16431 allow_undefined_flag_CXX='-undefined dynamic_lookup'
16437 lt_int_apple_cc_single_mod=no
16438 output_verbose_link_cmd='echo'
16439 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
16440 lt_int_apple_cc_single_mod=yes
16442 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
16443 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16445 archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16447 module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16449 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16450 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
16451 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16453 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16455 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16456 hardcode_direct_CXX=no
16457 hardcode_automatic_CXX=yes
16458 hardcode_shlibpath_var_CXX=unsupported
16459 whole_archive_flag_spec_CXX='-all_load $convenience'
16460 link_all_deplibs_CXX=yes
16467 case $cc_basename in
16469 # FIXME: insert proper C++ library support
16473 # Green Hills C++ Compiler
16474 # FIXME: insert proper C++ library support
16478 # FIXME: insert proper C++ library support
16484 # C++ shared libraries reported to be fairly broken before switch to ELF
16488 archive_cmds_need_lc_CXX=no
16490 freebsd* | kfreebsd*-gnu)
16491 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
16498 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
16499 hardcode_libdir_separator_CXX=:
16500 export_dynamic_flag_spec_CXX='${wl}-E'
16501 hardcode_direct_CXX=yes
16502 hardcode_minus_L_CXX=yes # Not in the search PATH,
16503 # but as the default
16504 # location of the library.
16506 case $cc_basename in
16508 # FIXME: insert proper C++ library support
16512 archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
16513 # Commands to make compiler produce verbose output that lists
16514 # what "hidden" libraries, object files and flags are used when
16515 # linking a shared library.
16517 # There doesn't appear to be a way to prevent this compiler from
16518 # explicitly linking system object files so we need to strip them
16519 # from the output so that they don't get included in the library
16521 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
16524 if test "$GXX" = yes; then
16525 archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
16527 # FIXME: insert proper C++ library support
16534 if test $with_gnu_ld = no; then
16535 case "$host_cpu" in
16537 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
16538 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
16539 hardcode_libdir_separator_CXX=:
16542 hardcode_libdir_flag_spec_CXX='-L$libdir'
16545 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
16546 hardcode_libdir_separator_CXX=:
16547 export_dynamic_flag_spec_CXX='${wl}-E'
16551 case "$host_cpu" in
16553 hardcode_direct_CXX=no
16554 hardcode_shlibpath_var_CXX=no
16557 hardcode_direct_CXX=no
16558 hardcode_shlibpath_var_CXX=no
16559 hardcode_minus_L_CXX=yes # Not in the search PATH,
16560 # but as the default
16561 # location of the library.
16564 hardcode_direct_CXX=yes
16565 hardcode_minus_L_CXX=yes # Not in the search PATH,
16566 # but as the default
16567 # location of the library.
16571 case $cc_basename in
16573 # FIXME: insert proper C++ library support
16577 case "$host_cpu" in
16579 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
16582 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16585 # Commands to make compiler produce verbose output that lists
16586 # what "hidden" libraries, object files and flags are used when
16587 # linking a shared library.
16589 # There doesn't appear to be a way to prevent this compiler from
16590 # explicitly linking system object files so we need to strip them
16591 # from the output so that they don't get included in the library
16593 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
16596 if test "$GXX" = yes; then
16597 if test $with_gnu_ld = no; then
16598 case "$host_cpu" in
16600 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
16603 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16608 # FIXME: insert proper C++ library support
16615 case $cc_basename in
16618 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
16620 # Archives containing C++ object files must be created using
16621 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
16622 # necessary to make sure instantiated templates are included
16624 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
16627 if test "$GXX" = yes; then
16628 if test "$with_gnu_ld" = no; then
16629 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
16631 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
16634 link_all_deplibs_CXX=yes
16637 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16638 hardcode_libdir_separator_CXX=:
16641 case $cc_basename in
16643 # Kuck and Associates, Inc. (KAI) C++ Compiler
16645 # KCC will only create a shared library if the output file
16646 # ends with ".so" (or ".sl" for HP-UX), so rename the library
16647 # to its proper name (with version) after linking.
16648 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
16649 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
16650 # Commands to make compiler produce verbose output that lists
16651 # what "hidden" libraries, object files and flags are used when
16652 # linking a shared library.
16654 # There doesn't appear to be a way to prevent this compiler from
16655 # explicitly linking system object files so we need to strip them
16656 # from the output so that they don't get included in the library
16658 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
16660 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
16661 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
16663 # Archives containing C++ object files must be created using
16664 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
16665 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
16670 archive_cmds_need_lc_CXX=no
16671 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
16672 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16673 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16674 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
16675 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
16679 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
16680 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
16682 runpath_var=LD_RUN_PATH
16683 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
16684 hardcode_libdir_separator_CXX=:
16686 # Commands to make compiler produce verbose output that lists
16687 # what "hidden" libraries, object files and flags are used when
16688 # linking a shared library.
16690 # There doesn't appear to be a way to prevent this compiler from
16691 # explicitly linking system object files so we need to strip them
16692 # from the output so that they don't get included in the library
16694 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
16699 # FIXME: insert proper C++ library support
16703 # FIXME: insert proper C++ library support
16707 case $cc_basename in
16709 # FIXME: insert proper C++ library support
16713 # FIXME: insert proper C++ library support
16719 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16720 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
16722 hardcode_libdir_flag_spec_CXX='-R$libdir'
16723 hardcode_direct_CXX=yes
16724 hardcode_shlibpath_var_CXX=no
16726 # Workaround some broken pre-1.5 toolchains
16727 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
16730 case $cc_basename in
16732 # Kuck and Associates, Inc. (KAI) C++ Compiler
16734 # KCC will only create a shared library if the output file
16735 # ends with ".so" (or ".sl" for HP-UX), so rename the library
16736 # to its proper name (with version) after linking.
16737 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
16739 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16740 hardcode_libdir_separator_CXX=:
16742 # Archives containing C++ object files must be created using
16743 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
16744 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
16748 # Rational C++ 2.4.1
16749 # FIXME: insert proper C++ library support
16753 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
16754 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
16756 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16757 hardcode_libdir_separator_CXX=:
16759 # Commands to make compiler produce verbose output that lists
16760 # what "hidden" libraries, object files and flags are used when
16761 # linking a shared library.
16763 # There doesn't appear to be a way to prevent this compiler from
16764 # explicitly linking system object files so we need to strip them
16765 # from the output so that they don't get included in the library
16767 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
16770 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
16771 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
16772 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
16774 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16775 hardcode_libdir_separator_CXX=:
16777 # Commands to make compiler produce verbose output that lists
16778 # what "hidden" libraries, object files and flags are used when
16779 # linking a shared library.
16780 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
16783 # FIXME: insert proper C++ library support
16790 case $cc_basename in
16792 # Kuck and Associates, Inc. (KAI) C++ Compiler
16794 # KCC will only create a shared library if the output file
16795 # ends with ".so" (or ".sl" for HP-UX), so rename the library
16796 # to its proper name (with version) after linking.
16797 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
16799 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16800 hardcode_libdir_separator_CXX=:
16802 # Archives containing C++ object files must be created using
16803 # the KAI C++ compiler.
16804 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
16807 # Rational C++ 2.4.1
16808 # FIXME: insert proper C++ library support
16812 allow_undefined_flag_CXX=' -expect_unresolved \*'
16813 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
16814 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
16815 echo "-hidden">> $lib.exp~
16816 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
16819 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
16820 hardcode_libdir_separator_CXX=:
16822 # Commands to make compiler produce verbose output that lists
16823 # what "hidden" libraries, object files and flags are used when
16824 # linking a shared library.
16826 # There doesn't appear to be a way to prevent this compiler from
16827 # explicitly linking system object files so we need to strip them
16828 # from the output so that they don't get included in the library
16830 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
16833 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
16834 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
16835 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
16837 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16838 hardcode_libdir_separator_CXX=:
16840 # Commands to make compiler produce verbose output that lists
16841 # what "hidden" libraries, object files and flags are used when
16842 # linking a shared library.
16843 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
16846 # FIXME: insert proper C++ library support
16853 # FIXME: insert proper C++ library support
16857 archive_cmds_need_lc_CXX=no
16858 case $cc_basename in
16860 # FIXME: insert proper C++ library support
16864 # FIXME: insert proper C++ library support
16870 case $cc_basename in
16873 # FIXME: insert proper C++ library support
16878 # FIXME: insert proper C++ library support
16882 # FIXME: insert proper C++ library support
16888 case $cc_basename in
16890 # Sun C++ 4.2, 5.x and Centerline C++
16891 no_undefined_flag_CXX=' -zdefs'
16892 archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16893 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16894 $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
16896 hardcode_libdir_flag_spec_CXX='-R$libdir'
16897 hardcode_shlibpath_var_CXX=no
16899 solaris2.0-5 | solaris2.0-5.*) ;;
16901 # The C++ compiler is used as linker so we must use $wl
16902 # flag to pass the commands to the underlying system
16904 # Supported since Solaris 2.6 (maybe 2.5.1?)
16905 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
16908 link_all_deplibs_CXX=yes
16910 # Commands to make compiler produce verbose output that lists
16911 # what "hidden" libraries, object files and flags are used when
16912 # linking a shared library.
16914 # There doesn't appear to be a way to prevent this compiler from
16915 # explicitly linking system object files so we need to strip them
16916 # from the output so that they don't get included in the library
16918 output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
16920 # Archives containing C++ object files must be created using
16921 # "CC -xar", where "CC" is the Sun C++ compiler. This is
16922 # necessary to make sure instantiated templates are included
16924 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
16927 # Green Hills C++ Compiler
16928 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16930 # The C++ compiler must be used to create the archive.
16931 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
16934 # GNU C++ compiler with Solaris linker
16935 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
16936 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
16937 if $CC --version | grep -v '^2\.7' > /dev/null; then
16938 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16939 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16940 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
16942 # Commands to make compiler produce verbose output that lists
16943 # what "hidden" libraries, object files and flags are used when
16944 # linking a shared library.
16945 output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
16947 # g++ 2.7 appears to require `-G' NOT `-shared' on this
16949 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16950 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16951 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
16953 # Commands to make compiler produce verbose output that lists
16954 # what "hidden" libraries, object files and flags are used when
16955 # linking a shared library.
16956 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
16959 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
16964 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
16965 archive_cmds_need_lc_CXX=no
16968 case $cc_basename in
16970 # NonStop-UX NCC 3.20
16971 # FIXME: insert proper C++ library support
16975 # FIXME: insert proper C++ library support
16981 # FIXME: insert proper C++ library support
16985 # FIXME: insert proper C++ library support
16989 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
16990 echo "${ECHO_T}$ld_shlibs_CXX" >&6
16991 test "$ld_shlibs_CXX" = no && can_build_shared=no
16997 cat > conftest.$ac_ext <<EOF
17001 Foo (void) { a = 0; }
17007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17008 (eval $ac_compile) 2>&5
17010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17011 (exit $ac_status); }; then
17012 # Parse the compiler output and extract the necessary
17013 # objects, libraries and library flags.
17015 # Sentinel used to keep track of whether or not we are before
17016 # the conftest object file.
17017 pre_test_object_deps_done=no
17019 # The `*' in the case matches for architectures that use `case' in
17020 # $output_verbose_cmd can trigger glob expansion during the loop
17021 # eval without this substitution.
17022 output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
17024 for p in `eval $output_verbose_link_cmd`; do
17028 # Some compilers place space between "-{L,R}" and the path.
17029 # Remove the space.
17030 if test $p = "-L" \
17031 || test $p = "-R"; then
17038 if test "$pre_test_object_deps_done" = no; then
17041 # Internal compiler library paths should come after those
17042 # provided the user. The postdeps already come after the
17043 # user supplied libs so there is no need to process them.
17044 if test -z "$compiler_lib_search_path_CXX"; then
17045 compiler_lib_search_path_CXX="${prev}${p}"
17047 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
17050 # The "-l" case would never come before the object being
17051 # linked, so don't bother handling this case.
17054 if test -z "$postdeps_CXX"; then
17055 postdeps_CXX="${prev}${p}"
17057 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
17063 # This assumes that the test object file only shows up
17064 # once in the compiler output.
17065 if test "$p" = "conftest.$objext"; then
17066 pre_test_object_deps_done=yes
17070 if test "$pre_test_object_deps_done" = no; then
17071 if test -z "$predep_objects_CXX"; then
17072 predep_objects_CXX="$p"
17074 predep_objects_CXX="$predep_objects_CXX $p"
17077 if test -z "$postdep_objects_CXX"; then
17078 postdep_objects_CXX="$p"
17080 postdep_objects_CXX="$postdep_objects_CXX $p"
17085 *) ;; # Ignore the rest.
17093 echo "libtool.m4: error: problem compiling CXX test program"
17096 $rm -f confest.$objext
17098 case " $postdeps_CXX " in
17099 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
17102 lt_prog_compiler_wl_CXX=
17103 lt_prog_compiler_pic_CXX=
17104 lt_prog_compiler_static_CXX=
17106 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17107 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17109 # C++ specific cases for pic, static, wl, etc.
17110 if test "$GXX" = yes; then
17111 lt_prog_compiler_wl_CXX='-Wl,'
17112 lt_prog_compiler_static_CXX='-static'
17116 # All AIX code is PIC.
17117 if test "$host_cpu" = ia64; then
17118 # AIX 5 now supports IA64 processor
17119 lt_prog_compiler_static_CXX='-Bstatic'
17123 # FIXME: we need at least 68020 code to build shared libraries, but
17124 # adding the `-m68020' flag to GCC prevents building anything better,
17126 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
17128 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17129 # PIC is the default for these OSes.
17131 mingw* | os2* | pw32*)
17132 # This hack is so that the source file can tell whether it is being
17133 # built for inclusion in a dll (and should export symbols for example).
17134 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
17136 darwin* | rhapsody*)
17137 # PIC is the default on this platform
17138 # Common symbols not allowed in MH_DYLIB files
17139 lt_prog_compiler_pic_CXX='-fno-common'
17142 # DJGPP does not support shared libraries at all
17143 lt_prog_compiler_pic_CXX=
17146 if test -d /usr/nec; then
17147 lt_prog_compiler_pic_CXX=-Kconform_pic
17151 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17152 # not for PA HP-UX.
17153 case "$host_cpu" in
17157 lt_prog_compiler_pic_CXX='-fPIC'
17162 lt_prog_compiler_pic_CXX='-fPIC'
17168 # All AIX code is PIC.
17169 if test "$host_cpu" = ia64; then
17170 # AIX 5 now supports IA64 processor
17171 lt_prog_compiler_static_CXX='-Bstatic'
17173 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
17177 case $cc_basename in
17179 # Green Hills C++ Compiler
17180 # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
17185 case $cc_basename in
17187 lt_prog_compiler_pic_CXX='-KPIC'
17190 # Green Hills C++ Compiler
17191 lt_prog_compiler_pic_CXX='-pic'
17197 freebsd* | kfreebsd*-gnu)
17198 # FreeBSD uses GNU C++
17200 hpux9* | hpux10* | hpux11*)
17201 case $cc_basename in
17203 lt_prog_compiler_wl_CXX='-Wl,'
17204 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
17205 if test "$host_cpu" != ia64; then
17206 lt_prog_compiler_pic_CXX='+Z'
17210 lt_prog_compiler_wl_CXX='-Wl,'
17211 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
17212 case "$host_cpu" in
17217 lt_prog_compiler_pic_CXX='+Z'
17225 irix5* | irix6* | nonstopux*)
17226 case $cc_basename in
17228 lt_prog_compiler_wl_CXX='-Wl,'
17229 lt_prog_compiler_static_CXX='-non_shared'
17230 # CC pic flag -KPIC is the default.
17237 case $cc_basename in
17240 lt_prog_compiler_wl_CXX='--backend -Wl,'
17241 lt_prog_compiler_pic_CXX='-fPIC'
17245 lt_prog_compiler_wl_CXX='-Wl,'
17246 lt_prog_compiler_pic_CXX='-KPIC'
17247 lt_prog_compiler_static_CXX='-static'
17251 # Make sure the PIC flag is empty. It appears that all Alpha
17252 # Linux and Compaq Tru64 Unix objects are PIC.
17253 lt_prog_compiler_pic_CXX=
17254 lt_prog_compiler_static_CXX='-non_shared'
17265 case $cc_basename in
17267 lt_prog_compiler_pic_CXX='-W c,exportall'
17275 osf3* | osf4* | osf5*)
17276 case $cc_basename in
17278 lt_prog_compiler_wl_CXX='--backend -Wl,'
17281 # Rational C++ 2.4.1
17282 lt_prog_compiler_pic_CXX='-pic'
17285 # Digital/Compaq C++
17286 lt_prog_compiler_wl_CXX='-Wl,'
17287 # Make sure the PIC flag is empty. It appears that all Alpha
17288 # Linux and Compaq Tru64 Unix objects are PIC.
17289 lt_prog_compiler_pic_CXX=
17290 lt_prog_compiler_static_CXX='-non_shared'
17299 case $cc_basename in
17301 lt_prog_compiler_pic_CXX='-fPIC'
17308 case $cc_basename in
17310 # Sun C++ 4.2, 5.x and Centerline C++
17311 lt_prog_compiler_pic_CXX='-KPIC'
17312 lt_prog_compiler_static_CXX='-Bstatic'
17313 lt_prog_compiler_wl_CXX='-Qoption ld '
17316 # Green Hills C++ Compiler
17317 lt_prog_compiler_pic_CXX='-PIC'
17324 case $cc_basename in
17327 lt_prog_compiler_pic_CXX='-pic'
17328 lt_prog_compiler_static_CXX='-Bstatic'
17332 lt_prog_compiler_pic_CXX='-pic'
17339 case $cc_basename in
17341 # NonStop-UX NCC 3.20
17342 lt_prog_compiler_pic_CXX='-KPIC'
17353 lt_prog_compiler_can_build_shared_CXX=no
17358 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
17359 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
17362 # Check to make sure the PIC flag actually works.
17364 if test -n "$lt_prog_compiler_pic_CXX"; then
17366 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
17367 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
17368 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
17369 echo $ECHO_N "(cached) $ECHO_C" >&6
17371 lt_prog_compiler_pic_works_CXX=no
17372 ac_outfile=conftest.$ac_objext
17373 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17374 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
17375 # Insert the option either (1) after the last *FLAGS variable, or
17376 # (2) before a word containing "conftest.", or (3) at the end.
17377 # Note that $ac_compile itself does not contain backslashes and begins
17378 # with a dollar sign (not a hyphen), so the echo should work correctly.
17379 # The option is referenced via a variable to avoid confusing sed.
17380 lt_compile=`echo "$ac_compile" | $SED \
17381 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17382 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17383 -e 's:$: $lt_compiler_flag:'`
17384 (eval echo "\"\$as_me:17384: $lt_compile\"" >&5)
17385 (eval "$lt_compile" 2>conftest.err)
17387 cat conftest.err >&5
17388 echo "$as_me:17388: \$? = $ac_status" >&5
17389 if (exit $ac_status) && test -s "$ac_outfile"; then
17390 # The compiler can only warn and ignore the option if not recognized
17391 # So say no if there are warnings
17392 if test ! -s conftest.err; then
17393 lt_prog_compiler_pic_works_CXX=yes
17399 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
17400 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
17402 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
17403 case $lt_prog_compiler_pic_CXX in
17405 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
17408 lt_prog_compiler_pic_CXX=
17409 lt_prog_compiler_can_build_shared_CXX=no
17414 # For platforms which do not support PIC, -DPIC is meaningless:
17416 lt_prog_compiler_pic_CXX=
17419 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
17423 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17424 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
17425 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
17426 echo $ECHO_N "(cached) $ECHO_C" >&6
17428 lt_cv_prog_compiler_c_o_CXX=no
17429 $rm -r conftest 2>/dev/null
17433 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17435 lt_compiler_flag="-o out/conftest2.$ac_objext"
17436 # Insert the option either (1) after the last *FLAGS variable, or
17437 # (2) before a word containing "conftest.", or (3) at the end.
17438 # Note that $ac_compile itself does not contain backslashes and begins
17439 # with a dollar sign (not a hyphen), so the echo should work correctly.
17440 lt_compile=`echo "$ac_compile" | $SED \
17441 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17442 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17443 -e 's:$: $lt_compiler_flag:'`
17444 (eval echo "\"\$as_me:17444: $lt_compile\"" >&5)
17445 (eval "$lt_compile" 2>out/conftest.err)
17447 cat out/conftest.err >&5
17448 echo "$as_me:17448: \$? = $ac_status" >&5
17449 if (exit $ac_status) && test -s out/conftest2.$ac_objext
17451 # The compiler can only warn and ignore the option if not recognized
17452 # So say no if there are warnings
17453 if test ! -s out/conftest.err; then
17454 lt_cv_prog_compiler_c_o_CXX=yes
17459 # SGI C++ compiler will create directory out/ii_files/ for
17460 # template instantiation
17461 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
17462 $rm out/* && rmdir out
17468 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17469 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
17472 hard_links="nottested"
17473 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
17474 # do not overwrite the value of need_locks provided by the user
17475 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17476 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
17479 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17481 ln conftest.a conftest.b 2>&5 || hard_links=no
17482 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17483 echo "$as_me:$LINENO: result: $hard_links" >&5
17484 echo "${ECHO_T}$hard_links" >&6
17485 if test "$hard_links" = no; then
17486 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17487 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17494 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17495 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
17497 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17500 # If we're using GNU nm, then we don't want the "-C" option.
17501 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17502 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17503 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17505 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17509 export_symbols_cmds_CXX="$ltdll_cmds"
17512 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17515 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17519 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
17520 echo "${ECHO_T}$ld_shlibs_CXX" >&6
17521 test "$ld_shlibs_CXX" = no && can_build_shared=no
17523 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17524 if test "$GCC" = yes; then
17525 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17529 # Do we need to explicitly link libc?
17531 case "x$archive_cmds_need_lc_CXX" in
17533 # Assume -lc should be added
17534 archive_cmds_need_lc_CXX=yes
17536 if test "$enable_shared" = yes && test "$GCC" = yes; then
17537 case $archive_cmds_CXX in
17539 # FIXME: we may have to deal with multi-command sequences.
17542 # Test whether the compiler implicitly links with -lc since on some
17543 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17544 # to ld, don't add -lc before -lgcc.
17545 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17546 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
17548 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17551 (eval $ac_compile) 2>&5
17553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17554 (exit $ac_status); } 2>conftest.err; then
17557 libobjs=conftest.$ac_objext
17559 wl=$lt_prog_compiler_wl_CXX
17565 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
17566 allow_undefined_flag_CXX=
17567 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17568 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
17570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17571 (exit $ac_status); }
17573 archive_cmds_need_lc_CXX=no
17575 archive_cmds_need_lc_CXX=yes
17577 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
17579 cat conftest.err 1>&5
17582 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
17583 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
17590 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17591 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
17592 library_names_spec=
17593 libname_spec='lib$name'
17597 postuninstall_cmds=
17601 shlibpath_overrides_runpath=unknown
17603 dynamic_linker="$host_os ld.so"
17604 sys_lib_dlsearch_path_spec="/lib /usr/lib"
17605 if test "$GCC" = yes; then
17606 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17607 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
17608 # if the path contains ";" then we assume it to be the separator
17609 # otherwise default to the standard path separator (i.e. ":") - it is
17610 # assumed that no part of a normal pathname contains ";" but that should
17611 # okay in the real world where ";" in dirpaths is itself problematic.
17612 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17614 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17617 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
17619 need_lib_prefix=unknown
17620 hardcode_into_libs=no
17622 # when you set need_version to no, make sure it does not cause -set_version
17623 # flags to be left without arguments
17624 need_version=unknown
17629 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
17630 shlibpath_var=LIBPATH
17632 # AIX 3 has no versioning support, so we append a major version to the name.
17633 soname_spec='${libname}${release}${shared_ext}$major'
17640 hardcode_into_libs=yes
17641 if test "$host_cpu" = ia64; then
17642 # AIX 5 supports IA64
17643 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17644 shlibpath_var=LD_LIBRARY_PATH
17646 # With GCC up to 2.95.x, collect2 would create an import file
17647 # for dependence libraries. The import file would start with
17648 # the line `#! .'. This would cause the generated library to
17649 # depend on `.', always an invalid library. This was fixed in
17650 # development snapshots of GCC prior to 3.0.
17652 aix4 | aix4.[01] | aix4.[01].*)
17653 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17655 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
17658 can_build_shared=no
17662 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17663 # soname into executable. Probably we can add versioning support to
17664 # collect2, so additional links can be useful in future.
17665 if test "$aix_use_runtimelinking" = yes; then
17666 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17667 # instead of lib<name>.a to let people know that these are not
17668 # typical AIX shared libraries.
17669 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17671 # We preserve .a as extension for shared libraries through AIX4.2
17672 # and later when we are not doing run time linking.
17673 library_names_spec='${libname}${release}.a $libname.a'
17674 soname_spec='${libname}${release}${shared_ext}$major'
17676 shlibpath_var=LIBPATH
17681 library_names_spec='$libname.ixlibrary $libname.a'
17682 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17683 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'
17687 library_names_spec='${libname}${shared_ext}'
17688 dynamic_linker="$host_os ld.so"
17689 shlibpath_var=LIBRARY_PATH
17695 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17696 soname_spec='${libname}${release}${shared_ext}$major'
17697 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17698 shlibpath_var=LD_LIBRARY_PATH
17699 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17700 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17701 # the default ld.so.conf also contains /usr/contrib/lib and
17702 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17703 # libtool to hard-code these into programs
17706 cygwin* | mingw* | pw32*)
17707 version_type=windows
17712 case $GCC,$host_os in
17713 yes,cygwin* | yes,mingw* | yes,pw32*)
17714 library_names_spec='$libname.dll.a'
17715 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17716 postinstall_cmds='base_file=`basename \${file}`~
17717 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17718 dldir=$destdir/`dirname \$dlpath`~
17719 test -d \$dldir || mkdir -p \$dldir~
17720 $install_prog $dir/$dlname \$dldir/$dlname'
17721 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17722 dlpath=$dir/\$dldll~
17724 shlibpath_overrides_runpath=yes
17728 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17729 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17730 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
17733 # MinGW DLLs use traditional 'lib' prefix
17734 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17735 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17736 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
17737 # It is most probably a Windows format PATH printed by
17738 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17739 # path with ; separators, and with drive letters. We can handle the
17740 # drive letters (cygwin fileutils understands them), so leave them,
17741 # especially as we might pass files found there to a mingw objdump,
17742 # which wouldn't understand a cygwinified path. Ahh.
17743 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17745 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17749 # pw32 DLLs use 'pw' prefix rather than 'lib'
17750 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
17756 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17759 dynamic_linker='Win32 ld.exe'
17760 # FIXME: first we should search . and the directory the executable is in
17764 darwin* | rhapsody*)
17765 dynamic_linker="$host_os dyld"
17766 version_type=darwin
17769 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17770 soname_spec='${libname}${release}${major}$shared_ext'
17771 shlibpath_overrides_runpath=yes
17772 shlibpath_var=DYLD_LIBRARY_PATH
17773 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
17774 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17775 if test "$GCC" = yes; then
17776 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
17778 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
17780 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17787 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17788 soname_spec='${libname}${release}${shared_ext}$major'
17789 shlibpath_var=LD_LIBRARY_PATH
17800 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17801 soname_spec='${libname}${release}${shared_ext}$major'
17802 shlibpath_var=LD_LIBRARY_PATH
17803 shlibpath_overrides_runpath=no
17804 hardcode_into_libs=yes
17805 dynamic_linker='GNU ld.so'
17809 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
17810 version_type=freebsd-$objformat
17811 case $version_type in
17813 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17818 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17822 shlibpath_var=LD_LIBRARY_PATH
17825 shlibpath_overrides_runpath=yes
17827 freebsd3.01* | freebsdelf3.01*)
17828 shlibpath_overrides_runpath=yes
17829 hardcode_into_libs=yes
17832 shlibpath_overrides_runpath=no
17833 hardcode_into_libs=yes
17842 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17843 soname_spec='${libname}${release}${shared_ext}$major'
17844 shlibpath_var=LD_LIBRARY_PATH
17845 hardcode_into_libs=yes
17848 hpux9* | hpux10* | hpux11*)
17849 # Give a soname corresponding to the major version so that dld.sl refuses to
17850 # link against other versions.
17854 case "$host_cpu" in
17857 hardcode_into_libs=yes
17858 dynamic_linker="$host_os dld.so"
17859 shlibpath_var=LD_LIBRARY_PATH
17860 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17861 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17862 soname_spec='${libname}${release}${shared_ext}$major'
17863 if test "X$HPUX_IA64_MODE" = X32; then
17864 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17866 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17868 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17872 hardcode_into_libs=yes
17873 dynamic_linker="$host_os dld.sl"
17874 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17875 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17876 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17877 soname_spec='${libname}${release}${shared_ext}$major'
17878 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17879 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17883 dynamic_linker="$host_os dld.sl"
17884 shlibpath_var=SHLIB_PATH
17885 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17886 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17887 soname_spec='${libname}${release}${shared_ext}$major'
17890 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17891 postinstall_cmds='chmod 555 $lib'
17894 irix5* | irix6* | nonstopux*)
17896 nonstopux*) version_type=nonstopux ;;
17898 if test "$lt_cv_prog_gnu_ld" = yes; then
17906 soname_spec='${libname}${release}${shared_ext}$major'
17907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17909 irix5* | nonstopux*)
17910 libsuff= shlibsuff=
17913 case $LD in # libtool.m4 will add one of these switches to LD
17914 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17915 libsuff= shlibsuff= libmagic=32-bit;;
17916 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17917 libsuff=32 shlibsuff=N32 libmagic=N32;;
17918 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17919 libsuff=64 shlibsuff=64 libmagic=64-bit;;
17920 *) libsuff= shlibsuff= libmagic=never-match;;
17924 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17925 shlibpath_overrides_runpath=no
17926 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17927 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17928 hardcode_into_libs=yes
17931 # No shared lib support for Linux oldld, aout, or coff.
17932 linux*oldld* | linux*aout* | linux*coff*)
17936 # This must be Linux ELF.
17941 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17942 soname_spec='${libname}${release}${shared_ext}$major'
17943 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17944 shlibpath_var=LD_LIBRARY_PATH
17945 shlibpath_overrides_runpath=no
17946 # This implies no fast_install, which is unacceptable.
17947 # Some rework will be needed to allow for fast_install
17948 # before this can be enabled.
17949 hardcode_into_libs=yes
17951 # find out which ABI we are using
17953 case "$host_cpu" in
17954 x86_64*|s390x*|powerpc64*)
17955 echo '#line 17955 "configure"' > conftest.$ac_ext
17956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17957 (eval $ac_compile) 2>&5
17959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17960 (exit $ac_status); }; then
17961 case `/usr/bin/file conftest.$ac_objext` in
17964 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
17972 # Append ld.so.conf contents to the search path
17973 if test -f /etc/ld.so.conf; then
17974 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
17975 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
17978 # We used to test for /lib/ld.so.1 and disable shared libraries on
17979 # powerpc, because MkLinux only supported shared libraries with the
17980 # GNU dynamic linker. Since this was broken with cross compilers,
17981 # most powerpc-linux boxes support dynamic linking these days and
17982 # people can always --disable-shared, the test was removed, and we
17983 # assume the GNU/Linux dynamic linker is in use.
17984 dynamic_linker='GNU/Linux ld.so'
17991 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17992 soname_spec='${libname}${release}${shared_ext}$major'
17993 shlibpath_var=LD_LIBRARY_PATH
17994 shlibpath_overrides_runpath=no
17995 hardcode_into_libs=yes
17996 dynamic_linker='GNU ld.so'
18003 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18004 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18005 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18006 dynamic_linker='NetBSD (a.out) ld.so'
18008 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18009 soname_spec='${libname}${release}${shared_ext}$major'
18010 dynamic_linker='NetBSD ld.elf_so'
18012 shlibpath_var=LD_LIBRARY_PATH
18013 shlibpath_overrides_runpath=yes
18014 hardcode_into_libs=yes
18019 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18020 shlibpath_var=LD_LIBRARY_PATH
18021 shlibpath_overrides_runpath=yes
18028 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18029 soname_spec='${libname}${release}${shared_ext}$major'
18030 shlibpath_var=LD_LIBRARY_PATH
18031 shlibpath_overrides_runpath=yes
18038 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18039 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18040 shlibpath_var=LD_LIBRARY_PATH
18041 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18043 openbsd2.[89] | openbsd2.[89].*)
18044 shlibpath_overrides_runpath=no
18047 shlibpath_overrides_runpath=yes
18051 shlibpath_overrides_runpath=yes
18056 libname_spec='$name'
18059 library_names_spec='$libname${shared_ext} $libname.a'
18060 dynamic_linker='OS/2 ld.exe'
18061 shlibpath_var=LIBPATH
18064 osf3* | osf4* | osf5*)
18068 soname_spec='${libname}${release}${shared_ext}$major'
18069 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18070 shlibpath_var=LD_LIBRARY_PATH
18071 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18072 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18077 soname_spec='${libname}${release}${shared_ext}$major'
18078 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18079 shlibpath_var=LD_LIBRARY_PATH
18086 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18087 soname_spec='${libname}${release}${shared_ext}$major'
18088 shlibpath_var=LD_LIBRARY_PATH
18089 shlibpath_overrides_runpath=yes
18090 hardcode_into_libs=yes
18091 # ldd complains unless libraries are executable
18092 postinstall_cmds='chmod +x $lib'
18097 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18098 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18099 shlibpath_var=LD_LIBRARY_PATH
18100 shlibpath_overrides_runpath=yes
18101 if test "$with_gnu_ld" = yes; then
18107 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
18109 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18110 soname_spec='${libname}${release}${shared_ext}$major'
18111 shlibpath_var=LD_LIBRARY_PATH
18112 case $host_vendor in
18114 shlibpath_overrides_runpath=no
18116 export_dynamic_flag_spec='${wl}-Blargedynsym'
18117 runpath_var=LD_RUN_PATH
18125 shlibpath_overrides_runpath=no
18126 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18132 if test -d /usr/nec ;then
18134 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18135 soname_spec='$libname${shared_ext}.$major'
18136 shlibpath_var=LD_LIBRARY_PATH
18142 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18143 soname_spec='${libname}${release}${shared_ext}$major'
18144 shlibpath_var=LD_LIBRARY_PATH
18151 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18152 echo "${ECHO_T}$dynamic_linker" >&6
18153 test "$dynamic_linker" = no && can_build_shared=no
18155 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18156 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
18157 hardcode_action_CXX=
18158 if test -n "$hardcode_libdir_flag_spec_CXX" || \
18159 test -n "$runpath_var CXX" || \
18160 test "X$hardcode_automatic_CXX"="Xyes" ; then
18162 # We can hardcode non-existant directories.
18163 if test "$hardcode_direct_CXX" != no &&
18164 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18165 # have to relink, otherwise we might link with an installed library
18166 # when we should be linking with a yet-to-be-installed one
18167 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
18168 test "$hardcode_minus_L_CXX" != no; then
18169 # Linking always hardcodes the temporary library directory.
18170 hardcode_action_CXX=relink
18172 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18173 hardcode_action_CXX=immediate
18176 # We cannot hardcode anything, or else we can only hardcode existing
18178 hardcode_action_CXX=unsupported
18180 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
18181 echo "${ECHO_T}$hardcode_action_CXX" >&6
18183 if test "$hardcode_action_CXX" = relink; then
18184 # Fast installation is not supported
18185 enable_fast_install=no
18186 elif test "$shlibpath_overrides_runpath" = yes ||
18187 test "$enable_shared" = no; then
18188 # Fast installation is not necessary
18189 enable_fast_install=needless
18194 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
18195 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
18196 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
18197 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
18198 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
18199 echo "$as_me:$LINENO: result: yes" >&5
18200 echo "${ECHO_T}yes" >&6
18202 # FIXME - insert some real tests, host_os isn't really good enough
18205 if test -n "$STRIP" ; then
18206 striplib="$STRIP -x"
18207 echo "$as_me:$LINENO: result: yes" >&5
18208 echo "${ECHO_T}yes" >&6
18210 echo "$as_me:$LINENO: result: no" >&5
18211 echo "${ECHO_T}no" >&6
18215 echo "$as_me:$LINENO: result: no" >&5
18216 echo "${ECHO_T}no" >&6
18221 if test "x$enable_dlopen" != xyes; then
18222 enable_dlopen=unknown
18223 enable_dlopen_self=unknown
18224 enable_dlopen_self_static=unknown
18231 lt_cv_dlopen="load_add_on"
18233 lt_cv_dlopen_self=yes
18237 lt_cv_dlopen="LoadLibrary"
18242 lt_cv_dlopen="dlopen"
18247 # if libdl is installed we need to link against it
18248 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18249 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
18250 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18251 echo $ECHO_N "(cached) $ECHO_C" >&6
18253 ac_check_lib_save_LIBS=$LIBS
18255 cat >conftest.$ac_ext <<_ACEOF
18258 cat confdefs.h >>conftest.$ac_ext
18259 cat >>conftest.$ac_ext <<_ACEOF
18260 /* end confdefs.h. */
18262 /* Override any gcc2 internal prototype to avoid an error. */
18266 /* We use char because int might match the return type of a gcc2
18267 builtin and then its argument prototype would still apply. */
18277 rm -f conftest.$ac_objext conftest$ac_exeext
18278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18279 (eval $ac_link) 2>conftest.er1
18281 grep -v '^ *+' conftest.er1 >conftest.err
18283 cat conftest.err >&5
18284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18285 (exit $ac_status); } &&
18286 { ac_try='test -z "$ac_cxx_werror_flag"
18287 || test ! -s conftest.err'
18288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18289 (eval $ac_try) 2>&5
18291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292 (exit $ac_status); }; } &&
18293 { ac_try='test -s conftest$ac_exeext'
18294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18295 (eval $ac_try) 2>&5
18297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18298 (exit $ac_status); }; }; then
18299 ac_cv_lib_dl_dlopen=yes
18301 echo "$as_me: failed program was:" >&5
18302 sed 's/^/| /' conftest.$ac_ext >&5
18304 ac_cv_lib_dl_dlopen=no
18306 rm -f conftest.err conftest.$ac_objext \
18307 conftest$ac_exeext conftest.$ac_ext
18308 LIBS=$ac_check_lib_save_LIBS
18310 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18311 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
18312 if test $ac_cv_lib_dl_dlopen = yes; then
18313 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
18316 lt_cv_dlopen="dyld"
18318 lt_cv_dlopen_self=yes
18325 echo "$as_me:$LINENO: checking for shl_load" >&5
18326 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
18327 if test "${ac_cv_func_shl_load+set}" = set; then
18328 echo $ECHO_N "(cached) $ECHO_C" >&6
18330 cat >conftest.$ac_ext <<_ACEOF
18333 cat confdefs.h >>conftest.$ac_ext
18334 cat >>conftest.$ac_ext <<_ACEOF
18335 /* end confdefs.h. */
18336 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
18337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18338 #define shl_load innocuous_shl_load
18340 /* System header to define __stub macros and hopefully few prototypes,
18341 which can conflict with char shl_load (); below.
18342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18343 <limits.h> exists even on freestanding compilers. */
18346 # include <limits.h>
18348 # include <assert.h>
18353 /* Override any gcc2 internal prototype to avoid an error. */
18358 /* We use char because int might match the return type of a gcc2
18359 builtin and then its argument prototype would still apply. */
18361 /* The GNU C library defines this for functions which it implements
18362 to always fail with ENOSYS. Some functions are actually named
18363 something starting with __ and the normal name is an alias. */
18364 #if defined (__stub_shl_load) || defined (__stub___shl_load)
18367 char (*f) () = shl_load;
18376 return f != shl_load;
18381 rm -f conftest.$ac_objext conftest$ac_exeext
18382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18383 (eval $ac_link) 2>conftest.er1
18385 grep -v '^ *+' conftest.er1 >conftest.err
18387 cat conftest.err >&5
18388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18389 (exit $ac_status); } &&
18390 { ac_try='test -z "$ac_cxx_werror_flag"
18391 || test ! -s conftest.err'
18392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18393 (eval $ac_try) 2>&5
18395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18396 (exit $ac_status); }; } &&
18397 { ac_try='test -s conftest$ac_exeext'
18398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18399 (eval $ac_try) 2>&5
18401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18402 (exit $ac_status); }; }; then
18403 ac_cv_func_shl_load=yes
18405 echo "$as_me: failed program was:" >&5
18406 sed 's/^/| /' conftest.$ac_ext >&5
18408 ac_cv_func_shl_load=no
18410 rm -f conftest.err conftest.$ac_objext \
18411 conftest$ac_exeext conftest.$ac_ext
18413 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
18414 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
18415 if test $ac_cv_func_shl_load = yes; then
18416 lt_cv_dlopen="shl_load"
18418 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
18419 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
18420 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
18421 echo $ECHO_N "(cached) $ECHO_C" >&6
18423 ac_check_lib_save_LIBS=$LIBS
18425 cat >conftest.$ac_ext <<_ACEOF
18428 cat confdefs.h >>conftest.$ac_ext
18429 cat >>conftest.$ac_ext <<_ACEOF
18430 /* end confdefs.h. */
18432 /* Override any gcc2 internal prototype to avoid an error. */
18436 /* We use char because int might match the return type of a gcc2
18437 builtin and then its argument prototype would still apply. */
18447 rm -f conftest.$ac_objext conftest$ac_exeext
18448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18449 (eval $ac_link) 2>conftest.er1
18451 grep -v '^ *+' conftest.er1 >conftest.err
18453 cat conftest.err >&5
18454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18455 (exit $ac_status); } &&
18456 { ac_try='test -z "$ac_cxx_werror_flag"
18457 || test ! -s conftest.err'
18458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18459 (eval $ac_try) 2>&5
18461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18462 (exit $ac_status); }; } &&
18463 { ac_try='test -s conftest$ac_exeext'
18464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18465 (eval $ac_try) 2>&5
18467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18468 (exit $ac_status); }; }; then
18469 ac_cv_lib_dld_shl_load=yes
18471 echo "$as_me: failed program was:" >&5
18472 sed 's/^/| /' conftest.$ac_ext >&5
18474 ac_cv_lib_dld_shl_load=no
18476 rm -f conftest.err conftest.$ac_objext \
18477 conftest$ac_exeext conftest.$ac_ext
18478 LIBS=$ac_check_lib_save_LIBS
18480 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
18481 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
18482 if test $ac_cv_lib_dld_shl_load = yes; then
18483 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
18485 echo "$as_me:$LINENO: checking for dlopen" >&5
18486 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
18487 if test "${ac_cv_func_dlopen+set}" = set; then
18488 echo $ECHO_N "(cached) $ECHO_C" >&6
18490 cat >conftest.$ac_ext <<_ACEOF
18493 cat confdefs.h >>conftest.$ac_ext
18494 cat >>conftest.$ac_ext <<_ACEOF
18495 /* end confdefs.h. */
18496 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
18497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18498 #define dlopen innocuous_dlopen
18500 /* System header to define __stub macros and hopefully few prototypes,
18501 which can conflict with char dlopen (); below.
18502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18503 <limits.h> exists even on freestanding compilers. */
18506 # include <limits.h>
18508 # include <assert.h>
18513 /* Override any gcc2 internal prototype to avoid an error. */
18518 /* We use char because int might match the return type of a gcc2
18519 builtin and then its argument prototype would still apply. */
18521 /* The GNU C library defines this for functions which it implements
18522 to always fail with ENOSYS. Some functions are actually named
18523 something starting with __ and the normal name is an alias. */
18524 #if defined (__stub_dlopen) || defined (__stub___dlopen)
18527 char (*f) () = dlopen;
18536 return f != dlopen;
18541 rm -f conftest.$ac_objext conftest$ac_exeext
18542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18543 (eval $ac_link) 2>conftest.er1
18545 grep -v '^ *+' conftest.er1 >conftest.err
18547 cat conftest.err >&5
18548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18549 (exit $ac_status); } &&
18550 { ac_try='test -z "$ac_cxx_werror_flag"
18551 || test ! -s conftest.err'
18552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18553 (eval $ac_try) 2>&5
18555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18556 (exit $ac_status); }; } &&
18557 { ac_try='test -s conftest$ac_exeext'
18558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18559 (eval $ac_try) 2>&5
18561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18562 (exit $ac_status); }; }; then
18563 ac_cv_func_dlopen=yes
18565 echo "$as_me: failed program was:" >&5
18566 sed 's/^/| /' conftest.$ac_ext >&5
18568 ac_cv_func_dlopen=no
18570 rm -f conftest.err conftest.$ac_objext \
18571 conftest$ac_exeext conftest.$ac_ext
18573 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
18574 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
18575 if test $ac_cv_func_dlopen = yes; then
18576 lt_cv_dlopen="dlopen"
18578 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18579 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
18580 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18581 echo $ECHO_N "(cached) $ECHO_C" >&6
18583 ac_check_lib_save_LIBS=$LIBS
18585 cat >conftest.$ac_ext <<_ACEOF
18588 cat confdefs.h >>conftest.$ac_ext
18589 cat >>conftest.$ac_ext <<_ACEOF
18590 /* end confdefs.h. */
18592 /* Override any gcc2 internal prototype to avoid an error. */
18596 /* We use char because int might match the return type of a gcc2
18597 builtin and then its argument prototype would still apply. */
18607 rm -f conftest.$ac_objext conftest$ac_exeext
18608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18609 (eval $ac_link) 2>conftest.er1
18611 grep -v '^ *+' conftest.er1 >conftest.err
18613 cat conftest.err >&5
18614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18615 (exit $ac_status); } &&
18616 { ac_try='test -z "$ac_cxx_werror_flag"
18617 || test ! -s conftest.err'
18618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18619 (eval $ac_try) 2>&5
18621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18622 (exit $ac_status); }; } &&
18623 { ac_try='test -s conftest$ac_exeext'
18624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18625 (eval $ac_try) 2>&5
18627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18628 (exit $ac_status); }; }; then
18629 ac_cv_lib_dl_dlopen=yes
18631 echo "$as_me: failed program was:" >&5
18632 sed 's/^/| /' conftest.$ac_ext >&5
18634 ac_cv_lib_dl_dlopen=no
18636 rm -f conftest.err conftest.$ac_objext \
18637 conftest$ac_exeext conftest.$ac_ext
18638 LIBS=$ac_check_lib_save_LIBS
18640 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18641 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
18642 if test $ac_cv_lib_dl_dlopen = yes; then
18643 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
18645 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
18646 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
18647 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
18648 echo $ECHO_N "(cached) $ECHO_C" >&6
18650 ac_check_lib_save_LIBS=$LIBS
18651 LIBS="-lsvld $LIBS"
18652 cat >conftest.$ac_ext <<_ACEOF
18655 cat confdefs.h >>conftest.$ac_ext
18656 cat >>conftest.$ac_ext <<_ACEOF
18657 /* end confdefs.h. */
18659 /* Override any gcc2 internal prototype to avoid an error. */
18663 /* We use char because int might match the return type of a gcc2
18664 builtin and then its argument prototype would still apply. */
18674 rm -f conftest.$ac_objext conftest$ac_exeext
18675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18676 (eval $ac_link) 2>conftest.er1
18678 grep -v '^ *+' conftest.er1 >conftest.err
18680 cat conftest.err >&5
18681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18682 (exit $ac_status); } &&
18683 { ac_try='test -z "$ac_cxx_werror_flag"
18684 || test ! -s conftest.err'
18685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18686 (eval $ac_try) 2>&5
18688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18689 (exit $ac_status); }; } &&
18690 { ac_try='test -s conftest$ac_exeext'
18691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18692 (eval $ac_try) 2>&5
18694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18695 (exit $ac_status); }; }; then
18696 ac_cv_lib_svld_dlopen=yes
18698 echo "$as_me: failed program was:" >&5
18699 sed 's/^/| /' conftest.$ac_ext >&5
18701 ac_cv_lib_svld_dlopen=no
18703 rm -f conftest.err conftest.$ac_objext \
18704 conftest$ac_exeext conftest.$ac_ext
18705 LIBS=$ac_check_lib_save_LIBS
18707 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
18708 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
18709 if test $ac_cv_lib_svld_dlopen = yes; then
18710 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
18712 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
18713 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
18714 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
18715 echo $ECHO_N "(cached) $ECHO_C" >&6
18717 ac_check_lib_save_LIBS=$LIBS
18719 cat >conftest.$ac_ext <<_ACEOF
18722 cat confdefs.h >>conftest.$ac_ext
18723 cat >>conftest.$ac_ext <<_ACEOF
18724 /* end confdefs.h. */
18726 /* Override any gcc2 internal prototype to avoid an error. */
18730 /* We use char because int might match the return type of a gcc2
18731 builtin and then its argument prototype would still apply. */
18741 rm -f conftest.$ac_objext conftest$ac_exeext
18742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18743 (eval $ac_link) 2>conftest.er1
18745 grep -v '^ *+' conftest.er1 >conftest.err
18747 cat conftest.err >&5
18748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18749 (exit $ac_status); } &&
18750 { ac_try='test -z "$ac_cxx_werror_flag"
18751 || test ! -s conftest.err'
18752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18753 (eval $ac_try) 2>&5
18755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18756 (exit $ac_status); }; } &&
18757 { ac_try='test -s conftest$ac_exeext'
18758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18759 (eval $ac_try) 2>&5
18761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18762 (exit $ac_status); }; }; then
18763 ac_cv_lib_dld_dld_link=yes
18765 echo "$as_me: failed program was:" >&5
18766 sed 's/^/| /' conftest.$ac_ext >&5
18768 ac_cv_lib_dld_dld_link=no
18770 rm -f conftest.err conftest.$ac_objext \
18771 conftest$ac_exeext conftest.$ac_ext
18772 LIBS=$ac_check_lib_save_LIBS
18774 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
18775 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
18776 if test $ac_cv_lib_dld_dld_link = yes; then
18777 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
18798 if test "x$lt_cv_dlopen" != xno; then
18804 case $lt_cv_dlopen in
18806 save_CPPFLAGS="$CPPFLAGS"
18807 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
18809 save_LDFLAGS="$LDFLAGS"
18810 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
18813 LIBS="$lt_cv_dlopen_libs $LIBS"
18815 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
18816 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
18817 if test "${lt_cv_dlopen_self+set}" = set; then
18818 echo $ECHO_N "(cached) $ECHO_C" >&6
18820 if test "$cross_compiling" = yes; then :
18821 lt_cv_dlopen_self=cross
18823 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18824 lt_status=$lt_dlunknown
18825 cat > conftest.$ac_ext <<EOF
18826 #line 18826 "configure"
18827 #include "confdefs.h"
18836 # define LT_DLGLOBAL RTLD_GLOBAL
18839 # define LT_DLGLOBAL DL_GLOBAL
18841 # define LT_DLGLOBAL 0
18845 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18846 find out it does not work in some platform. */
18847 #ifndef LT_DLLAZY_OR_NOW
18849 # define LT_DLLAZY_OR_NOW RTLD_LAZY
18852 # define LT_DLLAZY_OR_NOW DL_LAZY
18855 # define LT_DLLAZY_OR_NOW RTLD_NOW
18858 # define LT_DLLAZY_OR_NOW DL_NOW
18860 # define LT_DLLAZY_OR_NOW 0
18868 extern "C" void exit (int);
18871 void fnord() { int i=42;}
18874 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18875 int status = $lt_dlunknown;
18879 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18880 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18881 /* dlclose (self); */
18887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18888 (eval $ac_link) 2>&5
18890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18891 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18892 (./conftest; exit; ) 2>/dev/null
18894 case x$lt_status in
18895 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
18896 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
18897 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
18900 # compilation failed
18901 lt_cv_dlopen_self=no
18908 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
18909 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
18911 if test "x$lt_cv_dlopen_self" = xyes; then
18912 LDFLAGS="$LDFLAGS $link_static_flag"
18913 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
18914 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
18915 if test "${lt_cv_dlopen_self_static+set}" = set; then
18916 echo $ECHO_N "(cached) $ECHO_C" >&6
18918 if test "$cross_compiling" = yes; then :
18919 lt_cv_dlopen_self_static=cross
18921 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18922 lt_status=$lt_dlunknown
18923 cat > conftest.$ac_ext <<EOF
18924 #line 18924 "configure"
18925 #include "confdefs.h"
18934 # define LT_DLGLOBAL RTLD_GLOBAL
18937 # define LT_DLGLOBAL DL_GLOBAL
18939 # define LT_DLGLOBAL 0
18943 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18944 find out it does not work in some platform. */
18945 #ifndef LT_DLLAZY_OR_NOW
18947 # define LT_DLLAZY_OR_NOW RTLD_LAZY
18950 # define LT_DLLAZY_OR_NOW DL_LAZY
18953 # define LT_DLLAZY_OR_NOW RTLD_NOW
18956 # define LT_DLLAZY_OR_NOW DL_NOW
18958 # define LT_DLLAZY_OR_NOW 0
18966 extern "C" void exit (int);
18969 void fnord() { int i=42;}
18972 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18973 int status = $lt_dlunknown;
18977 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18978 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18979 /* dlclose (self); */
18985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18986 (eval $ac_link) 2>&5
18988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18989 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18990 (./conftest; exit; ) 2>/dev/null
18992 case x$lt_status in
18993 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
18994 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
18995 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
18998 # compilation failed
18999 lt_cv_dlopen_self_static=no
19006 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
19007 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
19010 CPPFLAGS="$save_CPPFLAGS"
19011 LDFLAGS="$save_LDFLAGS"
19016 case $lt_cv_dlopen_self in
19017 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
19018 *) enable_dlopen_self=unknown ;;
19021 case $lt_cv_dlopen_self_static in
19022 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
19023 *) enable_dlopen_self_static=unknown ;;
19028 # The else clause should only fire when bootstrapping the
19029 # libtool distribution, otherwise you forgot to ship ltmain.sh
19030 # with your package, and you will get complaints that there are
19031 # no rules to generate ltmain.sh.
19032 if test -f "$ltmain"; then
19033 # See if we are running on zsh, and set the options which allow our commands through
19034 # without removal of \ escapes.
19035 if test -n "${ZSH_VERSION+set}" ; then
19036 setopt NO_GLOB_SUBST
19038 # Now quote all the things that may contain metacharacters while being
19039 # careful not to overquote the AC_SUBSTed values. We take copies of the
19040 # variables and quote the copies for generation of the libtool script.
19041 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
19043 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19044 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19045 deplibs_check_method reload_flag reload_cmds need_locks \
19046 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19047 lt_cv_sys_global_symbol_to_c_name_address \
19048 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19049 old_postinstall_cmds old_postuninstall_cmds \
19053 lt_prog_compiler_wl_CXX \
19054 lt_prog_compiler_pic_CXX \
19055 lt_prog_compiler_static_CXX \
19056 lt_prog_compiler_no_builtin_flag_CXX \
19057 export_dynamic_flag_spec_CXX \
19058 thread_safe_flag_spec_CXX \
19059 whole_archive_flag_spec_CXX \
19060 enable_shared_with_static_runtimes_CXX \
19061 old_archive_cmds_CXX \
19062 old_archive_from_new_cmds_CXX \
19063 predep_objects_CXX \
19064 postdep_objects_CXX \
19067 compiler_lib_search_path_CXX \
19069 archive_expsym_cmds_CXX \
19070 postinstall_cmds_CXX \
19071 postuninstall_cmds_CXX \
19072 old_archive_from_expsyms_cmds_CXX \
19073 allow_undefined_flag_CXX \
19074 no_undefined_flag_CXX \
19075 export_symbols_cmds_CXX \
19076 hardcode_libdir_flag_spec_CXX \
19077 hardcode_libdir_flag_spec_ld_CXX \
19078 hardcode_libdir_separator_CXX \
19079 hardcode_automatic_CXX \
19081 module_expsym_cmds_CXX \
19082 lt_cv_prog_compiler_c_o_CXX \
19083 exclude_expsyms_CXX \
19084 include_expsyms_CXX; do
19087 old_archive_cmds_CXX | \
19088 old_archive_from_new_cmds_CXX | \
19089 archive_cmds_CXX | \
19090 archive_expsym_cmds_CXX | \
19091 module_cmds_CXX | \
19092 module_expsym_cmds_CXX | \
19093 old_archive_from_expsyms_cmds_CXX | \
19094 export_symbols_cmds_CXX | \
19095 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19096 postinstall_cmds | postuninstall_cmds | \
19097 old_postinstall_cmds | old_postuninstall_cmds | \
19098 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19099 # Double-quote double-evaled strings.
19100 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19103 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19109 *'\$0 --fallback-echo"')
19110 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19116 cat <<__EOF__ >> "$cfgfile"
19117 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19119 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19121 # Shell to use when invoking shell scripts.
19124 # Whether or not to build shared libraries.
19125 build_libtool_libs=$enable_shared
19127 # Whether or not to build static libraries.
19128 build_old_libs=$enable_static
19130 # Whether or not to add -lc for building shared libraries.
19131 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19133 # Whether or not to disallow shared libs when runtime libs are static
19134 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19136 # Whether or not to optimize for fast installation.
19137 fast_install=$enable_fast_install
19140 host_alias=$host_alias
19143 # An echo program that does not interpret backslashes.
19148 AR_FLAGS=$lt_AR_FLAGS
19153 # A language-specific compiler.
19154 CC=$lt_compiler_CXX
19156 # Is the compiler the GNU C compiler?
19162 # The linker used to build libraries.
19165 # Whether we need hard or soft links.
19168 # A BSD-compatible nm program.
19171 # A symbol stripping program
19174 # Used to examine libraries when file_magic_cmd begins "file"
19175 MAGIC_CMD=$MAGIC_CMD
19177 # Used on cygwin: DLL creation program.
19180 # Used on cygwin: object dumper.
19183 # Used on cygwin: assembler.
19186 # The name of the directory that contains temporary libtool files.
19189 # How to create reloadable object files.
19190 reload_flag=$lt_reload_flag
19191 reload_cmds=$lt_reload_cmds
19193 # How to pass a linker flag through the compiler.
19194 wl=$lt_lt_prog_compiler_wl_CXX
19196 # Object file suffix (normally "o").
19197 objext="$ac_objext"
19199 # Old archive suffix (normally "a").
19202 # Shared library suffix (normally ".so").
19203 shrext_cmds='$shrext_cmds'
19205 # Executable file suffix (normally "").
19208 # Additional compiler flags for building library objects.
19209 pic_flag=$lt_lt_prog_compiler_pic_CXX
19212 # What is the maximum length of a command?
19213 max_cmd_len=$lt_cv_sys_max_cmd_len
19215 # Does compiler simultaneously support -c and -o options?
19216 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19218 # Must we lock files when doing compilation ?
19219 need_locks=$lt_need_locks
19221 # Do we need the lib prefix for modules?
19222 need_lib_prefix=$need_lib_prefix
19224 # Do we need a version for libraries?
19225 need_version=$need_version
19227 # Whether dlopen is supported.
19228 dlopen_support=$enable_dlopen
19230 # Whether dlopen of programs is supported.
19231 dlopen_self=$enable_dlopen_self
19233 # Whether dlopen of statically linked programs is supported.
19234 dlopen_self_static=$enable_dlopen_self_static
19236 # Compiler flag to prevent dynamic linking.
19237 link_static_flag=$lt_lt_prog_compiler_static_CXX
19239 # Compiler flag to turn off builtin functions.
19240 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19242 # Compiler flag to allow reflexive dlopens.
19243 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19245 # Compiler flag to generate shared objects directly from archives.
19246 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19248 # Compiler flag to generate thread-safe objects.
19249 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
19251 # Library versioning type.
19252 version_type=$version_type
19254 # Format of library name prefix.
19255 libname_spec=$lt_libname_spec
19257 # List of archive names. First name is the real one, the rest are links.
19258 # The last name is the one that the linker finds with -lNAME.
19259 library_names_spec=$lt_library_names_spec
19261 # The coded name of the library, if different from the real name.
19262 soname_spec=$lt_soname_spec
19264 # Commands used to build and install an old-style archive.
19266 old_archive_cmds=$lt_old_archive_cmds_CXX
19267 old_postinstall_cmds=$lt_old_postinstall_cmds
19268 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19270 # Create an old-style archive from a shared archive.
19271 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19273 # Create a temporary old-style archive to link instead of a shared archive.
19274 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19276 # Commands used to build and install a shared archive.
19277 archive_cmds=$lt_archive_cmds_CXX
19278 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19279 postinstall_cmds=$lt_postinstall_cmds
19280 postuninstall_cmds=$lt_postuninstall_cmds
19282 # Commands used to build a loadable module (assumed same as above if empty)
19283 module_cmds=$lt_module_cmds_CXX
19284 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19286 # Commands to strip libraries.
19287 old_striplib=$lt_old_striplib
19288 striplib=$lt_striplib
19290 # Dependencies to place before the objects being linked to create a
19292 predep_objects=$lt_predep_objects_CXX
19294 # Dependencies to place after the objects being linked to create a
19296 postdep_objects=$lt_postdep_objects_CXX
19298 # Dependencies to place before the objects being linked to create a
19300 predeps=$lt_predeps_CXX
19302 # Dependencies to place after the objects being linked to create a
19304 postdeps=$lt_postdeps_CXX
19306 # The library search path used internally by the compiler when linking
19307 # a shared library.
19308 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19310 # Method to check whether dependent libraries are shared objects.
19311 deplibs_check_method=$lt_deplibs_check_method
19313 # Command to use when deplibs_check_method == file_magic.
19314 file_magic_cmd=$lt_file_magic_cmd
19316 # Flag that allows shared libraries with undefined symbols to be built.
19317 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19319 # Flag that forces no undefined symbols.
19320 no_undefined_flag=$lt_no_undefined_flag_CXX
19322 # Commands used to finish a libtool library installation in a directory.
19323 finish_cmds=$lt_finish_cmds
19325 # Same as above, but a single script fragment to be evaled but not shown.
19326 finish_eval=$lt_finish_eval
19328 # Take the output of nm and produce a listing of raw symbols and C names.
19329 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19331 # Transform the output of nm in a proper C declaration
19332 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19334 # Transform the output of nm in a C name address pair
19335 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19337 # This is the shared library runtime path variable.
19338 runpath_var=$runpath_var
19340 # This is the shared library path variable.
19341 shlibpath_var=$shlibpath_var
19343 # Is shlibpath searched before the hard-coded library search path?
19344 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19346 # How to hardcode a shared library path into an executable.
19347 hardcode_action=$hardcode_action_CXX
19349 # Whether we should hardcode library paths into libraries.
19350 hardcode_into_libs=$hardcode_into_libs
19352 # Flag to hardcode \$libdir into a binary during linking.
19353 # This must work even if \$libdir does not exist.
19354 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19356 # If ld is used when linking, flag to hardcode \$libdir into
19357 # a binary during linking. This must work even if \$libdir does
19359 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
19361 # Whether we need a single -rpath flag with a separated argument.
19362 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19364 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19365 # resulting binary.
19366 hardcode_direct=$hardcode_direct_CXX
19368 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19369 # resulting binary.
19370 hardcode_minus_L=$hardcode_minus_L_CXX
19372 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19373 # the resulting binary.
19374 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19376 # Set to yes if building a shared library automatically hardcodes DIR into the library
19377 # and all subsequent libraries and executables linked against it.
19378 hardcode_automatic=$hardcode_automatic_CXX
19380 # Variables whose values should be saved in libtool wrapper scripts and
19381 # restored at relink time.
19382 variables_saved_for_relink="$variables_saved_for_relink"
19384 # Whether libtool must link a program against all its dependency libraries.
19385 link_all_deplibs=$link_all_deplibs_CXX
19387 # Compile-time system search path for libraries
19388 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19390 # Run-time system search path for libraries
19391 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19393 # Fix the shell variable \$srcfile for the compiler.
19394 fix_srcfile_path="$fix_srcfile_path_CXX"
19396 # Set to yes if exported symbols are required.
19397 always_export_symbols=$always_export_symbols_CXX
19399 # The commands to list exported symbols.
19400 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19402 # The commands to extract the exported symbol list from a shared archive.
19403 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19405 # Symbols that should not be listed in the preloaded symbols.
19406 exclude_expsyms=$lt_exclude_expsyms_CXX
19408 # Symbols that must always be exported.
19409 include_expsyms=$lt_include_expsyms_CXX
19411 # ### END LIBTOOL TAG CONFIG: $tagname
19417 # If there is no Makefile yet, we rely on a make rule to execute
19418 # `config.status --recheck' to rerun these tests and create the
19419 # libtool script then.
19420 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19421 if test -f "$ltmain_in"; then
19422 test -f Makefile && make "$ltmain"
19428 ac_cpp='$CPP $CPPFLAGS'
19429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19437 with_gnu_ldcxx=$with_gnu_ld
19438 with_gnu_ld=$lt_save_with_gnu_ld
19439 lt_cv_path_LDCXX=$lt_cv_path_LD
19440 lt_cv_path_LD=$lt_save_path_LD
19441 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
19442 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
19450 if test -n "$F77" && test "X$F77" != "Xno"; then
19453 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
19454 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19455 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
19458 archive_cmds_need_lc_F77=no
19459 allow_undefined_flag_F77=
19460 always_export_symbols_F77=no
19461 archive_expsym_cmds_F77=
19462 export_dynamic_flag_spec_F77=
19463 hardcode_direct_F77=no
19464 hardcode_libdir_flag_spec_F77=
19465 hardcode_libdir_flag_spec_ld_F77=
19466 hardcode_libdir_separator_F77=
19467 hardcode_minus_L_F77=no
19468 hardcode_automatic_F77=no
19470 module_expsym_cmds_F77=
19471 link_all_deplibs_F77=unknown
19472 old_archive_cmds_F77=$old_archive_cmds
19473 no_undefined_flag_F77=
19474 whole_archive_flag_spec_F77=
19475 enable_shared_with_static_runtimes_F77=no
19477 # Source file extension for f77 test sources.
19480 # Object file extension for compiled f77 test sources.
19484 # Code to be used in simple compile tests
19485 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
19487 # Code to be used in simple link tests
19488 lt_simple_link_test_code=" program t\n end\n"
19490 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19492 # If no C compiler was specified, use CC.
19495 # Allow CC to be a program name with arguments.
19499 # Allow CC to be a program name with arguments.
19504 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
19506 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
19507 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
19508 echo "$as_me:$LINENO: result: $can_build_shared" >&5
19509 echo "${ECHO_T}$can_build_shared" >&6
19511 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
19512 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
19513 test "$can_build_shared" = "no" && enable_shared=no
19515 # On AIX, shared libraries and static libraries use the same namespace, and
19516 # are all built from PIC.
19519 test "$enable_shared" = yes && enable_static=no
19520 if test -n "$RANLIB"; then
19521 archive_cmds="$archive_cmds~\$RANLIB \$lib"
19522 postinstall_cmds='$RANLIB $lib'
19526 test "$enable_shared" = yes && enable_static=no
19529 echo "$as_me:$LINENO: result: $enable_shared" >&5
19530 echo "${ECHO_T}$enable_shared" >&6
19532 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
19533 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
19534 # Make sure either enable_shared or enable_static is yes.
19535 test "$enable_shared" = yes || enable_static=yes
19536 echo "$as_me:$LINENO: result: $enable_static" >&5
19537 echo "${ECHO_T}$enable_static" >&6
19539 test "$ld_shlibs_F77" = no && can_build_shared=no
19544 lt_prog_compiler_wl_F77=
19545 lt_prog_compiler_pic_F77=
19546 lt_prog_compiler_static_F77=
19548 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
19549 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
19551 if test "$GCC" = yes; then
19552 lt_prog_compiler_wl_F77='-Wl,'
19553 lt_prog_compiler_static_F77='-static'
19557 # All AIX code is PIC.
19558 if test "$host_cpu" = ia64; then
19559 # AIX 5 now supports IA64 processor
19560 lt_prog_compiler_static_F77='-Bstatic'
19565 # FIXME: we need at least 68020 code to build shared libraries, but
19566 # adding the `-m68020' flag to GCC prevents building anything better,
19568 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
19571 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
19572 # PIC is the default for these OSes.
19575 mingw* | pw32* | os2*)
19576 # This hack is so that the source file can tell whether it is being
19577 # built for inclusion in a dll (and should export symbols for example).
19578 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
19581 darwin* | rhapsody*)
19582 # PIC is the default on this platform
19583 # Common symbols not allowed in MH_DYLIB files
19584 lt_prog_compiler_pic_F77='-fno-common'
19588 # Just because we use GCC doesn't mean we suddenly get shared libraries
19589 # on systems that don't support them.
19590 lt_prog_compiler_can_build_shared_F77=no
19595 if test -d /usr/nec; then
19596 lt_prog_compiler_pic_F77=-Kconform_pic
19601 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19602 # not for PA HP-UX.
19603 case "$host_cpu" in
19608 lt_prog_compiler_pic_F77='-fPIC'
19614 lt_prog_compiler_pic_F77='-fPIC'
19618 # PORTME Check for flag to pass linker flags through the system compiler.
19621 lt_prog_compiler_wl_F77='-Wl,'
19622 if test "$host_cpu" = ia64; then
19623 # AIX 5 now supports IA64 processor
19624 lt_prog_compiler_static_F77='-Bstatic'
19626 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
19630 mingw* | pw32* | os2*)
19631 # This hack is so that the source file can tell whether it is being
19632 # built for inclusion in a dll (and should export symbols for example).
19633 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
19636 hpux9* | hpux10* | hpux11*)
19637 lt_prog_compiler_wl_F77='-Wl,'
19638 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19639 # not for PA HP-UX.
19640 case "$host_cpu" in
19645 lt_prog_compiler_pic_F77='+Z'
19648 # Is there a better lt_prog_compiler_static that works with the bundled CC?
19649 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
19652 irix5* | irix6* | nonstopux*)
19653 lt_prog_compiler_wl_F77='-Wl,'
19654 # PIC (with -KPIC) is the default.
19655 lt_prog_compiler_static_F77='-non_shared'
19659 lt_prog_compiler_pic_F77='-KPIC'
19660 lt_prog_compiler_static_F77='-Bstatic'
19666 lt_prog_compiler_wl_F77='-Wl,'
19667 lt_prog_compiler_pic_F77='-KPIC'
19668 lt_prog_compiler_static_F77='-static'
19671 lt_prog_compiler_wl_F77='-Wl,'
19672 # All Alpha code is PIC.
19673 lt_prog_compiler_static_F77='-non_shared'
19678 osf3* | osf4* | osf5*)
19679 lt_prog_compiler_wl_F77='-Wl,'
19680 # All OSF/1 code is PIC.
19681 lt_prog_compiler_static_F77='-non_shared'
19685 lt_prog_compiler_pic_F77='-Kpic'
19686 lt_prog_compiler_static_F77='-dn'
19690 lt_prog_compiler_wl_F77='-Wl,'
19691 lt_prog_compiler_pic_F77='-KPIC'
19692 lt_prog_compiler_static_F77='-Bstatic'
19696 lt_prog_compiler_wl_F77='-Qoption ld '
19697 lt_prog_compiler_pic_F77='-PIC'
19698 lt_prog_compiler_static_F77='-Bstatic'
19701 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
19702 lt_prog_compiler_wl_F77='-Wl,'
19703 lt_prog_compiler_pic_F77='-KPIC'
19704 lt_prog_compiler_static_F77='-Bstatic'
19708 if test -d /usr/nec ;then
19709 lt_prog_compiler_pic_F77='-Kconform_pic'
19710 lt_prog_compiler_static_F77='-Bstatic'
19715 lt_prog_compiler_pic_F77='-pic'
19716 lt_prog_compiler_static_F77='-Bstatic'
19720 lt_prog_compiler_can_build_shared_F77=no
19725 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
19726 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
19729 # Check to make sure the PIC flag actually works.
19731 if test -n "$lt_prog_compiler_pic_F77"; then
19733 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
19734 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
19735 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
19736 echo $ECHO_N "(cached) $ECHO_C" >&6
19738 lt_prog_compiler_pic_works_F77=no
19739 ac_outfile=conftest.$ac_objext
19740 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19741 lt_compiler_flag="$lt_prog_compiler_pic_F77"
19742 # Insert the option either (1) after the last *FLAGS variable, or
19743 # (2) before a word containing "conftest.", or (3) at the end.
19744 # Note that $ac_compile itself does not contain backslashes and begins
19745 # with a dollar sign (not a hyphen), so the echo should work correctly.
19746 # The option is referenced via a variable to avoid confusing sed.
19747 lt_compile=`echo "$ac_compile" | $SED \
19748 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
19749 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19750 -e 's:$: $lt_compiler_flag:'`
19751 (eval echo "\"\$as_me:19751: $lt_compile\"" >&5)
19752 (eval "$lt_compile" 2>conftest.err)
19754 cat conftest.err >&5
19755 echo "$as_me:19755: \$? = $ac_status" >&5
19756 if (exit $ac_status) && test -s "$ac_outfile"; then
19757 # The compiler can only warn and ignore the option if not recognized
19758 # So say no if there are warnings
19759 if test ! -s conftest.err; then
19760 lt_prog_compiler_pic_works_F77=yes
19766 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
19767 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
19769 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
19770 case $lt_prog_compiler_pic_F77 in
19772 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
19775 lt_prog_compiler_pic_F77=
19776 lt_prog_compiler_can_build_shared_F77=no
19781 # For platforms which do not support PIC, -DPIC is meaningless:
19783 lt_prog_compiler_pic_F77=
19786 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
19790 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
19791 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
19792 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
19793 echo $ECHO_N "(cached) $ECHO_C" >&6
19795 lt_cv_prog_compiler_c_o_F77=no
19796 $rm -r conftest 2>/dev/null
19800 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19802 lt_compiler_flag="-o out/conftest2.$ac_objext"
19803 # Insert the option either (1) after the last *FLAGS variable, or
19804 # (2) before a word containing "conftest.", or (3) at the end.
19805 # Note that $ac_compile itself does not contain backslashes and begins
19806 # with a dollar sign (not a hyphen), so the echo should work correctly.
19807 lt_compile=`echo "$ac_compile" | $SED \
19808 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
19809 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19810 -e 's:$: $lt_compiler_flag:'`
19811 (eval echo "\"\$as_me:19811: $lt_compile\"" >&5)
19812 (eval "$lt_compile" 2>out/conftest.err)
19814 cat out/conftest.err >&5
19815 echo "$as_me:19815: \$? = $ac_status" >&5
19816 if (exit $ac_status) && test -s out/conftest2.$ac_objext
19818 # The compiler can only warn and ignore the option if not recognized
19819 # So say no if there are warnings
19820 if test ! -s out/conftest.err; then
19821 lt_cv_prog_compiler_c_o_F77=yes
19826 # SGI C++ compiler will create directory out/ii_files/ for
19827 # template instantiation
19828 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
19829 $rm out/* && rmdir out
19835 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
19836 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
19839 hard_links="nottested"
19840 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
19841 # do not overwrite the value of need_locks provided by the user
19842 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
19843 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
19846 ln conftest.a conftest.b 2>/dev/null && hard_links=no
19848 ln conftest.a conftest.b 2>&5 || hard_links=no
19849 ln conftest.a conftest.b 2>/dev/null && hard_links=no
19850 echo "$as_me:$LINENO: result: $hard_links" >&5
19851 echo "${ECHO_T}$hard_links" >&6
19852 if test "$hard_links" = no; then
19853 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19854 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19861 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19862 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
19865 allow_undefined_flag_F77=
19866 enable_shared_with_static_runtimes_F77=no
19868 archive_expsym_cmds_F77=
19869 old_archive_From_new_cmds_F77=
19870 old_archive_from_expsyms_cmds_F77=
19871 export_dynamic_flag_spec_F77=
19872 whole_archive_flag_spec_F77=
19873 thread_safe_flag_spec_F77=
19874 hardcode_libdir_flag_spec_F77=
19875 hardcode_libdir_flag_spec_ld_F77=
19876 hardcode_libdir_separator_F77=
19877 hardcode_direct_F77=no
19878 hardcode_minus_L_F77=no
19879 hardcode_shlibpath_var_F77=unsupported
19880 link_all_deplibs_F77=unknown
19881 hardcode_automatic_F77=no
19883 module_expsym_cmds_F77=
19884 always_export_symbols_F77=no
19885 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19886 # include_expsyms should be a list of space-separated symbols to be *always*
19887 # included in the symbol list
19888 include_expsyms_F77=
19889 # exclude_expsyms can be an extended regexp of symbols to exclude
19890 # it will be wrapped by ` (' and `)$', so one must not match beginning or
19891 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
19892 # as well as any symbol that contains `d'.
19893 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
19894 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
19895 # platforms (ab)use it in PIC code, but their linkers get confused if
19896 # the symbol is explicitly referenced. Since portable code cannot
19897 # rely on this symbol name, it's probably fine to never include it in
19898 # preloaded symbol tables.
19899 extract_expsyms_cmds=
19902 cygwin* | mingw* | pw32*)
19903 # FIXME: the MSVC++ port hasn't been tested in a loooong time
19904 # When not using gcc, we currently assume that we are using
19905 # Microsoft Visual C++.
19906 if test "$GCC" != yes; then
19916 if test "$with_gnu_ld" = yes; then
19917 # If archive_cmds runs LD, not CC, wlarc should be empty
19920 # See if GNU ld supports shared libraries.
19922 aix3* | aix4* | aix5*)
19923 # On AIX/PPC, the GNU linker is very broken
19924 if test "$host_cpu" != ia64; then
19928 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
19929 *** to be unable to reliably create shared libraries on AIX.
19930 *** Therefore, libtool is disabling shared libraries support. If you
19931 *** really care for shared libraries, you may want to modify your PATH
19932 *** so that a non-GNU linker is found, and then restart.
19939 archive_cmds_F77='$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)'
19940 hardcode_libdir_flag_spec_F77='-L$libdir'
19941 hardcode_minus_L_F77=yes
19943 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
19944 # that the semantics of dynamic libraries on AmigaOS, at least up
19945 # to version 4, is to share data among multiple programs linked
19946 # with the same dynamic library. Since this doesn't match the
19947 # behavior of shared libraries on other platforms, we can't use
19953 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19954 allow_undefined_flag_F77=unsupported
19955 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
19956 # support --undefined. This deserves some investigation. FIXME
19957 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19963 cygwin* | mingw* | pw32*)
19964 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
19965 # as there is no search path for DLLs.
19966 hardcode_libdir_flag_spec_F77='-L$libdir'
19967 allow_undefined_flag_F77=unsupported
19968 always_export_symbols_F77=no
19969 enable_shared_with_static_runtimes_F77=yes
19970 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
19972 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
19973 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
19974 # If the export-symbols file already is a .def file (1st line
19975 # is EXPORTS), use it as is; otherwise, prepend...
19976 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
19977 cp $export_symbols $output_objdir/$soname.def;
19979 echo EXPORTS > $output_objdir/$soname.def;
19980 cat $export_symbols >> $output_objdir/$soname.def;
19982 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
19989 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19990 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
19993 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19994 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19999 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
20003 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
20004 *** create shared libraries on Solaris systems. Therefore, libtool
20005 *** is disabling shared libraries support. We urge you to upgrade GNU
20006 *** binutils to release 2.9.1 or newer. Another option is to modify
20007 *** your PATH or compiler configuration so that the native linker is
20008 *** used, and then restart.
20011 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
20012 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20013 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
20020 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20022 hardcode_direct_F77=yes
20023 hardcode_shlibpath_var_F77=no
20027 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
20028 tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20029 archive_cmds_F77="$tmp_archive_cmds"
20030 supports_anon_versioning=no
20031 case `$LD -v 2>/dev/null` in
20032 *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
20033 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
20034 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
20035 *\ 2.11.*) ;; # other 2.11 versions
20036 *) supports_anon_versioning=yes ;;
20038 if test $supports_anon_versioning = yes; then
20039 archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
20040 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
20041 $echo "local: *; };" >> $output_objdir/$libname.ver~
20042 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
20044 archive_expsym_cmds_F77="$tmp_archive_cmds"
20052 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
20053 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20054 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
20061 if test "$ld_shlibs_F77" = yes; then
20062 runpath_var=LD_RUN_PATH
20063 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
20064 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
20065 # ancient GNU ld didn't support --whole-archive et. al.
20066 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
20067 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
20069 whole_archive_flag_spec_F77=
20073 # PORTME fill in a description of your system's linker (not GNU ld)
20076 allow_undefined_flag_F77=unsupported
20077 always_export_symbols_F77=yes
20078 archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
20079 # Note: this linker hardcodes the directories in LIBPATH if there
20080 # are no directories specified by -L.
20081 hardcode_minus_L_F77=yes
20082 if test "$GCC" = yes && test -z "$link_static_flag"; then
20083 # Neither direct hardcoding nor static linking is supported with a
20085 hardcode_direct_F77=unsupported
20090 if test "$host_cpu" = ia64; then
20091 # On IA64, the linker does run time linking by default, so we don't
20092 # have to do anything special.
20093 aix_use_runtimelinking=no
20094 exp_sym_flag='-Bexport'
20097 # If we're using GNU nm, then we don't want the "-C" option.
20098 # -C means demangle to AIX nm, but means don't demangle with GNU nm
20099 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
20100 export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
20102 export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
20104 aix_use_runtimelinking=no
20106 # Test if we are trying to use run time linking or normal
20107 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
20108 # need to do runtime linking.
20109 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
20110 for ld_flag in $LDFLAGS; do
20111 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
20112 aix_use_runtimelinking=yes
20118 exp_sym_flag='-bexport'
20119 no_entry_flag='-bnoentry'
20122 # When large executables or shared objects are built, AIX ld can
20123 # have problems creating the table of contents. If linking a library
20124 # or program results in "error TOC overflow" add -mminimal-toc to
20125 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
20126 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
20128 archive_cmds_F77=''
20129 hardcode_direct_F77=yes
20130 hardcode_libdir_separator_F77=':'
20131 link_all_deplibs_F77=yes
20133 if test "$GCC" = yes; then
20134 case $host_os in aix4.012|aix4.012.*)
20135 # We only want to do this on AIX 4.2 and lower, the check
20136 # below for broken collect2 doesn't work under 4.3+
20137 collect2name=`${CC} -print-prog-name=collect2`
20138 if test -f "$collect2name" && \
20139 strings "$collect2name" | grep resolve_lib_name >/dev/null
20141 # We have reworked collect2
20142 hardcode_direct_F77=yes
20144 # We have old collect2
20145 hardcode_direct_F77=unsupported
20146 # It fails to find uninstalled libraries when the uninstalled
20147 # path is not listed in the libpath. Setting hardcode_minus_L
20148 # to unsupported forces relinking
20149 hardcode_minus_L_F77=yes
20150 hardcode_libdir_flag_spec_F77='-L$libdir'
20151 hardcode_libdir_separator_F77=
20154 shared_flag='-shared'
20157 if test "$host_cpu" = ia64; then
20158 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
20159 # chokes on -Wl,-G. The following line is correct:
20162 if test "$aix_use_runtimelinking" = yes; then
20163 shared_flag='${wl}-G'
20165 shared_flag='${wl}-bM:SRE'
20170 # It seems that -bexpall does not export symbols beginning with
20171 # underscore (_), so it is better to generate a list of symbols to export.
20172 always_export_symbols_F77=yes
20173 if test "$aix_use_runtimelinking" = yes; then
20174 # Warning - without using the other runtime loading flags (-brtl),
20175 # -berok will link without error, but may produce a broken library.
20176 allow_undefined_flag_F77='-berok'
20177 # Determine the default libpath from the value encoded in an empty executable.
20178 cat >conftest.$ac_ext <<_ACEOF
20183 rm -f conftest.$ac_objext conftest$ac_exeext
20184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20185 (eval $ac_link) 2>conftest.er1
20187 grep -v '^ *+' conftest.er1 >conftest.err
20189 cat conftest.err >&5
20190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20191 (exit $ac_status); } &&
20192 { ac_try='test -z "$ac_f77_werror_flag"
20193 || test ! -s conftest.err'
20194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20195 (eval $ac_try) 2>&5
20197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20198 (exit $ac_status); }; } &&
20199 { ac_try='test -s conftest$ac_exeext'
20200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20201 (eval $ac_try) 2>&5
20203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20204 (exit $ac_status); }; }; then
20206 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
20208 # Check for a 64-bit object if we didn't find anything.
20209 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
20212 echo "$as_me: failed program was:" >&5
20213 sed 's/^/| /' conftest.$ac_ext >&5
20216 rm -f conftest.err conftest.$ac_objext \
20217 conftest$ac_exeext conftest.$ac_ext
20218 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20220 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
20221 archive_expsym_cmds_F77="\$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"
20223 if test "$host_cpu" = ia64; then
20224 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
20225 allow_undefined_flag_F77="-z nodefs"
20226 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
20228 # Determine the default libpath from the value encoded in an empty executable.
20229 cat >conftest.$ac_ext <<_ACEOF
20234 rm -f conftest.$ac_objext conftest$ac_exeext
20235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20236 (eval $ac_link) 2>conftest.er1
20238 grep -v '^ *+' conftest.er1 >conftest.err
20240 cat conftest.err >&5
20241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20242 (exit $ac_status); } &&
20243 { ac_try='test -z "$ac_f77_werror_flag"
20244 || test ! -s conftest.err'
20245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20246 (eval $ac_try) 2>&5
20248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20249 (exit $ac_status); }; } &&
20250 { ac_try='test -s conftest$ac_exeext'
20251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20252 (eval $ac_try) 2>&5
20254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20255 (exit $ac_status); }; }; then
20257 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
20259 # Check for a 64-bit object if we didn't find anything.
20260 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
20263 echo "$as_me: failed program was:" >&5
20264 sed 's/^/| /' conftest.$ac_ext >&5
20267 rm -f conftest.err conftest.$ac_objext \
20268 conftest$ac_exeext conftest.$ac_ext
20269 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20271 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
20272 # Warning - without using the other run time loading flags,
20273 # -berok will link without error, but may produce a broken library.
20274 no_undefined_flag_F77=' ${wl}-bernotok'
20275 allow_undefined_flag_F77=' ${wl}-berok'
20276 # -bexpall does not export symbols beginning with underscore (_)
20277 always_export_symbols_F77=yes
20278 # Exported symbols can be pulled into shared objects from archives
20279 whole_archive_flag_spec_F77=' '
20280 archive_cmds_need_lc_F77=yes
20281 # This is similar to how AIX traditionally builds it's shared libraries.
20282 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
20288 archive_cmds_F77='$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)'
20289 hardcode_libdir_flag_spec_F77='-L$libdir'
20290 hardcode_minus_L_F77=yes
20291 # see comment about different semantics on the GNU ld section
20296 export_dynamic_flag_spec_F77=-rdynamic
20299 cygwin* | mingw* | pw32*)
20300 # When not using gcc, we currently assume that we are using
20301 # Microsoft Visual C++.
20302 # hardcode_libdir_flag_spec is actually meaningless, as there is
20303 # no search path for DLLs.
20304 hardcode_libdir_flag_spec_F77=' '
20305 allow_undefined_flag_F77=unsupported
20306 # Tell ltmain to make .lib files, not .a files.
20308 # Tell ltmain to make .dll files, not .so files.
20310 # FIXME: Setting linknames here is a bad hack.
20311 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
20312 # The linker will automatically build a .lib file if we build a DLL.
20313 old_archive_From_new_cmds_F77='true'
20314 # FIXME: Should let the user specify the lib program.
20315 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
20316 fix_srcfile_path='`cygpath -w "$srcfile"`'
20317 enable_shared_with_static_runtimes_F77=yes
20320 darwin* | rhapsody*)
20321 if test "$GXX" = yes ; then
20322 archive_cmds_need_lc_F77=no
20324 rhapsody* | darwin1.[012])
20325 allow_undefined_flag_F77='-undefined suppress'
20328 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
20329 allow_undefined_flag_F77='-flat_namespace -undefined suppress'
20331 case ${MACOSX_DEPLOYMENT_TARGET} in
20333 allow_undefined_flag_F77='-flat_namespace -undefined suppress'
20336 allow_undefined_flag_F77='-undefined dynamic_lookup'
20342 lt_int_apple_cc_single_mod=no
20343 output_verbose_link_cmd='echo'
20344 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
20345 lt_int_apple_cc_single_mod=yes
20347 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
20348 archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
20350 archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
20352 module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
20353 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
20354 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
20355 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
20357 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
20359 module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
20360 hardcode_direct_F77=no
20361 hardcode_automatic_F77=yes
20362 hardcode_shlibpath_var_F77=unsupported
20363 whole_archive_flag_spec_F77='-all_load $convenience'
20364 link_all_deplibs_F77=yes
20371 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20372 hardcode_libdir_flag_spec_F77='-L$libdir'
20373 hardcode_shlibpath_var_F77=no
20380 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
20381 # support. Future versions do this automatically, but an explicit c++rt0.o
20382 # does not break anything, and helps significantly (at the cost of a little
20385 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
20386 hardcode_libdir_flag_spec_F77='-R$libdir'
20387 hardcode_direct_F77=yes
20388 hardcode_shlibpath_var_F77=no
20391 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
20393 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20394 hardcode_direct_F77=yes
20395 hardcode_minus_L_F77=yes
20396 hardcode_shlibpath_var_F77=no
20399 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
20400 freebsd* | kfreebsd*-gnu)
20401 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
20402 hardcode_libdir_flag_spec_F77='-R$libdir'
20403 hardcode_direct_F77=yes
20404 hardcode_shlibpath_var_F77=no
20408 if test "$GCC" = yes; then
20409 archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
20411 archive_cmds_F77='$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'
20413 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
20414 hardcode_libdir_separator_F77=:
20415 hardcode_direct_F77=yes
20417 # hardcode_minus_L: Not really in the search PATH,
20418 # but as the default location of the library.
20419 hardcode_minus_L_F77=yes
20420 export_dynamic_flag_spec_F77='${wl}-E'
20424 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
20425 case "$host_cpu" in
20427 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
20430 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
20434 case "$host_cpu" in
20436 archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
20439 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
20443 if test "$with_gnu_ld" = no; then
20444 case "$host_cpu" in
20446 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
20447 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
20448 hardcode_libdir_separator_F77=:
20449 hardcode_direct_F77=no
20450 hardcode_shlibpath_var_F77=no
20453 hardcode_libdir_flag_spec_F77='-L$libdir'
20454 hardcode_direct_F77=no
20455 hardcode_shlibpath_var_F77=no
20457 # hardcode_minus_L: Not really in the search PATH,
20458 # but as the default location of the library.
20459 hardcode_minus_L_F77=yes
20462 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
20463 hardcode_libdir_separator_F77=:
20464 hardcode_direct_F77=yes
20465 export_dynamic_flag_spec_F77='${wl}-E'
20467 # hardcode_minus_L: Not really in the search PATH,
20468 # but as the default location of the library.
20469 hardcode_minus_L_F77=yes
20475 irix5* | irix6* | nonstopux*)
20476 if test "$GCC" = yes; then
20477 archive_cmds_F77='$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'
20479 archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
20480 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
20482 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
20483 hardcode_libdir_separator_F77=:
20484 link_all_deplibs_F77=yes
20488 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20489 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
20491 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
20493 hardcode_libdir_flag_spec_F77='-R$libdir'
20494 hardcode_direct_F77=yes
20495 hardcode_shlibpath_var_F77=no
20499 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20500 hardcode_direct_F77=yes
20501 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
20502 hardcode_libdir_separator_F77=:
20503 hardcode_shlibpath_var_F77=no
20507 hardcode_direct_F77=yes
20508 hardcode_shlibpath_var_F77=no
20509 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20510 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
20511 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
20512 export_dynamic_flag_spec_F77='${wl}-E'
20515 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
20516 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20517 hardcode_libdir_flag_spec_F77='-R$libdir'
20520 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
20521 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
20528 hardcode_libdir_flag_spec_F77='-L$libdir'
20529 hardcode_minus_L_F77=yes
20530 allow_undefined_flag_F77=unsupported
20531 archive_cmds_F77='$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'
20532 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
20536 if test "$GCC" = yes; then
20537 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
20538 archive_cmds_F77='$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'
20540 allow_undefined_flag_F77=' -expect_unresolved \*'
20541 archive_cmds_F77='$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'
20543 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
20544 hardcode_libdir_separator_F77=:
20547 osf4* | osf5*) # as osf3* with the addition of -msym flag
20548 if test "$GCC" = yes; then
20549 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
20550 archive_cmds_F77='$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'
20551 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
20553 allow_undefined_flag_F77=' -expect_unresolved \*'
20554 archive_cmds_F77='$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'
20555 archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
20556 $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'
20558 # Both c and cxx compiler support -rpath directly
20559 hardcode_libdir_flag_spec_F77='-rpath $libdir'
20561 hardcode_libdir_separator_F77=:
20565 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20566 hardcode_shlibpath_var_F77=no
20567 export_dynamic_flag_spec_F77='${wl}-Bexport'
20568 runpath_var=LD_RUN_PATH
20569 hardcode_runpath_var=yes
20573 no_undefined_flag_F77=' -z text'
20574 if test "$GCC" = yes; then
20575 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
20576 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20577 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
20579 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
20580 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20581 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
20583 hardcode_libdir_flag_spec_F77='-R$libdir'
20584 hardcode_shlibpath_var_F77=no
20586 solaris2.[0-5] | solaris2.[0-5].*) ;;
20587 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
20588 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
20590 link_all_deplibs_F77=yes
20594 if test "x$host_vendor" = xsequent; then
20595 # Use $CC to link under sequent, because it throws in some extra .o
20596 # files that make .init and .fini sections work.
20597 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
20599 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
20601 hardcode_libdir_flag_spec_F77='-L$libdir'
20602 hardcode_direct_F77=yes
20603 hardcode_minus_L_F77=yes
20604 hardcode_shlibpath_var_F77=no
20608 case $host_vendor in
20610 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20611 hardcode_direct_F77=yes # is this really true???
20614 ## LD is ld it makes a PLAMLIB
20615 ## CC just makes a GrossModule.
20616 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
20617 reload_cmds_F77='$CC -r -o $output$reload_objs'
20618 hardcode_direct_F77=no
20621 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20622 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
20625 runpath_var='LD_RUN_PATH'
20626 hardcode_shlibpath_var_F77=no
20630 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20631 hardcode_shlibpath_var_F77=no
20632 export_dynamic_flag_spec_F77='-Bexport'
20636 if test -d /usr/nec; then
20637 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20638 hardcode_shlibpath_var_F77=no
20639 runpath_var=LD_RUN_PATH
20640 hardcode_runpath_var=yes
20646 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
20647 hardcode_direct_F77=yes
20648 hardcode_minus_L_F77=no
20649 hardcode_shlibpath_var_F77=no
20650 hardcode_runpath_var=yes
20651 runpath_var=LD_RUN_PATH
20654 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
20655 no_undefined_flag_F77='${wl}-z ${wl}text'
20656 if test "$GCC" = yes; then
20657 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
20659 archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
20661 runpath_var='LD_RUN_PATH'
20662 hardcode_shlibpath_var_F77=no
20666 no_undefined_flag_F77=' -z text'
20667 # $CC -shared without GNU ld will not create a library from C++
20668 # object files and a static libstdc++, better avoid it by now
20669 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
20670 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20671 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
20672 hardcode_libdir_flag_spec_F77=
20673 hardcode_shlibpath_var_F77=no
20674 runpath_var='LD_RUN_PATH'
20678 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20679 hardcode_libdir_flag_spec_F77='-L$libdir'
20680 hardcode_shlibpath_var_F77=no
20689 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
20690 echo "${ECHO_T}$ld_shlibs_F77" >&6
20691 test "$ld_shlibs_F77" = no && can_build_shared=no
20693 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20694 if test "$GCC" = yes; then
20695 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20699 # Do we need to explicitly link libc?
20701 case "x$archive_cmds_need_lc_F77" in
20703 # Assume -lc should be added
20704 archive_cmds_need_lc_F77=yes
20706 if test "$enable_shared" = yes && test "$GCC" = yes; then
20707 case $archive_cmds_F77 in
20709 # FIXME: we may have to deal with multi-command sequences.
20712 # Test whether the compiler implicitly links with -lc since on some
20713 # systems, -lgcc has to come before -lc. If gcc already passes -lc
20714 # to ld, don't add -lc before -lgcc.
20715 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
20716 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
20718 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
20720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20721 (eval $ac_compile) 2>&5
20723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20724 (exit $ac_status); } 2>conftest.err; then
20727 libobjs=conftest.$ac_objext
20729 wl=$lt_prog_compiler_wl_F77
20735 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
20736 allow_undefined_flag_F77=
20737 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
20738 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
20740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20741 (exit $ac_status); }
20743 archive_cmds_need_lc_F77=no
20745 archive_cmds_need_lc_F77=yes
20747 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
20749 cat conftest.err 1>&5
20752 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
20753 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
20760 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
20761 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
20762 library_names_spec=
20763 libname_spec='lib$name'
20767 postuninstall_cmds=
20771 shlibpath_overrides_runpath=unknown
20773 dynamic_linker="$host_os ld.so"
20774 sys_lib_dlsearch_path_spec="/lib /usr/lib"
20775 if test "$GCC" = yes; then
20776 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20777 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
20778 # if the path contains ";" then we assume it to be the separator
20779 # otherwise default to the standard path separator (i.e. ":") - it is
20780 # assumed that no part of a normal pathname contains ";" but that should
20781 # okay in the real world where ";" in dirpaths is itself problematic.
20782 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20784 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20787 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
20789 need_lib_prefix=unknown
20790 hardcode_into_libs=no
20792 # when you set need_version to no, make sure it does not cause -set_version
20793 # flags to be left without arguments
20794 need_version=unknown
20799 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
20800 shlibpath_var=LIBPATH
20802 # AIX 3 has no versioning support, so we append a major version to the name.
20803 soname_spec='${libname}${release}${shared_ext}$major'
20810 hardcode_into_libs=yes
20811 if test "$host_cpu" = ia64; then
20812 # AIX 5 supports IA64
20813 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20814 shlibpath_var=LD_LIBRARY_PATH
20816 # With GCC up to 2.95.x, collect2 would create an import file
20817 # for dependence libraries. The import file would start with
20818 # the line `#! .'. This would cause the generated library to
20819 # depend on `.', always an invalid library. This was fixed in
20820 # development snapshots of GCC prior to 3.0.
20822 aix4 | aix4.[01] | aix4.[01].*)
20823 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20825 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
20828 can_build_shared=no
20832 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20833 # soname into executable. Probably we can add versioning support to
20834 # collect2, so additional links can be useful in future.
20835 if test "$aix_use_runtimelinking" = yes; then
20836 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20837 # instead of lib<name>.a to let people know that these are not
20838 # typical AIX shared libraries.
20839 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20841 # We preserve .a as extension for shared libraries through AIX4.2
20842 # and later when we are not doing run time linking.
20843 library_names_spec='${libname}${release}.a $libname.a'
20844 soname_spec='${libname}${release}${shared_ext}$major'
20846 shlibpath_var=LIBPATH
20851 library_names_spec='$libname.ixlibrary $libname.a'
20852 # Create ${libname}_ixlibrary.a entries in /sys/libs.
20853 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'
20857 library_names_spec='${libname}${shared_ext}'
20858 dynamic_linker="$host_os ld.so"
20859 shlibpath_var=LIBRARY_PATH
20865 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20866 soname_spec='${libname}${release}${shared_ext}$major'
20867 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
20868 shlibpath_var=LD_LIBRARY_PATH
20869 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20870 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
20871 # the default ld.so.conf also contains /usr/contrib/lib and
20872 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20873 # libtool to hard-code these into programs
20876 cygwin* | mingw* | pw32*)
20877 version_type=windows
20882 case $GCC,$host_os in
20883 yes,cygwin* | yes,mingw* | yes,pw32*)
20884 library_names_spec='$libname.dll.a'
20885 # DLL is installed to $(libdir)/../bin by postinstall_cmds
20886 postinstall_cmds='base_file=`basename \${file}`~
20887 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
20888 dldir=$destdir/`dirname \$dlpath`~
20889 test -d \$dldir || mkdir -p \$dldir~
20890 $install_prog $dir/$dlname \$dldir/$dlname'
20891 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20892 dlpath=$dir/\$dldll~
20894 shlibpath_overrides_runpath=yes
20898 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
20899 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20900 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
20903 # MinGW DLLs use traditional 'lib' prefix
20904 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20905 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20906 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
20907 # It is most probably a Windows format PATH printed by
20908 # mingw gcc, but we are running on Cygwin. Gcc prints its search
20909 # path with ; separators, and with drive letters. We can handle the
20910 # drive letters (cygwin fileutils understands them), so leave them,
20911 # especially as we might pass files found there to a mingw objdump,
20912 # which wouldn't understand a cygwinified path. Ahh.
20913 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20915 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20919 # pw32 DLLs use 'pw' prefix rather than 'lib'
20920 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
20926 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20929 dynamic_linker='Win32 ld.exe'
20930 # FIXME: first we should search . and the directory the executable is in
20934 darwin* | rhapsody*)
20935 dynamic_linker="$host_os dyld"
20936 version_type=darwin
20939 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20940 soname_spec='${libname}${release}${major}$shared_ext'
20941 shlibpath_overrides_runpath=yes
20942 shlibpath_var=DYLD_LIBRARY_PATH
20943 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
20944 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
20945 if test "$GCC" = yes; then
20946 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
20948 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
20950 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
20957 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20958 soname_spec='${libname}${release}${shared_ext}$major'
20959 shlibpath_var=LD_LIBRARY_PATH
20970 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20971 soname_spec='${libname}${release}${shared_ext}$major'
20972 shlibpath_var=LD_LIBRARY_PATH
20973 shlibpath_overrides_runpath=no
20974 hardcode_into_libs=yes
20975 dynamic_linker='GNU ld.so'
20979 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
20980 version_type=freebsd-$objformat
20981 case $version_type in
20983 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20988 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20992 shlibpath_var=LD_LIBRARY_PATH
20995 shlibpath_overrides_runpath=yes
20997 freebsd3.01* | freebsdelf3.01*)
20998 shlibpath_overrides_runpath=yes
20999 hardcode_into_libs=yes
21002 shlibpath_overrides_runpath=no
21003 hardcode_into_libs=yes
21012 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
21013 soname_spec='${libname}${release}${shared_ext}$major'
21014 shlibpath_var=LD_LIBRARY_PATH
21015 hardcode_into_libs=yes
21018 hpux9* | hpux10* | hpux11*)
21019 # Give a soname corresponding to the major version so that dld.sl refuses to
21020 # link against other versions.
21024 case "$host_cpu" in
21027 hardcode_into_libs=yes
21028 dynamic_linker="$host_os dld.so"
21029 shlibpath_var=LD_LIBRARY_PATH
21030 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
21031 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21032 soname_spec='${libname}${release}${shared_ext}$major'
21033 if test "X$HPUX_IA64_MODE" = X32; then
21034 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
21036 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
21038 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
21042 hardcode_into_libs=yes
21043 dynamic_linker="$host_os dld.sl"
21044 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
21045 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
21046 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21047 soname_spec='${libname}${release}${shared_ext}$major'
21048 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
21049 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
21053 dynamic_linker="$host_os dld.sl"
21054 shlibpath_var=SHLIB_PATH
21055 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
21056 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21057 soname_spec='${libname}${release}${shared_ext}$major'
21060 # HP-UX runs *really* slowly unless shared libraries are mode 555.
21061 postinstall_cmds='chmod 555 $lib'
21064 irix5* | irix6* | nonstopux*)
21066 nonstopux*) version_type=nonstopux ;;
21068 if test "$lt_cv_prog_gnu_ld" = yes; then
21076 soname_spec='${libname}${release}${shared_ext}$major'
21077 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
21079 irix5* | nonstopux*)
21080 libsuff= shlibsuff=
21083 case $LD in # libtool.m4 will add one of these switches to LD
21084 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
21085 libsuff= shlibsuff= libmagic=32-bit;;
21086 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
21087 libsuff=32 shlibsuff=N32 libmagic=N32;;
21088 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
21089 libsuff=64 shlibsuff=64 libmagic=64-bit;;
21090 *) libsuff= shlibsuff= libmagic=never-match;;
21094 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
21095 shlibpath_overrides_runpath=no
21096 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
21097 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
21098 hardcode_into_libs=yes
21101 # No shared lib support for Linux oldld, aout, or coff.
21102 linux*oldld* | linux*aout* | linux*coff*)
21106 # This must be Linux ELF.
21111 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21112 soname_spec='${libname}${release}${shared_ext}$major'
21113 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
21114 shlibpath_var=LD_LIBRARY_PATH
21115 shlibpath_overrides_runpath=no
21116 # This implies no fast_install, which is unacceptable.
21117 # Some rework will be needed to allow for fast_install
21118 # before this can be enabled.
21119 hardcode_into_libs=yes
21121 # find out which ABI we are using
21123 case "$host_cpu" in
21124 x86_64*|s390x*|powerpc64*)
21125 echo '#line 21125 "configure"' > conftest.$ac_ext
21126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21127 (eval $ac_compile) 2>&5
21129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21130 (exit $ac_status); }; then
21131 case `/usr/bin/file conftest.$ac_objext` in
21134 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
21142 # Append ld.so.conf contents to the search path
21143 if test -f /etc/ld.so.conf; then
21144 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
21145 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
21148 # We used to test for /lib/ld.so.1 and disable shared libraries on
21149 # powerpc, because MkLinux only supported shared libraries with the
21150 # GNU dynamic linker. Since this was broken with cross compilers,
21151 # most powerpc-linux boxes support dynamic linking these days and
21152 # people can always --disable-shared, the test was removed, and we
21153 # assume the GNU/Linux dynamic linker is in use.
21154 dynamic_linker='GNU/Linux ld.so'
21161 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21162 soname_spec='${libname}${release}${shared_ext}$major'
21163 shlibpath_var=LD_LIBRARY_PATH
21164 shlibpath_overrides_runpath=no
21165 hardcode_into_libs=yes
21166 dynamic_linker='GNU ld.so'
21173 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
21174 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21175 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
21176 dynamic_linker='NetBSD (a.out) ld.so'
21178 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21179 soname_spec='${libname}${release}${shared_ext}$major'
21180 dynamic_linker='NetBSD ld.elf_so'
21182 shlibpath_var=LD_LIBRARY_PATH
21183 shlibpath_overrides_runpath=yes
21184 hardcode_into_libs=yes
21189 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21190 shlibpath_var=LD_LIBRARY_PATH
21191 shlibpath_overrides_runpath=yes
21198 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21199 soname_spec='${libname}${release}${shared_ext}$major'
21200 shlibpath_var=LD_LIBRARY_PATH
21201 shlibpath_overrides_runpath=yes
21208 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21209 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
21210 shlibpath_var=LD_LIBRARY_PATH
21211 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
21213 openbsd2.[89] | openbsd2.[89].*)
21214 shlibpath_overrides_runpath=no
21217 shlibpath_overrides_runpath=yes
21221 shlibpath_overrides_runpath=yes
21226 libname_spec='$name'
21229 library_names_spec='$libname${shared_ext} $libname.a'
21230 dynamic_linker='OS/2 ld.exe'
21231 shlibpath_var=LIBPATH
21234 osf3* | osf4* | osf5*)
21238 soname_spec='${libname}${release}${shared_ext}$major'
21239 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21240 shlibpath_var=LD_LIBRARY_PATH
21241 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
21242 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
21247 soname_spec='${libname}${release}${shared_ext}$major'
21248 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21249 shlibpath_var=LD_LIBRARY_PATH
21256 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21257 soname_spec='${libname}${release}${shared_ext}$major'
21258 shlibpath_var=LD_LIBRARY_PATH
21259 shlibpath_overrides_runpath=yes
21260 hardcode_into_libs=yes
21261 # ldd complains unless libraries are executable
21262 postinstall_cmds='chmod +x $lib'
21267 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21268 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
21269 shlibpath_var=LD_LIBRARY_PATH
21270 shlibpath_overrides_runpath=yes
21271 if test "$with_gnu_ld" = yes; then
21277 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
21279 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21280 soname_spec='${libname}${release}${shared_ext}$major'
21281 shlibpath_var=LD_LIBRARY_PATH
21282 case $host_vendor in
21284 shlibpath_overrides_runpath=no
21286 export_dynamic_flag_spec='${wl}-Blargedynsym'
21287 runpath_var=LD_RUN_PATH
21295 shlibpath_overrides_runpath=no
21296 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
21302 if test -d /usr/nec ;then
21304 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
21305 soname_spec='$libname${shared_ext}.$major'
21306 shlibpath_var=LD_LIBRARY_PATH
21312 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21313 soname_spec='${libname}${release}${shared_ext}$major'
21314 shlibpath_var=LD_LIBRARY_PATH
21321 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
21322 echo "${ECHO_T}$dynamic_linker" >&6
21323 test "$dynamic_linker" = no && can_build_shared=no
21325 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
21326 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
21327 hardcode_action_F77=
21328 if test -n "$hardcode_libdir_flag_spec_F77" || \
21329 test -n "$runpath_var F77" || \
21330 test "X$hardcode_automatic_F77"="Xyes" ; then
21332 # We can hardcode non-existant directories.
21333 if test "$hardcode_direct_F77" != no &&
21334 # If the only mechanism to avoid hardcoding is shlibpath_var, we
21335 # have to relink, otherwise we might link with an installed library
21336 # when we should be linking with a yet-to-be-installed one
21337 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
21338 test "$hardcode_minus_L_F77" != no; then
21339 # Linking always hardcodes the temporary library directory.
21340 hardcode_action_F77=relink
21342 # We can link without hardcoding, and we can hardcode nonexisting dirs.
21343 hardcode_action_F77=immediate
21346 # We cannot hardcode anything, or else we can only hardcode existing
21348 hardcode_action_F77=unsupported
21350 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
21351 echo "${ECHO_T}$hardcode_action_F77" >&6
21353 if test "$hardcode_action_F77" = relink; then
21354 # Fast installation is not supported
21355 enable_fast_install=no
21356 elif test "$shlibpath_overrides_runpath" = yes ||
21357 test "$enable_shared" = no; then
21358 # Fast installation is not necessary
21359 enable_fast_install=needless
21364 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
21365 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
21366 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
21367 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
21368 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
21369 echo "$as_me:$LINENO: result: yes" >&5
21370 echo "${ECHO_T}yes" >&6
21372 # FIXME - insert some real tests, host_os isn't really good enough
21375 if test -n "$STRIP" ; then
21376 striplib="$STRIP -x"
21377 echo "$as_me:$LINENO: result: yes" >&5
21378 echo "${ECHO_T}yes" >&6
21380 echo "$as_me:$LINENO: result: no" >&5
21381 echo "${ECHO_T}no" >&6
21385 echo "$as_me:$LINENO: result: no" >&5
21386 echo "${ECHO_T}no" >&6
21393 # The else clause should only fire when bootstrapping the
21394 # libtool distribution, otherwise you forgot to ship ltmain.sh
21395 # with your package, and you will get complaints that there are
21396 # no rules to generate ltmain.sh.
21397 if test -f "$ltmain"; then
21398 # See if we are running on zsh, and set the options which allow our commands through
21399 # without removal of \ escapes.
21400 if test -n "${ZSH_VERSION+set}" ; then
21401 setopt NO_GLOB_SUBST
21403 # Now quote all the things that may contain metacharacters while being
21404 # careful not to overquote the AC_SUBSTed values. We take copies of the
21405 # variables and quote the copies for generation of the libtool script.
21406 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
21408 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
21409 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
21410 deplibs_check_method reload_flag reload_cmds need_locks \
21411 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
21412 lt_cv_sys_global_symbol_to_c_name_address \
21413 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
21414 old_postinstall_cmds old_postuninstall_cmds \
21418 lt_prog_compiler_wl_F77 \
21419 lt_prog_compiler_pic_F77 \
21420 lt_prog_compiler_static_F77 \
21421 lt_prog_compiler_no_builtin_flag_F77 \
21422 export_dynamic_flag_spec_F77 \
21423 thread_safe_flag_spec_F77 \
21424 whole_archive_flag_spec_F77 \
21425 enable_shared_with_static_runtimes_F77 \
21426 old_archive_cmds_F77 \
21427 old_archive_from_new_cmds_F77 \
21428 predep_objects_F77 \
21429 postdep_objects_F77 \
21432 compiler_lib_search_path_F77 \
21434 archive_expsym_cmds_F77 \
21435 postinstall_cmds_F77 \
21436 postuninstall_cmds_F77 \
21437 old_archive_from_expsyms_cmds_F77 \
21438 allow_undefined_flag_F77 \
21439 no_undefined_flag_F77 \
21440 export_symbols_cmds_F77 \
21441 hardcode_libdir_flag_spec_F77 \
21442 hardcode_libdir_flag_spec_ld_F77 \
21443 hardcode_libdir_separator_F77 \
21444 hardcode_automatic_F77 \
21446 module_expsym_cmds_F77 \
21447 lt_cv_prog_compiler_c_o_F77 \
21448 exclude_expsyms_F77 \
21449 include_expsyms_F77; do
21452 old_archive_cmds_F77 | \
21453 old_archive_from_new_cmds_F77 | \
21454 archive_cmds_F77 | \
21455 archive_expsym_cmds_F77 | \
21456 module_cmds_F77 | \
21457 module_expsym_cmds_F77 | \
21458 old_archive_from_expsyms_cmds_F77 | \
21459 export_symbols_cmds_F77 | \
21460 extract_expsyms_cmds | reload_cmds | finish_cmds | \
21461 postinstall_cmds | postuninstall_cmds | \
21462 old_postinstall_cmds | old_postuninstall_cmds | \
21463 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
21464 # Double-quote double-evaled strings.
21465 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
21468 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
21474 *'\$0 --fallback-echo"')
21475 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
21481 cat <<__EOF__ >> "$cfgfile"
21482 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
21484 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21486 # Shell to use when invoking shell scripts.
21489 # Whether or not to build shared libraries.
21490 build_libtool_libs=$enable_shared
21492 # Whether or not to build static libraries.
21493 build_old_libs=$enable_static
21495 # Whether or not to add -lc for building shared libraries.
21496 build_libtool_need_lc=$archive_cmds_need_lc_F77
21498 # Whether or not to disallow shared libs when runtime libs are static
21499 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
21501 # Whether or not to optimize for fast installation.
21502 fast_install=$enable_fast_install
21505 host_alias=$host_alias
21508 # An echo program that does not interpret backslashes.
21513 AR_FLAGS=$lt_AR_FLAGS
21518 # A language-specific compiler.
21519 CC=$lt_compiler_F77
21521 # Is the compiler the GNU C compiler?
21527 # The linker used to build libraries.
21530 # Whether we need hard or soft links.
21533 # A BSD-compatible nm program.
21536 # A symbol stripping program
21539 # Used to examine libraries when file_magic_cmd begins "file"
21540 MAGIC_CMD=$MAGIC_CMD
21542 # Used on cygwin: DLL creation program.
21545 # Used on cygwin: object dumper.
21548 # Used on cygwin: assembler.
21551 # The name of the directory that contains temporary libtool files.
21554 # How to create reloadable object files.
21555 reload_flag=$lt_reload_flag
21556 reload_cmds=$lt_reload_cmds
21558 # How to pass a linker flag through the compiler.
21559 wl=$lt_lt_prog_compiler_wl_F77
21561 # Object file suffix (normally "o").
21562 objext="$ac_objext"
21564 # Old archive suffix (normally "a").
21567 # Shared library suffix (normally ".so").
21568 shrext_cmds='$shrext_cmds'
21570 # Executable file suffix (normally "").
21573 # Additional compiler flags for building library objects.
21574 pic_flag=$lt_lt_prog_compiler_pic_F77
21577 # What is the maximum length of a command?
21578 max_cmd_len=$lt_cv_sys_max_cmd_len
21580 # Does compiler simultaneously support -c and -o options?
21581 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
21583 # Must we lock files when doing compilation ?
21584 need_locks=$lt_need_locks
21586 # Do we need the lib prefix for modules?
21587 need_lib_prefix=$need_lib_prefix
21589 # Do we need a version for libraries?
21590 need_version=$need_version
21592 # Whether dlopen is supported.
21593 dlopen_support=$enable_dlopen
21595 # Whether dlopen of programs is supported.
21596 dlopen_self=$enable_dlopen_self
21598 # Whether dlopen of statically linked programs is supported.
21599 dlopen_self_static=$enable_dlopen_self_static
21601 # Compiler flag to prevent dynamic linking.
21602 link_static_flag=$lt_lt_prog_compiler_static_F77
21604 # Compiler flag to turn off builtin functions.
21605 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
21607 # Compiler flag to allow reflexive dlopens.
21608 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
21610 # Compiler flag to generate shared objects directly from archives.
21611 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
21613 # Compiler flag to generate thread-safe objects.
21614 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
21616 # Library versioning type.
21617 version_type=$version_type
21619 # Format of library name prefix.
21620 libname_spec=$lt_libname_spec
21622 # List of archive names. First name is the real one, the rest are links.
21623 # The last name is the one that the linker finds with -lNAME.
21624 library_names_spec=$lt_library_names_spec
21626 # The coded name of the library, if different from the real name.
21627 soname_spec=$lt_soname_spec
21629 # Commands used to build and install an old-style archive.
21631 old_archive_cmds=$lt_old_archive_cmds_F77
21632 old_postinstall_cmds=$lt_old_postinstall_cmds
21633 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21635 # Create an old-style archive from a shared archive.
21636 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
21638 # Create a temporary old-style archive to link instead of a shared archive.
21639 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
21641 # Commands used to build and install a shared archive.
21642 archive_cmds=$lt_archive_cmds_F77
21643 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
21644 postinstall_cmds=$lt_postinstall_cmds
21645 postuninstall_cmds=$lt_postuninstall_cmds
21647 # Commands used to build a loadable module (assumed same as above if empty)
21648 module_cmds=$lt_module_cmds_F77
21649 module_expsym_cmds=$lt_module_expsym_cmds_F77
21651 # Commands to strip libraries.
21652 old_striplib=$lt_old_striplib
21653 striplib=$lt_striplib
21655 # Dependencies to place before the objects being linked to create a
21657 predep_objects=$lt_predep_objects_F77
21659 # Dependencies to place after the objects being linked to create a
21661 postdep_objects=$lt_postdep_objects_F77
21663 # Dependencies to place before the objects being linked to create a
21665 predeps=$lt_predeps_F77
21667 # Dependencies to place after the objects being linked to create a
21669 postdeps=$lt_postdeps_F77
21671 # The library search path used internally by the compiler when linking
21672 # a shared library.
21673 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
21675 # Method to check whether dependent libraries are shared objects.
21676 deplibs_check_method=$lt_deplibs_check_method
21678 # Command to use when deplibs_check_method == file_magic.
21679 file_magic_cmd=$lt_file_magic_cmd
21681 # Flag that allows shared libraries with undefined symbols to be built.
21682 allow_undefined_flag=$lt_allow_undefined_flag_F77
21684 # Flag that forces no undefined symbols.
21685 no_undefined_flag=$lt_no_undefined_flag_F77
21687 # Commands used to finish a libtool library installation in a directory.
21688 finish_cmds=$lt_finish_cmds
21690 # Same as above, but a single script fragment to be evaled but not shown.
21691 finish_eval=$lt_finish_eval
21693 # Take the output of nm and produce a listing of raw symbols and C names.
21694 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21696 # Transform the output of nm in a proper C declaration
21697 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21699 # Transform the output of nm in a C name address pair
21700 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21702 # This is the shared library runtime path variable.
21703 runpath_var=$runpath_var
21705 # This is the shared library path variable.
21706 shlibpath_var=$shlibpath_var
21708 # Is shlibpath searched before the hard-coded library search path?
21709 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21711 # How to hardcode a shared library path into an executable.
21712 hardcode_action=$hardcode_action_F77
21714 # Whether we should hardcode library paths into libraries.
21715 hardcode_into_libs=$hardcode_into_libs
21717 # Flag to hardcode \$libdir into a binary during linking.
21718 # This must work even if \$libdir does not exist.
21719 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
21721 # If ld is used when linking, flag to hardcode \$libdir into
21722 # a binary during linking. This must work even if \$libdir does
21724 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
21726 # Whether we need a single -rpath flag with a separated argument.
21727 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
21729 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
21730 # resulting binary.
21731 hardcode_direct=$hardcode_direct_F77
21733 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
21734 # resulting binary.
21735 hardcode_minus_L=$hardcode_minus_L_F77
21737 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
21738 # the resulting binary.
21739 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
21741 # Set to yes if building a shared library automatically hardcodes DIR into the library
21742 # and all subsequent libraries and executables linked against it.
21743 hardcode_automatic=$hardcode_automatic_F77
21745 # Variables whose values should be saved in libtool wrapper scripts and
21746 # restored at relink time.
21747 variables_saved_for_relink="$variables_saved_for_relink"
21749 # Whether libtool must link a program against all its dependency libraries.
21750 link_all_deplibs=$link_all_deplibs_F77
21752 # Compile-time system search path for libraries
21753 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21755 # Run-time system search path for libraries
21756 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21758 # Fix the shell variable \$srcfile for the compiler.
21759 fix_srcfile_path="$fix_srcfile_path_F77"
21761 # Set to yes if exported symbols are required.
21762 always_export_symbols=$always_export_symbols_F77
21764 # The commands to list exported symbols.
21765 export_symbols_cmds=$lt_export_symbols_cmds_F77
21767 # The commands to extract the exported symbol list from a shared archive.
21768 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21770 # Symbols that should not be listed in the preloaded symbols.
21771 exclude_expsyms=$lt_exclude_expsyms_F77
21773 # Symbols that must always be exported.
21774 include_expsyms=$lt_include_expsyms_F77
21776 # ### END LIBTOOL TAG CONFIG: $tagname
21782 # If there is no Makefile yet, we rely on a make rule to execute
21783 # `config.status --recheck' to rerun these tests and create the
21784 # libtool script then.
21785 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
21786 if test -f "$ltmain_in"; then
21787 test -f Makefile && make "$ltmain"
21793 ac_cpp='$CPP $CPPFLAGS'
21794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21806 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
21810 # Source file extension for Java test sources.
21813 # Object file extension for compiled Java test sources.
21817 # Code to be used in simple compile tests
21818 lt_simple_compile_test_code="class foo {}\n"
21820 # Code to be used in simple link tests
21821 lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
21823 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
21825 # If no C compiler was specified, use CC.
21828 # Allow CC to be a program name with arguments.
21832 # Allow CC to be a program name with arguments.
21838 # GCJ did not exist at the time GCC didn't implicitly link libc in.
21839 archive_cmds_need_lc_GCJ=no
21842 lt_prog_compiler_no_builtin_flag_GCJ=
21844 if test "$GCC" = yes; then
21845 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
21848 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
21849 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
21850 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
21851 echo $ECHO_N "(cached) $ECHO_C" >&6
21853 lt_cv_prog_compiler_rtti_exceptions=no
21854 ac_outfile=conftest.$ac_objext
21855 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
21856 lt_compiler_flag="-fno-rtti -fno-exceptions"
21857 # Insert the option either (1) after the last *FLAGS variable, or
21858 # (2) before a word containing "conftest.", or (3) at the end.
21859 # Note that $ac_compile itself does not contain backslashes and begins
21860 # with a dollar sign (not a hyphen), so the echo should work correctly.
21861 # The option is referenced via a variable to avoid confusing sed.
21862 lt_compile=`echo "$ac_compile" | $SED \
21863 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
21864 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21865 -e 's:$: $lt_compiler_flag:'`
21866 (eval echo "\"\$as_me:21866: $lt_compile\"" >&5)
21867 (eval "$lt_compile" 2>conftest.err)
21869 cat conftest.err >&5
21870 echo "$as_me:21870: \$? = $ac_status" >&5
21871 if (exit $ac_status) && test -s "$ac_outfile"; then
21872 # The compiler can only warn and ignore the option if not recognized
21873 # So say no if there are warnings
21874 if test ! -s conftest.err; then
21875 lt_cv_prog_compiler_rtti_exceptions=yes
21881 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
21882 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
21884 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
21885 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
21892 lt_prog_compiler_wl_GCJ=
21893 lt_prog_compiler_pic_GCJ=
21894 lt_prog_compiler_static_GCJ=
21896 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
21897 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21899 if test "$GCC" = yes; then
21900 lt_prog_compiler_wl_GCJ='-Wl,'
21901 lt_prog_compiler_static_GCJ='-static'
21905 # All AIX code is PIC.
21906 if test "$host_cpu" = ia64; then
21907 # AIX 5 now supports IA64 processor
21908 lt_prog_compiler_static_GCJ='-Bstatic'
21913 # FIXME: we need at least 68020 code to build shared libraries, but
21914 # adding the `-m68020' flag to GCC prevents building anything better,
21916 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
21919 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
21920 # PIC is the default for these OSes.
21923 mingw* | pw32* | os2*)
21924 # This hack is so that the source file can tell whether it is being
21925 # built for inclusion in a dll (and should export symbols for example).
21926 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
21929 darwin* | rhapsody*)
21930 # PIC is the default on this platform
21931 # Common symbols not allowed in MH_DYLIB files
21932 lt_prog_compiler_pic_GCJ='-fno-common'
21936 # Just because we use GCC doesn't mean we suddenly get shared libraries
21937 # on systems that don't support them.
21938 lt_prog_compiler_can_build_shared_GCJ=no
21943 if test -d /usr/nec; then
21944 lt_prog_compiler_pic_GCJ=-Kconform_pic
21949 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21950 # not for PA HP-UX.
21951 case "$host_cpu" in
21956 lt_prog_compiler_pic_GCJ='-fPIC'
21962 lt_prog_compiler_pic_GCJ='-fPIC'
21966 # PORTME Check for flag to pass linker flags through the system compiler.
21969 lt_prog_compiler_wl_GCJ='-Wl,'
21970 if test "$host_cpu" = ia64; then
21971 # AIX 5 now supports IA64 processor
21972 lt_prog_compiler_static_GCJ='-Bstatic'
21974 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
21978 mingw* | pw32* | os2*)
21979 # This hack is so that the source file can tell whether it is being
21980 # built for inclusion in a dll (and should export symbols for example).
21981 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
21984 hpux9* | hpux10* | hpux11*)
21985 lt_prog_compiler_wl_GCJ='-Wl,'
21986 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21987 # not for PA HP-UX.
21988 case "$host_cpu" in
21993 lt_prog_compiler_pic_GCJ='+Z'
21996 # Is there a better lt_prog_compiler_static that works with the bundled CC?
21997 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
22000 irix5* | irix6* | nonstopux*)
22001 lt_prog_compiler_wl_GCJ='-Wl,'
22002 # PIC (with -KPIC) is the default.
22003 lt_prog_compiler_static_GCJ='-non_shared'
22007 lt_prog_compiler_pic_GCJ='-KPIC'
22008 lt_prog_compiler_static_GCJ='-Bstatic'
22014 lt_prog_compiler_wl_GCJ='-Wl,'
22015 lt_prog_compiler_pic_GCJ='-KPIC'
22016 lt_prog_compiler_static_GCJ='-static'
22019 lt_prog_compiler_wl_GCJ='-Wl,'
22020 # All Alpha code is PIC.
22021 lt_prog_compiler_static_GCJ='-non_shared'
22026 osf3* | osf4* | osf5*)
22027 lt_prog_compiler_wl_GCJ='-Wl,'
22028 # All OSF/1 code is PIC.
22029 lt_prog_compiler_static_GCJ='-non_shared'
22033 lt_prog_compiler_pic_GCJ='-Kpic'
22034 lt_prog_compiler_static_GCJ='-dn'
22038 lt_prog_compiler_wl_GCJ='-Wl,'
22039 lt_prog_compiler_pic_GCJ='-KPIC'
22040 lt_prog_compiler_static_GCJ='-Bstatic'
22044 lt_prog_compiler_wl_GCJ='-Qoption ld '
22045 lt_prog_compiler_pic_GCJ='-PIC'
22046 lt_prog_compiler_static_GCJ='-Bstatic'
22049 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
22050 lt_prog_compiler_wl_GCJ='-Wl,'
22051 lt_prog_compiler_pic_GCJ='-KPIC'
22052 lt_prog_compiler_static_GCJ='-Bstatic'
22056 if test -d /usr/nec ;then
22057 lt_prog_compiler_pic_GCJ='-Kconform_pic'
22058 lt_prog_compiler_static_GCJ='-Bstatic'
22063 lt_prog_compiler_pic_GCJ='-pic'
22064 lt_prog_compiler_static_GCJ='-Bstatic'
22068 lt_prog_compiler_can_build_shared_GCJ=no
22073 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
22074 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
22077 # Check to make sure the PIC flag actually works.
22079 if test -n "$lt_prog_compiler_pic_GCJ"; then
22081 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
22082 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
22083 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
22084 echo $ECHO_N "(cached) $ECHO_C" >&6
22086 lt_prog_compiler_pic_works_GCJ=no
22087 ac_outfile=conftest.$ac_objext
22088 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
22089 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
22090 # Insert the option either (1) after the last *FLAGS variable, or
22091 # (2) before a word containing "conftest.", or (3) at the end.
22092 # Note that $ac_compile itself does not contain backslashes and begins
22093 # with a dollar sign (not a hyphen), so the echo should work correctly.
22094 # The option is referenced via a variable to avoid confusing sed.
22095 lt_compile=`echo "$ac_compile" | $SED \
22096 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
22097 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
22098 -e 's:$: $lt_compiler_flag:'`
22099 (eval echo "\"\$as_me:22099: $lt_compile\"" >&5)
22100 (eval "$lt_compile" 2>conftest.err)
22102 cat conftest.err >&5
22103 echo "$as_me:22103: \$? = $ac_status" >&5
22104 if (exit $ac_status) && test -s "$ac_outfile"; then
22105 # The compiler can only warn and ignore the option if not recognized
22106 # So say no if there are warnings
22107 if test ! -s conftest.err; then
22108 lt_prog_compiler_pic_works_GCJ=yes
22114 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
22115 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
22117 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
22118 case $lt_prog_compiler_pic_GCJ in
22120 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
22123 lt_prog_compiler_pic_GCJ=
22124 lt_prog_compiler_can_build_shared_GCJ=no
22129 # For platforms which do not support PIC, -DPIC is meaningless:
22131 lt_prog_compiler_pic_GCJ=
22134 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
22138 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
22139 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
22140 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
22141 echo $ECHO_N "(cached) $ECHO_C" >&6
22143 lt_cv_prog_compiler_c_o_GCJ=no
22144 $rm -r conftest 2>/dev/null
22148 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
22150 lt_compiler_flag="-o out/conftest2.$ac_objext"
22151 # Insert the option either (1) after the last *FLAGS variable, or
22152 # (2) before a word containing "conftest.", or (3) at the end.
22153 # Note that $ac_compile itself does not contain backslashes and begins
22154 # with a dollar sign (not a hyphen), so the echo should work correctly.
22155 lt_compile=`echo "$ac_compile" | $SED \
22156 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
22157 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
22158 -e 's:$: $lt_compiler_flag:'`
22159 (eval echo "\"\$as_me:22159: $lt_compile\"" >&5)
22160 (eval "$lt_compile" 2>out/conftest.err)
22162 cat out/conftest.err >&5
22163 echo "$as_me:22163: \$? = $ac_status" >&5
22164 if (exit $ac_status) && test -s out/conftest2.$ac_objext
22166 # The compiler can only warn and ignore the option if not recognized
22167 # So say no if there are warnings
22168 if test ! -s out/conftest.err; then
22169 lt_cv_prog_compiler_c_o_GCJ=yes
22174 # SGI C++ compiler will create directory out/ii_files/ for
22175 # template instantiation
22176 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
22177 $rm out/* && rmdir out
22183 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
22184 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
22187 hard_links="nottested"
22188 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
22189 # do not overwrite the value of need_locks provided by the user
22190 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
22191 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
22194 ln conftest.a conftest.b 2>/dev/null && hard_links=no
22196 ln conftest.a conftest.b 2>&5 || hard_links=no
22197 ln conftest.a conftest.b 2>/dev/null && hard_links=no
22198 echo "$as_me:$LINENO: result: $hard_links" >&5
22199 echo "${ECHO_T}$hard_links" >&6
22200 if test "$hard_links" = no; then
22201 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
22202 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
22209 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
22210 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
22213 allow_undefined_flag_GCJ=
22214 enable_shared_with_static_runtimes_GCJ=no
22216 archive_expsym_cmds_GCJ=
22217 old_archive_From_new_cmds_GCJ=
22218 old_archive_from_expsyms_cmds_GCJ=
22219 export_dynamic_flag_spec_GCJ=
22220 whole_archive_flag_spec_GCJ=
22221 thread_safe_flag_spec_GCJ=
22222 hardcode_libdir_flag_spec_GCJ=
22223 hardcode_libdir_flag_spec_ld_GCJ=
22224 hardcode_libdir_separator_GCJ=
22225 hardcode_direct_GCJ=no
22226 hardcode_minus_L_GCJ=no
22227 hardcode_shlibpath_var_GCJ=unsupported
22228 link_all_deplibs_GCJ=unknown
22229 hardcode_automatic_GCJ=no
22231 module_expsym_cmds_GCJ=
22232 always_export_symbols_GCJ=no
22233 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
22234 # include_expsyms should be a list of space-separated symbols to be *always*
22235 # included in the symbol list
22236 include_expsyms_GCJ=
22237 # exclude_expsyms can be an extended regexp of symbols to exclude
22238 # it will be wrapped by ` (' and `)$', so one must not match beginning or
22239 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
22240 # as well as any symbol that contains `d'.
22241 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
22242 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
22243 # platforms (ab)use it in PIC code, but their linkers get confused if
22244 # the symbol is explicitly referenced. Since portable code cannot
22245 # rely on this symbol name, it's probably fine to never include it in
22246 # preloaded symbol tables.
22247 extract_expsyms_cmds=
22250 cygwin* | mingw* | pw32*)
22251 # FIXME: the MSVC++ port hasn't been tested in a loooong time
22252 # When not using gcc, we currently assume that we are using
22253 # Microsoft Visual C++.
22254 if test "$GCC" != yes; then
22264 if test "$with_gnu_ld" = yes; then
22265 # If archive_cmds runs LD, not CC, wlarc should be empty
22268 # See if GNU ld supports shared libraries.
22270 aix3* | aix4* | aix5*)
22271 # On AIX/PPC, the GNU linker is very broken
22272 if test "$host_cpu" != ia64; then
22276 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
22277 *** to be unable to reliably create shared libraries on AIX.
22278 *** Therefore, libtool is disabling shared libraries support. If you
22279 *** really care for shared libraries, you may want to modify your PATH
22280 *** so that a non-GNU linker is found, and then restart.
22287 archive_cmds_GCJ='$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)'
22288 hardcode_libdir_flag_spec_GCJ='-L$libdir'
22289 hardcode_minus_L_GCJ=yes
22291 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
22292 # that the semantics of dynamic libraries on AmigaOS, at least up
22293 # to version 4, is to share data among multiple programs linked
22294 # with the same dynamic library. Since this doesn't match the
22295 # behavior of shared libraries on other platforms, we can't use
22301 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22302 allow_undefined_flag_GCJ=unsupported
22303 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
22304 # support --undefined. This deserves some investigation. FIXME
22305 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22311 cygwin* | mingw* | pw32*)
22312 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
22313 # as there is no search path for DLLs.
22314 hardcode_libdir_flag_spec_GCJ='-L$libdir'
22315 allow_undefined_flag_GCJ=unsupported
22316 always_export_symbols_GCJ=no
22317 enable_shared_with_static_runtimes_GCJ=yes
22318 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
22320 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
22321 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
22322 # If the export-symbols file already is a .def file (1st line
22323 # is EXPORTS), use it as is; otherwise, prepend...
22324 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
22325 cp $export_symbols $output_objdir/$soname.def;
22327 echo EXPORTS > $output_objdir/$soname.def;
22328 cat $export_symbols >> $output_objdir/$soname.def;
22330 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
22337 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
22338 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
22341 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22342 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22347 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
22351 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
22352 *** create shared libraries on Solaris systems. Therefore, libtool
22353 *** is disabling shared libraries support. We urge you to upgrade GNU
22354 *** binutils to release 2.9.1 or newer. Another option is to modify
22355 *** your PATH or compiler configuration so that the native linker is
22356 *** used, and then restart.
22359 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22360 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22361 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22368 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22370 hardcode_direct_GCJ=yes
22371 hardcode_shlibpath_var_GCJ=no
22375 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22376 tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22377 archive_cmds_GCJ="$tmp_archive_cmds"
22378 supports_anon_versioning=no
22379 case `$LD -v 2>/dev/null` in
22380 *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
22381 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
22382 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
22383 *\ 2.11.*) ;; # other 2.11 versions
22384 *) supports_anon_versioning=yes ;;
22386 if test $supports_anon_versioning = yes; then
22387 archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
22388 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
22389 $echo "local: *; };" >> $output_objdir/$libname.ver~
22390 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
22392 archive_expsym_cmds_GCJ="$tmp_archive_cmds"
22400 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22401 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22402 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22409 if test "$ld_shlibs_GCJ" = yes; then
22410 runpath_var=LD_RUN_PATH
22411 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
22412 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
22413 # ancient GNU ld didn't support --whole-archive et. al.
22414 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
22415 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
22417 whole_archive_flag_spec_GCJ=
22421 # PORTME fill in a description of your system's linker (not GNU ld)
22424 allow_undefined_flag_GCJ=unsupported
22425 always_export_symbols_GCJ=yes
22426 archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
22427 # Note: this linker hardcodes the directories in LIBPATH if there
22428 # are no directories specified by -L.
22429 hardcode_minus_L_GCJ=yes
22430 if test "$GCC" = yes && test -z "$link_static_flag"; then
22431 # Neither direct hardcoding nor static linking is supported with a
22433 hardcode_direct_GCJ=unsupported
22438 if test "$host_cpu" = ia64; then
22439 # On IA64, the linker does run time linking by default, so we don't
22440 # have to do anything special.
22441 aix_use_runtimelinking=no
22442 exp_sym_flag='-Bexport'
22445 # If we're using GNU nm, then we don't want the "-C" option.
22446 # -C means demangle to AIX nm, but means don't demangle with GNU nm
22447 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
22448 export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
22450 export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
22452 aix_use_runtimelinking=no
22454 # Test if we are trying to use run time linking or normal
22455 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
22456 # need to do runtime linking.
22457 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
22458 for ld_flag in $LDFLAGS; do
22459 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
22460 aix_use_runtimelinking=yes
22466 exp_sym_flag='-bexport'
22467 no_entry_flag='-bnoentry'
22470 # When large executables or shared objects are built, AIX ld can
22471 # have problems creating the table of contents. If linking a library
22472 # or program results in "error TOC overflow" add -mminimal-toc to
22473 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
22474 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
22476 archive_cmds_GCJ=''
22477 hardcode_direct_GCJ=yes
22478 hardcode_libdir_separator_GCJ=':'
22479 link_all_deplibs_GCJ=yes
22481 if test "$GCC" = yes; then
22482 case $host_os in aix4.012|aix4.012.*)
22483 # We only want to do this on AIX 4.2 and lower, the check
22484 # below for broken collect2 doesn't work under 4.3+
22485 collect2name=`${CC} -print-prog-name=collect2`
22486 if test -f "$collect2name" && \
22487 strings "$collect2name" | grep resolve_lib_name >/dev/null
22489 # We have reworked collect2
22490 hardcode_direct_GCJ=yes
22492 # We have old collect2
22493 hardcode_direct_GCJ=unsupported
22494 # It fails to find uninstalled libraries when the uninstalled
22495 # path is not listed in the libpath. Setting hardcode_minus_L
22496 # to unsupported forces relinking
22497 hardcode_minus_L_GCJ=yes
22498 hardcode_libdir_flag_spec_GCJ='-L$libdir'
22499 hardcode_libdir_separator_GCJ=
22502 shared_flag='-shared'
22505 if test "$host_cpu" = ia64; then
22506 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
22507 # chokes on -Wl,-G. The following line is correct:
22510 if test "$aix_use_runtimelinking" = yes; then
22511 shared_flag='${wl}-G'
22513 shared_flag='${wl}-bM:SRE'
22518 # It seems that -bexpall does not export symbols beginning with
22519 # underscore (_), so it is better to generate a list of symbols to export.
22520 always_export_symbols_GCJ=yes
22521 if test "$aix_use_runtimelinking" = yes; then
22522 # Warning - without using the other runtime loading flags (-brtl),
22523 # -berok will link without error, but may produce a broken library.
22524 allow_undefined_flag_GCJ='-berok'
22525 # Determine the default libpath from the value encoded in an empty executable.
22526 cat >conftest.$ac_ext <<_ACEOF
22529 cat confdefs.h >>conftest.$ac_ext
22530 cat >>conftest.$ac_ext <<_ACEOF
22531 /* end confdefs.h. */
22541 rm -f conftest.$ac_objext conftest$ac_exeext
22542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22543 (eval $ac_link) 2>conftest.er1
22545 grep -v '^ *+' conftest.er1 >conftest.err
22547 cat conftest.err >&5
22548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22549 (exit $ac_status); } &&
22550 { ac_try='test -z "$ac_c_werror_flag"
22551 || test ! -s conftest.err'
22552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22553 (eval $ac_try) 2>&5
22555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22556 (exit $ac_status); }; } &&
22557 { ac_try='test -s conftest$ac_exeext'
22558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22559 (eval $ac_try) 2>&5
22561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22562 (exit $ac_status); }; }; then
22564 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
22566 # Check for a 64-bit object if we didn't find anything.
22567 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
22570 echo "$as_me: failed program was:" >&5
22571 sed 's/^/| /' conftest.$ac_ext >&5
22574 rm -f conftest.err conftest.$ac_objext \
22575 conftest$ac_exeext conftest.$ac_ext
22576 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
22578 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
22579 archive_expsym_cmds_GCJ="\$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"
22581 if test "$host_cpu" = ia64; then
22582 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
22583 allow_undefined_flag_GCJ="-z nodefs"
22584 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
22586 # Determine the default libpath from the value encoded in an empty executable.
22587 cat >conftest.$ac_ext <<_ACEOF
22590 cat confdefs.h >>conftest.$ac_ext
22591 cat >>conftest.$ac_ext <<_ACEOF
22592 /* end confdefs.h. */
22602 rm -f conftest.$ac_objext conftest$ac_exeext
22603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22604 (eval $ac_link) 2>conftest.er1
22606 grep -v '^ *+' conftest.er1 >conftest.err
22608 cat conftest.err >&5
22609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22610 (exit $ac_status); } &&
22611 { ac_try='test -z "$ac_c_werror_flag"
22612 || test ! -s conftest.err'
22613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22614 (eval $ac_try) 2>&5
22616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22617 (exit $ac_status); }; } &&
22618 { ac_try='test -s conftest$ac_exeext'
22619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22620 (eval $ac_try) 2>&5
22622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22623 (exit $ac_status); }; }; then
22625 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
22627 # Check for a 64-bit object if we didn't find anything.
22628 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
22631 echo "$as_me: failed program was:" >&5
22632 sed 's/^/| /' conftest.$ac_ext >&5
22635 rm -f conftest.err conftest.$ac_objext \
22636 conftest$ac_exeext conftest.$ac_ext
22637 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
22639 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
22640 # Warning - without using the other run time loading flags,
22641 # -berok will link without error, but may produce a broken library.
22642 no_undefined_flag_GCJ=' ${wl}-bernotok'
22643 allow_undefined_flag_GCJ=' ${wl}-berok'
22644 # -bexpall does not export symbols beginning with underscore (_)
22645 always_export_symbols_GCJ=yes
22646 # Exported symbols can be pulled into shared objects from archives
22647 whole_archive_flag_spec_GCJ=' '
22648 archive_cmds_need_lc_GCJ=yes
22649 # This is similar to how AIX traditionally builds it's shared libraries.
22650 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
22656 archive_cmds_GCJ='$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)'
22657 hardcode_libdir_flag_spec_GCJ='-L$libdir'
22658 hardcode_minus_L_GCJ=yes
22659 # see comment about different semantics on the GNU ld section
22664 export_dynamic_flag_spec_GCJ=-rdynamic
22667 cygwin* | mingw* | pw32*)
22668 # When not using gcc, we currently assume that we are using
22669 # Microsoft Visual C++.
22670 # hardcode_libdir_flag_spec is actually meaningless, as there is
22671 # no search path for DLLs.
22672 hardcode_libdir_flag_spec_GCJ=' '
22673 allow_undefined_flag_GCJ=unsupported
22674 # Tell ltmain to make .lib files, not .a files.
22676 # Tell ltmain to make .dll files, not .so files.
22678 # FIXME: Setting linknames here is a bad hack.
22679 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
22680 # The linker will automatically build a .lib file if we build a DLL.
22681 old_archive_From_new_cmds_GCJ='true'
22682 # FIXME: Should let the user specify the lib program.
22683 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
22684 fix_srcfile_path='`cygpath -w "$srcfile"`'
22685 enable_shared_with_static_runtimes_GCJ=yes
22688 darwin* | rhapsody*)
22689 if test "$GXX" = yes ; then
22690 archive_cmds_need_lc_GCJ=no
22692 rhapsody* | darwin1.[012])
22693 allow_undefined_flag_GCJ='-undefined suppress'
22696 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
22697 allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
22699 case ${MACOSX_DEPLOYMENT_TARGET} in
22701 allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
22704 allow_undefined_flag_GCJ='-undefined dynamic_lookup'
22710 lt_int_apple_cc_single_mod=no
22711 output_verbose_link_cmd='echo'
22712 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
22713 lt_int_apple_cc_single_mod=yes
22715 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
22716 archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
22718 archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
22720 module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
22721 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
22722 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
22723 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
22725 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
22727 module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
22728 hardcode_direct_GCJ=no
22729 hardcode_automatic_GCJ=yes
22730 hardcode_shlibpath_var_GCJ=unsupported
22731 whole_archive_flag_spec_GCJ='-all_load $convenience'
22732 link_all_deplibs_GCJ=yes
22739 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22740 hardcode_libdir_flag_spec_GCJ='-L$libdir'
22741 hardcode_shlibpath_var_GCJ=no
22748 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
22749 # support. Future versions do this automatically, but an explicit c++rt0.o
22750 # does not break anything, and helps significantly (at the cost of a little
22753 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
22754 hardcode_libdir_flag_spec_GCJ='-R$libdir'
22755 hardcode_direct_GCJ=yes
22756 hardcode_shlibpath_var_GCJ=no
22759 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
22761 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22762 hardcode_direct_GCJ=yes
22763 hardcode_minus_L_GCJ=yes
22764 hardcode_shlibpath_var_GCJ=no
22767 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
22768 freebsd* | kfreebsd*-gnu)
22769 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
22770 hardcode_libdir_flag_spec_GCJ='-R$libdir'
22771 hardcode_direct_GCJ=yes
22772 hardcode_shlibpath_var_GCJ=no
22776 if test "$GCC" = yes; then
22777 archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
22779 archive_cmds_GCJ='$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'
22781 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
22782 hardcode_libdir_separator_GCJ=:
22783 hardcode_direct_GCJ=yes
22785 # hardcode_minus_L: Not really in the search PATH,
22786 # but as the default location of the library.
22787 hardcode_minus_L_GCJ=yes
22788 export_dynamic_flag_spec_GCJ='${wl}-E'
22792 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
22793 case "$host_cpu" in
22795 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22798 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22802 case "$host_cpu" in
22804 archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
22807 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
22811 if test "$with_gnu_ld" = no; then
22812 case "$host_cpu" in
22814 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
22815 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
22816 hardcode_libdir_separator_GCJ=:
22817 hardcode_direct_GCJ=no
22818 hardcode_shlibpath_var_GCJ=no
22821 hardcode_libdir_flag_spec_GCJ='-L$libdir'
22822 hardcode_direct_GCJ=no
22823 hardcode_shlibpath_var_GCJ=no
22825 # hardcode_minus_L: Not really in the search PATH,
22826 # but as the default location of the library.
22827 hardcode_minus_L_GCJ=yes
22830 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
22831 hardcode_libdir_separator_GCJ=:
22832 hardcode_direct_GCJ=yes
22833 export_dynamic_flag_spec_GCJ='${wl}-E'
22835 # hardcode_minus_L: Not really in the search PATH,
22836 # but as the default location of the library.
22837 hardcode_minus_L_GCJ=yes
22843 irix5* | irix6* | nonstopux*)
22844 if test "$GCC" = yes; then
22845 archive_cmds_GCJ='$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'
22847 archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
22848 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
22850 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
22851 hardcode_libdir_separator_GCJ=:
22852 link_all_deplibs_GCJ=yes
22856 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
22857 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
22859 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
22861 hardcode_libdir_flag_spec_GCJ='-R$libdir'
22862 hardcode_direct_GCJ=yes
22863 hardcode_shlibpath_var_GCJ=no
22867 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22868 hardcode_direct_GCJ=yes
22869 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
22870 hardcode_libdir_separator_GCJ=:
22871 hardcode_shlibpath_var_GCJ=no
22875 hardcode_direct_GCJ=yes
22876 hardcode_shlibpath_var_GCJ=no
22877 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
22878 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22879 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
22880 export_dynamic_flag_spec_GCJ='${wl}-E'
22883 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
22884 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22885 hardcode_libdir_flag_spec_GCJ='-R$libdir'
22888 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22889 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
22896 hardcode_libdir_flag_spec_GCJ='-L$libdir'
22897 hardcode_minus_L_GCJ=yes
22898 allow_undefined_flag_GCJ=unsupported
22899 archive_cmds_GCJ='$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'
22900 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
22904 if test "$GCC" = yes; then
22905 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
22906 archive_cmds_GCJ='$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'
22908 allow_undefined_flag_GCJ=' -expect_unresolved \*'
22909 archive_cmds_GCJ='$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'
22911 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
22912 hardcode_libdir_separator_GCJ=:
22915 osf4* | osf5*) # as osf3* with the addition of -msym flag
22916 if test "$GCC" = yes; then
22917 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
22918 archive_cmds_GCJ='$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'
22919 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
22921 allow_undefined_flag_GCJ=' -expect_unresolved \*'
22922 archive_cmds_GCJ='$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'
22923 archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
22924 $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'
22926 # Both c and cxx compiler support -rpath directly
22927 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
22929 hardcode_libdir_separator_GCJ=:
22933 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22934 hardcode_shlibpath_var_GCJ=no
22935 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
22936 runpath_var=LD_RUN_PATH
22937 hardcode_runpath_var=yes
22941 no_undefined_flag_GCJ=' -z text'
22942 if test "$GCC" = yes; then
22943 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22944 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22945 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
22947 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
22948 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22949 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
22951 hardcode_libdir_flag_spec_GCJ='-R$libdir'
22952 hardcode_shlibpath_var_GCJ=no
22954 solaris2.[0-5] | solaris2.[0-5].*) ;;
22955 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
22956 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
22958 link_all_deplibs_GCJ=yes
22962 if test "x$host_vendor" = xsequent; then
22963 # Use $CC to link under sequent, because it throws in some extra .o
22964 # files that make .init and .fini sections work.
22965 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
22967 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
22969 hardcode_libdir_flag_spec_GCJ='-L$libdir'
22970 hardcode_direct_GCJ=yes
22971 hardcode_minus_L_GCJ=yes
22972 hardcode_shlibpath_var_GCJ=no
22976 case $host_vendor in
22978 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22979 hardcode_direct_GCJ=yes # is this really true???
22982 ## LD is ld it makes a PLAMLIB
22983 ## CC just makes a GrossModule.
22984 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
22985 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
22986 hardcode_direct_GCJ=no
22989 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22990 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
22993 runpath_var='LD_RUN_PATH'
22994 hardcode_shlibpath_var_GCJ=no
22998 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22999 hardcode_shlibpath_var_GCJ=no
23000 export_dynamic_flag_spec_GCJ='-Bexport'
23004 if test -d /usr/nec; then
23005 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23006 hardcode_shlibpath_var_GCJ=no
23007 runpath_var=LD_RUN_PATH
23008 hardcode_runpath_var=yes
23014 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
23015 hardcode_direct_GCJ=yes
23016 hardcode_minus_L_GCJ=no
23017 hardcode_shlibpath_var_GCJ=no
23018 hardcode_runpath_var=yes
23019 runpath_var=LD_RUN_PATH
23022 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
23023 no_undefined_flag_GCJ='${wl}-z ${wl}text'
23024 if test "$GCC" = yes; then
23025 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
23027 archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
23029 runpath_var='LD_RUN_PATH'
23030 hardcode_shlibpath_var_GCJ=no
23034 no_undefined_flag_GCJ=' -z text'
23035 # $CC -shared without GNU ld will not create a library from C++
23036 # object files and a static libstdc++, better avoid it by now
23037 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
23038 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
23039 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
23040 hardcode_libdir_flag_spec_GCJ=
23041 hardcode_shlibpath_var_GCJ=no
23042 runpath_var='LD_RUN_PATH'
23046 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23047 hardcode_libdir_flag_spec_GCJ='-L$libdir'
23048 hardcode_shlibpath_var_GCJ=no
23057 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
23058 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
23059 test "$ld_shlibs_GCJ" = no && can_build_shared=no
23061 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
23062 if test "$GCC" = yes; then
23063 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
23067 # Do we need to explicitly link libc?
23069 case "x$archive_cmds_need_lc_GCJ" in
23071 # Assume -lc should be added
23072 archive_cmds_need_lc_GCJ=yes
23074 if test "$enable_shared" = yes && test "$GCC" = yes; then
23075 case $archive_cmds_GCJ in
23077 # FIXME: we may have to deal with multi-command sequences.
23080 # Test whether the compiler implicitly links with -lc since on some
23081 # systems, -lgcc has to come before -lc. If gcc already passes -lc
23082 # to ld, don't add -lc before -lgcc.
23083 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
23084 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
23086 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
23088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23089 (eval $ac_compile) 2>&5
23091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23092 (exit $ac_status); } 2>conftest.err; then
23095 libobjs=conftest.$ac_objext
23097 wl=$lt_prog_compiler_wl_GCJ
23103 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
23104 allow_undefined_flag_GCJ=
23105 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
23106 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
23108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23109 (exit $ac_status); }
23111 archive_cmds_need_lc_GCJ=no
23113 archive_cmds_need_lc_GCJ=yes
23115 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
23117 cat conftest.err 1>&5
23120 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
23121 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
23128 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
23129 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
23130 library_names_spec=
23131 libname_spec='lib$name'
23135 postuninstall_cmds=
23139 shlibpath_overrides_runpath=unknown
23141 dynamic_linker="$host_os ld.so"
23142 sys_lib_dlsearch_path_spec="/lib /usr/lib"
23143 if test "$GCC" = yes; then
23144 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
23145 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
23146 # if the path contains ";" then we assume it to be the separator
23147 # otherwise default to the standard path separator (i.e. ":") - it is
23148 # assumed that no part of a normal pathname contains ";" but that should
23149 # okay in the real world where ";" in dirpaths is itself problematic.
23150 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
23152 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
23155 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
23157 need_lib_prefix=unknown
23158 hardcode_into_libs=no
23160 # when you set need_version to no, make sure it does not cause -set_version
23161 # flags to be left without arguments
23162 need_version=unknown
23167 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
23168 shlibpath_var=LIBPATH
23170 # AIX 3 has no versioning support, so we append a major version to the name.
23171 soname_spec='${libname}${release}${shared_ext}$major'
23178 hardcode_into_libs=yes
23179 if test "$host_cpu" = ia64; then
23180 # AIX 5 supports IA64
23181 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
23182 shlibpath_var=LD_LIBRARY_PATH
23184 # With GCC up to 2.95.x, collect2 would create an import file
23185 # for dependence libraries. The import file would start with
23186 # the line `#! .'. This would cause the generated library to
23187 # depend on `.', always an invalid library. This was fixed in
23188 # development snapshots of GCC prior to 3.0.
23190 aix4 | aix4.[01] | aix4.[01].*)
23191 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
23193 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
23196 can_build_shared=no
23200 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
23201 # soname into executable. Probably we can add versioning support to
23202 # collect2, so additional links can be useful in future.
23203 if test "$aix_use_runtimelinking" = yes; then
23204 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
23205 # instead of lib<name>.a to let people know that these are not
23206 # typical AIX shared libraries.
23207 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23209 # We preserve .a as extension for shared libraries through AIX4.2
23210 # and later when we are not doing run time linking.
23211 library_names_spec='${libname}${release}.a $libname.a'
23212 soname_spec='${libname}${release}${shared_ext}$major'
23214 shlibpath_var=LIBPATH
23219 library_names_spec='$libname.ixlibrary $libname.a'
23220 # Create ${libname}_ixlibrary.a entries in /sys/libs.
23221 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'
23225 library_names_spec='${libname}${shared_ext}'
23226 dynamic_linker="$host_os ld.so"
23227 shlibpath_var=LIBRARY_PATH
23233 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23234 soname_spec='${libname}${release}${shared_ext}$major'
23235 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
23236 shlibpath_var=LD_LIBRARY_PATH
23237 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
23238 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
23239 # the default ld.so.conf also contains /usr/contrib/lib and
23240 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
23241 # libtool to hard-code these into programs
23244 cygwin* | mingw* | pw32*)
23245 version_type=windows
23250 case $GCC,$host_os in
23251 yes,cygwin* | yes,mingw* | yes,pw32*)
23252 library_names_spec='$libname.dll.a'
23253 # DLL is installed to $(libdir)/../bin by postinstall_cmds
23254 postinstall_cmds='base_file=`basename \${file}`~
23255 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
23256 dldir=$destdir/`dirname \$dlpath`~
23257 test -d \$dldir || mkdir -p \$dldir~
23258 $install_prog $dir/$dlname \$dldir/$dlname'
23259 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
23260 dlpath=$dir/\$dldll~
23262 shlibpath_overrides_runpath=yes
23266 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
23267 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
23268 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
23271 # MinGW DLLs use traditional 'lib' prefix
23272 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
23273 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
23274 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
23275 # It is most probably a Windows format PATH printed by
23276 # mingw gcc, but we are running on Cygwin. Gcc prints its search
23277 # path with ; separators, and with drive letters. We can handle the
23278 # drive letters (cygwin fileutils understands them), so leave them,
23279 # especially as we might pass files found there to a mingw objdump,
23280 # which wouldn't understand a cygwinified path. Ahh.
23281 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
23283 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
23287 # pw32 DLLs use 'pw' prefix rather than 'lib'
23288 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
23294 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
23297 dynamic_linker='Win32 ld.exe'
23298 # FIXME: first we should search . and the directory the executable is in
23302 darwin* | rhapsody*)
23303 dynamic_linker="$host_os dyld"
23304 version_type=darwin
23307 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
23308 soname_spec='${libname}${release}${major}$shared_ext'
23309 shlibpath_overrides_runpath=yes
23310 shlibpath_var=DYLD_LIBRARY_PATH
23311 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
23312 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
23313 if test "$GCC" = yes; then
23314 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
23316 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
23318 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
23325 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
23326 soname_spec='${libname}${release}${shared_ext}$major'
23327 shlibpath_var=LD_LIBRARY_PATH
23338 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23339 soname_spec='${libname}${release}${shared_ext}$major'
23340 shlibpath_var=LD_LIBRARY_PATH
23341 shlibpath_overrides_runpath=no
23342 hardcode_into_libs=yes
23343 dynamic_linker='GNU ld.so'
23347 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
23348 version_type=freebsd-$objformat
23349 case $version_type in
23351 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
23356 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
23360 shlibpath_var=LD_LIBRARY_PATH
23363 shlibpath_overrides_runpath=yes
23365 freebsd3.01* | freebsdelf3.01*)
23366 shlibpath_overrides_runpath=yes
23367 hardcode_into_libs=yes
23370 shlibpath_overrides_runpath=no
23371 hardcode_into_libs=yes
23380 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
23381 soname_spec='${libname}${release}${shared_ext}$major'
23382 shlibpath_var=LD_LIBRARY_PATH
23383 hardcode_into_libs=yes
23386 hpux9* | hpux10* | hpux11*)
23387 # Give a soname corresponding to the major version so that dld.sl refuses to
23388 # link against other versions.
23392 case "$host_cpu" in
23395 hardcode_into_libs=yes
23396 dynamic_linker="$host_os dld.so"
23397 shlibpath_var=LD_LIBRARY_PATH
23398 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
23399 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23400 soname_spec='${libname}${release}${shared_ext}$major'
23401 if test "X$HPUX_IA64_MODE" = X32; then
23402 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
23404 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
23406 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
23410 hardcode_into_libs=yes
23411 dynamic_linker="$host_os dld.sl"
23412 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
23413 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
23414 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23415 soname_spec='${libname}${release}${shared_ext}$major'
23416 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
23417 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
23421 dynamic_linker="$host_os dld.sl"
23422 shlibpath_var=SHLIB_PATH
23423 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
23424 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23425 soname_spec='${libname}${release}${shared_ext}$major'
23428 # HP-UX runs *really* slowly unless shared libraries are mode 555.
23429 postinstall_cmds='chmod 555 $lib'
23432 irix5* | irix6* | nonstopux*)
23434 nonstopux*) version_type=nonstopux ;;
23436 if test "$lt_cv_prog_gnu_ld" = yes; then
23444 soname_spec='${libname}${release}${shared_ext}$major'
23445 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
23447 irix5* | nonstopux*)
23448 libsuff= shlibsuff=
23451 case $LD in # libtool.m4 will add one of these switches to LD
23452 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
23453 libsuff= shlibsuff= libmagic=32-bit;;
23454 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
23455 libsuff=32 shlibsuff=N32 libmagic=N32;;
23456 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
23457 libsuff=64 shlibsuff=64 libmagic=64-bit;;
23458 *) libsuff= shlibsuff= libmagic=never-match;;
23462 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
23463 shlibpath_overrides_runpath=no
23464 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
23465 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
23466 hardcode_into_libs=yes
23469 # No shared lib support for Linux oldld, aout, or coff.
23470 linux*oldld* | linux*aout* | linux*coff*)
23474 # This must be Linux ELF.
23479 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23480 soname_spec='${libname}${release}${shared_ext}$major'
23481 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
23482 shlibpath_var=LD_LIBRARY_PATH
23483 shlibpath_overrides_runpath=no
23484 # This implies no fast_install, which is unacceptable.
23485 # Some rework will be needed to allow for fast_install
23486 # before this can be enabled.
23487 hardcode_into_libs=yes
23489 # find out which ABI we are using
23491 case "$host_cpu" in
23492 x86_64*|s390x*|powerpc64*)
23493 echo '#line 23493 "configure"' > conftest.$ac_ext
23494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23495 (eval $ac_compile) 2>&5
23497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23498 (exit $ac_status); }; then
23499 case `/usr/bin/file conftest.$ac_objext` in
23502 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
23510 # Append ld.so.conf contents to the search path
23511 if test -f /etc/ld.so.conf; then
23512 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
23513 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
23516 # We used to test for /lib/ld.so.1 and disable shared libraries on
23517 # powerpc, because MkLinux only supported shared libraries with the
23518 # GNU dynamic linker. Since this was broken with cross compilers,
23519 # most powerpc-linux boxes support dynamic linking these days and
23520 # people can always --disable-shared, the test was removed, and we
23521 # assume the GNU/Linux dynamic linker is in use.
23522 dynamic_linker='GNU/Linux ld.so'
23529 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23530 soname_spec='${libname}${release}${shared_ext}$major'
23531 shlibpath_var=LD_LIBRARY_PATH
23532 shlibpath_overrides_runpath=no
23533 hardcode_into_libs=yes
23534 dynamic_linker='GNU ld.so'
23541 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
23542 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23543 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
23544 dynamic_linker='NetBSD (a.out) ld.so'
23546 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23547 soname_spec='${libname}${release}${shared_ext}$major'
23548 dynamic_linker='NetBSD ld.elf_so'
23550 shlibpath_var=LD_LIBRARY_PATH
23551 shlibpath_overrides_runpath=yes
23552 hardcode_into_libs=yes
23557 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23558 shlibpath_var=LD_LIBRARY_PATH
23559 shlibpath_overrides_runpath=yes
23566 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23567 soname_spec='${libname}${release}${shared_ext}$major'
23568 shlibpath_var=LD_LIBRARY_PATH
23569 shlibpath_overrides_runpath=yes
23576 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23577 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
23578 shlibpath_var=LD_LIBRARY_PATH
23579 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
23581 openbsd2.[89] | openbsd2.[89].*)
23582 shlibpath_overrides_runpath=no
23585 shlibpath_overrides_runpath=yes
23589 shlibpath_overrides_runpath=yes
23594 libname_spec='$name'
23597 library_names_spec='$libname${shared_ext} $libname.a'
23598 dynamic_linker='OS/2 ld.exe'
23599 shlibpath_var=LIBPATH
23602 osf3* | osf4* | osf5*)
23606 soname_spec='${libname}${release}${shared_ext}$major'
23607 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23608 shlibpath_var=LD_LIBRARY_PATH
23609 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
23610 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
23615 soname_spec='${libname}${release}${shared_ext}$major'
23616 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23617 shlibpath_var=LD_LIBRARY_PATH
23624 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23625 soname_spec='${libname}${release}${shared_ext}$major'
23626 shlibpath_var=LD_LIBRARY_PATH
23627 shlibpath_overrides_runpath=yes
23628 hardcode_into_libs=yes
23629 # ldd complains unless libraries are executable
23630 postinstall_cmds='chmod +x $lib'
23635 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23636 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
23637 shlibpath_var=LD_LIBRARY_PATH
23638 shlibpath_overrides_runpath=yes
23639 if test "$with_gnu_ld" = yes; then
23645 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
23647 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23648 soname_spec='${libname}${release}${shared_ext}$major'
23649 shlibpath_var=LD_LIBRARY_PATH
23650 case $host_vendor in
23652 shlibpath_overrides_runpath=no
23654 export_dynamic_flag_spec='${wl}-Blargedynsym'
23655 runpath_var=LD_RUN_PATH
23663 shlibpath_overrides_runpath=no
23664 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
23670 if test -d /usr/nec ;then
23672 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
23673 soname_spec='$libname${shared_ext}.$major'
23674 shlibpath_var=LD_LIBRARY_PATH
23680 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23681 soname_spec='${libname}${release}${shared_ext}$major'
23682 shlibpath_var=LD_LIBRARY_PATH
23689 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
23690 echo "${ECHO_T}$dynamic_linker" >&6
23691 test "$dynamic_linker" = no && can_build_shared=no
23693 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
23694 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
23695 hardcode_action_GCJ=
23696 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
23697 test -n "$runpath_var GCJ" || \
23698 test "X$hardcode_automatic_GCJ"="Xyes" ; then
23700 # We can hardcode non-existant directories.
23701 if test "$hardcode_direct_GCJ" != no &&
23702 # If the only mechanism to avoid hardcoding is shlibpath_var, we
23703 # have to relink, otherwise we might link with an installed library
23704 # when we should be linking with a yet-to-be-installed one
23705 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
23706 test "$hardcode_minus_L_GCJ" != no; then
23707 # Linking always hardcodes the temporary library directory.
23708 hardcode_action_GCJ=relink
23710 # We can link without hardcoding, and we can hardcode nonexisting dirs.
23711 hardcode_action_GCJ=immediate
23714 # We cannot hardcode anything, or else we can only hardcode existing
23716 hardcode_action_GCJ=unsupported
23718 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
23719 echo "${ECHO_T}$hardcode_action_GCJ" >&6
23721 if test "$hardcode_action_GCJ" = relink; then
23722 # Fast installation is not supported
23723 enable_fast_install=no
23724 elif test "$shlibpath_overrides_runpath" = yes ||
23725 test "$enable_shared" = no; then
23726 # Fast installation is not necessary
23727 enable_fast_install=needless
23732 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
23733 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
23734 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
23735 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
23736 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
23737 echo "$as_me:$LINENO: result: yes" >&5
23738 echo "${ECHO_T}yes" >&6
23740 # FIXME - insert some real tests, host_os isn't really good enough
23743 if test -n "$STRIP" ; then
23744 striplib="$STRIP -x"
23745 echo "$as_me:$LINENO: result: yes" >&5
23746 echo "${ECHO_T}yes" >&6
23748 echo "$as_me:$LINENO: result: no" >&5
23749 echo "${ECHO_T}no" >&6
23753 echo "$as_me:$LINENO: result: no" >&5
23754 echo "${ECHO_T}no" >&6
23759 if test "x$enable_dlopen" != xyes; then
23760 enable_dlopen=unknown
23761 enable_dlopen_self=unknown
23762 enable_dlopen_self_static=unknown
23769 lt_cv_dlopen="load_add_on"
23771 lt_cv_dlopen_self=yes
23775 lt_cv_dlopen="LoadLibrary"
23780 lt_cv_dlopen="dlopen"
23785 # if libdl is installed we need to link against it
23786 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
23787 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
23788 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
23789 echo $ECHO_N "(cached) $ECHO_C" >&6
23791 ac_check_lib_save_LIBS=$LIBS
23793 cat >conftest.$ac_ext <<_ACEOF
23796 cat confdefs.h >>conftest.$ac_ext
23797 cat >>conftest.$ac_ext <<_ACEOF
23798 /* end confdefs.h. */
23800 /* Override any gcc2 internal prototype to avoid an error. */
23804 /* We use char because int might match the return type of a gcc2
23805 builtin and then its argument prototype would still apply. */
23815 rm -f conftest.$ac_objext conftest$ac_exeext
23816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23817 (eval $ac_link) 2>conftest.er1
23819 grep -v '^ *+' conftest.er1 >conftest.err
23821 cat conftest.err >&5
23822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23823 (exit $ac_status); } &&
23824 { ac_try='test -z "$ac_c_werror_flag"
23825 || test ! -s conftest.err'
23826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23827 (eval $ac_try) 2>&5
23829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23830 (exit $ac_status); }; } &&
23831 { ac_try='test -s conftest$ac_exeext'
23832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23833 (eval $ac_try) 2>&5
23835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23836 (exit $ac_status); }; }; then
23837 ac_cv_lib_dl_dlopen=yes
23839 echo "$as_me: failed program was:" >&5
23840 sed 's/^/| /' conftest.$ac_ext >&5
23842 ac_cv_lib_dl_dlopen=no
23844 rm -f conftest.err conftest.$ac_objext \
23845 conftest$ac_exeext conftest.$ac_ext
23846 LIBS=$ac_check_lib_save_LIBS
23848 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
23849 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
23850 if test $ac_cv_lib_dl_dlopen = yes; then
23851 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
23854 lt_cv_dlopen="dyld"
23856 lt_cv_dlopen_self=yes
23863 echo "$as_me:$LINENO: checking for shl_load" >&5
23864 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
23865 if test "${ac_cv_func_shl_load+set}" = set; then
23866 echo $ECHO_N "(cached) $ECHO_C" >&6
23868 cat >conftest.$ac_ext <<_ACEOF
23871 cat confdefs.h >>conftest.$ac_ext
23872 cat >>conftest.$ac_ext <<_ACEOF
23873 /* end confdefs.h. */
23874 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
23875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23876 #define shl_load innocuous_shl_load
23878 /* System header to define __stub macros and hopefully few prototypes,
23879 which can conflict with char shl_load (); below.
23880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23881 <limits.h> exists even on freestanding compilers. */
23884 # include <limits.h>
23886 # include <assert.h>
23891 /* Override any gcc2 internal prototype to avoid an error. */
23896 /* We use char because int might match the return type of a gcc2
23897 builtin and then its argument prototype would still apply. */
23899 /* The GNU C library defines this for functions which it implements
23900 to always fail with ENOSYS. Some functions are actually named
23901 something starting with __ and the normal name is an alias. */
23902 #if defined (__stub_shl_load) || defined (__stub___shl_load)
23905 char (*f) () = shl_load;
23914 return f != shl_load;
23919 rm -f conftest.$ac_objext conftest$ac_exeext
23920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23921 (eval $ac_link) 2>conftest.er1
23923 grep -v '^ *+' conftest.er1 >conftest.err
23925 cat conftest.err >&5
23926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23927 (exit $ac_status); } &&
23928 { ac_try='test -z "$ac_c_werror_flag"
23929 || test ! -s conftest.err'
23930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23931 (eval $ac_try) 2>&5
23933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23934 (exit $ac_status); }; } &&
23935 { ac_try='test -s conftest$ac_exeext'
23936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23937 (eval $ac_try) 2>&5
23939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23940 (exit $ac_status); }; }; then
23941 ac_cv_func_shl_load=yes
23943 echo "$as_me: failed program was:" >&5
23944 sed 's/^/| /' conftest.$ac_ext >&5
23946 ac_cv_func_shl_load=no
23948 rm -f conftest.err conftest.$ac_objext \
23949 conftest$ac_exeext conftest.$ac_ext
23951 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
23952 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
23953 if test $ac_cv_func_shl_load = yes; then
23954 lt_cv_dlopen="shl_load"
23956 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
23957 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
23958 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
23959 echo $ECHO_N "(cached) $ECHO_C" >&6
23961 ac_check_lib_save_LIBS=$LIBS
23963 cat >conftest.$ac_ext <<_ACEOF
23966 cat confdefs.h >>conftest.$ac_ext
23967 cat >>conftest.$ac_ext <<_ACEOF
23968 /* end confdefs.h. */
23970 /* Override any gcc2 internal prototype to avoid an error. */
23974 /* We use char because int might match the return type of a gcc2
23975 builtin and then its argument prototype would still apply. */
23985 rm -f conftest.$ac_objext conftest$ac_exeext
23986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23987 (eval $ac_link) 2>conftest.er1
23989 grep -v '^ *+' conftest.er1 >conftest.err
23991 cat conftest.err >&5
23992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23993 (exit $ac_status); } &&
23994 { ac_try='test -z "$ac_c_werror_flag"
23995 || test ! -s conftest.err'
23996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23997 (eval $ac_try) 2>&5
23999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24000 (exit $ac_status); }; } &&
24001 { ac_try='test -s conftest$ac_exeext'
24002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24003 (eval $ac_try) 2>&5
24005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24006 (exit $ac_status); }; }; then
24007 ac_cv_lib_dld_shl_load=yes
24009 echo "$as_me: failed program was:" >&5
24010 sed 's/^/| /' conftest.$ac_ext >&5
24012 ac_cv_lib_dld_shl_load=no
24014 rm -f conftest.err conftest.$ac_objext \
24015 conftest$ac_exeext conftest.$ac_ext
24016 LIBS=$ac_check_lib_save_LIBS
24018 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
24019 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
24020 if test $ac_cv_lib_dld_shl_load = yes; then
24021 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
24023 echo "$as_me:$LINENO: checking for dlopen" >&5
24024 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
24025 if test "${ac_cv_func_dlopen+set}" = set; then
24026 echo $ECHO_N "(cached) $ECHO_C" >&6
24028 cat >conftest.$ac_ext <<_ACEOF
24031 cat confdefs.h >>conftest.$ac_ext
24032 cat >>conftest.$ac_ext <<_ACEOF
24033 /* end confdefs.h. */
24034 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
24035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24036 #define dlopen innocuous_dlopen
24038 /* System header to define __stub macros and hopefully few prototypes,
24039 which can conflict with char dlopen (); below.
24040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24041 <limits.h> exists even on freestanding compilers. */
24044 # include <limits.h>
24046 # include <assert.h>
24051 /* Override any gcc2 internal prototype to avoid an error. */
24056 /* We use char because int might match the return type of a gcc2
24057 builtin and then its argument prototype would still apply. */
24059 /* The GNU C library defines this for functions which it implements
24060 to always fail with ENOSYS. Some functions are actually named
24061 something starting with __ and the normal name is an alias. */
24062 #if defined (__stub_dlopen) || defined (__stub___dlopen)
24065 char (*f) () = dlopen;
24074 return f != dlopen;
24079 rm -f conftest.$ac_objext conftest$ac_exeext
24080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24081 (eval $ac_link) 2>conftest.er1
24083 grep -v '^ *+' conftest.er1 >conftest.err
24085 cat conftest.err >&5
24086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24087 (exit $ac_status); } &&
24088 { ac_try='test -z "$ac_c_werror_flag"
24089 || test ! -s conftest.err'
24090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24091 (eval $ac_try) 2>&5
24093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24094 (exit $ac_status); }; } &&
24095 { ac_try='test -s conftest$ac_exeext'
24096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24097 (eval $ac_try) 2>&5
24099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24100 (exit $ac_status); }; }; then
24101 ac_cv_func_dlopen=yes
24103 echo "$as_me: failed program was:" >&5
24104 sed 's/^/| /' conftest.$ac_ext >&5
24106 ac_cv_func_dlopen=no
24108 rm -f conftest.err conftest.$ac_objext \
24109 conftest$ac_exeext conftest.$ac_ext
24111 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
24112 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
24113 if test $ac_cv_func_dlopen = yes; then
24114 lt_cv_dlopen="dlopen"
24116 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
24117 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
24118 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
24119 echo $ECHO_N "(cached) $ECHO_C" >&6
24121 ac_check_lib_save_LIBS=$LIBS
24123 cat >conftest.$ac_ext <<_ACEOF
24126 cat confdefs.h >>conftest.$ac_ext
24127 cat >>conftest.$ac_ext <<_ACEOF
24128 /* end confdefs.h. */
24130 /* Override any gcc2 internal prototype to avoid an error. */
24134 /* We use char because int might match the return type of a gcc2
24135 builtin and then its argument prototype would still apply. */
24145 rm -f conftest.$ac_objext conftest$ac_exeext
24146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24147 (eval $ac_link) 2>conftest.er1
24149 grep -v '^ *+' conftest.er1 >conftest.err
24151 cat conftest.err >&5
24152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24153 (exit $ac_status); } &&
24154 { ac_try='test -z "$ac_c_werror_flag"
24155 || test ! -s conftest.err'
24156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24157 (eval $ac_try) 2>&5
24159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24160 (exit $ac_status); }; } &&
24161 { ac_try='test -s conftest$ac_exeext'
24162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24163 (eval $ac_try) 2>&5
24165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24166 (exit $ac_status); }; }; then
24167 ac_cv_lib_dl_dlopen=yes
24169 echo "$as_me: failed program was:" >&5
24170 sed 's/^/| /' conftest.$ac_ext >&5
24172 ac_cv_lib_dl_dlopen=no
24174 rm -f conftest.err conftest.$ac_objext \
24175 conftest$ac_exeext conftest.$ac_ext
24176 LIBS=$ac_check_lib_save_LIBS
24178 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
24179 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
24180 if test $ac_cv_lib_dl_dlopen = yes; then
24181 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
24183 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
24184 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
24185 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
24186 echo $ECHO_N "(cached) $ECHO_C" >&6
24188 ac_check_lib_save_LIBS=$LIBS
24189 LIBS="-lsvld $LIBS"
24190 cat >conftest.$ac_ext <<_ACEOF
24193 cat confdefs.h >>conftest.$ac_ext
24194 cat >>conftest.$ac_ext <<_ACEOF
24195 /* end confdefs.h. */
24197 /* Override any gcc2 internal prototype to avoid an error. */
24201 /* We use char because int might match the return type of a gcc2
24202 builtin and then its argument prototype would still apply. */
24212 rm -f conftest.$ac_objext conftest$ac_exeext
24213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24214 (eval $ac_link) 2>conftest.er1
24216 grep -v '^ *+' conftest.er1 >conftest.err
24218 cat conftest.err >&5
24219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24220 (exit $ac_status); } &&
24221 { ac_try='test -z "$ac_c_werror_flag"
24222 || test ! -s conftest.err'
24223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24224 (eval $ac_try) 2>&5
24226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24227 (exit $ac_status); }; } &&
24228 { ac_try='test -s conftest$ac_exeext'
24229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24230 (eval $ac_try) 2>&5
24232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24233 (exit $ac_status); }; }; then
24234 ac_cv_lib_svld_dlopen=yes
24236 echo "$as_me: failed program was:" >&5
24237 sed 's/^/| /' conftest.$ac_ext >&5
24239 ac_cv_lib_svld_dlopen=no
24241 rm -f conftest.err conftest.$ac_objext \
24242 conftest$ac_exeext conftest.$ac_ext
24243 LIBS=$ac_check_lib_save_LIBS
24245 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
24246 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
24247 if test $ac_cv_lib_svld_dlopen = yes; then
24248 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
24250 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
24251 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
24252 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
24253 echo $ECHO_N "(cached) $ECHO_C" >&6
24255 ac_check_lib_save_LIBS=$LIBS
24257 cat >conftest.$ac_ext <<_ACEOF
24260 cat confdefs.h >>conftest.$ac_ext
24261 cat >>conftest.$ac_ext <<_ACEOF
24262 /* end confdefs.h. */
24264 /* Override any gcc2 internal prototype to avoid an error. */
24268 /* We use char because int might match the return type of a gcc2
24269 builtin and then its argument prototype would still apply. */
24279 rm -f conftest.$ac_objext conftest$ac_exeext
24280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24281 (eval $ac_link) 2>conftest.er1
24283 grep -v '^ *+' conftest.er1 >conftest.err
24285 cat conftest.err >&5
24286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24287 (exit $ac_status); } &&
24288 { ac_try='test -z "$ac_c_werror_flag"
24289 || test ! -s conftest.err'
24290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24291 (eval $ac_try) 2>&5
24293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24294 (exit $ac_status); }; } &&
24295 { ac_try='test -s conftest$ac_exeext'
24296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24297 (eval $ac_try) 2>&5
24299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24300 (exit $ac_status); }; }; then
24301 ac_cv_lib_dld_dld_link=yes
24303 echo "$as_me: failed program was:" >&5
24304 sed 's/^/| /' conftest.$ac_ext >&5
24306 ac_cv_lib_dld_dld_link=no
24308 rm -f conftest.err conftest.$ac_objext \
24309 conftest$ac_exeext conftest.$ac_ext
24310 LIBS=$ac_check_lib_save_LIBS
24312 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
24313 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
24314 if test $ac_cv_lib_dld_dld_link = yes; then
24315 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
24336 if test "x$lt_cv_dlopen" != xno; then
24342 case $lt_cv_dlopen in
24344 save_CPPFLAGS="$CPPFLAGS"
24345 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
24347 save_LDFLAGS="$LDFLAGS"
24348 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
24351 LIBS="$lt_cv_dlopen_libs $LIBS"
24353 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
24354 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
24355 if test "${lt_cv_dlopen_self+set}" = set; then
24356 echo $ECHO_N "(cached) $ECHO_C" >&6
24358 if test "$cross_compiling" = yes; then :
24359 lt_cv_dlopen_self=cross
24361 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
24362 lt_status=$lt_dlunknown
24363 cat > conftest.$ac_ext <<EOF
24364 #line 24364 "configure"
24365 #include "confdefs.h"
24374 # define LT_DLGLOBAL RTLD_GLOBAL
24377 # define LT_DLGLOBAL DL_GLOBAL
24379 # define LT_DLGLOBAL 0
24383 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
24384 find out it does not work in some platform. */
24385 #ifndef LT_DLLAZY_OR_NOW
24387 # define LT_DLLAZY_OR_NOW RTLD_LAZY
24390 # define LT_DLLAZY_OR_NOW DL_LAZY
24393 # define LT_DLLAZY_OR_NOW RTLD_NOW
24396 # define LT_DLLAZY_OR_NOW DL_NOW
24398 # define LT_DLLAZY_OR_NOW 0
24406 extern "C" void exit (int);
24409 void fnord() { int i=42;}
24412 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
24413 int status = $lt_dlunknown;
24417 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
24418 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
24419 /* dlclose (self); */
24425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24426 (eval $ac_link) 2>&5
24428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24429 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
24430 (./conftest; exit; ) 2>/dev/null
24432 case x$lt_status in
24433 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
24434 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
24435 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
24438 # compilation failed
24439 lt_cv_dlopen_self=no
24446 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
24447 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
24449 if test "x$lt_cv_dlopen_self" = xyes; then
24450 LDFLAGS="$LDFLAGS $link_static_flag"
24451 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
24452 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
24453 if test "${lt_cv_dlopen_self_static+set}" = set; then
24454 echo $ECHO_N "(cached) $ECHO_C" >&6
24456 if test "$cross_compiling" = yes; then :
24457 lt_cv_dlopen_self_static=cross
24459 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
24460 lt_status=$lt_dlunknown
24461 cat > conftest.$ac_ext <<EOF
24462 #line 24462 "configure"
24463 #include "confdefs.h"
24472 # define LT_DLGLOBAL RTLD_GLOBAL
24475 # define LT_DLGLOBAL DL_GLOBAL
24477 # define LT_DLGLOBAL 0
24481 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
24482 find out it does not work in some platform. */
24483 #ifndef LT_DLLAZY_OR_NOW
24485 # define LT_DLLAZY_OR_NOW RTLD_LAZY
24488 # define LT_DLLAZY_OR_NOW DL_LAZY
24491 # define LT_DLLAZY_OR_NOW RTLD_NOW
24494 # define LT_DLLAZY_OR_NOW DL_NOW
24496 # define LT_DLLAZY_OR_NOW 0
24504 extern "C" void exit (int);
24507 void fnord() { int i=42;}
24510 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
24511 int status = $lt_dlunknown;
24515 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
24516 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
24517 /* dlclose (self); */
24523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24524 (eval $ac_link) 2>&5
24526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24527 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
24528 (./conftest; exit; ) 2>/dev/null
24530 case x$lt_status in
24531 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
24532 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
24533 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
24536 # compilation failed
24537 lt_cv_dlopen_self_static=no
24544 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
24545 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
24548 CPPFLAGS="$save_CPPFLAGS"
24549 LDFLAGS="$save_LDFLAGS"
24554 case $lt_cv_dlopen_self in
24555 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
24556 *) enable_dlopen_self=unknown ;;
24559 case $lt_cv_dlopen_self_static in
24560 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
24561 *) enable_dlopen_self_static=unknown ;;
24566 # The else clause should only fire when bootstrapping the
24567 # libtool distribution, otherwise you forgot to ship ltmain.sh
24568 # with your package, and you will get complaints that there are
24569 # no rules to generate ltmain.sh.
24570 if test -f "$ltmain"; then
24571 # See if we are running on zsh, and set the options which allow our commands through
24572 # without removal of \ escapes.
24573 if test -n "${ZSH_VERSION+set}" ; then
24574 setopt NO_GLOB_SUBST
24576 # Now quote all the things that may contain metacharacters while being
24577 # careful not to overquote the AC_SUBSTed values. We take copies of the
24578 # variables and quote the copies for generation of the libtool script.
24579 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
24581 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
24582 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
24583 deplibs_check_method reload_flag reload_cmds need_locks \
24584 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
24585 lt_cv_sys_global_symbol_to_c_name_address \
24586 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
24587 old_postinstall_cmds old_postuninstall_cmds \
24591 lt_prog_compiler_wl_GCJ \
24592 lt_prog_compiler_pic_GCJ \
24593 lt_prog_compiler_static_GCJ \
24594 lt_prog_compiler_no_builtin_flag_GCJ \
24595 export_dynamic_flag_spec_GCJ \
24596 thread_safe_flag_spec_GCJ \
24597 whole_archive_flag_spec_GCJ \
24598 enable_shared_with_static_runtimes_GCJ \
24599 old_archive_cmds_GCJ \
24600 old_archive_from_new_cmds_GCJ \
24601 predep_objects_GCJ \
24602 postdep_objects_GCJ \
24605 compiler_lib_search_path_GCJ \
24607 archive_expsym_cmds_GCJ \
24608 postinstall_cmds_GCJ \
24609 postuninstall_cmds_GCJ \
24610 old_archive_from_expsyms_cmds_GCJ \
24611 allow_undefined_flag_GCJ \
24612 no_undefined_flag_GCJ \
24613 export_symbols_cmds_GCJ \
24614 hardcode_libdir_flag_spec_GCJ \
24615 hardcode_libdir_flag_spec_ld_GCJ \
24616 hardcode_libdir_separator_GCJ \
24617 hardcode_automatic_GCJ \
24619 module_expsym_cmds_GCJ \
24620 lt_cv_prog_compiler_c_o_GCJ \
24621 exclude_expsyms_GCJ \
24622 include_expsyms_GCJ; do
24625 old_archive_cmds_GCJ | \
24626 old_archive_from_new_cmds_GCJ | \
24627 archive_cmds_GCJ | \
24628 archive_expsym_cmds_GCJ | \
24629 module_cmds_GCJ | \
24630 module_expsym_cmds_GCJ | \
24631 old_archive_from_expsyms_cmds_GCJ | \
24632 export_symbols_cmds_GCJ | \
24633 extract_expsyms_cmds | reload_cmds | finish_cmds | \
24634 postinstall_cmds | postuninstall_cmds | \
24635 old_postinstall_cmds | old_postuninstall_cmds | \
24636 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
24637 # Double-quote double-evaled strings.
24638 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
24641 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
24647 *'\$0 --fallback-echo"')
24648 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
24654 cat <<__EOF__ >> "$cfgfile"
24655 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
24657 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
24659 # Shell to use when invoking shell scripts.
24662 # Whether or not to build shared libraries.
24663 build_libtool_libs=$enable_shared
24665 # Whether or not to build static libraries.
24666 build_old_libs=$enable_static
24668 # Whether or not to add -lc for building shared libraries.
24669 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
24671 # Whether or not to disallow shared libs when runtime libs are static
24672 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
24674 # Whether or not to optimize for fast installation.
24675 fast_install=$enable_fast_install
24678 host_alias=$host_alias
24681 # An echo program that does not interpret backslashes.
24686 AR_FLAGS=$lt_AR_FLAGS
24691 # A language-specific compiler.
24692 CC=$lt_compiler_GCJ
24694 # Is the compiler the GNU C compiler?
24700 # The linker used to build libraries.
24703 # Whether we need hard or soft links.
24706 # A BSD-compatible nm program.
24709 # A symbol stripping program
24712 # Used to examine libraries when file_magic_cmd begins "file"
24713 MAGIC_CMD=$MAGIC_CMD
24715 # Used on cygwin: DLL creation program.
24718 # Used on cygwin: object dumper.
24721 # Used on cygwin: assembler.
24724 # The name of the directory that contains temporary libtool files.
24727 # How to create reloadable object files.
24728 reload_flag=$lt_reload_flag
24729 reload_cmds=$lt_reload_cmds
24731 # How to pass a linker flag through the compiler.
24732 wl=$lt_lt_prog_compiler_wl_GCJ
24734 # Object file suffix (normally "o").
24735 objext="$ac_objext"
24737 # Old archive suffix (normally "a").
24740 # Shared library suffix (normally ".so").
24741 shrext_cmds='$shrext_cmds'
24743 # Executable file suffix (normally "").
24746 # Additional compiler flags for building library objects.
24747 pic_flag=$lt_lt_prog_compiler_pic_GCJ
24750 # What is the maximum length of a command?
24751 max_cmd_len=$lt_cv_sys_max_cmd_len
24753 # Does compiler simultaneously support -c and -o options?
24754 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
24756 # Must we lock files when doing compilation ?
24757 need_locks=$lt_need_locks
24759 # Do we need the lib prefix for modules?
24760 need_lib_prefix=$need_lib_prefix
24762 # Do we need a version for libraries?
24763 need_version=$need_version
24765 # Whether dlopen is supported.
24766 dlopen_support=$enable_dlopen
24768 # Whether dlopen of programs is supported.
24769 dlopen_self=$enable_dlopen_self
24771 # Whether dlopen of statically linked programs is supported.
24772 dlopen_self_static=$enable_dlopen_self_static
24774 # Compiler flag to prevent dynamic linking.
24775 link_static_flag=$lt_lt_prog_compiler_static_GCJ
24777 # Compiler flag to turn off builtin functions.
24778 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
24780 # Compiler flag to allow reflexive dlopens.
24781 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
24783 # Compiler flag to generate shared objects directly from archives.
24784 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
24786 # Compiler flag to generate thread-safe objects.
24787 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
24789 # Library versioning type.
24790 version_type=$version_type
24792 # Format of library name prefix.
24793 libname_spec=$lt_libname_spec
24795 # List of archive names. First name is the real one, the rest are links.
24796 # The last name is the one that the linker finds with -lNAME.
24797 library_names_spec=$lt_library_names_spec
24799 # The coded name of the library, if different from the real name.
24800 soname_spec=$lt_soname_spec
24802 # Commands used to build and install an old-style archive.
24804 old_archive_cmds=$lt_old_archive_cmds_GCJ
24805 old_postinstall_cmds=$lt_old_postinstall_cmds
24806 old_postuninstall_cmds=$lt_old_postuninstall_cmds
24808 # Create an old-style archive from a shared archive.
24809 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
24811 # Create a temporary old-style archive to link instead of a shared archive.
24812 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
24814 # Commands used to build and install a shared archive.
24815 archive_cmds=$lt_archive_cmds_GCJ
24816 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
24817 postinstall_cmds=$lt_postinstall_cmds
24818 postuninstall_cmds=$lt_postuninstall_cmds
24820 # Commands used to build a loadable module (assumed same as above if empty)
24821 module_cmds=$lt_module_cmds_GCJ
24822 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
24824 # Commands to strip libraries.
24825 old_striplib=$lt_old_striplib
24826 striplib=$lt_striplib
24828 # Dependencies to place before the objects being linked to create a
24830 predep_objects=$lt_predep_objects_GCJ
24832 # Dependencies to place after the objects being linked to create a
24834 postdep_objects=$lt_postdep_objects_GCJ
24836 # Dependencies to place before the objects being linked to create a
24838 predeps=$lt_predeps_GCJ
24840 # Dependencies to place after the objects being linked to create a
24842 postdeps=$lt_postdeps_GCJ
24844 # The library search path used internally by the compiler when linking
24845 # a shared library.
24846 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
24848 # Method to check whether dependent libraries are shared objects.
24849 deplibs_check_method=$lt_deplibs_check_method
24851 # Command to use when deplibs_check_method == file_magic.
24852 file_magic_cmd=$lt_file_magic_cmd
24854 # Flag that allows shared libraries with undefined symbols to be built.
24855 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
24857 # Flag that forces no undefined symbols.
24858 no_undefined_flag=$lt_no_undefined_flag_GCJ
24860 # Commands used to finish a libtool library installation in a directory.
24861 finish_cmds=$lt_finish_cmds
24863 # Same as above, but a single script fragment to be evaled but not shown.
24864 finish_eval=$lt_finish_eval
24866 # Take the output of nm and produce a listing of raw symbols and C names.
24867 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
24869 # Transform the output of nm in a proper C declaration
24870 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
24872 # Transform the output of nm in a C name address pair
24873 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
24875 # This is the shared library runtime path variable.
24876 runpath_var=$runpath_var
24878 # This is the shared library path variable.
24879 shlibpath_var=$shlibpath_var
24881 # Is shlibpath searched before the hard-coded library search path?
24882 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
24884 # How to hardcode a shared library path into an executable.
24885 hardcode_action=$hardcode_action_GCJ
24887 # Whether we should hardcode library paths into libraries.
24888 hardcode_into_libs=$hardcode_into_libs
24890 # Flag to hardcode \$libdir into a binary during linking.
24891 # This must work even if \$libdir does not exist.
24892 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
24894 # If ld is used when linking, flag to hardcode \$libdir into
24895 # a binary during linking. This must work even if \$libdir does
24897 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
24899 # Whether we need a single -rpath flag with a separated argument.
24900 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
24902 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
24903 # resulting binary.
24904 hardcode_direct=$hardcode_direct_GCJ
24906 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
24907 # resulting binary.
24908 hardcode_minus_L=$hardcode_minus_L_GCJ
24910 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
24911 # the resulting binary.
24912 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
24914 # Set to yes if building a shared library automatically hardcodes DIR into the library
24915 # and all subsequent libraries and executables linked against it.
24916 hardcode_automatic=$hardcode_automatic_GCJ
24918 # Variables whose values should be saved in libtool wrapper scripts and
24919 # restored at relink time.
24920 variables_saved_for_relink="$variables_saved_for_relink"
24922 # Whether libtool must link a program against all its dependency libraries.
24923 link_all_deplibs=$link_all_deplibs_GCJ
24925 # Compile-time system search path for libraries
24926 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
24928 # Run-time system search path for libraries
24929 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
24931 # Fix the shell variable \$srcfile for the compiler.
24932 fix_srcfile_path="$fix_srcfile_path_GCJ"
24934 # Set to yes if exported symbols are required.
24935 always_export_symbols=$always_export_symbols_GCJ
24937 # The commands to list exported symbols.
24938 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
24940 # The commands to extract the exported symbol list from a shared archive.
24941 extract_expsyms_cmds=$lt_extract_expsyms_cmds
24943 # Symbols that should not be listed in the preloaded symbols.
24944 exclude_expsyms=$lt_exclude_expsyms_GCJ
24946 # Symbols that must always be exported.
24947 include_expsyms=$lt_include_expsyms_GCJ
24949 # ### END LIBTOOL TAG CONFIG: $tagname
24955 # If there is no Makefile yet, we rely on a make rule to execute
24956 # `config.status --recheck' to rerun these tests and create the
24957 # libtool script then.
24958 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
24959 if test -f "$ltmain_in"; then
24960 test -f Makefile && make "$ltmain"
24966 ac_cpp='$CPP $CPPFLAGS'
24967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24982 # Source file extension for RC test sources.
24985 # Object file extension for compiled RC test sources.
24989 # Code to be used in simple compile tests
24990 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
24992 # Code to be used in simple link tests
24993 lt_simple_link_test_code="$lt_simple_compile_test_code"
24995 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
24997 # If no C compiler was specified, use CC.
25000 # Allow CC to be a program name with arguments.
25004 # Allow CC to be a program name with arguments.
25009 lt_cv_prog_compiler_c_o_RC=yes
25011 # The else clause should only fire when bootstrapping the
25012 # libtool distribution, otherwise you forgot to ship ltmain.sh
25013 # with your package, and you will get complaints that there are
25014 # no rules to generate ltmain.sh.
25015 if test -f "$ltmain"; then
25016 # See if we are running on zsh, and set the options which allow our commands through
25017 # without removal of \ escapes.
25018 if test -n "${ZSH_VERSION+set}" ; then
25019 setopt NO_GLOB_SUBST
25021 # Now quote all the things that may contain metacharacters while being
25022 # careful not to overquote the AC_SUBSTed values. We take copies of the
25023 # variables and quote the copies for generation of the libtool script.
25024 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
25026 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
25027 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
25028 deplibs_check_method reload_flag reload_cmds need_locks \
25029 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
25030 lt_cv_sys_global_symbol_to_c_name_address \
25031 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
25032 old_postinstall_cmds old_postuninstall_cmds \
25036 lt_prog_compiler_wl_RC \
25037 lt_prog_compiler_pic_RC \
25038 lt_prog_compiler_static_RC \
25039 lt_prog_compiler_no_builtin_flag_RC \
25040 export_dynamic_flag_spec_RC \
25041 thread_safe_flag_spec_RC \
25042 whole_archive_flag_spec_RC \
25043 enable_shared_with_static_runtimes_RC \
25044 old_archive_cmds_RC \
25045 old_archive_from_new_cmds_RC \
25046 predep_objects_RC \
25047 postdep_objects_RC \
25050 compiler_lib_search_path_RC \
25052 archive_expsym_cmds_RC \
25053 postinstall_cmds_RC \
25054 postuninstall_cmds_RC \
25055 old_archive_from_expsyms_cmds_RC \
25056 allow_undefined_flag_RC \
25057 no_undefined_flag_RC \
25058 export_symbols_cmds_RC \
25059 hardcode_libdir_flag_spec_RC \
25060 hardcode_libdir_flag_spec_ld_RC \
25061 hardcode_libdir_separator_RC \
25062 hardcode_automatic_RC \
25064 module_expsym_cmds_RC \
25065 lt_cv_prog_compiler_c_o_RC \
25066 exclude_expsyms_RC \
25067 include_expsyms_RC; do
25070 old_archive_cmds_RC | \
25071 old_archive_from_new_cmds_RC | \
25072 archive_cmds_RC | \
25073 archive_expsym_cmds_RC | \
25075 module_expsym_cmds_RC | \
25076 old_archive_from_expsyms_cmds_RC | \
25077 export_symbols_cmds_RC | \
25078 extract_expsyms_cmds | reload_cmds | finish_cmds | \
25079 postinstall_cmds | postuninstall_cmds | \
25080 old_postinstall_cmds | old_postuninstall_cmds | \
25081 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
25082 # Double-quote double-evaled strings.
25083 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
25086 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
25092 *'\$0 --fallback-echo"')
25093 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
25099 cat <<__EOF__ >> "$cfgfile"
25100 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
25102 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
25104 # Shell to use when invoking shell scripts.
25107 # Whether or not to build shared libraries.
25108 build_libtool_libs=$enable_shared
25110 # Whether or not to build static libraries.
25111 build_old_libs=$enable_static
25113 # Whether or not to add -lc for building shared libraries.
25114 build_libtool_need_lc=$archive_cmds_need_lc_RC
25116 # Whether or not to disallow shared libs when runtime libs are static
25117 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
25119 # Whether or not to optimize for fast installation.
25120 fast_install=$enable_fast_install
25123 host_alias=$host_alias
25126 # An echo program that does not interpret backslashes.
25131 AR_FLAGS=$lt_AR_FLAGS
25136 # A language-specific compiler.
25139 # Is the compiler the GNU C compiler?
25145 # The linker used to build libraries.
25148 # Whether we need hard or soft links.
25151 # A BSD-compatible nm program.
25154 # A symbol stripping program
25157 # Used to examine libraries when file_magic_cmd begins "file"
25158 MAGIC_CMD=$MAGIC_CMD
25160 # Used on cygwin: DLL creation program.
25163 # Used on cygwin: object dumper.
25166 # Used on cygwin: assembler.
25169 # The name of the directory that contains temporary libtool files.
25172 # How to create reloadable object files.
25173 reload_flag=$lt_reload_flag
25174 reload_cmds=$lt_reload_cmds
25176 # How to pass a linker flag through the compiler.
25177 wl=$lt_lt_prog_compiler_wl_RC
25179 # Object file suffix (normally "o").
25180 objext="$ac_objext"
25182 # Old archive suffix (normally "a").
25185 # Shared library suffix (normally ".so").
25186 shrext_cmds='$shrext_cmds'
25188 # Executable file suffix (normally "").
25191 # Additional compiler flags for building library objects.
25192 pic_flag=$lt_lt_prog_compiler_pic_RC
25195 # What is the maximum length of a command?
25196 max_cmd_len=$lt_cv_sys_max_cmd_len
25198 # Does compiler simultaneously support -c and -o options?
25199 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
25201 # Must we lock files when doing compilation ?
25202 need_locks=$lt_need_locks
25204 # Do we need the lib prefix for modules?
25205 need_lib_prefix=$need_lib_prefix
25207 # Do we need a version for libraries?
25208 need_version=$need_version
25210 # Whether dlopen is supported.
25211 dlopen_support=$enable_dlopen
25213 # Whether dlopen of programs is supported.
25214 dlopen_self=$enable_dlopen_self
25216 # Whether dlopen of statically linked programs is supported.
25217 dlopen_self_static=$enable_dlopen_self_static
25219 # Compiler flag to prevent dynamic linking.
25220 link_static_flag=$lt_lt_prog_compiler_static_RC
25222 # Compiler flag to turn off builtin functions.
25223 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
25225 # Compiler flag to allow reflexive dlopens.
25226 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
25228 # Compiler flag to generate shared objects directly from archives.
25229 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
25231 # Compiler flag to generate thread-safe objects.
25232 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
25234 # Library versioning type.
25235 version_type=$version_type
25237 # Format of library name prefix.
25238 libname_spec=$lt_libname_spec
25240 # List of archive names. First name is the real one, the rest are links.
25241 # The last name is the one that the linker finds with -lNAME.
25242 library_names_spec=$lt_library_names_spec
25244 # The coded name of the library, if different from the real name.
25245 soname_spec=$lt_soname_spec
25247 # Commands used to build and install an old-style archive.
25249 old_archive_cmds=$lt_old_archive_cmds_RC
25250 old_postinstall_cmds=$lt_old_postinstall_cmds
25251 old_postuninstall_cmds=$lt_old_postuninstall_cmds
25253 # Create an old-style archive from a shared archive.
25254 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
25256 # Create a temporary old-style archive to link instead of a shared archive.
25257 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
25259 # Commands used to build and install a shared archive.
25260 archive_cmds=$lt_archive_cmds_RC
25261 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
25262 postinstall_cmds=$lt_postinstall_cmds
25263 postuninstall_cmds=$lt_postuninstall_cmds
25265 # Commands used to build a loadable module (assumed same as above if empty)
25266 module_cmds=$lt_module_cmds_RC
25267 module_expsym_cmds=$lt_module_expsym_cmds_RC
25269 # Commands to strip libraries.
25270 old_striplib=$lt_old_striplib
25271 striplib=$lt_striplib
25273 # Dependencies to place before the objects being linked to create a
25275 predep_objects=$lt_predep_objects_RC
25277 # Dependencies to place after the objects being linked to create a
25279 postdep_objects=$lt_postdep_objects_RC
25281 # Dependencies to place before the objects being linked to create a
25283 predeps=$lt_predeps_RC
25285 # Dependencies to place after the objects being linked to create a
25287 postdeps=$lt_postdeps_RC
25289 # The library search path used internally by the compiler when linking
25290 # a shared library.
25291 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
25293 # Method to check whether dependent libraries are shared objects.
25294 deplibs_check_method=$lt_deplibs_check_method
25296 # Command to use when deplibs_check_method == file_magic.
25297 file_magic_cmd=$lt_file_magic_cmd
25299 # Flag that allows shared libraries with undefined symbols to be built.
25300 allow_undefined_flag=$lt_allow_undefined_flag_RC
25302 # Flag that forces no undefined symbols.
25303 no_undefined_flag=$lt_no_undefined_flag_RC
25305 # Commands used to finish a libtool library installation in a directory.
25306 finish_cmds=$lt_finish_cmds
25308 # Same as above, but a single script fragment to be evaled but not shown.
25309 finish_eval=$lt_finish_eval
25311 # Take the output of nm and produce a listing of raw symbols and C names.
25312 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
25314 # Transform the output of nm in a proper C declaration
25315 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
25317 # Transform the output of nm in a C name address pair
25318 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
25320 # This is the shared library runtime path variable.
25321 runpath_var=$runpath_var
25323 # This is the shared library path variable.
25324 shlibpath_var=$shlibpath_var
25326 # Is shlibpath searched before the hard-coded library search path?
25327 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
25329 # How to hardcode a shared library path into an executable.
25330 hardcode_action=$hardcode_action_RC
25332 # Whether we should hardcode library paths into libraries.
25333 hardcode_into_libs=$hardcode_into_libs
25335 # Flag to hardcode \$libdir into a binary during linking.
25336 # This must work even if \$libdir does not exist.
25337 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
25339 # If ld is used when linking, flag to hardcode \$libdir into
25340 # a binary during linking. This must work even if \$libdir does
25342 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
25344 # Whether we need a single -rpath flag with a separated argument.
25345 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
25347 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
25348 # resulting binary.
25349 hardcode_direct=$hardcode_direct_RC
25351 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
25352 # resulting binary.
25353 hardcode_minus_L=$hardcode_minus_L_RC
25355 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
25356 # the resulting binary.
25357 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
25359 # Set to yes if building a shared library automatically hardcodes DIR into the library
25360 # and all subsequent libraries and executables linked against it.
25361 hardcode_automatic=$hardcode_automatic_RC
25363 # Variables whose values should be saved in libtool wrapper scripts and
25364 # restored at relink time.
25365 variables_saved_for_relink="$variables_saved_for_relink"
25367 # Whether libtool must link a program against all its dependency libraries.
25368 link_all_deplibs=$link_all_deplibs_RC
25370 # Compile-time system search path for libraries
25371 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
25373 # Run-time system search path for libraries
25374 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
25376 # Fix the shell variable \$srcfile for the compiler.
25377 fix_srcfile_path="$fix_srcfile_path_RC"
25379 # Set to yes if exported symbols are required.
25380 always_export_symbols=$always_export_symbols_RC
25382 # The commands to list exported symbols.
25383 export_symbols_cmds=$lt_export_symbols_cmds_RC
25385 # The commands to extract the exported symbol list from a shared archive.
25386 extract_expsyms_cmds=$lt_extract_expsyms_cmds
25388 # Symbols that should not be listed in the preloaded symbols.
25389 exclude_expsyms=$lt_exclude_expsyms_RC
25391 # Symbols that must always be exported.
25392 include_expsyms=$lt_include_expsyms_RC
25394 # ### END LIBTOOL TAG CONFIG: $tagname
25400 # If there is no Makefile yet, we rely on a make rule to execute
25401 # `config.status --recheck' to rerun these tests and create the
25402 # libtool script then.
25403 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
25404 if test -f "$ltmain_in"; then
25405 test -f Makefile && make "$ltmain"
25411 ac_cpp='$CPP $CPPFLAGS'
25412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25421 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
25422 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
25423 { (exit 1); exit 1; }; }
25427 # Append the new tag name to the list of available tags.
25428 if test -n "$tagname" ; then
25429 available_tags="$available_tags $tagname"
25435 # Now substitute the updated list of available tags.
25436 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
25437 mv "${ofile}T" "$ofile"
25441 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
25442 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
25443 { (exit 1); exit 1; }; }
25449 # This can be used to rebuild libtool when needed
25450 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
25452 # Always use our own libtool.
25453 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
25455 # Prevent multiple expansion
25479 echo "$as_me:$LINENO: checking for linux kernel dir" >&5
25480 echo $ECHO_N "checking for linux kernel dir... $ECHO_C" >&6
25481 if test "${ensc_cv_path_kerneldir+set}" = set; then
25482 echo $ECHO_N "(cached) $ECHO_C" >&6
25486 # Check whether --with-kerneldir or --without-kerneldir was given.
25487 if test "${with_kerneldir+set}" = set; then
25488 withval="$with_kerneldir"
25490 yes|no) { { echo "$as_me:$LINENO: error: '$withval' is not a valid value for kerneldir" >&5
25491 echo "$as_me: error: '$withval' is not a valid value for kerneldir" >&2;}
25492 { (exit 1); exit 1; }; };;
25493 *) ensc_cv_path_kerneldir=$withval;;
25496 ensc_cv_path_kerneldir=
25497 for i in /lib/modules/$(uname -r)/build /usr/src/linux /usr; do
25498 test -e $i/include/linux/version.h && { ensc_cv_path_kerneldir=$i; break; }
25503 echo "$as_me:$LINENO: result: $ensc_cv_path_kerneldir" >&5
25504 echo "${ECHO_T}$ensc_cv_path_kerneldir" >&6
25506 test "$ensc_cv_path_kerneldir" -a -e "$ensc_cv_path_kerneldir"/include/linux/version.h || {
25507 { { echo "$as_me:$LINENO: error: Can not find kernelsources" >&5
25508 echo "$as_me: error: Can not find kernelsources" >&2;}
25509 { (exit 1); exit 1; }; }
25515 echo "$as_me:$LINENO: checking for linux kernel headers" >&5
25516 echo $ECHO_N "checking for linux kernel headers... $ECHO_C" >&6
25517 if test "${ensc_cv_path_kernelheaders+set}" = set; then
25518 echo $ECHO_N "(cached) $ECHO_C" >&6
25521 ensc_cv_path_kernelheaders=$ensc_cv_path_kerneldir/include
25524 echo "$as_me:$LINENO: result: $ensc_cv_path_kernelheaders" >&5
25525 echo "${ECHO_T}$ensc_cv_path_kernelheaders" >&6
25527 if test x"kernelincludedir" != x; then
25528 kernelincludedir=$ensc_cv_path_kernelheaders
25533 echo "$as_me:$LINENO: checking which vserver-rootdir is to use" >&5
25534 echo $ECHO_N "checking which vserver-rootdir is to use... $ECHO_C" >&6
25536 # Check whether --with-vrootdir or --without-vrootdir was given.
25537 if test "${with_vrootdir+set}" = set; then
25538 withval="$with_vrootdir"
25540 yes|no) { { echo "$as_me:$LINENO: error: '$withval' is not a valid value for vrootdir" >&5
25541 echo "$as_me: error: '$withval' is not a valid value for vrootdir" >&2;}
25542 { (exit 1); exit 1; }; };;
25543 *) ensc_uv_path_vrootdir=$withval;;
25546 ensc_uv_path_vrootdir=/vservers
25548 echo "$as_me:$LINENO: result: $ensc_uv_path_vrootdir" >&5
25549 echo "${ECHO_T}$ensc_uv_path_vrootdir" >&6
25551 if test x"vserverdir" != x; then
25552 vserverdir=$ensc_uv_path_vrootdir
25557 if test x"trunk" != x; then
25558 CVS2CL_TAG='-F trunk'
25562 for ac_prog in cvs2cl
25564 # Extract the first word of "$ac_prog", so it can be a program name with args.
25565 set dummy $ac_prog; ac_word=$2
25566 echo "$as_me:$LINENO: checking for $ac_word" >&5
25567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25568 if test "${ac_cv_prog_CVS2CL+set}" = set; then
25569 echo $ECHO_N "(cached) $ECHO_C" >&6
25571 if test -n "$CVS2CL"; then
25572 ac_cv_prog_CVS2CL="$CVS2CL" # Let the user override the test.
25574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25575 for as_dir in $PATH
25578 test -z "$as_dir" && as_dir=.
25579 for ac_exec_ext in '' $ac_executable_extensions; do
25580 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25581 ac_cv_prog_CVS2CL="$ac_prog"
25582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25590 CVS2CL=$ac_cv_prog_CVS2CL
25591 if test -n "$CVS2CL"; then
25592 echo "$as_me:$LINENO: result: $CVS2CL" >&5
25593 echo "${ECHO_T}$CVS2CL" >&6
25595 echo "$as_me:$LINENO: result: no" >&5
25596 echo "${ECHO_T}no" >&6
25599 test -n "$CVS2CL" && break
25604 if test x"$CVS2CL" != x; then
25606 HAVE_CVS2CL_FALSE='#'
25608 HAVE_CVS2CL_TRUE='#'
25613 for ac_prog in rcs2log
25615 # Extract the first word of "$ac_prog", so it can be a program name with args.
25616 set dummy $ac_prog; ac_word=$2
25617 echo "$as_me:$LINENO: checking for $ac_word" >&5
25618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25619 if test "${ac_cv_prog_RCS2LOG+set}" = set; then
25620 echo $ECHO_N "(cached) $ECHO_C" >&6
25622 if test -n "$RCS2LOG"; then
25623 ac_cv_prog_RCS2LOG="$RCS2LOG" # Let the user override the test.
25625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25626 for as_dir in $PATH
25629 test -z "$as_dir" && as_dir=.
25630 for ac_exec_ext in '' $ac_executable_extensions; do
25631 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25632 ac_cv_prog_RCS2LOG="$ac_prog"
25633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25641 RCS2LOG=$ac_cv_prog_RCS2LOG
25642 if test -n "$RCS2LOG"; then
25643 echo "$as_me:$LINENO: result: $RCS2LOG" >&5
25644 echo "${ECHO_T}$RCS2LOG" >&6
25646 echo "$as_me:$LINENO: result: no" >&5
25647 echo "${ECHO_T}no" >&6
25650 test -n "$RCS2LOG" && break
25655 if test x"$RCS2LOG" != x; then
25657 HAVE_RCS2LOG_FALSE='#'
25659 HAVE_RCS2LOG_TRUE='#'
25660 HAVE_RCS2LOG_FALSE=
25666 echo "$as_me:$LINENO: checking whether to use internal kernel headers" >&5
25667 echo $ECHO_N "checking whether to use internal kernel headers... $ECHO_C" >&6
25668 # Check whether --enable-internal-headers or --disable-internal-headers was given.
25669 if test "${enable_internal_headers+set}" = set; then
25670 enableval="$enable_internal_headers"
25671 case "$enableval" in
25673 (*) { { echo "$as_me:$LINENO: error: '$i' is not a supported value for '--disable-internal-headers'" >&5
25674 echo "$as_me: error: '$i' is not a supported value for '--disable-internal-headers'" >&2;}
25675 { (exit 1); exit 1; }; };;
25678 enable_internal_headers=yes
25683 if test x"$enable_internal_headers" = xyes; then
25684 ENSC_ENABLE_INTERNAL_HEADERS_TRUE=
25685 ENSC_ENABLE_INTERNAL_HEADERS_FALSE='#'
25687 ENSC_ENABLE_INTERNAL_HEADERS_TRUE='#'
25688 ENSC_ENABLE_INTERNAL_HEADERS_FALSE=
25691 echo "$as_me:$LINENO: result: $enable_internal_headers" >&5
25692 echo "${ECHO_T}$enable_internal_headers" >&6
25694 echo "$as_me:$LINENO: checking for supported APIs" >&5
25695 echo $ECHO_N "checking for supported APIs... $ECHO_C" >&6
25696 # Check whether --enable-apis or --disable-apis was given.
25697 if test "${enable_apis+set}" = set; then
25698 enableval="$enable_apis"
25701 enable_apis=compat,v11,v13,fscompat,net
25704 test x"$enable_apis" != xALL || enable_apis='legacy,compat,v11,v13,fscompat,net'
25705 enable_api_oldproc=
25709 for i in $enable_apis; do
25712 cat >>confdefs.h <<\_ACEOF
25713 #define VC_ENABLE_API_COMPAT 1
25716 enable_api_oldproc=1
25717 enable_api_olduts=1
25720 cat >>confdefs.h <<\_ACEOF
25721 #define VC_ENABLE_API_LEGACY 1
25724 enable_api_old_proc=1
25725 enable_api_olduts=1
25728 cat >>confdefs.h <<\_ACEOF
25729 #define VC_ENABLE_API_V11 1
25732 enable_api_oldproc=1
25733 enable_api_olduts=1
25736 cat >>confdefs.h <<\_ACEOF
25737 #define VC_ENABLE_API_V13 1
25741 cat >>confdefs.h <<\_ACEOF
25742 #define VC_ENABLE_API_NET 1
25746 cat >>confdefs.h <<\_ACEOF
25747 #define VC_ENABLE_API_FSCOMPAT 1
25750 (*) { { echo "$as_me:$LINENO: error: '$i' is not a supported API" >&5
25751 echo "$as_me: error: '$i' is not a supported API" >&2;}
25752 { (exit 1); exit 1; }; };;
25756 if test x"$enable_api_oldproc" != x; then
25758 cat >>confdefs.h <<\_ACEOF
25759 #define VC_ENABLE_API_OLDPROC 1
25762 enable_apis="$enable_apis,oldproc"
25764 if test x"$enable_api_olduts" != x; then
25766 cat >>confdefs.h <<\_ACEOF
25767 #define VC_ENABLE_API_OLDUTS 1
25770 enable_apis="$enable_apis,olduts"
25772 echo "$as_me:$LINENO: result: $enable_apis" >&5
25773 echo "${ECHO_T}$enable_apis" >&6
25781 echo "$as_me:$LINENO: checking for number of syscall 'vserver'" >&5
25782 echo $ECHO_N "checking for number of syscall 'vserver'... $ECHO_C" >&6
25783 if test "${ensc_cv_value_syscall_vserver+set}" = set; then
25784 echo $ECHO_N "(cached) $ECHO_C" >&6
25788 ac_cpp='$CPP $CPPFLAGS'
25789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25793 cat >conftest.$ac_ext <<_ACEOF
25795 #include <asm/unistd.h>
25796 #ifdef __NR_vserver
25797 ensc_syscall_tmp_nr=__NR_vserver;
25798 ensc_syscall_tmp_src=ENSC_MARK
25802 ensc_syscall_tmp_nr=
25803 ensc_syscall_tmp_src=
25804 test "$ensc_syscall_tmp_nr" || \
25805 eval $($CPP $CPPFLAGS -D ENSC_MARK='glibc' conftest.c | $EGREP '^ensc_syscall_tmp_(nr=[1-9][0-9]*;|src=.*)$')
25806 test "$ensc_syscall_tmp_nr" || \
25807 eval $($CPP $CPPFLAGS -D ENSC_MARK='kernel' -I $ensc_cv_path_kernelheaders conftest.c | $EGREP '^ensc_syscall_tmp_(nr=[1-9][0-9]*;|src=.*)$')
25808 test "$ensc_syscall_tmp_nr" || {
25809 ensc_syscall_tmp_nr=273
25810 ensc_syscall_tmp_src=default
25813 if test x"$ensc_syscall_tmp_nr" = x; then
25814 { { echo "$as_me:$LINENO: error: Can not determine value of __NR_vserver; please verify your glibc/kernelheaders, and/or set CPPFLAGS='-D__NR_vserver=<value>' environment when calling configure." >&5
25815 echo "$as_me: error: Can not determine value of __NR_vserver; please verify your glibc/kernelheaders, and/or set CPPFLAGS='-D__NR_vserver=<value>' environment when calling configure." >&2;}
25816 { (exit 1); exit 1; }; }
25819 ac_cpp='$CPP $CPPFLAGS'
25820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25825 ensc_cv_value_syscall_vserver="$ensc_syscall_tmp_nr/$ensc_syscall_tmp_src"
25828 echo "$as_me:$LINENO: result: $ensc_cv_value_syscall_vserver" >&5
25829 echo "${ECHO_T}$ensc_cv_value_syscall_vserver" >&6
25831 ensc_syscall_tmp_nr=${ensc_cv_value_syscall_vserver%/*}
25832 ensc_syscall_tmp_src=${ensc_cv_value_syscall_vserver#*/}
25834 if test x"$ensc_syscall_tmp_src" != x'glibc'; then
25836 cat >>confdefs.h <<_ACEOF
25837 #define ENSC_SYSCALL__NR_vserver $ensc_syscall_tmp_nr
25846 echo "$as_me:$LINENO: checking for syscall(2) invocation method" >&5
25847 echo $ECHO_N "checking for syscall(2) invocation method... $ECHO_C" >&6
25849 # Check whether --with-syscall or --without-syscall was given.
25850 if test "${with_syscall+set}" = set; then
25851 withval="$with_syscall"
25856 echo "$as_me:$LINENO: result: $with_syscall" >&5
25857 echo "${ECHO_T}$with_syscall" >&6
25859 case x"$with_syscall" in
25861 echo "$as_me:$LINENO: checking which syscall(2) invocation works" >&5
25862 echo $ECHO_N "checking which syscall(2) invocation works... $ECHO_C" >&6
25863 if test "${ensc_cv_test_syscall+set}" = set; then
25864 echo $ECHO_N "(cached) $ECHO_C" >&6
25868 ac_cpp='$CPP $CPPFLAGS'
25869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25873 cat >conftest.$ac_ext <<_ACEOF
25876 cat confdefs.h >>conftest.$ac_ext
25877 cat >>conftest.$ac_ext <<_ACEOF
25878 /* end confdefs.h. */
25880 #include "$srcdir/lib/syscall-wrap.h"
25883 #define __NR_foo0 300
25884 #define __NR_foo1 301
25885 #define __NR_foo2 302
25886 #define __NR_foo3 303
25887 #define __NR_foo4 304
25888 #define __NR_foo5 305
25889 inline static _syscall0(int, foo0)
25890 inline static _syscall1(int, foo1, int, a)
25891 inline static _syscall2(int, foo2, int, a, int, b)
25892 inline static _syscall3(int, foo3, int, a, int, b, int, c)
25893 inline static _syscall4(int, foo4, int, a, int, b, int, c, int, d)
25894 inline static _syscall5(int, foo5, int, a, int, b, int, c, int, d, int, e)
25906 rm -f conftest.$ac_objext
25907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25908 (eval $ac_compile) 2>conftest.er1
25910 grep -v '^ *+' conftest.er1 >conftest.err
25912 cat conftest.err >&5
25913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25914 (exit $ac_status); } &&
25915 { ac_try='test -z "$ac_c_werror_flag"
25916 || test ! -s conftest.err'
25917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25918 (eval $ac_try) 2>&5
25920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25921 (exit $ac_status); }; } &&
25922 { ac_try='test -s conftest.$ac_objext'
25923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25924 (eval $ac_try) 2>&5
25926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25927 (exit $ac_status); }; }; then
25928 ensc_cv_test_syscall=fast
25930 echo "$as_me: failed program was:" >&5
25931 sed 's/^/| /' conftest.$ac_ext >&5
25933 ensc_cv_test_syscall=traditional
25935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25938 ac_cpp='$CPP $CPPFLAGS'
25939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25945 echo "$as_me:$LINENO: result: $ensc_cv_test_syscall" >&5
25946 echo "${ECHO_T}$ensc_cv_test_syscall" >&6
25947 with_syscall=$ensc_cv_test_syscall
25949 (xfast|xtraditional)
25952 { { echo "$as_me:$LINENO: error: '$with_syscall' is not a valid value for '--with-syscall'" >&5
25953 echo "$as_me: error: '$with_syscall' is not a valid value for '--with-syscall'" >&2;}
25954 { (exit 1); exit 1; }; }
25958 if test x"$with_syscall $ensc_use_alternative_syscall_macros" = 'xfast yes'; then
25959 with_syscall='alternative'
25962 if test x"$with_syscall" = xtraditional; then
25964 cat >>confdefs.h <<\_ACEOF
25965 #define ENSC_SYSCALL_TRADITIONAL 1
25976 ac_cpp='$CXXCPP $CPPFLAGS'
25977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25981 echo "$as_me:$LINENO: checking for ext2fs-headers" >&5
25982 echo $ECHO_N "checking for ext2fs-headers... $ECHO_C" >&6
25983 if test "${ensc_cv_test_ext2fs_header+set}" = set; then
25984 echo $ECHO_N "(cached) $ECHO_C" >&6
25987 cat >conftest.$ac_ext <<_ACEOF
25990 cat confdefs.h >>conftest.$ac_ext
25991 cat >>conftest.$ac_ext <<_ACEOF
25992 /* end confdefs.h. */
25993 #include <ext2fs/ext2_fs.h>
25994 int main() { return 0; }
25996 rm -f conftest.$ac_objext
25997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25998 (eval $ac_compile) 2>conftest.er1
26000 grep -v '^ *+' conftest.er1 >conftest.err
26002 cat conftest.err >&5
26003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26004 (exit $ac_status); } &&
26005 { ac_try='test -z "$ac_cxx_werror_flag"
26006 || test ! -s conftest.err'
26007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26008 (eval $ac_try) 2>&5
26010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26011 (exit $ac_status); }; } &&
26012 { ac_try='test -s conftest.$ac_objext'
26013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26014 (eval $ac_try) 2>&5
26016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26017 (exit $ac_status); }; }; then
26018 ensc_cv_test_ext2fs_header=e2fsprogs
26020 echo "$as_me: failed program was:" >&5
26021 sed 's/^/| /' conftest.$ac_ext >&5
26024 cat >conftest.$ac_ext <<_ACEOF
26027 cat confdefs.h >>conftest.$ac_ext
26028 cat >>conftest.$ac_ext <<_ACEOF
26029 /* end confdefs.h. */
26030 #include <linux/ext2_fs.h>
26031 int main() { return 0; }
26033 rm -f conftest.$ac_objext
26034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26035 (eval $ac_compile) 2>conftest.er1
26037 grep -v '^ *+' conftest.er1 >conftest.err
26039 cat conftest.err >&5
26040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26041 (exit $ac_status); } &&
26042 { ac_try='test -z "$ac_cxx_werror_flag"
26043 || test ! -s conftest.err'
26044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26045 (eval $ac_try) 2>&5
26047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26048 (exit $ac_status); }; } &&
26049 { ac_try='test -s conftest.$ac_objext'
26050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26051 (eval $ac_try) 2>&5
26053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26054 (exit $ac_status); }; }; then
26055 ensc_cv_test_ext2fs_header=kernel
26057 echo "$as_me: failed program was:" >&5
26058 sed 's/^/| /' conftest.$ac_ext >&5
26061 ensc_cv_test_ext2fs_header=none
26063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26067 echo "$as_me:$LINENO: result: $ensc_cv_test_ext2fs_header" >&5
26068 echo "${ECHO_T}$ensc_cv_test_ext2fs_header" >&6
26070 case x"$ensc_cv_test_ext2fs_header" in
26072 if test "${ac_cv_header_ext2fs_ext2_fs_h+set}" = set; then
26073 echo "$as_me:$LINENO: checking for ext2fs/ext2_fs.h" >&5
26074 echo $ECHO_N "checking for ext2fs/ext2_fs.h... $ECHO_C" >&6
26075 if test "${ac_cv_header_ext2fs_ext2_fs_h+set}" = set; then
26076 echo $ECHO_N "(cached) $ECHO_C" >&6
26078 echo "$as_me:$LINENO: result: $ac_cv_header_ext2fs_ext2_fs_h" >&5
26079 echo "${ECHO_T}$ac_cv_header_ext2fs_ext2_fs_h" >&6
26081 # Is the header compilable?
26082 echo "$as_me:$LINENO: checking ext2fs/ext2_fs.h usability" >&5
26083 echo $ECHO_N "checking ext2fs/ext2_fs.h usability... $ECHO_C" >&6
26084 cat >conftest.$ac_ext <<_ACEOF
26087 cat confdefs.h >>conftest.$ac_ext
26088 cat >>conftest.$ac_ext <<_ACEOF
26089 /* end confdefs.h. */
26090 $ac_includes_default
26091 #include <ext2fs/ext2_fs.h>
26093 rm -f conftest.$ac_objext
26094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26095 (eval $ac_compile) 2>conftest.er1
26097 grep -v '^ *+' conftest.er1 >conftest.err
26099 cat conftest.err >&5
26100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26101 (exit $ac_status); } &&
26102 { ac_try='test -z "$ac_cxx_werror_flag"
26103 || test ! -s conftest.err'
26104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26105 (eval $ac_try) 2>&5
26107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26108 (exit $ac_status); }; } &&
26109 { ac_try='test -s conftest.$ac_objext'
26110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26111 (eval $ac_try) 2>&5
26113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26114 (exit $ac_status); }; }; then
26115 ac_header_compiler=yes
26117 echo "$as_me: failed program was:" >&5
26118 sed 's/^/| /' conftest.$ac_ext >&5
26120 ac_header_compiler=no
26122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26123 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26124 echo "${ECHO_T}$ac_header_compiler" >&6
26126 # Is the header present?
26127 echo "$as_me:$LINENO: checking ext2fs/ext2_fs.h presence" >&5
26128 echo $ECHO_N "checking ext2fs/ext2_fs.h presence... $ECHO_C" >&6
26129 cat >conftest.$ac_ext <<_ACEOF
26132 cat confdefs.h >>conftest.$ac_ext
26133 cat >>conftest.$ac_ext <<_ACEOF
26134 /* end confdefs.h. */
26135 #include <ext2fs/ext2_fs.h>
26137 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26138 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26140 grep -v '^ *+' conftest.er1 >conftest.err
26142 cat conftest.err >&5
26143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26144 (exit $ac_status); } >/dev/null; then
26145 if test -s conftest.err; then
26146 ac_cpp_err=$ac_cxx_preproc_warn_flag
26147 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26154 if test -z "$ac_cpp_err"; then
26155 ac_header_preproc=yes
26157 echo "$as_me: failed program was:" >&5
26158 sed 's/^/| /' conftest.$ac_ext >&5
26160 ac_header_preproc=no
26162 rm -f conftest.err conftest.$ac_ext
26163 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26164 echo "${ECHO_T}$ac_header_preproc" >&6
26166 # So? What about this header?
26167 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26169 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&5
26170 echo "$as_me: WARNING: ext2fs/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26171 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: proceeding with the compiler's result" >&5
26172 echo "$as_me: WARNING: ext2fs/ext2_fs.h: proceeding with the compiler's result" >&2;}
26173 ac_header_preproc=yes
26176 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: present but cannot be compiled" >&5
26177 echo "$as_me: WARNING: ext2fs/ext2_fs.h: present but cannot be compiled" >&2;}
26178 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: check for missing prerequisite headers?" >&5
26179 echo "$as_me: WARNING: ext2fs/ext2_fs.h: check for missing prerequisite headers?" >&2;}
26180 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: see the Autoconf documentation" >&5
26181 echo "$as_me: WARNING: ext2fs/ext2_fs.h: see the Autoconf documentation" >&2;}
26182 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&5
26183 echo "$as_me: WARNING: ext2fs/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&2;}
26184 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: proceeding with the preprocessor's result" >&5
26185 echo "$as_me: WARNING: ext2fs/ext2_fs.h: proceeding with the preprocessor's result" >&2;}
26186 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: in the future, the compiler will take precedence" >&5
26187 echo "$as_me: WARNING: ext2fs/ext2_fs.h: in the future, the compiler will take precedence" >&2;}
26190 ## ------------------------------------------------------ ##
26191 ## Report this to enrico.scholz@informatik.tu-chemnitz.de ##
26192 ## ------------------------------------------------------ ##
26195 sed "s/^/$as_me: WARNING: /" >&2
26198 echo "$as_me:$LINENO: checking for ext2fs/ext2_fs.h" >&5
26199 echo $ECHO_N "checking for ext2fs/ext2_fs.h... $ECHO_C" >&6
26200 if test "${ac_cv_header_ext2fs_ext2_fs_h+set}" = set; then
26201 echo $ECHO_N "(cached) $ECHO_C" >&6
26203 ac_cv_header_ext2fs_ext2_fs_h=$ac_header_preproc
26205 echo "$as_me:$LINENO: result: $ac_cv_header_ext2fs_ext2_fs_h" >&5
26206 echo "${ECHO_T}$ac_cv_header_ext2fs_ext2_fs_h" >&6
26209 if test $ac_cv_header_ext2fs_ext2_fs_h = yes; then
26211 cat >>confdefs.h <<\_ACEOF
26212 #define ENSC_HAVE_EXT2FS_EXT2_FS_H 1
26216 { { echo "$as_me:$LINENO: error: unexpected error while checkin for <ext2fs/ext2_fs.h>
26217 See \`config.log' for more details." >&5
26218 echo "$as_me: error: unexpected error while checkin for <ext2fs/ext2_fs.h>
26219 See \`config.log' for more details." >&2;}
26220 { (exit 1); exit 1; }; }
26226 if test "${ac_cv_header_linux_ext2_fs_h+set}" = set; then
26227 echo "$as_me:$LINENO: checking for linux/ext2_fs.h" >&5
26228 echo $ECHO_N "checking for linux/ext2_fs.h... $ECHO_C" >&6
26229 if test "${ac_cv_header_linux_ext2_fs_h+set}" = set; then
26230 echo $ECHO_N "(cached) $ECHO_C" >&6
26232 echo "$as_me:$LINENO: result: $ac_cv_header_linux_ext2_fs_h" >&5
26233 echo "${ECHO_T}$ac_cv_header_linux_ext2_fs_h" >&6
26235 # Is the header compilable?
26236 echo "$as_me:$LINENO: checking linux/ext2_fs.h usability" >&5
26237 echo $ECHO_N "checking linux/ext2_fs.h usability... $ECHO_C" >&6
26238 cat >conftest.$ac_ext <<_ACEOF
26241 cat confdefs.h >>conftest.$ac_ext
26242 cat >>conftest.$ac_ext <<_ACEOF
26243 /* end confdefs.h. */
26244 $ac_includes_default
26245 #include <linux/ext2_fs.h>
26247 rm -f conftest.$ac_objext
26248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26249 (eval $ac_compile) 2>conftest.er1
26251 grep -v '^ *+' conftest.er1 >conftest.err
26253 cat conftest.err >&5
26254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26255 (exit $ac_status); } &&
26256 { ac_try='test -z "$ac_cxx_werror_flag"
26257 || test ! -s conftest.err'
26258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26259 (eval $ac_try) 2>&5
26261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26262 (exit $ac_status); }; } &&
26263 { ac_try='test -s conftest.$ac_objext'
26264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26265 (eval $ac_try) 2>&5
26267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26268 (exit $ac_status); }; }; then
26269 ac_header_compiler=yes
26271 echo "$as_me: failed program was:" >&5
26272 sed 's/^/| /' conftest.$ac_ext >&5
26274 ac_header_compiler=no
26276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26277 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26278 echo "${ECHO_T}$ac_header_compiler" >&6
26280 # Is the header present?
26281 echo "$as_me:$LINENO: checking linux/ext2_fs.h presence" >&5
26282 echo $ECHO_N "checking linux/ext2_fs.h presence... $ECHO_C" >&6
26283 cat >conftest.$ac_ext <<_ACEOF
26286 cat confdefs.h >>conftest.$ac_ext
26287 cat >>conftest.$ac_ext <<_ACEOF
26288 /* end confdefs.h. */
26289 #include <linux/ext2_fs.h>
26291 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26292 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26294 grep -v '^ *+' conftest.er1 >conftest.err
26296 cat conftest.err >&5
26297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26298 (exit $ac_status); } >/dev/null; then
26299 if test -s conftest.err; then
26300 ac_cpp_err=$ac_cxx_preproc_warn_flag
26301 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26308 if test -z "$ac_cpp_err"; then
26309 ac_header_preproc=yes
26311 echo "$as_me: failed program was:" >&5
26312 sed 's/^/| /' conftest.$ac_ext >&5
26314 ac_header_preproc=no
26316 rm -f conftest.err conftest.$ac_ext
26317 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26318 echo "${ECHO_T}$ac_header_preproc" >&6
26320 # So? What about this header?
26321 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26323 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&5
26324 echo "$as_me: WARNING: linux/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26325 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: proceeding with the compiler's result" >&5
26326 echo "$as_me: WARNING: linux/ext2_fs.h: proceeding with the compiler's result" >&2;}
26327 ac_header_preproc=yes
26330 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: present but cannot be compiled" >&5
26331 echo "$as_me: WARNING: linux/ext2_fs.h: present but cannot be compiled" >&2;}
26332 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: check for missing prerequisite headers?" >&5
26333 echo "$as_me: WARNING: linux/ext2_fs.h: check for missing prerequisite headers?" >&2;}
26334 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: see the Autoconf documentation" >&5
26335 echo "$as_me: WARNING: linux/ext2_fs.h: see the Autoconf documentation" >&2;}
26336 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&5
26337 echo "$as_me: WARNING: linux/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&2;}
26338 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: proceeding with the preprocessor's result" >&5
26339 echo "$as_me: WARNING: linux/ext2_fs.h: proceeding with the preprocessor's result" >&2;}
26340 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: in the future, the compiler will take precedence" >&5
26341 echo "$as_me: WARNING: linux/ext2_fs.h: in the future, the compiler will take precedence" >&2;}
26344 ## ------------------------------------------------------ ##
26345 ## Report this to enrico.scholz@informatik.tu-chemnitz.de ##
26346 ## ------------------------------------------------------ ##
26349 sed "s/^/$as_me: WARNING: /" >&2
26352 echo "$as_me:$LINENO: checking for linux/ext2_fs.h" >&5
26353 echo $ECHO_N "checking for linux/ext2_fs.h... $ECHO_C" >&6
26354 if test "${ac_cv_header_linux_ext2_fs_h+set}" = set; then
26355 echo $ECHO_N "(cached) $ECHO_C" >&6
26357 ac_cv_header_linux_ext2_fs_h=$ac_header_preproc
26359 echo "$as_me:$LINENO: result: $ac_cv_header_linux_ext2_fs_h" >&5
26360 echo "${ECHO_T}$ac_cv_header_linux_ext2_fs_h" >&6
26363 if test $ac_cv_header_linux_ext2_fs_h = yes; then
26365 cat >>confdefs.h <<\_ACEOF
26366 #define ENSC_HAVE_LINUX_EXT2_FS_H 1
26370 { { echo "$as_me:$LINENO: error: unexpected error while checkin for <linux/ext2_fs.h>
26371 See \`config.log' for more details." >&5
26372 echo "$as_me: error: unexpected error while checkin for <linux/ext2_fs.h>
26373 See \`config.log' for more details." >&2;}
26374 { (exit 1); exit 1; }; }
26380 { { echo "$as_me:$LINENO: error:
26381 ext2fs headers were not found, or they are not usable. This can have
26382 the following reasons:
26384 * you have neither the e2fsprogs nor the kernel headers installed
26386 * kernel headers are broken (e.g. these of linux 2.6 are known to be)
26387 and you do not have e2fsprogs headers installed; please try to install
26388 - e2fsprogs-devel (for Red Hat), or
26389 - libext2fs2-devel (for Mandrake), or
26390 - e2fslibs-dev (for Debian)
26393 * kernel headers are broken and your e2fsprogs headers are too old;
26394 until version 1.27 (inclusive), they are using reserved C++ keywords
26396 * kernel headers are broken and your e2fsprogs headers are too new;
26397 recent (January 2004) BK snapshots of e2fsprogs are unusable for
26398 C++, for details and a solution see
26399 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=112448
26402 In the latter two cases you have the following options:
26403 * fix the headers manually, or
26404 * install a stable version of e2fsprogs (e.g. 1.34), or
26405 * use good kernel headers (from linux 2.4.x)
26407 See \`config.log' for more details." >&5
26408 echo "$as_me: error:
26409 ext2fs headers were not found, or they are not usable. This can have
26410 the following reasons:
26412 * you have neither the e2fsprogs nor the kernel headers installed
26414 * kernel headers are broken (e.g. these of linux 2.6 are known to be)
26415 and you do not have e2fsprogs headers installed; please try to install
26416 - e2fsprogs-devel (for Red Hat), or
26417 - libext2fs2-devel (for Mandrake), or
26418 - e2fslibs-dev (for Debian)
26421 * kernel headers are broken and your e2fsprogs headers are too old;
26422 until version 1.27 (inclusive), they are using reserved C++ keywords
26424 * kernel headers are broken and your e2fsprogs headers are too new;
26425 recent (January 2004) BK snapshots of e2fsprogs are unusable for
26426 C++, for details and a solution see
26427 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=112448
26430 In the latter two cases you have the following options:
26431 * fix the headers manually, or
26432 * install a stable version of e2fsprogs (e.g. 1.34), or
26433 * use good kernel headers (from linux 2.4.x)
26435 See \`config.log' for more details." >&2;}
26436 { (exit 1); exit 1; }; }
26440 ac_cpp='$CPP $CPPFLAGS'
26441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26447 for ac_func in vserver
26449 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26450 echo "$as_me:$LINENO: checking for $ac_func" >&5
26451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26452 if eval "test \"\${$as_ac_var+set}\" = set"; then
26453 echo $ECHO_N "(cached) $ECHO_C" >&6
26455 cat >conftest.$ac_ext <<_ACEOF
26458 cat confdefs.h >>conftest.$ac_ext
26459 cat >>conftest.$ac_ext <<_ACEOF
26460 /* end confdefs.h. */
26461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26463 #define $ac_func innocuous_$ac_func
26465 /* System header to define __stub macros and hopefully few prototypes,
26466 which can conflict with char $ac_func (); below.
26467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26468 <limits.h> exists even on freestanding compilers. */
26471 # include <limits.h>
26473 # include <assert.h>
26478 /* Override any gcc2 internal prototype to avoid an error. */
26483 /* We use char because int might match the return type of a gcc2
26484 builtin and then its argument prototype would still apply. */
26486 /* The GNU C library defines this for functions which it implements
26487 to always fail with ENOSYS. Some functions are actually named
26488 something starting with __ and the normal name is an alias. */
26489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26492 char (*f) () = $ac_func;
26501 return f != $ac_func;
26506 rm -f conftest.$ac_objext conftest$ac_exeext
26507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26508 (eval $ac_link) 2>conftest.er1
26510 grep -v '^ *+' conftest.er1 >conftest.err
26512 cat conftest.err >&5
26513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26514 (exit $ac_status); } &&
26515 { ac_try='test -z "$ac_c_werror_flag"
26516 || test ! -s conftest.err'
26517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26518 (eval $ac_try) 2>&5
26520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26521 (exit $ac_status); }; } &&
26522 { ac_try='test -s conftest$ac_exeext'
26523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26524 (eval $ac_try) 2>&5
26526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26527 (exit $ac_status); }; }; then
26528 eval "$as_ac_var=yes"
26530 echo "$as_me: failed program was:" >&5
26531 sed 's/^/| /' conftest.$ac_ext >&5
26533 eval "$as_ac_var=no"
26535 rm -f conftest.err conftest.$ac_objext \
26536 conftest$ac_exeext conftest.$ac_ext
26538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26540 if test `eval echo '${'$as_ac_var'}'` = yes; then
26541 cat >>confdefs.h <<_ACEOF
26542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26548 echo "$as_me:$LINENO: checking whether MS_MOVE is declared" >&5
26549 echo $ECHO_N "checking whether MS_MOVE is declared... $ECHO_C" >&6
26550 if test "${ac_cv_have_decl_MS_MOVE+set}" = set; then
26551 echo $ECHO_N "(cached) $ECHO_C" >&6
26553 cat >conftest.$ac_ext <<_ACEOF
26556 cat confdefs.h >>conftest.$ac_ext
26557 cat >>conftest.$ac_ext <<_ACEOF
26558 /* end confdefs.h. */
26559 #include <linux/fs.h>
26565 char *p = (char *) MS_MOVE;
26572 rm -f conftest.$ac_objext
26573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26574 (eval $ac_compile) 2>conftest.er1
26576 grep -v '^ *+' conftest.er1 >conftest.err
26578 cat conftest.err >&5
26579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26580 (exit $ac_status); } &&
26581 { ac_try='test -z "$ac_c_werror_flag"
26582 || test ! -s conftest.err'
26583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26584 (eval $ac_try) 2>&5
26586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26587 (exit $ac_status); }; } &&
26588 { ac_try='test -s conftest.$ac_objext'
26589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26590 (eval $ac_try) 2>&5
26592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26593 (exit $ac_status); }; }; then
26594 ac_cv_have_decl_MS_MOVE=yes
26596 echo "$as_me: failed program was:" >&5
26597 sed 's/^/| /' conftest.$ac_ext >&5
26599 ac_cv_have_decl_MS_MOVE=no
26601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26603 echo "$as_me:$LINENO: result: $ac_cv_have_decl_MS_MOVE" >&5
26604 echo "${ECHO_T}$ac_cv_have_decl_MS_MOVE" >&6
26605 if test $ac_cv_have_decl_MS_MOVE = yes; then
26607 cat >>confdefs.h <<_ACEOF
26608 #define HAVE_DECL_MS_MOVE 1
26613 cat >>confdefs.h <<_ACEOF
26614 #define HAVE_DECL_MS_MOVE 0
26621 echo "$as_me:$LINENO: checking for xid_t" >&5
26622 echo $ECHO_N "checking for xid_t... $ECHO_C" >&6
26623 if test "${ac_cv_type_xid_t+set}" = set; then
26624 echo $ECHO_N "(cached) $ECHO_C" >&6
26626 cat >conftest.$ac_ext <<_ACEOF
26629 cat confdefs.h >>conftest.$ac_ext
26630 cat >>conftest.$ac_ext <<_ACEOF
26631 /* end confdefs.h. */
26632 #include <sys/types.h>
26639 if (sizeof (xid_t))
26645 rm -f conftest.$ac_objext
26646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26647 (eval $ac_compile) 2>conftest.er1
26649 grep -v '^ *+' conftest.er1 >conftest.err
26651 cat conftest.err >&5
26652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26653 (exit $ac_status); } &&
26654 { ac_try='test -z "$ac_c_werror_flag"
26655 || test ! -s conftest.err'
26656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26657 (eval $ac_try) 2>&5
26659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26660 (exit $ac_status); }; } &&
26661 { ac_try='test -s conftest.$ac_objext'
26662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26663 (eval $ac_try) 2>&5
26665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26666 (exit $ac_status); }; }; then
26667 ac_cv_type_xid_t=yes
26669 echo "$as_me: failed program was:" >&5
26670 sed 's/^/| /' conftest.$ac_ext >&5
26672 ac_cv_type_xid_t=no
26674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26676 echo "$as_me:$LINENO: result: $ac_cv_type_xid_t" >&5
26677 echo "${ECHO_T}$ac_cv_type_xid_t" >&6
26678 if test $ac_cv_type_xid_t = yes; then
26680 cat >>confdefs.h <<_ACEOF
26681 #define HAVE_XID_T 1
26687 echo "$as_me:$LINENO: checking for nid_t" >&5
26688 echo $ECHO_N "checking for nid_t... $ECHO_C" >&6
26689 if test "${ac_cv_type_nid_t+set}" = set; then
26690 echo $ECHO_N "(cached) $ECHO_C" >&6
26692 cat >conftest.$ac_ext <<_ACEOF
26695 cat confdefs.h >>conftest.$ac_ext
26696 cat >>conftest.$ac_ext <<_ACEOF
26697 /* end confdefs.h. */
26698 #include <sys/types.h>
26705 if (sizeof (nid_t))
26711 rm -f conftest.$ac_objext
26712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26713 (eval $ac_compile) 2>conftest.er1
26715 grep -v '^ *+' conftest.er1 >conftest.err
26717 cat conftest.err >&5
26718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26719 (exit $ac_status); } &&
26720 { ac_try='test -z "$ac_c_werror_flag"
26721 || test ! -s conftest.err'
26722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26723 (eval $ac_try) 2>&5
26725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26726 (exit $ac_status); }; } &&
26727 { ac_try='test -s conftest.$ac_objext'
26728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26729 (eval $ac_try) 2>&5
26731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26732 (exit $ac_status); }; }; then
26733 ac_cv_type_nid_t=yes
26735 echo "$as_me: failed program was:" >&5
26736 sed 's/^/| /' conftest.$ac_ext >&5
26738 ac_cv_type_nid_t=no
26740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26742 echo "$as_me:$LINENO: result: $ac_cv_type_nid_t" >&5
26743 echo "${ECHO_T}$ac_cv_type_nid_t" >&6
26744 if test $ac_cv_type_nid_t = yes; then
26746 cat >>confdefs.h <<_ACEOF
26747 #define HAVE_NID_T 1
26755 for ac_header in sys/capability.h
26757 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26758 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26759 echo "$as_me:$LINENO: checking for $ac_header" >&5
26760 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26761 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26762 echo $ECHO_N "(cached) $ECHO_C" >&6
26764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26765 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26767 # Is the header compilable?
26768 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26769 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26770 cat >conftest.$ac_ext <<_ACEOF
26773 cat confdefs.h >>conftest.$ac_ext
26774 cat >>conftest.$ac_ext <<_ACEOF
26775 /* end confdefs.h. */
26776 $ac_includes_default
26777 #include <$ac_header>
26779 rm -f conftest.$ac_objext
26780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26781 (eval $ac_compile) 2>conftest.er1
26783 grep -v '^ *+' conftest.er1 >conftest.err
26785 cat conftest.err >&5
26786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26787 (exit $ac_status); } &&
26788 { ac_try='test -z "$ac_c_werror_flag"
26789 || test ! -s conftest.err'
26790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26791 (eval $ac_try) 2>&5
26793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26794 (exit $ac_status); }; } &&
26795 { ac_try='test -s conftest.$ac_objext'
26796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26797 (eval $ac_try) 2>&5
26799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26800 (exit $ac_status); }; }; then
26801 ac_header_compiler=yes
26803 echo "$as_me: failed program was:" >&5
26804 sed 's/^/| /' conftest.$ac_ext >&5
26806 ac_header_compiler=no
26808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26809 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26810 echo "${ECHO_T}$ac_header_compiler" >&6
26812 # Is the header present?
26813 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26814 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26815 cat >conftest.$ac_ext <<_ACEOF
26818 cat confdefs.h >>conftest.$ac_ext
26819 cat >>conftest.$ac_ext <<_ACEOF
26820 /* end confdefs.h. */
26821 #include <$ac_header>
26823 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26824 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26826 grep -v '^ *+' conftest.er1 >conftest.err
26828 cat conftest.err >&5
26829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26830 (exit $ac_status); } >/dev/null; then
26831 if test -s conftest.err; then
26832 ac_cpp_err=$ac_c_preproc_warn_flag
26833 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26840 if test -z "$ac_cpp_err"; then
26841 ac_header_preproc=yes
26843 echo "$as_me: failed program was:" >&5
26844 sed 's/^/| /' conftest.$ac_ext >&5
26846 ac_header_preproc=no
26848 rm -f conftest.err conftest.$ac_ext
26849 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26850 echo "${ECHO_T}$ac_header_preproc" >&6
26852 # So? What about this header?
26853 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26855 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26856 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26857 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26858 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26859 ac_header_preproc=yes
26862 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26863 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26864 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26865 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26866 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26867 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26868 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26869 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26870 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26871 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26872 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26873 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26876 ## ------------------------------------------------------ ##
26877 ## Report this to enrico.scholz@informatik.tu-chemnitz.de ##
26878 ## ------------------------------------------------------ ##
26881 sed "s/^/$as_me: WARNING: /" >&2
26884 echo "$as_me:$LINENO: checking for $ac_header" >&5
26885 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26886 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26887 echo $ECHO_N "(cached) $ECHO_C" >&6
26889 eval "$as_ac_Header=\$ac_header_preproc"
26891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26892 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26895 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26896 cat >>confdefs.h <<_ACEOF
26897 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26906 if test x"$ensc_cv_c99_c99compiler" = xyes; then
26907 ensc_have_beecrypt=yes
26909 if test x"$ensc_have_beecrypt" = xyes; then
26910 if test "${ac_cv_header_beecrypt_beecrypt_h+set}" = set; then
26911 echo "$as_me:$LINENO: checking for beecrypt/beecrypt.h" >&5
26912 echo $ECHO_N "checking for beecrypt/beecrypt.h... $ECHO_C" >&6
26913 if test "${ac_cv_header_beecrypt_beecrypt_h+set}" = set; then
26914 echo $ECHO_N "(cached) $ECHO_C" >&6
26916 echo "$as_me:$LINENO: result: $ac_cv_header_beecrypt_beecrypt_h" >&5
26917 echo "${ECHO_T}$ac_cv_header_beecrypt_beecrypt_h" >&6
26919 # Is the header compilable?
26920 echo "$as_me:$LINENO: checking beecrypt/beecrypt.h usability" >&5
26921 echo $ECHO_N "checking beecrypt/beecrypt.h usability... $ECHO_C" >&6
26922 cat >conftest.$ac_ext <<_ACEOF
26925 cat confdefs.h >>conftest.$ac_ext
26926 cat >>conftest.$ac_ext <<_ACEOF
26927 /* end confdefs.h. */
26928 $ac_includes_default
26929 #include <beecrypt/beecrypt.h>
26931 rm -f conftest.$ac_objext
26932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26933 (eval $ac_compile) 2>conftest.er1
26935 grep -v '^ *+' conftest.er1 >conftest.err
26937 cat conftest.err >&5
26938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26939 (exit $ac_status); } &&
26940 { ac_try='test -z "$ac_c_werror_flag"
26941 || test ! -s conftest.err'
26942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26943 (eval $ac_try) 2>&5
26945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26946 (exit $ac_status); }; } &&
26947 { ac_try='test -s conftest.$ac_objext'
26948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26949 (eval $ac_try) 2>&5
26951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26952 (exit $ac_status); }; }; then
26953 ac_header_compiler=yes
26955 echo "$as_me: failed program was:" >&5
26956 sed 's/^/| /' conftest.$ac_ext >&5
26958 ac_header_compiler=no
26960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26961 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26962 echo "${ECHO_T}$ac_header_compiler" >&6
26964 # Is the header present?
26965 echo "$as_me:$LINENO: checking beecrypt/beecrypt.h presence" >&5
26966 echo $ECHO_N "checking beecrypt/beecrypt.h presence... $ECHO_C" >&6
26967 cat >conftest.$ac_ext <<_ACEOF
26970 cat confdefs.h >>conftest.$ac_ext
26971 cat >>conftest.$ac_ext <<_ACEOF
26972 /* end confdefs.h. */
26973 #include <beecrypt/beecrypt.h>
26975 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26976 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26978 grep -v '^ *+' conftest.er1 >conftest.err
26980 cat conftest.err >&5
26981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26982 (exit $ac_status); } >/dev/null; then
26983 if test -s conftest.err; then
26984 ac_cpp_err=$ac_c_preproc_warn_flag
26985 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26992 if test -z "$ac_cpp_err"; then
26993 ac_header_preproc=yes
26995 echo "$as_me: failed program was:" >&5
26996 sed 's/^/| /' conftest.$ac_ext >&5
26998 ac_header_preproc=no
27000 rm -f conftest.err conftest.$ac_ext
27001 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27002 echo "${ECHO_T}$ac_header_preproc" >&6
27004 # So? What about this header?
27005 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27007 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: accepted by the compiler, rejected by the preprocessor!" >&5
27008 echo "$as_me: WARNING: beecrypt/beecrypt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27009 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: proceeding with the compiler's result" >&5
27010 echo "$as_me: WARNING: beecrypt/beecrypt.h: proceeding with the compiler's result" >&2;}
27011 ac_header_preproc=yes
27014 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: present but cannot be compiled" >&5
27015 echo "$as_me: WARNING: beecrypt/beecrypt.h: present but cannot be compiled" >&2;}
27016 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: check for missing prerequisite headers?" >&5
27017 echo "$as_me: WARNING: beecrypt/beecrypt.h: check for missing prerequisite headers?" >&2;}
27018 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: see the Autoconf documentation" >&5
27019 echo "$as_me: WARNING: beecrypt/beecrypt.h: see the Autoconf documentation" >&2;}
27020 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: section \"Present But Cannot Be Compiled\"" >&5
27021 echo "$as_me: WARNING: beecrypt/beecrypt.h: section \"Present But Cannot Be Compiled\"" >&2;}
27022 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: proceeding with the preprocessor's result" >&5
27023 echo "$as_me: WARNING: beecrypt/beecrypt.h: proceeding with the preprocessor's result" >&2;}
27024 { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: in the future, the compiler will take precedence" >&5
27025 echo "$as_me: WARNING: beecrypt/beecrypt.h: in the future, the compiler will take precedence" >&2;}
27028 ## ------------------------------------------------------ ##
27029 ## Report this to enrico.scholz@informatik.tu-chemnitz.de ##
27030 ## ------------------------------------------------------ ##
27033 sed "s/^/$as_me: WARNING: /" >&2
27036 echo "$as_me:$LINENO: checking for beecrypt/beecrypt.h" >&5
27037 echo $ECHO_N "checking for beecrypt/beecrypt.h... $ECHO_C" >&6
27038 if test "${ac_cv_header_beecrypt_beecrypt_h+set}" = set; then
27039 echo $ECHO_N "(cached) $ECHO_C" >&6
27041 ac_cv_header_beecrypt_beecrypt_h=$ac_header_preproc
27043 echo "$as_me:$LINENO: result: $ac_cv_header_beecrypt_beecrypt_h" >&5
27044 echo "${ECHO_T}$ac_cv_header_beecrypt_beecrypt_h" >&6
27047 if test $ac_cv_header_beecrypt_beecrypt_h = yes; then
27050 ensc_have_beecrypt=no
27056 if test x"$ensc_have_beecrypt" = xyes; then
27057 echo "$as_me:$LINENO: checking for hashFunctionContextInit in -lbeecrypt" >&5
27058 echo $ECHO_N "checking for hashFunctionContextInit in -lbeecrypt... $ECHO_C" >&6
27059 if test "${ac_cv_lib_beecrypt_hashFunctionContextInit+set}" = set; then
27060 echo $ECHO_N "(cached) $ECHO_C" >&6
27062 ac_check_lib_save_LIBS=$LIBS
27063 LIBS="-lbeecrypt $LIBS"
27064 cat >conftest.$ac_ext <<_ACEOF
27067 cat confdefs.h >>conftest.$ac_ext
27068 cat >>conftest.$ac_ext <<_ACEOF
27069 /* end confdefs.h. */
27071 /* Override any gcc2 internal prototype to avoid an error. */
27075 /* We use char because int might match the return type of a gcc2
27076 builtin and then its argument prototype would still apply. */
27077 char hashFunctionContextInit ();
27081 hashFunctionContextInit ();
27086 rm -f conftest.$ac_objext conftest$ac_exeext
27087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27088 (eval $ac_link) 2>conftest.er1
27090 grep -v '^ *+' conftest.er1 >conftest.err
27092 cat conftest.err >&5
27093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27094 (exit $ac_status); } &&
27095 { ac_try='test -z "$ac_c_werror_flag"
27096 || test ! -s conftest.err'
27097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27098 (eval $ac_try) 2>&5
27100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27101 (exit $ac_status); }; } &&
27102 { ac_try='test -s conftest$ac_exeext'
27103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27104 (eval $ac_try) 2>&5
27106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27107 (exit $ac_status); }; }; then
27108 ac_cv_lib_beecrypt_hashFunctionContextInit=yes
27110 echo "$as_me: failed program was:" >&5
27111 sed 's/^/| /' conftest.$ac_ext >&5
27113 ac_cv_lib_beecrypt_hashFunctionContextInit=no
27115 rm -f conftest.err conftest.$ac_objext \
27116 conftest$ac_exeext conftest.$ac_ext
27117 LIBS=$ac_check_lib_save_LIBS
27119 echo "$as_me:$LINENO: result: $ac_cv_lib_beecrypt_hashFunctionContextInit" >&5
27120 echo "${ECHO_T}$ac_cv_lib_beecrypt_hashFunctionContextInit" >&6
27121 if test $ac_cv_lib_beecrypt_hashFunctionContextInit = yes; then
27124 ensc_have_beecrypt=no
27129 if test x"$ensc_have_beecrypt" != xyes; then
27130 { echo "$as_me:$LINENO: WARNING:
27132 **** 'beecrypt' could not be found;
27133 **** this will disable the build of 'vhashify'
27135 echo "$as_me: WARNING:
27137 **** 'beecrypt' could not be found;
27138 **** this will disable the build of 'vhashify'
27142 ensc_have_beecrypt=no
27147 if test x"$ensc_have_beecrypt" = xyes; then
27148 ENSC_HAVE_BEECRYPT_TRUE=
27149 ENSC_HAVE_BEECRYPT_FALSE='#'
27151 ENSC_HAVE_BEECRYPT_TRUE='#'
27152 ENSC_HAVE_BEECRYPT_FALSE=
27158 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE=
27159 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE='#'
27161 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE='#'
27162 ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE=
27168 cat >>confdefs.h <<\_ACEOF
27169 #define UTMP_GID 22
27175 cat >>confdefs.h <<\_ACEOF
27176 #define HAVE_GROWING_STACK 1
27182 cat >>confdefs.h <<\_ACEOF
27183 #define _FILE_OFFSET_BITS 64
27187 ensc_cxx_affected=" (affected: vbuild, vcheck)"
27188 ensc_c99_affected=" (affected: vunify, vcopy, vhashify, vdlimit)"
27189 ensc_diet_msg=" (you have been warned)"
27190 ensc_diet_version_msg=" ($ensc_version_dietlibc)"
27191 ensc_diet_compat_msg=" (using -lcompat)"
27192 test x"$ensc_cv_cxx_cxxcompiler" = xno || ensc_cxx_affected=
27193 test x"$ensc_cv_c99_c99compiler" = xno || ensc_c99_affected=
27194 test x"$ensc_have_dietlibc" = xno || ensc_diet_msg=
27195 test x"$ensc_version_dietlibc" != x || ensc_diet_version_msg=
27196 test x"$ensc_have_dietlibc$ensc_cv_c_dietlibc_compat" = xyesyes || ensc_diet_compat_msg=
27202 ac_config_files="$ac_config_files util-vserver.spec Makefile distrib/Makefile lib/apidoc/Doxyfile"
27204 cat >confcache <<\_ACEOF
27205 # This file is a shell script that caches the results of configure
27206 # tests run on this system so they can be shared between configure
27207 # scripts and configure runs, see configure's option --config-cache.
27208 # It is not useful on other systems. If it contains results you don't
27209 # want to keep, you may remove or edit it.
27211 # config.status only pays attention to the cache file if you give it
27212 # the --recheck option to rerun configure.
27214 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27215 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27216 # following values.
27220 # The following way of writing the cache mishandles newlines in values,
27221 # but we know of no workaround that is simple, portable, and efficient.
27222 # So, don't put newlines in cache variables' values.
27223 # Ultrix sh set writes to stderr and can't be redirected directly,
27224 # and sets the high bit in the cache file unless we assign to the vars.
27227 case `(ac_space=' '; set | grep ac_space) 2>&1` in
27229 # `set' does not quote correctly, so add quotes (double-quote
27230 # substitution turns \\\\ into \\, and sed turns \\ into \).
27233 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27236 # `set' quotes correctly as required by POSIX, so do not add quotes.
27238 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
27245 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27247 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27249 if diff $cache_file confcache >/dev/null 2>&1; then :; else
27250 if test -w $cache_file; then
27251 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
27252 cat confcache >$cache_file
27254 echo "not updating unwritable cache $cache_file"
27259 test "x$prefix" = xNONE && prefix=$ac_default_prefix
27260 # Let make expand exec_prefix.
27261 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
27263 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27264 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
27265 # trailing colons and then remove the whole line if VPATH becomes empty
27266 # (actually we leave an empty line to preserve line numbers).
27267 if test "x$srcdir" = x.; then
27268 ac_vpsub='/^[ ]*VPATH[ ]*=/{
27269 s/:*\$(srcdir):*/:/;
27270 s/:*\${srcdir}:*/:/;
27272 s/^\([^=]*=[ ]*\):*/\1/;
27278 DEFS=-DHAVE_CONFIG_H
27282 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
27283 # 1. Remove the extension, and $U if already installed.
27284 ac_i=`echo "$ac_i" |
27285 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
27287 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
27288 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
27290 LIBOBJS=$ac_libobjs
27292 LTLIBOBJS=$ac_ltlibobjs
27295 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
27296 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
27297 Usually this means the macro was only invoked conditionally." >&5
27298 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
27299 Usually this means the macro was only invoked conditionally." >&2;}
27300 { (exit 1); exit 1; }; }
27302 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
27303 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
27304 Usually this means the macro was only invoked conditionally." >&5
27305 echo "$as_me: error: conditional \"AMDEP\" was never defined.
27306 Usually this means the macro was only invoked conditionally." >&2;}
27307 { (exit 1); exit 1; }; }
27309 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
27310 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
27311 Usually this means the macro was only invoked conditionally." >&5
27312 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
27313 Usually this means the macro was only invoked conditionally." >&2;}
27314 { (exit 1); exit 1; }; }
27316 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
27317 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
27318 Usually this means the macro was only invoked conditionally." >&5
27319 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
27320 Usually this means the macro was only invoked conditionally." >&2;}
27321 { (exit 1); exit 1; }; }
27323 if test -z "${ENSC_HAVE_CXX_COMPILER_TRUE}" && test -z "${ENSC_HAVE_CXX_COMPILER_FALSE}"; then
27324 { { echo "$as_me:$LINENO: error: conditional \"ENSC_HAVE_CXX_COMPILER\" was never defined.
27325 Usually this means the macro was only invoked conditionally." >&5
27326 echo "$as_me: error: conditional \"ENSC_HAVE_CXX_COMPILER\" was never defined.
27327 Usually this means the macro was only invoked conditionally." >&2;}
27328 { (exit 1); exit 1; }; }
27330 if test -z "${ENSC_HAVE_C99_COMPILER_TRUE}" && test -z "${ENSC_HAVE_C99_COMPILER_FALSE}"; then
27331 { { echo "$as_me:$LINENO: error: conditional \"ENSC_HAVE_C99_COMPILER\" was never defined.
27332 Usually this means the macro was only invoked conditionally." >&5
27333 echo "$as_me: error: conditional \"ENSC_HAVE_C99_COMPILER\" was never defined.
27334 Usually this means the macro was only invoked conditionally." >&2;}
27335 { (exit 1); exit 1; }; }
27337 if test -z "${HAVE_XSLTP_TRUE}" && test -z "${HAVE_XSLTP_FALSE}"; then
27338 { { echo "$as_me:$LINENO: error: conditional \"HAVE_XSLTP\" was never defined.
27339 Usually this means the macro was only invoked conditionally." >&5
27340 echo "$as_me: error: conditional \"HAVE_XSLTP\" was never defined.
27341 Usually this means the macro was only invoked conditionally." >&2;}
27342 { (exit 1); exit 1; }; }
27344 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
27345 { { echo "$as_me:$LINENO: error: conditional \"HAVE_XSLTPROC\" was never defined.
27346 Usually this means the macro was only invoked conditionally." >&5
27347 echo "$as_me: error: conditional \"HAVE_XSLTPROC\" was never defined.
27348 Usually this means the macro was only invoked conditionally." >&2;}
27349 { (exit 1); exit 1; }; }
27351 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
27352 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
27353 Usually this means the macro was only invoked conditionally." >&5
27354 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
27355 Usually this means the macro was only invoked conditionally." >&2;}
27356 { (exit 1); exit 1; }; }
27358 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
27359 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
27360 Usually this means the macro was only invoked conditionally." >&5
27361 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
27362 Usually this means the macro was only invoked conditionally." >&2;}
27363 { (exit 1); exit 1; }; }
27365 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
27366 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
27367 Usually this means the macro was only invoked conditionally." >&5
27368 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
27369 Usually this means the macro was only invoked conditionally." >&2;}
27370 { (exit 1); exit 1; }; }
27372 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
27373 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
27374 Usually this means the macro was only invoked conditionally." >&5
27375 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
27376 Usually this means the macro was only invoked conditionally." >&2;}
27377 { (exit 1); exit 1; }; }
27379 if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then
27380 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined.
27381 Usually this means the macro was only invoked conditionally." >&5
27382 echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined.
27383 Usually this means the macro was only invoked conditionally." >&2;}
27384 { (exit 1); exit 1; }; }
27386 if test -z "${USE_DIETLIBC_COMPAT_TRUE}" && test -z "${USE_DIETLIBC_COMPAT_FALSE}"; then
27387 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined.
27388 Usually this means the macro was only invoked conditionally." >&5
27389 echo "$as_me: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined.
27390 Usually this means the macro was only invoked conditionally." >&2;}
27391 { (exit 1); exit 1; }; }
27393 if test -z "${USE_DIETLIBC_COMPAT_TRUE}" && test -z "${USE_DIETLIBC_COMPAT_FALSE}"; then
27394 { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined.
27395 Usually this means the macro was only invoked conditionally." >&5
27396 echo "$as_me: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined.
27397 Usually this means the macro was only invoked conditionally." >&2;}
27398 { (exit 1); exit 1; }; }
27400 if test -z "${ENSC_USE_DIETLIBC_TRUE}" && test -z "${ENSC_USE_DIETLIBC_FALSE}"; then
27401 { { echo "$as_me:$LINENO: error: conditional \"ENSC_USE_DIETLIBC\" was never defined.
27402 Usually this means the macro was only invoked conditionally." >&5
27403 echo "$as_me: error: conditional \"ENSC_USE_DIETLIBC\" was never defined.
27404 Usually this means the macro was only invoked conditionally." >&2;}
27405 { (exit 1); exit 1; }; }
27407 if test -z "${ENSC_USE_GLIBC_TRUE}" && test -z "${ENSC_USE_GLIBC_FALSE}"; then
27408 { { echo "$as_me:$LINENO: error: conditional \"ENSC_USE_GLIBC\" was never defined.
27409 Usually this means the macro was only invoked conditionally." >&5
27410 echo "$as_me: error: conditional \"ENSC_USE_GLIBC\" was never defined.
27411 Usually this means the macro was only invoked conditionally." >&2;}
27412 { (exit 1); exit 1; }; }
27414 if test -z "${HAVE_CVS2CL_TRUE}" && test -z "${HAVE_CVS2CL_FALSE}"; then
27415 { { echo "$as_me:$LINENO: error: conditional \"HAVE_CVS2CL\" was never defined.
27416 Usually this means the macro was only invoked conditionally." >&5
27417 echo "$as_me: error: conditional \"HAVE_CVS2CL\" was never defined.
27418 Usually this means the macro was only invoked conditionally." >&2;}
27419 { (exit 1); exit 1; }; }
27421 if test -z "${HAVE_RCS2LOG_TRUE}" && test -z "${HAVE_RCS2LOG_FALSE}"; then
27422 { { echo "$as_me:$LINENO: error: conditional \"HAVE_RCS2LOG\" was never defined.
27423 Usually this means the macro was only invoked conditionally." >&5
27424 echo "$as_me: error: conditional \"HAVE_RCS2LOG\" was never defined.
27425 Usually this means the macro was only invoked conditionally." >&2;}
27426 { (exit 1); exit 1; }; }
27428 if test -z "${ENSC_ENABLE_INTERNAL_HEADERS_TRUE}" && test -z "${ENSC_ENABLE_INTERNAL_HEADERS_FALSE}"; then
27429 { { echo "$as_me:$LINENO: error: conditional \"ENSC_ENABLE_INTERNAL_HEADERS\" was never defined.
27430 Usually this means the macro was only invoked conditionally." >&5
27431 echo "$as_me: error: conditional \"ENSC_ENABLE_INTERNAL_HEADERS\" was never defined.
27432 Usually this means the macro was only invoked conditionally." >&2;}
27433 { (exit 1); exit 1; }; }
27435 if test -z "${ENSC_HAVE_BEECRYPT_TRUE}" && test -z "${ENSC_HAVE_BEECRYPT_FALSE}"; then
27436 { { echo "$as_me:$LINENO: error: conditional \"ENSC_HAVE_BEECRYPT\" was never defined.
27437 Usually this means the macro was only invoked conditionally." >&5
27438 echo "$as_me: error: conditional \"ENSC_HAVE_BEECRYPT\" was never defined.
27439 Usually this means the macro was only invoked conditionally." >&2;}
27440 { (exit 1); exit 1; }; }
27442 if test -z "${ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE}" && test -z "${ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE}"; then
27443 { { echo "$as_me:$LINENO: error: conditional \"ENSC_CAN_BEECRYPT_WITH_DIETLIBC\" was never defined.
27444 Usually this means the macro was only invoked conditionally." >&5
27445 echo "$as_me: error: conditional \"ENSC_CAN_BEECRYPT_WITH_DIETLIBC\" was never defined.
27446 Usually this means the macro was only invoked conditionally." >&2;}
27447 { (exit 1); exit 1; }; }
27452 CC: $CC, $($CC --version | sed -e '1p;d')
27453 CXX: $CXX, $($CXX --version | sed -e '1p;d')
27454 CPPFLAGS: '$CPPFLAGS'
27456 CXXFLAGS: '$CXXFLAGS'
27457 build/host: $build/$host
27458 Use dietlibc: $ensc_have_dietlibc$ensc_diet_version_msg$ensc_diet_msg$ensc_diet_compat_msg
27459 Build C++ programs: $ensc_cv_cxx_cxxcompiler$ensc_cxx_affected
27460 Build C99 programs: $ensc_cv_c99_c99compiler$ensc_c99_affected
27461 Available APIs: $enable_apis
27462 ext2fs Source: $ensc_cv_test_ext2fs_header
27463 syscall(2) invocation: $with_syscall
27464 vserver(2) syscall#: $ensc_cv_value_syscall_vserver
27468 sysconf-Directory: $sysconfdir
27469 cfg-Directory: $sysconfdir/vservers
27470 initrd-Directory: $initrddir
27471 pkgstate-Directory: $localstatedir/run/vservers
27472 Kernelheaders: $kernelincludedir
27473 vserver-Rootdir: $vserverdir
27475 echo "$FEATURES_TXT" >FEATURES.txt
27478 : ${CONFIG_STATUS=./config.status}
27479 ac_clean_files_save=$ac_clean_files
27480 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
27481 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
27482 echo "$as_me: creating $CONFIG_STATUS" >&6;}
27483 cat >$CONFIG_STATUS <<_ACEOF
27485 # Generated by $as_me.
27486 # Run this file to recreate the current configuration.
27487 # Compiler output produced by configure, useful for debugging
27488 # configure, is in config.log if it exists.
27491 ac_cs_recheck=false
27493 SHELL=\${CONFIG_SHELL-$SHELL}
27496 cat >>$CONFIG_STATUS <<\_ACEOF
27497 ## --------------------- ##
27498 ## M4sh Initialization. ##
27499 ## --------------------- ##
27501 # Be Bourne compatible
27502 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
27505 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
27506 # is contrary to our usage. Disable this feature.
27507 alias -g '${1+"$@"}'='"$@"'
27508 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
27511 DUALCASE=1; export DUALCASE # for MKS sh
27513 # Support unset when possible.
27514 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
27521 # Work around bugs in pre-3.0 UWIN ksh.
27522 $as_unset ENV MAIL MAILPATH
27529 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
27530 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
27531 LC_TELEPHONE LC_TIME
27533 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
27534 eval $as_var=C; export $as_var
27540 # Required to use basename.
27541 if expr a : '\(a\)' >/dev/null 2>&1; then
27547 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
27548 as_basename=basename
27554 # Name of the executable.
27555 as_me=`$as_basename "$0" ||
27556 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
27557 X"$0" : 'X\(//\)$' \| \
27558 X"$0" : 'X\(/\)$' \| \
27559 . : '\(.\)' 2>/dev/null ||
27561 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
27562 /^X\/\(\/\/\)$/{ s//\1/; q; }
27563 /^X\/\(\/\).*/{ s//\1/; q; }
27567 # PATH needs CR, and LINENO needs CR and PATH.
27568 # Avoid depending upon Character Ranges.
27569 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
27570 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
27571 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
27572 as_cr_digits='0123456789'
27573 as_cr_alnum=$as_cr_Letters$as_cr_digits
27575 # The user is always right.
27576 if test "${PATH_SEPARATOR+set}" != set; then
27577 echo "#! /bin/sh" >conf$$.sh
27578 echo "exit 0" >>conf$$.sh
27580 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
27589 as_lineno_1=$LINENO
27590 as_lineno_2=$LINENO
27591 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
27592 test "x$as_lineno_1" != "x$as_lineno_2" &&
27593 test "x$as_lineno_3" = "x$as_lineno_2" || {
27594 # Find who we are. Look in the path if we contain no path at all
27597 *[\\/]* ) as_myself=$0 ;;
27598 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27599 for as_dir in $PATH
27602 test -z "$as_dir" && as_dir=.
27603 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
27608 # We did not find ourselves, most probably we were run as `sh COMMAND'
27609 # in which case we are not to be found in the path.
27610 if test "x$as_myself" = x; then
27613 if test ! -f "$as_myself"; then
27614 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
27615 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
27616 { (exit 1); exit 1; }; }
27618 case $CONFIG_SHELL in
27620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27621 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
27624 test -z "$as_dir" && as_dir=.
27625 for as_base in sh bash ksh sh5; do
27628 if ("$as_dir/$as_base" -c '
27629 as_lineno_1=$LINENO
27630 as_lineno_2=$LINENO
27631 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
27632 test "x$as_lineno_1" != "x$as_lineno_2" &&
27633 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
27634 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
27635 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
27636 CONFIG_SHELL=$as_dir/$as_base
27637 export CONFIG_SHELL
27638 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
27646 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
27647 # uniformly replaced by the line number. The first 'sed' inserts a
27648 # line-number line before each line; the second 'sed' does the real
27649 # work. The second script uses 'N' to pair each line-number line
27650 # with the numbered line, and appends trailing '-' during
27651 # substitution so that $LINENO is not a special case at line end.
27652 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
27653 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
27654 sed '=' <$as_myself |
27659 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
27662 s,^['$as_cr_digits']*\n,,
27663 ' >$as_me.lineno &&
27664 chmod +x $as_me.lineno ||
27665 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
27666 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
27667 { (exit 1); exit 1; }; }
27669 # Don't try to exec as it changes $[0], causing all sort of problems
27670 # (the dirname of $[0] is not the place where we might find the
27671 # original and so on. Autoconf is especially sensible to this).
27673 # Exit status is that of the last command.
27678 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
27679 *c*,-n*) ECHO_N= ECHO_C='
27681 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
27682 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
27685 if expr a : '\(a\)' >/dev/null 2>&1; then
27691 rm -f conf$$ conf$$.exe conf$$.file
27693 if ln -s conf$$.file conf$$ 2>/dev/null; then
27694 # We could just check for DJGPP; but this test a) works b) is more generic
27695 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
27696 if test -f conf$$.exe; then
27697 # Don't use ln at all; we don't have any links
27702 elif ln conf$$.file conf$$ 2>/dev/null; then
27707 rm -f conf$$ conf$$.exe conf$$.file
27709 if mkdir -p . 2>/dev/null; then
27712 test -d ./-p && rmdir ./-p
27716 as_executable_p="test -f"
27718 # Sed expression to map a string onto a valid CPP name.
27719 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27721 # Sed expression to map a string onto a valid variable name.
27722 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27726 # We need space, tab and new line, in precisely that order.
27736 # Open the log real soon, to keep \$[0] and so on meaningful, and to
27737 # report actual input values of CONFIG_FILES etc. instead of their
27738 # values after options handling. Logging --version etc. is OK.
27742 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
27743 ## Running $as_me. ##
27748 This file was extended by util-vserver $as_me 0.30.208, which was
27749 generated by GNU Autoconf 2.59. Invocation command line was
27751 CONFIG_FILES = $CONFIG_FILES
27752 CONFIG_HEADERS = $CONFIG_HEADERS
27753 CONFIG_LINKS = $CONFIG_LINKS
27754 CONFIG_COMMANDS = $CONFIG_COMMANDS
27758 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
27762 # Files that config.status was made for.
27763 if test -n "$ac_config_files"; then
27764 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
27767 if test -n "$ac_config_headers"; then
27768 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
27771 if test -n "$ac_config_links"; then
27772 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
27775 if test -n "$ac_config_commands"; then
27776 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
27779 cat >>$CONFIG_STATUS <<\_ACEOF
27782 \`$as_me' instantiates files from templates according to the
27783 current configuration.
27785 Usage: $0 [OPTIONS] [FILE]...
27787 -h, --help print this help, then exit
27788 -V, --version print version number, then exit
27789 -q, --quiet do not print progress messages
27790 -d, --debug don't remove temporary files
27791 --recheck update $as_me by reconfiguring in the same conditions
27792 --file=FILE[:TEMPLATE]
27793 instantiate the configuration file FILE
27794 --header=FILE[:TEMPLATE]
27795 instantiate the configuration header FILE
27797 Configuration files:
27800 Configuration headers:
27803 Configuration commands:
27806 Report bugs to <bug-autoconf@gnu.org>."
27809 cat >>$CONFIG_STATUS <<_ACEOF
27811 util-vserver config.status 0.30.208
27812 configured by $0, generated by GNU Autoconf 2.59,
27813 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
27815 Copyright (C) 2003 Free Software Foundation, Inc.
27816 This config.status script is free software; the Free Software Foundation
27817 gives unlimited permission to copy, distribute and modify it."
27822 cat >>$CONFIG_STATUS <<\_ACEOF
27823 # If no file are specified by the user, then we need to provide default
27824 # value. By we need to know if files were specified by the user.
27830 ac_option=`expr "x$1" : 'x\([^=]*\)='`
27831 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
27839 *) # This is not an option, so the user has probably given explicit
27842 ac_need_defaults=false;;
27846 # Handling of the options.
27848 cat >>$CONFIG_STATUS <<\_ACEOF
27849 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
27851 --version | --vers* | -V )
27852 echo "$ac_cs_version"; exit 0 ;;
27854 # Conflict between --help and --header
27855 { { echo "$as_me:$LINENO: error: ambiguous option: $1
27856 Try \`$0 --help' for more information." >&5
27857 echo "$as_me: error: ambiguous option: $1
27858 Try \`$0 --help' for more information." >&2;}
27859 { (exit 1); exit 1; }; };;
27860 --help | --hel | -h )
27861 echo "$ac_cs_usage"; exit 0 ;;
27862 --debug | --d* | -d )
27864 --file | --fil | --fi | --f )
27866 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
27867 ac_need_defaults=false;;
27868 --header | --heade | --head | --hea )
27870 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
27871 ac_need_defaults=false;;
27872 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
27873 | -silent | --silent | --silen | --sile | --sil | --si | --s)
27876 # This is an error.
27877 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
27878 Try \`$0 --help' for more information." >&5
27879 echo "$as_me: error: unrecognized option: $1
27880 Try \`$0 --help' for more information." >&2;}
27881 { (exit 1); exit 1; }; } ;;
27883 *) ac_config_targets="$ac_config_targets $1" ;;
27889 ac_configure_extra_args=
27891 if $ac_cs_silent; then
27893 ac_configure_extra_args="$ac_configure_extra_args --silent"
27897 cat >>$CONFIG_STATUS <<_ACEOF
27898 if \$ac_cs_recheck; then
27899 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
27900 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
27905 cat >>$CONFIG_STATUS <<_ACEOF
27907 # INIT-COMMANDS section.
27910 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
27916 cat >>$CONFIG_STATUS <<\_ACEOF
27917 for ac_config_target in $ac_config_targets
27919 case "$ac_config_target" in
27920 # Handling of arguments.
27921 "util-vserver.spec" ) CONFIG_FILES="$CONFIG_FILES util-vserver.spec" ;;
27922 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
27923 "distrib/Makefile" ) CONFIG_FILES="$CONFIG_FILES distrib/Makefile" ;;
27924 "lib/apidoc/Doxyfile" ) CONFIG_FILES="$CONFIG_FILES lib/apidoc/Doxyfile" ;;
27925 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
27926 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
27927 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
27928 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
27929 { (exit 1); exit 1; }; };;
27933 # If the user did not use the arguments to specify the items to instantiate,
27934 # then the envvar interface is used. Set only those that are not.
27935 # We use the long form for the default assignment because of an extremely
27936 # bizarre bug on SunOS 4.1.3.
27937 if $ac_need_defaults; then
27938 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
27939 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
27940 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
27943 # Have a temporary directory for convenience. Make it in the build tree
27944 # simply because there is no reason to put it here, and in addition,
27945 # creating and moving files from /tmp can sometimes cause problems.
27946 # Create a temporary directory, and hook for its removal unless debugging.
27949 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
27950 trap '{ (exit 1); exit 1; }' 1 2 13 15
27953 # Create a (secure) tmp directory for tmp files.
27956 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
27957 test -n "$tmp" && test -d "$tmp"
27960 tmp=./confstat$$-$RANDOM
27961 (umask 077 && mkdir $tmp)
27964 echo "$me: cannot create a temporary directory in ." >&2
27965 { (exit 1); exit 1; }
27970 cat >>$CONFIG_STATUS <<_ACEOF
27973 # CONFIG_FILES section.
27976 # No need to generate the scripts if there are no CONFIG_FILES.
27977 # This happens for instance when ./config.status config.h
27978 if test -n "\$CONFIG_FILES"; then
27979 # Protect against being on the right side of a sed subst in config.status.
27980 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
27981 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
27982 s,@SHELL@,$SHELL,;t t
27983 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
27984 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
27985 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
27986 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
27987 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
27988 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
27989 s,@exec_prefix@,$exec_prefix,;t t
27990 s,@prefix@,$prefix,;t t
27991 s,@program_transform_name@,$program_transform_name,;t t
27992 s,@bindir@,$bindir,;t t
27993 s,@sbindir@,$sbindir,;t t
27994 s,@libexecdir@,$libexecdir,;t t
27995 s,@datadir@,$datadir,;t t
27996 s,@sysconfdir@,$sysconfdir,;t t
27997 s,@sharedstatedir@,$sharedstatedir,;t t
27998 s,@localstatedir@,$localstatedir,;t t
27999 s,@libdir@,$libdir,;t t
28000 s,@includedir@,$includedir,;t t
28001 s,@oldincludedir@,$oldincludedir,;t t
28002 s,@infodir@,$infodir,;t t
28003 s,@mandir@,$mandir,;t t
28004 s,@build_alias@,$build_alias,;t t
28005 s,@host_alias@,$host_alias,;t t
28006 s,@target_alias@,$target_alias,;t t
28007 s,@DEFS@,$DEFS,;t t
28008 s,@ECHO_C@,$ECHO_C,;t t
28009 s,@ECHO_N@,$ECHO_N,;t t
28010 s,@ECHO_T@,$ECHO_T,;t t
28011 s,@LIBS@,$LIBS,;t t
28012 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
28013 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
28014 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
28015 s,@CYGPATH_W@,$CYGPATH_W,;t t
28016 s,@PACKAGE@,$PACKAGE,;t t
28017 s,@VERSION@,$VERSION,;t t
28018 s,@ACLOCAL@,$ACLOCAL,;t t
28019 s,@AUTOCONF@,$AUTOCONF,;t t
28020 s,@AUTOMAKE@,$AUTOMAKE,;t t
28021 s,@AUTOHEADER@,$AUTOHEADER,;t t
28022 s,@MAKEINFO@,$MAKEINFO,;t t
28023 s,@install_sh@,$install_sh,;t t
28024 s,@STRIP@,$STRIP,;t t
28025 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
28026 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
28027 s,@mkdir_p@,$mkdir_p,;t t
28029 s,@SET_MAKE@,$SET_MAKE,;t t
28030 s,@am__leading_dot@,$am__leading_dot,;t t
28031 s,@AMTAR@,$AMTAR,;t t
28032 s,@am__tar@,$am__tar,;t t
28033 s,@am__untar@,$am__untar,;t t
28034 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
28035 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
28036 s,@MAINT@,$MAINT,;t t
28037 s,@build@,$build,;t t
28038 s,@build_cpu@,$build_cpu,;t t
28039 s,@build_vendor@,$build_vendor,;t t
28040 s,@build_os@,$build_os,;t t
28041 s,@host@,$host,;t t
28042 s,@host_cpu@,$host_cpu,;t t
28043 s,@host_vendor@,$host_vendor,;t t
28044 s,@host_os@,$host_os,;t t
28045 s,@GPG_KEY@,$GPG_KEY,;t t
28047 s,@CXXFLAGS@,$CXXFLAGS,;t t
28048 s,@LDFLAGS@,$LDFLAGS,;t t
28049 s,@CPPFLAGS@,$CPPFLAGS,;t t
28050 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
28051 s,@EXEEXT@,$EXEEXT,;t t
28052 s,@OBJEXT@,$OBJEXT,;t t
28053 s,@DEPDIR@,$DEPDIR,;t t
28054 s,@am__include@,$am__include,;t t
28055 s,@am__quote@,$am__quote,;t t
28056 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
28057 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
28058 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
28059 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
28060 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
28061 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
28063 s,@CFLAGS@,$CFLAGS,;t t
28064 s,@ac_ct_CC@,$ac_ct_CC,;t t
28065 s,@CCDEPMODE@,$CCDEPMODE,;t t
28066 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
28067 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
28068 s,@LN_S@,$LN_S,;t t
28069 s,@ENSC_HAVE_CXX_COMPILER_TRUE@,$ENSC_HAVE_CXX_COMPILER_TRUE,;t t
28070 s,@ENSC_HAVE_CXX_COMPILER_FALSE@,$ENSC_HAVE_CXX_COMPILER_FALSE,;t t
28071 s,@ENSC_HAVE_C99_COMPILER_TRUE@,$ENSC_HAVE_C99_COMPILER_TRUE,;t t
28072 s,@ENSC_HAVE_C99_COMPILER_FALSE@,$ENSC_HAVE_C99_COMPILER_FALSE,;t t
28073 s,@ENSC_PATHPROG_SED@,$ENSC_PATHPROG_SED,;t t
28075 s,@CHOWN@,$CHOWN,;t t
28078 s,@DIRNAME@,$DIRNAME,;t t
28079 s,@EGREP@,$EGREP,;t t
28081 s,@GREP@,$GREP,;t t
28083 s,@MKDIR@,$MKDIR,;t t
28084 s,@MKFIFO@,$MKFIFO,;t t
28085 s,@MKTEMP@,$MKTEMP,;t t
28086 s,@MOUNT@,$MOUNT,;t t
28088 s,@NICE@,$NICE,;t t
28091 s,@RMDIR@,$RMDIR,;t t
28096 s,@TOUCH@,$TOUCH,;t t
28098 s,@UMOUNT@,$UMOUNT,;t t
28101 s,@IPTABLES@,$IPTABLES,;t t
28102 s,@MODPROBE@,$MODPROBE,;t t
28103 s,@NAMEIF@,$NAMEIF,;t t
28104 s,@NOHUP@,$NOHUP,;t t
28105 s,@RMMOD@,$RMMOD,;t t
28106 s,@VCONFIG@,$VCONFIG,;t t
28107 s,@WGET@,$WGET,;t t
28108 s,@DOXYGEN@,$DOXYGEN,;t t
28109 s,@XSLTP@,$XSLTP,;t t
28110 s,@XSLTPROC@,$XSLTPROC,;t t
28111 s,@HAVE_XSLTP_TRUE@,$HAVE_XSLTP_TRUE,;t t
28112 s,@HAVE_XSLTP_FALSE@,$HAVE_XSLTP_FALSE,;t t
28113 s,@HAVE_XSLTPROC_TRUE@,$HAVE_XSLTPROC_TRUE,;t t
28114 s,@HAVE_XSLTPROC_FALSE@,$HAVE_XSLTPROC_FALSE,;t t
28115 s,@LIB_DEBUG_CPPFLAGS@,$LIB_DEBUG_CPPFLAGS,;t t
28116 s,@ENSC_USE_EXPENSIVE_TESTS@,$ENSC_USE_EXPENSIVE_TESTS,;t t
28117 s,@initrddir@,$initrddir,;t t
28118 s,@RELEASE_CPPFLAGS@,$RELEASE_CPPFLAGS,;t t
28119 s,@DIET@,$DIET,;t t
28120 s,@DIETFLAGS@,$DIETFLAGS,;t t
28121 s,@USE_DIETLIBC_TRUE@,$USE_DIETLIBC_TRUE,;t t
28122 s,@USE_DIETLIBC_FALSE@,$USE_DIETLIBC_FALSE,;t t
28123 s,@USE_DIETLIBC_COMPAT_TRUE@,$USE_DIETLIBC_COMPAT_TRUE,;t t
28124 s,@USE_DIETLIBC_COMPAT_FALSE@,$USE_DIETLIBC_COMPAT_FALSE,;t t
28125 s,@ENSC_USE_DIETLIBC_TRUE@,$ENSC_USE_DIETLIBC_TRUE,;t t
28126 s,@ENSC_USE_DIETLIBC_FALSE@,$ENSC_USE_DIETLIBC_FALSE,;t t
28127 s,@ENSC_USE_GLIBC_TRUE@,$ENSC_USE_GLIBC_TRUE,;t t
28128 s,@ENSC_USE_GLIBC_FALSE@,$ENSC_USE_GLIBC_FALSE,;t t
28129 s,@ECHO@,$ECHO,;t t
28131 s,@ac_ct_AR@,$ac_ct_AR,;t t
28132 s,@RANLIB@,$RANLIB,;t t
28133 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
28135 s,@CXXCPP@,$CXXCPP,;t t
28137 s,@FFLAGS@,$FFLAGS,;t t
28138 s,@ac_ct_F77@,$ac_ct_F77,;t t
28139 s,@LIBTOOL@,$LIBTOOL,;t t
28140 s,@kernelincludedir@,$kernelincludedir,;t t
28141 s,@vserverdir@,$vserverdir,;t t
28142 s,@CVS2CL_TAG@,$CVS2CL_TAG,;t t
28143 s,@CVS2CL@,$CVS2CL,;t t
28144 s,@HAVE_CVS2CL_TRUE@,$HAVE_CVS2CL_TRUE,;t t
28145 s,@HAVE_CVS2CL_FALSE@,$HAVE_CVS2CL_FALSE,;t t
28146 s,@RCS2LOG@,$RCS2LOG,;t t
28147 s,@HAVE_RCS2LOG_TRUE@,$HAVE_RCS2LOG_TRUE,;t t
28148 s,@HAVE_RCS2LOG_FALSE@,$HAVE_RCS2LOG_FALSE,;t t
28149 s,@ENSC_ENABLE_INTERNAL_HEADERS_TRUE@,$ENSC_ENABLE_INTERNAL_HEADERS_TRUE,;t t
28150 s,@ENSC_ENABLE_INTERNAL_HEADERS_FALSE@,$ENSC_ENABLE_INTERNAL_HEADERS_FALSE,;t t
28151 s,@ENSC_HAVE_BEECRYPT_TRUE@,$ENSC_HAVE_BEECRYPT_TRUE,;t t
28152 s,@ENSC_HAVE_BEECRYPT_FALSE@,$ENSC_HAVE_BEECRYPT_FALSE,;t t
28153 s,@ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE@,$ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE,;t t
28154 s,@ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE@,$ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE,;t t
28155 s,@LIBOBJS@,$LIBOBJS,;t t
28156 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
28161 cat >>$CONFIG_STATUS <<\_ACEOF
28162 # Split the substitutions into bite-sized pieces for seds with
28163 # small command number limits, like on Digital OSF/1 and HP-UX.
28164 ac_max_sed_lines=48
28165 ac_sed_frag=1 # Number of current file.
28166 ac_beg=1 # First line for current file.
28167 ac_end=$ac_max_sed_lines # Line after last line for current file.
28170 while $ac_more_lines; do
28171 if test $ac_beg -gt 1; then
28172 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
28174 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
28176 if test ! -s $tmp/subs.frag; then
28177 ac_more_lines=false
28179 # The purpose of the label and of the branching condition is to
28180 # speed up the sed processing (if there are no `@' at all, there
28181 # is no need to browse any of the substitutions).
28182 # These are the two extra sed commands mentioned above.
28184 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
28185 if test -z "$ac_sed_cmds"; then
28186 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
28188 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
28190 ac_sed_frag=`expr $ac_sed_frag + 1`
28192 ac_end=`expr $ac_end + $ac_max_sed_lines`
28195 if test -z "$ac_sed_cmds"; then
28198 fi # test -n "$CONFIG_FILES"
28201 cat >>$CONFIG_STATUS <<\_ACEOF
28202 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
28203 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
28205 - | *:- | *:-:* ) # input from stdin
28207 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
28208 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
28209 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
28210 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
28211 * ) ac_file_in=$ac_file.in ;;
28214 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
28215 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
28216 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28217 X"$ac_file" : 'X\(//\)[^/]' \| \
28218 X"$ac_file" : 'X\(//\)$' \| \
28219 X"$ac_file" : 'X\(/\)' \| \
28220 . : '\(.\)' 2>/dev/null ||
28222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28223 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28224 /^X\(\/\/\)$/{ s//\1/; q; }
28225 /^X\(\/\).*/{ s//\1/; q; }
28227 { if $as_mkdir_p; then
28232 while test ! -d "$as_dir"; do
28233 as_dirs="$as_dir $as_dirs"
28234 as_dir=`(dirname "$as_dir") 2>/dev/null ||
28235 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28236 X"$as_dir" : 'X\(//\)[^/]' \| \
28237 X"$as_dir" : 'X\(//\)$' \| \
28238 X"$as_dir" : 'X\(/\)' \| \
28239 . : '\(.\)' 2>/dev/null ||
28241 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28242 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28243 /^X\(\/\/\)$/{ s//\1/; q; }
28244 /^X\(\/\).*/{ s//\1/; q; }
28247 test ! -n "$as_dirs" || mkdir $as_dirs
28248 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
28249 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
28250 { (exit 1); exit 1; }; }; }
28254 if test "$ac_dir" != .; then
28255 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
28256 # A "../" for each directory in $ac_dir_suffix.
28257 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
28259 ac_dir_suffix= ac_top_builddir=
28263 .) # No --srcdir option. We are building in place.
28265 if test -z "$ac_top_builddir"; then
28268 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
28270 [\\/]* | ?:[\\/]* ) # Absolute path.
28271 ac_srcdir=$srcdir$ac_dir_suffix;
28272 ac_top_srcdir=$srcdir ;;
28273 *) # Relative path.
28274 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
28275 ac_top_srcdir=$ac_top_builddir$srcdir ;;
28278 # Do not use `cd foo && pwd` to compute absolute paths, because
28279 # the directories may not exist.
28281 .) ac_abs_builddir="$ac_dir";;
28284 .) ac_abs_builddir=`pwd`;;
28285 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
28286 *) ac_abs_builddir=`pwd`/"$ac_dir";;
28289 case $ac_abs_builddir in
28290 .) ac_abs_top_builddir=${ac_top_builddir}.;;
28292 case ${ac_top_builddir}. in
28293 .) ac_abs_top_builddir=$ac_abs_builddir;;
28294 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
28295 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
28298 case $ac_abs_builddir in
28299 .) ac_abs_srcdir=$ac_srcdir;;
28302 .) ac_abs_srcdir=$ac_abs_builddir;;
28303 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
28304 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
28307 case $ac_abs_builddir in
28308 .) ac_abs_top_srcdir=$ac_top_srcdir;;
28310 case $ac_top_srcdir in
28311 .) ac_abs_top_srcdir=$ac_abs_builddir;;
28312 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
28313 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
28319 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
28320 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
28323 if test x"$ac_file" != x-; then
28324 { echo "$as_me:$LINENO: creating $ac_file" >&5
28325 echo "$as_me: creating $ac_file" >&6;}
28328 # Let's still pretend it is `configure' which instantiates (i.e., don't
28329 # use $as_me), people would be surprised to read:
28330 # /* config.h. Generated by config.status. */
28331 if test x"$ac_file" = x-; then
28334 configure_input="$ac_file. "
28336 configure_input=$configure_input"Generated from `echo $ac_file_in |
28337 sed 's,.*/,,'` by configure."
28339 # First look for the input files in the build tree, otherwise in the
28341 ac_file_inputs=`IFS=:
28342 for f in $ac_file_in; do
28344 -) echo $tmp/stdin ;;
28346 # Absolute (can't be DOS-style, as IFS=:)
28347 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
28348 echo "$as_me: error: cannot find input file: $f" >&2;}
28349 { (exit 1); exit 1; }; }
28352 if test -f "$f"; then
28355 elif test -f "$srcdir/$f"; then
28360 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
28361 echo "$as_me: error: cannot find input file: $f" >&2;}
28362 { (exit 1); exit 1; }; }
28365 done` || { (exit 1); exit 1; }
28367 cat >>$CONFIG_STATUS <<_ACEOF
28371 cat >>$CONFIG_STATUS <<\_ACEOF
28373 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
28374 s,@configure_input@,$configure_input,;t t
28375 s,@srcdir@,$ac_srcdir,;t t
28376 s,@abs_srcdir@,$ac_abs_srcdir,;t t
28377 s,@top_srcdir@,$ac_top_srcdir,;t t
28378 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
28379 s,@builddir@,$ac_builddir,;t t
28380 s,@abs_builddir@,$ac_abs_builddir,;t t
28381 s,@top_builddir@,$ac_top_builddir,;t t
28382 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
28383 s,@INSTALL@,$ac_INSTALL,;t t
28384 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
28386 if test x"$ac_file" != x-; then
28387 mv $tmp/out $ac_file
28395 cat >>$CONFIG_STATUS <<\_ACEOF
28398 # CONFIG_HEADER section.
28401 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
28402 # NAME is the cpp macro being defined and VALUE is the value it is being given.
28404 # ac_d sets the value in "#define NAME VALUE" lines.
28405 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
28406 ac_dB='[ ].*$,\1#\2'
28409 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
28410 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
28411 ac_uB='$,\1#\2define\3'
28415 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
28416 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
28418 - | *:- | *:-:* ) # input from stdin
28420 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
28421 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
28422 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
28423 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
28424 * ) ac_file_in=$ac_file.in ;;
28427 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
28428 echo "$as_me: creating $ac_file" >&6;}
28430 # First look for the input files in the build tree, otherwise in the
28432 ac_file_inputs=`IFS=:
28433 for f in $ac_file_in; do
28435 -) echo $tmp/stdin ;;
28437 # Absolute (can't be DOS-style, as IFS=:)
28438 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
28439 echo "$as_me: error: cannot find input file: $f" >&2;}
28440 { (exit 1); exit 1; }; }
28441 # Do quote $f, to prevent DOS paths from being IFS'd.
28444 if test -f "$f"; then
28447 elif test -f "$srcdir/$f"; then
28452 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
28453 echo "$as_me: error: cannot find input file: $f" >&2;}
28454 { (exit 1); exit 1; }; }
28457 done` || { (exit 1); exit 1; }
28458 # Remove the trailing spaces.
28459 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
28463 # Transform confdefs.h into two sed scripts, `conftest.defines' and
28464 # `conftest.undefs', that substitutes the proper values into
28465 # config.h.in to produce config.h. The first handles `#define'
28466 # templates, and the second `#undef' templates.
28467 # And first: Protect against being on the right side of a sed subst in
28468 # config.status. Protect against being in an unquoted here document
28469 # in config.status.
28470 rm -f conftest.defines conftest.undefs
28471 # Using a here document instead of a string reduces the quoting nightmare.
28472 # Putting comments in sed scripts is not portable.
28474 # `end' is used to avoid that the second main sed command (meant for
28475 # 0-ary CPP macros) applies to n-ary macro definitions.
28476 # See the Autoconf documentation for `clear'.
28477 cat >confdef2sed.sed <<\_ACEOF
28482 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
28484 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
28487 # If some macros were called several times there might be several times
28488 # the same #defines, which is useless. Nevertheless, we may not want to
28489 # sort them, since we want the *last* AC-DEFINE to be honored.
28490 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
28491 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
28492 rm -f confdef2sed.sed
28494 # This sed command replaces #undef with comments. This is necessary, for
28495 # example, in the case of _POSIX_SOURCE, which is predefined and required
28496 # on some systems where configure will not decide to define it.
28497 cat >>conftest.undefs <<\_ACEOF
28498 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
28501 # Break up conftest.defines because some shells have a limit on the size
28502 # of here documents, and old seds have small limits too (100 cmds).
28503 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
28504 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
28505 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
28506 echo ' :' >>$CONFIG_STATUS
28507 rm -f conftest.tail
28508 while grep . conftest.defines >/dev/null
28510 # Write a limited-size here document to $tmp/defines.sed.
28511 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
28512 # Speed up: don't consider the non `#define' lines.
28513 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
28514 # Work around the forget-to-reset-the-flag bug.
28515 echo 't clr' >>$CONFIG_STATUS
28516 echo ': clr' >>$CONFIG_STATUS
28517 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
28519 sed -f $tmp/defines.sed $tmp/in >$tmp/out
28521 mv $tmp/out $tmp/in
28523 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
28524 rm -f conftest.defines
28525 mv conftest.tail conftest.defines
28527 rm -f conftest.defines
28528 echo ' fi # grep' >>$CONFIG_STATUS
28529 echo >>$CONFIG_STATUS
28531 # Break up conftest.undefs because some shells have a limit on the size
28532 # of here documents, and old seds have small limits too (100 cmds).
28533 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
28534 rm -f conftest.tail
28535 while grep . conftest.undefs >/dev/null
28537 # Write a limited-size here document to $tmp/undefs.sed.
28538 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
28539 # Speed up: don't consider the non `#undef'
28540 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
28541 # Work around the forget-to-reset-the-flag bug.
28542 echo 't clr' >>$CONFIG_STATUS
28543 echo ': clr' >>$CONFIG_STATUS
28544 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
28546 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
28548 mv $tmp/out $tmp/in
28550 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
28551 rm -f conftest.undefs
28552 mv conftest.tail conftest.undefs
28554 rm -f conftest.undefs
28556 cat >>$CONFIG_STATUS <<\_ACEOF
28557 # Let's still pretend it is `configure' which instantiates (i.e., don't
28558 # use $as_me), people would be surprised to read:
28559 # /* config.h. Generated by config.status. */
28560 if test x"$ac_file" = x-; then
28561 echo "/* Generated by configure. */" >$tmp/config.h
28563 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
28565 cat $tmp/in >>$tmp/config.h
28567 if test x"$ac_file" != x-; then
28568 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
28569 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
28570 echo "$as_me: $ac_file is unchanged" >&6;}
28572 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
28573 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28574 X"$ac_file" : 'X\(//\)[^/]' \| \
28575 X"$ac_file" : 'X\(//\)$' \| \
28576 X"$ac_file" : 'X\(/\)' \| \
28577 . : '\(.\)' 2>/dev/null ||
28579 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28580 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28581 /^X\(\/\/\)$/{ s//\1/; q; }
28582 /^X\(\/\).*/{ s//\1/; q; }
28584 { if $as_mkdir_p; then
28589 while test ! -d "$as_dir"; do
28590 as_dirs="$as_dir $as_dirs"
28591 as_dir=`(dirname "$as_dir") 2>/dev/null ||
28592 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28593 X"$as_dir" : 'X\(//\)[^/]' \| \
28594 X"$as_dir" : 'X\(//\)$' \| \
28595 X"$as_dir" : 'X\(/\)' \| \
28596 . : '\(.\)' 2>/dev/null ||
28598 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28599 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28600 /^X\(\/\/\)$/{ s//\1/; q; }
28601 /^X\(\/\).*/{ s//\1/; q; }
28604 test ! -n "$as_dirs" || mkdir $as_dirs
28605 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
28606 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
28607 { (exit 1); exit 1; }; }; }
28610 mv $tmp/config.h $ac_file
28614 rm -f $tmp/config.h
28616 # Compute $ac_file's index in $config_headers.
28618 for _am_header in $config_headers :; do
28619 case $_am_header in
28620 $ac_file | $ac_file:* )
28623 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
28626 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
28627 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28628 X$ac_file : 'X\(//\)[^/]' \| \
28629 X$ac_file : 'X\(//\)$' \| \
28630 X$ac_file : 'X\(/\)' \| \
28631 . : '\(.\)' 2>/dev/null ||
28633 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28634 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28635 /^X\(\/\/\)$/{ s//\1/; q; }
28636 /^X\(\/\).*/{ s//\1/; q; }
28637 s/.*/./; q'`/stamp-h$_am_stamp_count
28640 cat >>$CONFIG_STATUS <<\_ACEOF
28643 # CONFIG_COMMANDS section.
28645 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
28646 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
28647 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
28648 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
28649 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28650 X"$ac_dest" : 'X\(//\)[^/]' \| \
28651 X"$ac_dest" : 'X\(//\)$' \| \
28652 X"$ac_dest" : 'X\(/\)' \| \
28653 . : '\(.\)' 2>/dev/null ||
28655 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28656 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28657 /^X\(\/\/\)$/{ s//\1/; q; }
28658 /^X\(\/\).*/{ s//\1/; q; }
28660 { if $as_mkdir_p; then
28665 while test ! -d "$as_dir"; do
28666 as_dirs="$as_dir $as_dirs"
28667 as_dir=`(dirname "$as_dir") 2>/dev/null ||
28668 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28669 X"$as_dir" : 'X\(//\)[^/]' \| \
28670 X"$as_dir" : 'X\(//\)$' \| \
28671 X"$as_dir" : 'X\(/\)' \| \
28672 . : '\(.\)' 2>/dev/null ||
28674 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28675 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28676 /^X\(\/\/\)$/{ s//\1/; q; }
28677 /^X\(\/\).*/{ s//\1/; q; }
28680 test ! -n "$as_dirs" || mkdir $as_dirs
28681 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
28682 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
28683 { (exit 1); exit 1; }; }; }
28687 if test "$ac_dir" != .; then
28688 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
28689 # A "../" for each directory in $ac_dir_suffix.
28690 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
28692 ac_dir_suffix= ac_top_builddir=
28696 .) # No --srcdir option. We are building in place.
28698 if test -z "$ac_top_builddir"; then
28701 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
28703 [\\/]* | ?:[\\/]* ) # Absolute path.
28704 ac_srcdir=$srcdir$ac_dir_suffix;
28705 ac_top_srcdir=$srcdir ;;
28706 *) # Relative path.
28707 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
28708 ac_top_srcdir=$ac_top_builddir$srcdir ;;
28711 # Do not use `cd foo && pwd` to compute absolute paths, because
28712 # the directories may not exist.
28714 .) ac_abs_builddir="$ac_dir";;
28717 .) ac_abs_builddir=`pwd`;;
28718 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
28719 *) ac_abs_builddir=`pwd`/"$ac_dir";;
28722 case $ac_abs_builddir in
28723 .) ac_abs_top_builddir=${ac_top_builddir}.;;
28725 case ${ac_top_builddir}. in
28726 .) ac_abs_top_builddir=$ac_abs_builddir;;
28727 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
28728 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
28731 case $ac_abs_builddir in
28732 .) ac_abs_srcdir=$ac_srcdir;;
28735 .) ac_abs_srcdir=$ac_abs_builddir;;
28736 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
28737 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
28740 case $ac_abs_builddir in
28741 .) ac_abs_top_srcdir=$ac_top_srcdir;;
28743 case $ac_top_srcdir in
28744 .) ac_abs_top_srcdir=$ac_abs_builddir;;
28745 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
28746 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
28751 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
28752 echo "$as_me: executing $ac_dest commands" >&6;}
28754 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
28755 # Strip MF so we end up with the name of the file.
28756 mf=`echo "$mf" | sed -e 's/:.*$//'`
28757 # Check whether this is an Automake generated Makefile or not.
28758 # We used to match only the files named `Makefile.in', but
28759 # some people rename them; so instead we look at the file content.
28760 # Grep'ing the first line is not enough: some people post-process
28761 # each Makefile.in and add a new line on top of each file to say so.
28762 # So let's grep whole file.
28763 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
28764 dirpart=`(dirname "$mf") 2>/dev/null ||
28765 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28766 X"$mf" : 'X\(//\)[^/]' \| \
28767 X"$mf" : 'X\(//\)$' \| \
28768 X"$mf" : 'X\(/\)' \| \
28769 . : '\(.\)' 2>/dev/null ||
28771 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28772 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28773 /^X\(\/\/\)$/{ s//\1/; q; }
28774 /^X\(\/\).*/{ s//\1/; q; }
28779 # Extract the definition of DEPDIR, am__include, and am__quote
28780 # from the Makefile without running `make'.
28781 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
28782 test -z "$DEPDIR" && continue
28783 am__include=`sed -n 's/^am__include = //p' < "$mf"`
28784 test -z "am__include" && continue
28785 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
28786 # When using ansi2knr, U may be empty or an underscore; expand it
28787 U=`sed -n 's/^U = //p' < "$mf"`
28788 # Find all dependency output files, they are included files with
28789 # $(DEPDIR) in their names. We invoke sed twice because it is the
28790 # simplest approach to changing $(DEPDIR) to its actual value in the
28792 for file in `sed -n "
28793 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
28794 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
28795 # Make sure the directory exists.
28796 test -f "$dirpart/$file" && continue
28797 fdir=`(dirname "$file") 2>/dev/null ||
28798 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28799 X"$file" : 'X\(//\)[^/]' \| \
28800 X"$file" : 'X\(//\)$' \| \
28801 X"$file" : 'X\(/\)' \| \
28802 . : '\(.\)' 2>/dev/null ||
28804 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28805 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28806 /^X\(\/\/\)$/{ s//\1/; q; }
28807 /^X\(\/\).*/{ s//\1/; q; }
28809 { if $as_mkdir_p; then
28810 mkdir -p $dirpart/$fdir
28812 as_dir=$dirpart/$fdir
28814 while test ! -d "$as_dir"; do
28815 as_dirs="$as_dir $as_dirs"
28816 as_dir=`(dirname "$as_dir") 2>/dev/null ||
28817 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28818 X"$as_dir" : 'X\(//\)[^/]' \| \
28819 X"$as_dir" : 'X\(//\)$' \| \
28820 X"$as_dir" : 'X\(/\)' \| \
28821 . : '\(.\)' 2>/dev/null ||
28823 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28824 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28825 /^X\(\/\/\)$/{ s//\1/; q; }
28826 /^X\(\/\).*/{ s//\1/; q; }
28829 test ! -n "$as_dirs" || mkdir $as_dirs
28830 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
28831 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
28832 { (exit 1); exit 1; }; }; }
28834 # echo "creating $dirpart/$file"
28835 echo '# dummy' > "$dirpart/$file"
28843 cat >>$CONFIG_STATUS <<\_ACEOF
28845 { (exit 0); exit 0; }
28847 chmod +x $CONFIG_STATUS
28848 ac_clean_files=$ac_clean_files_save
28851 # configure is writing to config.log, and then calls config.status.
28852 # config.status does its own redirection, appending to config.log.
28853 # Unfortunately, on DOS this fails, as config.log is still kept open
28854 # by configure, so config.status won't be able to write to it; its
28855 # output is simply discarded. So we exec the FD to /dev/null,
28856 # effectively closing config.log, so it can be properly (re)opened and
28857 # appended to by config.status. When coming back to configure, we
28858 # need to make the FD available again.
28859 if test "$no_create" != yes; then
28861 ac_config_status_args=
28862 test "$silent" = yes &&
28863 ac_config_status_args="$ac_config_status_args --quiet"
28865 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
28867 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
28868 # would make configure fail if this is the last instruction.
28869 $ac_cs_success || { (exit 1); exit 1; }
28873 { echo "$as_me:$LINENO:
28882 $FEATURES_TXT" >&6;}