summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure32271
1 files changed, 0 insertions, 32271 deletions
diff --git a/configure b/configure
deleted file mode 100755
index 4b5dff649a3..00000000000
--- a/configure
+++ /dev/null
@@ -1,32271 +0,0 @@
-#! /bin/sh
-
-# From configure.in Revision 0.65
-
-
-
-
-
-
-# Do all the work for Automake. This macro actually does too much --
-# some checks are only needed if your package does certain things.
-# But this isn't really a big deal.
-
-# serial 1
-
-
-
-
-#
-# Check to make sure that the build environment is sane.
-#
-
-
-
-
-
-# Like AC_CONFIG_HEADER, but automatically create stamp file.
-
-
-
-# Define a conditional.
-
-
-
-
-
-
-# Add --enable-maintainer-mode option to configure.
-# From Jim Meyering
-
-# serial 1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-# serial 40 AC_PROG_LIBTOOL
-
-
-
-
-# AC_LIBTOOL_DLOPEN - enable checks for dlopen support
-
-
-# AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's
-
-
-# AC_ENABLE_SHARED - implement the --enable-shared flag
-# Usage: AC_ENABLE_SHARED[(DEFAULT)]
-# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
-# `yes'.
-
-
-# AC_DISABLE_SHARED - set the default shared flag to --disable-shared
-
-
-# AC_ENABLE_STATIC - implement the --enable-static flag
-# Usage: AC_ENABLE_STATIC[(DEFAULT)]
-# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
-# `yes'.
-
-
-# AC_DISABLE_STATIC - set the default static flag to --disable-static
-
-
-
-# AC_ENABLE_FAST_INSTALL - implement the --enable-fast-install flag
-# Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)]
-# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
-# `yes'.
-
-
-# AC_ENABLE_FAST_INSTALL - set the default to --disable-fast-install
-
-
-# AC_PROG_LD - find the path to the GNU or non-GNU linker
-
-
-
-
-# AC_PROG_NM - find the path to a BSD-compatible name lister
-
-
-# AC_CHECK_LIBM - check for math library
-
-
-# AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for
-# the libltdl convenience library, adds --enable-ltdl-convenience to
-# the configure arguments. Note that LIBLTDL is not AC_SUBSTed, nor
-# is AC_CONFIG_SUBDIRS called. If DIR is not provided, it is assumed
-# to be `${top_builddir}/libltdl'. Make sure you start DIR with
-# '${top_builddir}/' (note the single quotes!) if your package is not
-# flat, and, if you're not using automake, define top_builddir as
-# appropriate in the Makefiles.
-
-
-# AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for
-# the libltdl installable library, and adds --enable-ltdl-install to
-# the configure arguments. Note that LIBLTDL is not AC_SUBSTed, nor
-# is AC_CONFIG_SUBDIRS called. If DIR is not provided, it is assumed
-# to be `${top_builddir}/libltdl'. Make sure you start DIR with
-# '${top_builddir}/' (note the single quotes!) if your package is not
-# flat, and, if you're not using automake, define top_builddir as
-# appropriate in the Makefiles.
-# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-# Guess values for system-dependent variables and create Makefiles.
-# Generated automatically using autoconf version 2.13
-# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
-#
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-
-# Defaults:
-ac_help=
-ac_default_prefix=/usr/local
-# Any additions from configure.in:
-ac_help="$ac_help
- --enable-maintainer-mode enable make rules and dependencies not useful
- (and sometimes confusing) to the casual installer"
-ac_help="$ac_help
- --enable-lib-all build all ACE components [default=yes]"
-ac_help="$ac_help
- --enable-lib-full build the full ACE library [default=yes]"
-ac_help="$ac_help
- --enable-lib-os build libACE_OS library "
-ac_help="$ac_help
- --enable-lib-utils build libACE_Utils library "
-ac_help="$ac_help
- --enable-lib-logging build libACE_Logging library "
-ac_help="$ac_help
- --enable-lib-threads build libACE_Threads library "
-ac_help="$ac_help
- --enable-lib-demux build libACE_Demux library "
-ac_help="$ac_help
- --enable-lib-connection build libACE_Connection library "
-ac_help="$ac_help
- --enable-lib-sockets build libACE_Sockets library "
-ac_help="$ac_help
- --enable-lib-ipc build libACE_IPC library "
-ac_help="$ac_help
- --enable-lib-svcconf build libACE_Svcconf library "
-ac_help="$ac_help
- --enable-lib-streams build libACE_Streams library "
-ac_help="$ac_help
- --enable-lib-memory build libACE_Memory library "
-ac_help="$ac_help
- --enable-lib-token build libACE_Token library "
-ac_help="$ac_help
- --enable-lib-other build libACE_Other library "
-ac_help="$ac_help
- --enable-debug enable debugging [default=yes]"
-ac_help="$ac_help
- --enable-exceptions enable C++ exception handling [default=yes]"
-ac_help="$ac_help
- --enable-fast enable -fast flag, e.g. Sun C++ [default=no]"
-ac_help="$ac_help
- --enable-inline enable code inlining [default=yes]"
-ac_help="$ac_help
- --enable-log-msg-prop enable threads inheriting
- ACE_Log_Msg properties from parent
- thread [default=yes]"
-ac_help="$ac_help
- --enable-logging enable ACE logging macros [default=yes]"
-ac_help="$ac_help
- --enable-malloc-stats enable malloc statistics
- collection [default=no]"
-ac_help="$ac_help
- --enable-optimize enable additional optimizations [default=yes]"
-ac_help="$ac_help
- --enable-probe enable ACE_Timeprobes [default=no]"
-ac_help="$ac_help
- --enable-profile enable profiling [default=no]"
-ac_help="$ac_help
- --enable-purify Purify all executables [default=no]"
-ac_help="$ac_help
- --enable-quantify Quantify all executables [default=no]"
-ac_help="$ac_help
- --enable-reentrant enable reentrant functions [default=yes]"
-ac_help="$ac_help
- --enable-repo use GNU template repository
- GNU C++ with repo patches and
- EGCS only [default=no]"
-ac_help="$ac_help
- --enable-rtti enable run-time type
- identification
- *Currently only for Sun C++ [default=no]"
-ac_help="$ac_help
- --enable-static-obj-mgr enable static Object_Manager [default=yes]"
-ac_help="$ac_help
- --enable-threads enable thread support [default=yes]"
-ac_help="$ac_help
- --enable-verb-not-sup enable verbose ENOTSUP reports [default=no]"
-ac_help="$ac_help
- --enable-trace enable ACE tracing [default=no]"
-ac_help="$ac_help
- --enable-xt-reactor build support for the XtReactor [default=no]"
-ac_help="$ac_help
- --with-x use the X Window System"
-ac_help="$ac_help
- --enable-fl-reactor build support for the FlReactor [default=no]"
-ac_help="$ac_help
- --with-gperf compile the gperf program [default=yes]"
-ac_help="$ac_help
- --with-orbix[=DIR] compile ACE with Orbix [default=no]"
-ac_help="$ac_help
- --with-tli-device[=DEV] device for TCP on TLI [default=/dev/tcp]"
-ac_help="$ac_help
- --enable-static[=PKGS] build static libraries [default=no]"
-ac_help="$ac_help
- --enable-shared[=PKGS] build shared libraries [default=yes]"
-ac_help="$ac_help
- --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
-ac_help="$ac_help
- --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
-ac_help="$ac_help
- --disable-libtool-lock avoid locking (might break parallel builds)"
-
-# Initialize some variables set by options.
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-build=NONE
-cache_file=./config.cache
-exec_prefix=NONE
-host=NONE
-no_create=
-nonopt=NONE
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-target=NONE
-verbose=
-x_includes=NONE
-x_libraries=NONE
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datadir='${prefix}/share'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-libdir='${exec_prefix}/lib'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-infodir='${prefix}/info'
-mandir='${prefix}/man'
-
-# Initialize some other variables.
-subdirs=
-MFLAGS= MAKEFLAGS=
-SHELL=${CONFIG_SHELL-/bin/sh}
-# Maximum number of lines to put in a shell here document.
-ac_max_here_lines=12
-
-ac_prev=
-for ac_option
-do
-
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval "$ac_prev=\$ac_option"
- ac_prev=
- continue
- fi
-
- case "$ac_option" in
- -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
- *) ac_optarg= ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case "$ac_option" in
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir="$ac_optarg" ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build="$ac_optarg" ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file="$ac_optarg" ;;
-
- -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
- | --da=*)
- datadir="$ac_optarg" ;;
-
- -disable-* | --disable-*)
- ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
- # Reject names that are not valid shell variable names.
- if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
- { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
- fi
- ac_feature=`echo $ac_feature| sed 's/-/_/g'`
- eval "enable_${ac_feature}=no" ;;
-
- -enable-* | --enable-*)
- ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
- # Reject names that are not valid shell variable names.
- if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
- { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
- fi
- ac_feature=`echo $ac_feature| sed 's/-/_/g'`
- case "$ac_option" in
- *=*) ;;
- *) ac_optarg=yes ;;
- esac
- eval "enable_${ac_feature}='$ac_optarg'" ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix="$ac_optarg" ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he)
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat << EOF
-Usage: configure [options] [host]
-Options: [defaults in brackets after descriptions]
-Configuration:
- --cache-file=FILE cache test results in FILE
- --help print this message
- --no-create do not create output files
- --quiet, --silent do not print \`checking...' messages
- --version print the version of autoconf that created configure
-Directory and file names:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [same as prefix]
- --bindir=DIR user executables in DIR [EPREFIX/bin]
- --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
- --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
- --datadir=DIR read-only architecture-independent data in DIR
- [PREFIX/share]
- --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data in DIR
- [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
- --libdir=DIR object code libraries in DIR [EPREFIX/lib]
- --includedir=DIR C header files in DIR [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
- --infodir=DIR info documentation in DIR [PREFIX/info]
- --mandir=DIR man documentation in DIR [PREFIX/man]
- --srcdir=DIR find the sources in DIR [configure dir or ..]
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM
- run sed PROGRAM on installed program names
-EOF
- cat << EOF
-Host type:
- --build=BUILD configure for building on BUILD [BUILD=HOST]
- --host=HOST configure for HOST [guessed]
- --target=TARGET configure for TARGET [TARGET=HOST]
-Features and packages:
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
- --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
- --x-includes=DIR X include files are in DIR
- --x-libraries=DIR X library files are in DIR
-EOF
- if test -n "$ac_help"; then
- echo "--enable and --with options recognized:$ac_help"
- fi
- exit 0 ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host="$ac_optarg" ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir="$ac_optarg" ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir="$ac_optarg" ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir="$ac_optarg" ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir="$ac_optarg" ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst \
- | --locals | --local | --loca | --loc | --lo)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* \
- | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
- localstatedir="$ac_optarg" ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir="$ac_optarg" ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir="$ac_optarg" ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix="$ac_optarg" ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix="$ac_optarg" ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix="$ac_optarg" ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name="$ac_optarg" ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir="$ac_optarg" ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir="$ac_optarg" ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site="$ac_optarg" ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir="$ac_optarg" ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir="$ac_optarg" ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target="$ac_optarg" ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers)
- echo "configure generated by autoconf version 2.13"
- exit 0 ;;
-
- -with-* | --with-*)
- ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
- # Reject names that are not valid shell variable names.
- if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
- { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
- fi
- ac_package=`echo $ac_package| sed 's/-/_/g'`
- case "$ac_option" in
- *=*) ;;
- *) ac_optarg=yes ;;
- esac
- eval "with_${ac_package}='$ac_optarg'" ;;
-
- -without-* | --without-*)
- ac_package=`echo $ac_option|sed -e 's/-*without-//'`
- # Reject names that are not valid shell variable names.
- if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
- { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
- fi
- ac_package=`echo $ac_package| sed 's/-/_/g'`
- eval "with_${ac_package}=no" ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes="$ac_optarg" ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries="$ac_optarg" ;;
-
- -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
- ;;
-
- *)
- if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
- echo "configure: warning: $ac_option: invalid host type" 1>&2
- fi
- if test "x$nonopt" != xNONE; then
- { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
- fi
- nonopt="$ac_option"
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
-fi
-
-trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
-
-# File descriptor usage:
-# 0 standard input
-# 1 file creation
-# 2 errors and warnings
-# 3 some systems may open it to /dev/tty
-# 4 used on the Kubota Titan
-# 6 checking for... messages and results
-# 5 compiler messages saved in config.log
-if test "$silent" = yes; then
- exec 6>/dev/null
-else
- exec 6>&1
-fi
-exec 5>./config.log
-
-echo "\
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-" 1>&5
-
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Also quote any args containing shell metacharacters.
-ac_configure_args=
-for ac_arg
-do
- case "$ac_arg" in
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c) ;;
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
- *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
- ac_configure_args="$ac_configure_args '$ac_arg'" ;;
- *) ac_configure_args="$ac_configure_args $ac_arg" ;;
- esac
-done
-
-# NLS nuisances.
-# Only set these to C if already set. These must not be set unconditionally
-# because not all systems understand e.g. LANG=C (notably SCO).
-# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
-# Non-C LC_CTYPE values break the ctype check.
-if test "${LANG+set}" = set; then LANG=C; export LANG; fi
-if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
-if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
-if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -rf conftest* confdefs.h
-# AIX cpp loses on an empty file, so make sure it contains at least a newline.
-echo > confdefs.h
-
-# A filename unique to this package, relative to the directory that
-# configure is in, which we can look for to find out if srcdir is correct.
-ac_unique_file=ace/ACE.cpp
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then its parent.
- ac_prog=$0
- ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
- test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
- srcdir=$ac_confdir
- if test ! -r $srcdir/$ac_unique_file; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r $srcdir/$ac_unique_file; then
- if test "$ac_srcdir_defaulted" = yes; then
- { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
- else
- { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
- fi
-fi
-srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
-
-# Prefer explicitly selected file to automatically selected ones.
-if test -z "$CONFIG_SITE"; then
- if test "x$prefix" != xNONE; then
- CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
- else
- CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
- fi
-fi
-for ac_site_file in $CONFIG_SITE; do
- if test -r "$ac_site_file"; then
- echo "loading site script $ac_site_file"
- . "$ac_site_file"
- fi
-done
-
-if test -r "$cache_file"; then
- echo "loading cache $cache_file"
- . $cache_file
-else
- echo "creating cache $cache_file"
- > $cache_file
-fi
-
-ac_ext=c
-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
-cross_compiling=$ac_cv_prog_cc_cross
-
-ac_exeext=
-ac_objext=o
-if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
- # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
- if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
- ac_n= ac_c='
-' ac_t=' '
- else
- ac_n=-n ac_c= ac_t=
- fi
-else
- ac_n= ac_c='\c' ac_t=
-fi
-
-
-
-
-
-
-ac_aux_dir=
-for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
- if test -f $ac_dir/install-sh; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f $ac_dir/install.sh; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
-fi
-ac_config_guess=$ac_aux_dir/config.guess
-ac_config_sub=$ac_aux_dir/config.sub
-ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
-
-
-# Do some error checking and defaulting for the host and target type.
-# The inputs are:
-# configure --host=HOST --target=TARGET --build=BUILD NONOPT
-#
-# The rules are:
-# 1. You are not allowed to specify --host, --target, and nonopt at the
-# same time.
-# 2. Host defaults to nonopt.
-# 3. If nonopt is not specified, then host defaults to the current host,
-# as determined by config.guess.
-# 4. Target and build default to nonopt.
-# 5. If nonopt is not specified, then target and build default to host.
-
-# The aliases save the names the user supplied, while $host etc.
-# will get canonicalized.
-case $host---$target---$nonopt in
-NONE---*---* | *---NONE---* | *---*---NONE) ;;
-*) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
-esac
-
-
-# Make sure we can run config.sub.
-if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
-else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
-fi
-
-echo $ac_n "checking host system type""... $ac_c" 1>&6
-echo "configure:894: checking host system type" >&5
-
-host_alias=$host
-case "$host_alias" in
-NONE)
- case $nonopt in
- NONE)
- if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
- else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
- fi ;;
- *) host_alias=$nonopt ;;
- esac ;;
-esac
-
-host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
-host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
-host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
-host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
-echo "$ac_t""$host" 1>&6
-
-echo $ac_n "checking target system type""... $ac_c" 1>&6
-echo "configure:915: checking target system type" >&5
-
-target_alias=$target
-case "$target_alias" in
-NONE)
- case $nonopt in
- NONE) target_alias=$host_alias ;;
- *) target_alias=$nonopt ;;
- esac ;;
-esac
-
-target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
-target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
-target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
-target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
-echo "$ac_t""$target" 1>&6
-
-echo $ac_n "checking build system type""... $ac_c" 1>&6
-echo "configure:933: checking build system type" >&5
-
-build_alias=$build
-case "$build_alias" in
-NONE)
- case $nonopt in
- NONE) build_alias=$host_alias ;;
- *) build_alias=$nonopt ;;
- esac ;;
-esac
-
-build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
-build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
-build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
-build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
-echo "$ac_t""$build" 1>&6
-
-test "$host_alias" != "$target_alias" &&
- test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONEs,x,x, &&
- program_prefix=${target_alias}-
-
-
-
-PACKAGE=ace
-ACE_VERSION=`head -1 ${srcdir}/VERSION | sed 's/.*version \([0-9.]*\).*/\1/'`
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# ./install, which can be erroneously created by make from ./install.sh.
-echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
-echo "configure:972: checking for a BSD compatible install" >&5
-if test -z "$INSTALL"; then
-if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
- for ac_dir in $PATH; do
- # Account for people who put trailing slashes in PATH elements.
- case "$ac_dir/" in
- /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- if test -f $ac_dir/$ac_prog; then
- if test $ac_prog = install &&
- grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- else
- ac_cv_path_install="$ac_dir/$ac_prog -c"
- break 2
- fi
- fi
- done
- ;;
- esac
- done
- IFS="$ac_save_IFS"
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL="$ac_cv_path_install"
- else
- # As a last resort, use the slow shell script. We don't cache a
- # path for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the path is relative.
- INSTALL="$ac_install_sh"
- fi
-fi
-echo "$ac_t""$INSTALL" 1>&6
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
-echo "configure:1025: checking whether build environment is sane" >&5
-# Just in case
-sleep 1
-echo timestamp > conftestfile
-# Do `set' in a subshell so we don't clobber the current shell's
-# arguments. Must try -L first in case configure is actually a
-# symlink; some systems play weird games with the mod time of symlinks
-# (eg FreeBSD returns the mod time of the symlink's containing
-# directory).
-if (
- set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
- if test "$*" = "X"; then
- # -L didn't work.
- set X `ls -t $srcdir/configure conftestfile`
- fi
- if test "$*" != "X $srcdir/configure conftestfile" \
- && test "$*" != "X conftestfile $srcdir/configure"; then
-
- # If neither matched, then we have a broken ls. This can happen
- # if, for instance, CONFIG_SHELL is bash and it inherits a
- # broken ls alias from the environment. This has actually
- # happened. Such a system could not be considered "sane".
- { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
-alias in your environment" 1>&2; exit 1; }
- fi
-
- test "$2" = conftestfile
- )
-then
- # Ok.
- :
-else
- { echo "configure: error: newly created file is older than distributed files!
-Check your system clock" 1>&2; exit 1; }
-fi
-rm -f conftest*
-echo "$ac_t""yes" 1>&6
-if test "$program_transform_name" = s,x,x,; then
- program_transform_name=
-else
- # Double any \ or $. echo might interpret backslashes.
- cat <<\EOF_SED > conftestsed
-s,\\,\\\\,g; s,\$,$$,g
-EOF_SED
- program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
- rm -f conftestsed
-fi
-test "$program_prefix" != NONE &&
- program_transform_name="s,^,${program_prefix},; $program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
-
-# sed with no file args requires a program.
-test "$program_transform_name" = "" && program_transform_name="s,x,x,"
-
-echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
-echo "configure:1082: checking whether ${MAKE-make} sets \${MAKE}" >&5
-set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
-if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftestmake <<\EOF
-all:
- @echo 'ac_maketemp="${MAKE}"'
-EOF
-# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
-eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
-if test -n "$ac_maketemp"; then
- eval ac_cv_prog_make_${ac_make}_set=yes
-else
- eval ac_cv_prog_make_${ac_make}_set=no
-fi
-rm -f conftestmake
-fi
-if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- SET_MAKE=
-else
- echo "$ac_t""no" 1>&6
- SET_MAKE="MAKE=${MAKE-make}"
-fi
-
-
-PACKAGE="$PACKAGE"
-
-VERSION="$ACE_VERSION"
-
-if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
- { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
-fi
-
-
-
-missing_dir=`cd $ac_aux_dir && pwd`
-echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
-echo "configure:1121: checking for working aclocal" >&5
-# Run test in a subshell; some versions of sh will print an error if
-# an executable is not found, even if stderr is redirected.
-# Redirect stdin to placate older versions of autoconf. Sigh.
-if (aclocal --version) < /dev/null > /dev/null 2>&1; then
- ACLOCAL=aclocal
- echo "$ac_t""found" 1>&6
-else
- ACLOCAL="$missing_dir/missing aclocal"
- echo "$ac_t""missing" 1>&6
-fi
-
-echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
-echo "configure:1134: checking for working autoconf" >&5
-# Run test in a subshell; some versions of sh will print an error if
-# an executable is not found, even if stderr is redirected.
-# Redirect stdin to placate older versions of autoconf. Sigh.
-if (autoconf --version) < /dev/null > /dev/null 2>&1; then
- AUTOCONF=autoconf
- echo "$ac_t""found" 1>&6
-else
- AUTOCONF="$missing_dir/missing autoconf"
- echo "$ac_t""missing" 1>&6
-fi
-
-echo $ac_n "checking for working automake""... $ac_c" 1>&6
-echo "configure:1147: checking for working automake" >&5
-# Run test in a subshell; some versions of sh will print an error if
-# an executable is not found, even if stderr is redirected.
-# Redirect stdin to placate older versions of autoconf. Sigh.
-if (automake --version) < /dev/null > /dev/null 2>&1; then
- AUTOMAKE=automake
- echo "$ac_t""found" 1>&6
-else
- AUTOMAKE="$missing_dir/missing automake"
- echo "$ac_t""missing" 1>&6
-fi
-
-echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
-echo "configure:1160: checking for working autoheader" >&5
-# Run test in a subshell; some versions of sh will print an error if
-# an executable is not found, even if stderr is redirected.
-# Redirect stdin to placate older versions of autoconf. Sigh.
-if (autoheader --version) < /dev/null > /dev/null 2>&1; then
- AUTOHEADER=autoheader
- echo "$ac_t""found" 1>&6
-else
- AUTOHEADER="$missing_dir/missing autoheader"
- echo "$ac_t""missing" 1>&6
-fi
-
-echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
-echo "configure:1173: checking for working makeinfo" >&5
-# Run test in a subshell; some versions of sh will print an error if
-# an executable is not found, even if stderr is redirected.
-# Redirect stdin to placate older versions of autoconf. Sigh.
-if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
- MAKEINFO=makeinfo
- echo "$ac_t""found" 1>&6
-else
- MAKEINFO="$missing_dir/missing makeinfo"
- echo "$ac_t""missing" 1>&6
-fi
-
-
-
-
-
-
-
-
-# Pull the hash mark out of the macro call to avoid m4 problems.
-ac_msg="whether #! works in shell scripts"
-echo $ac_n "checking $ac_msg""... $ac_c" 1>&6
-echo "configure:1195: checking $ac_msg" >&5
-if eval "test \"`echo '$''{'ac_cv_sys_interpreter'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- echo '#! /bin/cat
-exit 69
-' > conftest
-chmod u+x conftest
-(SHELL=/bin/sh; export SHELL; ./conftest >/dev/null)
-if test $? -ne 69; then
- ac_cv_sys_interpreter=yes
-else
- ac_cv_sys_interpreter=no
-fi
-rm -f conftest
-fi
-
-echo "$ac_t""$ac_cv_sys_interpreter" 1>&6
-interpval="$ac_cv_sys_interpreter"
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1219: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- ac_dummy="$PATH"
- for ac_dir in $ac_dummy; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- ac_cv_prog_CC="gcc"
- break
- fi
- done
- IFS="$ac_save_ifs"
-fi
-fi
-CC="$ac_cv_prog_CC"
-if test -n "$CC"; then
- echo "$ac_t""$CC" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1249: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- ac_prog_rejected=no
- ac_dummy="$PATH"
- for ac_dir in $ac_dummy; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- break
- fi
- done
- IFS="$ac_save_ifs"
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# -gt 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- set dummy "$ac_dir/$ac_word" "$@"
- shift
- ac_cv_prog_CC="$@"
- fi
-fi
-fi
-fi
-CC="$ac_cv_prog_CC"
-if test -n "$CC"; then
- echo "$ac_t""$CC" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-
- if test -z "$CC"; then
- case "`uname -s`" in
- *win32* | *WIN32*)
- # Extract the first word of "cl", so it can be a program name with args.
-set dummy cl; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1300: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- ac_dummy="$PATH"
- for ac_dir in $ac_dummy; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- ac_cv_prog_CC="cl"
- break
- fi
- done
- IFS="$ac_save_ifs"
-fi
-fi
-CC="$ac_cv_prog_CC"
-if test -n "$CC"; then
- echo "$ac_t""$CC" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
- ;;
- esac
- fi
- test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
-fi
-
-echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
-echo "configure:1332: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
-
-ac_ext=c
-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
-cross_compiling=$ac_cv_prog_cc_cross
-
-cat > conftest.$ac_ext << EOF
-
-#line 1343 "configure"
-#include "confdefs.h"
-
-main(){return(0);}
-EOF
-if { (eval echo configure:1348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- ac_cv_prog_cc_works=yes
- # If we can't run a trivial program, we are probably using a cross compiler.
- if (./conftest; exit) 2>/dev/null; then
- ac_cv_prog_cc_cross=no
- else
- ac_cv_prog_cc_cross=yes
- fi
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- ac_cv_prog_cc_works=no
-fi
-rm -fr conftest*
-ac_ext=c
-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
-cross_compiling=$ac_cv_prog_cc_cross
-
-echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
-if test $ac_cv_prog_cc_works = no; then
- { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
-fi
-echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
-echo "configure:1374: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
-echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
-cross_compiling=$ac_cv_prog_cc_cross
-
-echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
-echo "configure:1379: checking whether we are using GNU C" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1388: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_prog_gcc=yes
-else
- ac_cv_prog_gcc=no
-fi
-fi
-
-echo "$ac_t""$ac_cv_prog_gcc" 1>&6
-
-if test $ac_cv_prog_gcc = yes; then
- GCC=yes
-else
- GCC=
-fi
-
-ac_test_CFLAGS="${CFLAGS+set}"
-ac_save_CFLAGS="$CFLAGS"
-CFLAGS=
-echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
-echo "configure:1407: checking whether ${CC-cc} accepts -g" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- echo 'void f(){}' > conftest.c
-if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
- ac_cv_prog_cc_g=yes
-else
- ac_cv_prog_cc_g=no
-fi
-rm -f conftest*
-
-fi
-
-echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
-
-echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
-echo "configure:1439: checking how to run the C preprocessor" >&5
-# On Suns, sometimes $CPP names a directory.
-if test -n "$CPP" && test -d "$CPP"; then
- CPP=
-fi
-if test -z "$CPP"; then
-if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- # This must be in double quotes, not single quotes, because CPP may get
- # substituted into the Makefile and "${CC-cc}" will confuse make.
- CPP="${CC-cc} -E"
- # On the NeXT, cc -E runs the code through the compiler's parser,
- # not just through cpp.
- cat > conftest.$ac_ext <<EOF
-#line 1454 "configure"
-#include "confdefs.h"
-#include <assert.h>
-Syntax Error
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1460: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- :
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- CPP="${CC-cc} -E -traditional-cpp"
- cat > conftest.$ac_ext <<EOF
-#line 1471 "configure"
-#include "confdefs.h"
-#include <assert.h>
-Syntax Error
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1477: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- :
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- CPP="${CC-cc} -nologo -E"
- cat > conftest.$ac_ext <<EOF
-#line 1488 "configure"
-#include "confdefs.h"
-#include <assert.h>
-Syntax Error
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- :
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- CPP=/lib/cpp
-fi
-rm -f conftest*
-fi
-rm -f conftest*
-fi
-rm -f conftest*
- ac_cv_prog_CPP="$CPP"
-fi
- CPP="$ac_cv_prog_CPP"
-else
- ac_cv_prog_CPP="$CPP"
-fi
-echo "$ac_t""$CPP" 1>&6
-
-if test "x$CC" != xcc; then
- echo $ac_n "checking whether $CC and cc understand -c and -o together""... $ac_c" 1>&6
-echo "configure:1520: checking whether $CC and cc understand -c and -o together" >&5
-else
- echo $ac_n "checking whether cc understands -c and -o together""... $ac_c" 1>&6
-echo "configure:1523: checking whether cc understands -c and -o together" >&5
-fi
-set dummy $CC; ac_cc="`echo $2 |
- sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`"
-if eval "test \"`echo '$''{'ac_cv_prog_cc_${ac_cc}_c_o'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- echo 'foo(){}' > conftest.c
-# Make sure it works both with $CC and with simple cc.
-# We do the test twice because some compilers refuse to overwrite an
-# existing .o file with -o, though they will create one.
-ac_try='${CC-cc} -c conftest.c -o conftest.o 1>&5'
-if { (eval echo configure:1535: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
- test -f conftest.o && { (eval echo configure:1536: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
-then
- eval ac_cv_prog_cc_${ac_cc}_c_o=yes
- if test "x$CC" != xcc; then
- # Test first that cc exists at all.
- if { ac_try='cc -c conftest.c 1>&5'; { (eval echo configure:1541: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
- ac_try='cc -c conftest.c -o conftest.o 1>&5'
- if { (eval echo configure:1543: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
- test -f conftest.o && { (eval echo configure:1544: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
- then
- # cc works too.
- :
- else
- # cc exists but doesn't like -o.
- eval ac_cv_prog_cc_${ac_cc}_c_o=no
- fi
- fi
- fi
-else
- eval ac_cv_prog_cc_${ac_cc}_c_o=no
-fi
-rm -f conftest*
-
-fi
-if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-else
- echo "$ac_t""no" 1>&6
- cat >> confdefs.h <<\EOF
-#define NO_MINUS_C_MINUS_O 1
-EOF
-
-fi
-
-
-for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
-do
-# Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1576: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test -n "$CXX"; then
- ac_cv_prog_CXX="$CXX" # Let the user override the test.
-else
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- ac_dummy="$PATH"
- for ac_dir in $ac_dummy; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- ac_cv_prog_CXX="$ac_prog"
- break
- fi
- done
- IFS="$ac_save_ifs"
-fi
-fi
-CXX="$ac_cv_prog_CXX"
-if test -n "$CXX"; then
- echo "$ac_t""$CXX" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-
-test -n "$CXX" && break
-done
-test -n "$CXX" || CXX="gcc"
-
-
-echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
-echo "configure:1608: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
-
-ac_ext=C
-# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
-ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
-cross_compiling=$ac_cv_prog_cxx_cross
-
-cat > conftest.$ac_ext << EOF
-
-#line 1619 "configure"
-#include "confdefs.h"
-
-int main(){return(0);}
-EOF
-if { (eval echo configure:1624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- ac_cv_prog_cxx_works=yes
- # If we can't run a trivial program, we are probably using a cross compiler.
- if (./conftest; exit) 2>/dev/null; then
- ac_cv_prog_cxx_cross=no
- else
- ac_cv_prog_cxx_cross=yes
- fi
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- ac_cv_prog_cxx_works=no
-fi
-rm -fr conftest*
-ac_ext=c
-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
-cross_compiling=$ac_cv_prog_cc_cross
-
-echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
-if test $ac_cv_prog_cxx_works = no; then
- { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
-fi
-echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
-echo "configure:1650: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
-echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
-cross_compiling=$ac_cv_prog_cxx_cross
-
-echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
-echo "configure:1655: checking whether we are using GNU C++" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.C <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1664: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_prog_gxx=yes
-else
- ac_cv_prog_gxx=no
-fi
-fi
-
-echo "$ac_t""$ac_cv_prog_gxx" 1>&6
-
-if test $ac_cv_prog_gxx = yes; then
- GXX=yes
-else
- GXX=
-fi
-
-ac_test_CXXFLAGS="${CXXFLAGS+set}"
-ac_save_CXXFLAGS="$CXXFLAGS"
-CXXFLAGS=
-echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
-echo "configure:1683: checking whether ${CXX-g++} accepts -g" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- echo 'void f(){}' > conftest.cc
-if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
- ac_cv_prog_cxx_g=yes
-else
- ac_cv_prog_cxx_g=no
-fi
-rm -f conftest*
-
-fi
-
-echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
-if test "$ac_test_CXXFLAGS" = set; then
- CXXFLAGS="$ac_save_CXXFLAGS"
-elif test $ac_cv_prog_cxx_g = yes; then
- if test "$GXX" = yes; then
- CXXFLAGS="-g -O2"
- else
- CXXFLAGS="-g"
- fi
-else
- if test "$GXX" = yes; then
- CXXFLAGS="-O2"
- else
- CXXFLAGS=
- fi
-fi
-
-echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
-echo "configure:1715: checking how to run the C++ preprocessor" >&5
-if test -z "$CXXCPP"; then
-if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- ac_ext=C
-# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
-ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
-cross_compiling=$ac_cv_prog_cxx_cross
- CXXCPP="${CXX-g++} -E"
- cat > conftest.$ac_ext <<EOF
-#line 1728 "configure"
-#include "confdefs.h"
-#include <stdlib.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1733: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- :
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- CXXCPP=/lib/cpp
-fi
-rm -f conftest*
- ac_cv_prog_CXXCPP="$CXXCPP"
-ac_ext=c
-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
-cross_compiling=$ac_cv_prog_cc_cross
-fi
-fi
-CXXCPP="$ac_cv_prog_CXXCPP"
-echo "$ac_t""$CXXCPP" 1>&6
-
-
-if test -n "$GXX"; then
- if g++ --version | egrep -v '^2\.[0-7]' > /dev/null; then
- ace_has_old_gcc=no
- else
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_GNUG_PRE_2_8 1
-EOF
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_GNUC_BROKEN_TEMPLATE_INLINE_FUNCTIONS 1
-EOF
- ace_has_old_gcc=yes
- fi
-fi
-
-
-
-if test X$cross_compiling = Xyes; then
- ACE_CROSS_COMPILED_TRUE=
- ACE_CROSS_COMPILED_FALSE='#'
-else
- ACE_CROSS_COMPILED_TRUE='#'
- ACE_CROSS_COMPILED_FALSE=
-fi
-
-
-
-for ac_prog in mawk gawk nawk awk
-do
-# Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1789: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test -n "$AWK"; then
- ac_cv_prog_AWK="$AWK" # Let the user override the test.
-else
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- ac_dummy="$PATH"
- for ac_dir in $ac_dummy; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- ac_cv_prog_AWK="$ac_prog"
- break
- fi
- done
- IFS="$ac_save_ifs"
-fi
-fi
-AWK="$ac_cv_prog_AWK"
-if test -n "$AWK"; then
- echo "$ac_t""$AWK" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-
-test -n "$AWK" && break
-done
-
-
-ACE_CURRENT=0
-ACE_AGE=0
-ACE_REVISION=0
-
-if test -n "$AWK"; then
- ACE_MAJOR=`echo "$ACE_VERSION" | sed 's/\./ /g' | $AWK '{ print \$1 }'`
- ACE_MINOR=`echo "$ACE_VERSION" | sed 's/\./ /g' | $AWK '{ print \$2 }'`
- ACE_BETA=`echo "$ACE_VERSION" | sed 's/\./ /g' | $AWK '{ print \$3 }'`
-
-ACE_CURRENT=`expr $ACE_MAJOR + $ACE_MINOR`
-ACE_AGE=$ACE_MINOR
-ACE_REVISION=$ACE_BETA
-
-fi
-
-
-
-
-
-
-echo $ac_n "checking for AIX""... $ac_c" 1>&6
-echo "configure:1840: checking for AIX" >&5
-cat > conftest.$ac_ext <<EOF
-#line 1842 "configure"
-#include "confdefs.h"
-#ifdef _AIX
- yes
-#endif
-
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "yes" >/dev/null 2>&1; then
- rm -rf conftest*
- echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF
-#define _ALL_SOURCE 1
-EOF
-
-else
- rm -rf conftest*
- echo "$ac_t""no" 1>&6
-fi
-rm -f conftest*
-
-
-echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
-echo "configure:1864: checking for POSIXized ISC" >&5
-if test -d /etc/conf/kconfig.d &&
- grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
-then
- echo "$ac_t""yes" 1>&6
- ISC=yes # If later tests want to check for ISC.
- cat >> confdefs.h <<\EOF
-#define _POSIX_SOURCE 1
-EOF
-
- if test "$GCC" = yes; then
- CC="$CC -posix"
- else
- CC="$CC -Xp"
- fi
-else
- echo "$ac_t""no" 1>&6
- ISC=
-fi
-
-ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6
-echo "configure:1886: checking for minix/config.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 1891 "configure"
-#include "confdefs.h"
-#include <minix/config.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1896: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- MINIX=yes
-else
- echo "$ac_t""no" 1>&6
-MINIX=
-fi
-
-if test "$MINIX" = yes; then
- cat >> confdefs.h <<\EOF
-#define _POSIX_SOURCE 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define _POSIX_1_SOURCE 2
-EOF
-
- cat >> confdefs.h <<\EOF
-#define _MINIX 1
-EOF
-
-fi
-
-echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
-echo "configure:1934: checking for Cygwin environment" >&5
-if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 1939 "configure"
-#include "confdefs.h"
-
-int main() {
-
-#ifndef __CYGWIN__
-#define __CYGWIN__ __CYGWIN32__
-#endif
-return __CYGWIN__;
-; return 0; }
-EOF
-if { (eval echo configure:1950: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- ac_cv_cygwin=yes
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- ac_cv_cygwin=no
-fi
-rm -f conftest*
-rm -f conftest*
-fi
-
-echo "$ac_t""$ac_cv_cygwin" 1>&6
-CYGWIN=
-test "$ac_cv_cygwin" = yes && CYGWIN=yes
-
-ACE_CXXFLAGS=""
-ACE_CFLAGS=""
-
-ac_ext=C
-# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
-ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
-cross_compiling=$ac_cv_prog_cxx_cross
-
-
-echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
-echo "configure:1979: checking whether ln -s works" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- rm -f conftestdata
-if ln -s X conftestdata 2>/dev/null
-then
- rm -f conftestdata
- ac_cv_prog_LN_S="ln -s"
-else
- ac_cv_prog_LN_S=ln
-fi
-fi
-LN_S="$ac_cv_prog_LN_S"
-if test "$ac_cv_prog_LN_S" = "ln -s"; then
- echo "$ac_t""yes" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-missing_dir=`cd $ac_aux_dir && pwd`
-for ac_prog in flex lex
-do
-# Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2006: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test -n "$LEX"; then
- ac_cv_prog_LEX="$LEX" # Let the user override the test.
-else
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- ac_dummy="$PATH"
- for ac_dir in $ac_dummy; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- ac_cv_prog_LEX="$ac_prog"
- break
- fi
- done
- IFS="$ac_save_ifs"
-fi
-fi
-LEX="$ac_cv_prog_LEX"
-if test -n "$LEX"; then
- echo "$ac_t""$LEX" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-
-test -n "$LEX" && break
-done
-test -n "$LEX" || LEX=""$missing_dir/missing flex""
-
-# Extract the first word of "flex", so it can be a program name with args.
-set dummy flex; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2039: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test -n "$LEX"; then
- ac_cv_prog_LEX="$LEX" # Let the user override the test.
-else
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- ac_dummy="$PATH"
- for ac_dir in $ac_dummy; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- ac_cv_prog_LEX="flex"
- break
- fi
- done
- IFS="$ac_save_ifs"
- test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX="lex"
-fi
-fi
-LEX="$ac_cv_prog_LEX"
-if test -n "$LEX"; then
- echo "$ac_t""$LEX" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-
-if test -z "$LEXLIB"
-then
- case "$LEX" in
- flex*) ac_lib=fl ;;
- *) ac_lib=l ;;
- esac
- echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
-echo "configure:2073: checking for yywrap in -l$ac_lib" >&5
-ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- ac_save_LIBS="$LIBS"
-LIBS="-l$ac_lib $LIBS"
-cat > conftest.$ac_ext <<EOF
-#line 2081 "configure"
-#include "confdefs.h"
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char yywrap();
-
-int main() {
-yywrap()
-; return 0; }
-EOF
-if { (eval echo configure:2095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=no"
-fi
-rm -f conftest*
-LIBS="$ac_save_LIBS"
-
-fi
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- LEXLIB="-l$ac_lib"
-else
- echo "$ac_t""no" 1>&6
-fi
-
-fi
-
-echo $ac_n "checking lex output file root""... $ac_c" 1>&6
-echo "configure:2118: checking lex output file root" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- # The minimal lex program is just a single line: %%. But some broken lexes
-# (Solaris, I think it was) want two %% lines, so accommodate them.
-echo '%%
-%%' | $LEX
-if test -f lex.yy.c; then
- ac_cv_prog_lex_root=lex.yy
-elif test -f lexyy.c; then
- ac_cv_prog_lex_root=lexyy
-else
- { echo "configure: error: cannot find output from $LEX; giving up" 1>&2; exit 1; }
-fi
-fi
-
-echo "$ac_t""$ac_cv_prog_lex_root" 1>&6
-LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
-
-echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6
-echo "configure:2139: checking whether yytext is a pointer" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- # POSIX says lex can declare yytext either as a pointer or an array; the
-# default is implementation-dependent. Figure out which it is, since
-# not all implementations provide the %pointer and %array declarations.
-ac_cv_prog_lex_yytext_pointer=no
-echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
-ac_save_LIBS="$LIBS"
-LIBS="$LIBS $LEXLIB"
-cat > conftest.$ac_ext <<EOF
-#line 2151 "configure"
-#include "confdefs.h"
-`cat $LEX_OUTPUT_ROOT.c`
-int main() {
-
-; return 0; }
-EOF
-if { (eval echo configure:2158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- ac_cv_prog_lex_yytext_pointer=yes
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
-fi
-rm -f conftest*
-LIBS="$ac_save_LIBS"
-rm -f "${LEX_OUTPUT_ROOT}.c"
-
-fi
-
-echo "$ac_t""$ac_cv_prog_lex_yytext_pointer" 1>&6
-if test $ac_cv_prog_lex_yytext_pointer = yes; then
- cat >> confdefs.h <<\EOF
-#define YYTEXT_POINTER 1
-EOF
-
-fi
-
-
-for ac_prog in 'bison -y' byacc
-do
-# Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2185: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test -n "$YACC"; then
- ac_cv_prog_YACC="$YACC" # Let the user override the test.
-else
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- ac_dummy="$PATH"
- for ac_dir in $ac_dummy; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- ac_cv_prog_YACC="$ac_prog"
- break
- fi
- done
- IFS="$ac_save_ifs"
-fi
-fi
-YACC="$ac_cv_prog_YACC"
-if test -n "$YACC"; then
- echo "$ac_t""$YACC" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-
-test -n "$YACC" && break
-done
-test -n "$YACC" || YACC="yacc"
-
-
-# Extract the first word of "gperf", so it can be a program name with args.
-set dummy gperf; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2219: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_GPERF'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test -n "$GPERF"; then
- ac_cv_prog_GPERF="$GPERF" # Let the user override the test.
-else
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- ac_dummy="$PATH"
- for ac_dir in $ac_dummy; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- ac_cv_prog_GPERF="gperf"
- break
- fi
- done
- IFS="$ac_save_ifs"
-fi
-fi
-GPERF="$ac_cv_prog_GPERF"
-if test -n "$GPERF"; then
- echo "$ac_t""$GPERF" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-
-for ac_prog in gprof prof
-do
-# Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2250: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_PROF'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test -n "$PROF"; then
- ac_cv_prog_PROF="$PROF" # Let the user override the test.
-else
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- ac_dummy="$PATH"
- for ac_dir in $ac_dummy; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- ac_cv_prog_PROF="$ac_prog"
- break
- fi
- done
- IFS="$ac_save_ifs"
-fi
-fi
-PROF="$ac_cv_prog_PROF"
-if test -n "$PROF"; then
- echo "$ac_t""$PROF" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-
-test -n "$PROF" && break
-done
-
-
-echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
-echo "configure:2281: checking whether to enable maintainer-specific portions of Makefiles" >&5
- # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
-if test "${enable_maintainer_mode+set}" = set; then
- enableval="$enable_maintainer_mode"
- USE_MAINTAINER_MODE=$enableval
-else
- USE_MAINTAINER_MODE=no
-fi
-
- echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
-
-
-if test $USE_MAINTAINER_MODE = yes; then
- MAINTAINER_MODE_TRUE=
- MAINTAINER_MODE_FALSE='#'
-else
- MAINTAINER_MODE_TRUE='#'
- MAINTAINER_MODE_FALSE=
-fi
- MAINT=$MAINTAINER_MODE_TRUE
-
-
-
-
-
-
-# Check whether --enable-lib-all or --disable-lib-all was given.
-if test "${enable_lib_all+set}" = set; then
- enableval="$enable_lib_all"
-
- case "${enableval}" in
- yes)
- ace_user_enable_lib_all=yes
- ;;
- no)
- ace_user_enable_lib_all=no
- ;;
- *)
- { echo "configure: error: bad value ${enableval} for --enable-lib-all" 1>&2; exit 1; }
- ;;
- esac
-
-else
-
- ace_user_enable_lib_all=yes
-
-fi
-
-
-# Check whether --enable-lib-full or --disable-lib-full was given.
-if test "${enable_lib_full+set}" = set; then
- enableval="$enable_lib_full"
-
- case "${enableval}" in
- yes)
- ace_user_enable_lib_full=yes
- ;;
- no)
- ace_user_enable_lib_full=no
- ;;
- *)
- { echo "configure: error: bad value ${enableval} for --enable-lib-full" 1>&2; exit 1; }
- ;;
- esac
-
-else
-
- ace_user_enable_lib_full=yes
-
-fi
-
-
-# Check whether --enable-lib-os or --disable-lib-os was given.
-if test "${enable_lib_os+set}" = set; then
- enableval="$enable_lib_os"
-
- case "${enableval}" in
- yes)
-
- ace_user_enable_lib_os=yes
-
- ;;
- no)
- ace_user_enable_lib_os=no
- ;;
- *)
- { echo "configure: error: bad value ${enableval} for --enable-lib-os" 1>&2; exit 1; }
- ;;
- esac
-
- ace_user_enable_lib_full=no
-
-fi
-
-
-# Check whether --enable-lib-utils or --disable-lib-utils was given.
-if test "${enable_lib_utils+set}" = set; then
- enableval="$enable_lib_utils"
-
- case "${enableval}" in
- yes)
-
- ace_user_enable_lib_utils=yes
-
-
- ace_user_enable_lib_os=yes
-
-
- ;;
- no)
- ace_user_enable_lib_utils=no
- ;;
- *)
- { echo "configure: error: bad value ${enableval} for --enable-lib-utils" 1>&2; exit 1; }
- ;;
- esac
-
- ace_user_enable_lib_full=no
-
-fi
-
-
-# Check whether --enable-lib-logging or --disable-lib-logging was given.
-if test "${enable_lib_logging+set}" = set; then
- enableval="$enable_lib_logging"
-
- case "${enableval}" in
- yes)
-
- ace_user_enable_lib_logging=yes
-
-
- ace_user_enable_lib_os=yes
-
-
- ;;
- no)
- ace_user_enable_lib_logging=no
- ;;
- *)
- { echo "configure: error: bad value ${enableval} for --enable-lib-logging" 1>&2; exit 1; }
- ;;
- esac
-
- ace_user_enable_lib_full=no
-
-fi
-
-
-# Check whether --enable-lib-threads or --disable-lib-threads was given.
-if test "${enable_lib_threads+set}" = set; then
- enableval="$enable_lib_threads"
-
- case "${enableval}" in
- yes)
-
- ace_user_enable_lib_threads=yes
-
-
- ace_user_enable_lib_os=yes
-
-
- ;;
- no)
- ace_user_enable_lib_threads=no
- ;;
- *)
- { echo "configure: error: bad value ${enableval} for --enable-lib-threads" 1>&2; exit 1; }
- ;;
- esac
-
- ace_user_enable_lib_full=no
-
-fi
-
-
-# Check whether --enable-lib-demux or --disable-lib-demux was given.
-if test "${enable_lib_demux+set}" = set; then
- enableval="$enable_lib_demux"
-
- case "${enableval}" in
- yes)
-
- ace_user_enable_lib_demux=yes
-
-
- ace_user_enable_lib_os=yes
-
-
- ace_user_enable_lib_threads=yes
-
-
- ace_user_enable_lib_os=yes
-
-
-
- ;;
- no)
- ace_user_enable_lib_demux=no
- ;;
- *)
- { echo "configure: error: bad value ${enableval} for --enable-lib-demux" 1>&2; exit 1; }
- ;;
- esac
-
- ace_user_enable_lib_full=no
-
-fi
-
-
-# Check whether --enable-lib-connection or --disable-lib-connection was given.
-if test "${enable_lib_connection+set}" = set; then
- enableval="$enable_lib_connection"
-
- case "${enableval}" in
- yes)
-
- ace_user_enable_lib_connection=yes
-
-
- ace_user_enable_lib_os=yes
-
-
- ace_user_enable_lib_threads=yes
-
-
- ace_user_enable_lib_os=yes
-
-
-
- ace_user_enable_lib_demux=yes
-
-
- ace_user_enable_lib_os=yes
-
-
- ace_user_enable_lib_threads=yes
-
-
- ace_user_enable_lib_os=yes
-
-
-
-
- ;;
- no)
- ace_user_enable_lib_connection=no
- ;;
- *)
- { echo "configure: error: bad value ${enableval} for --enable-lib-connection" 1>&2; exit 1; }
- ;;
- esac
-
- ace_user_enable_lib_full=no
-
-fi
-
-
-# Check whether --enable-lib-sockets or --disable-lib-sockets was given.
-if test "${enable_lib_sockets+set}" = set; then
- enableval="$enable_lib_sockets"
-
- case "${enableval}" in
- yes)
-
- ace_user_enable_lib_sockets=yes
-
-
- ace_user_enable_lib_os=yes
-
-
- ;;
- no)
- ace_user_enable_lib_sockets=no
- ;;
- *)
- { echo "configure: error: bad value ${enableval} for --enable-lib-sockets" 1>&2; exit 1; }
- ;;
- esac
-
- ace_user_enable_lib_full=no
-
-fi
-
-
-# Check whether --enable-lib-ipc or --disable-lib-ipc was given.
-if test "${enable_lib_ipc+set}" = set; then
- enableval="$enable_lib_ipc"
-
- case "${enableval}" in
- yes)
-
- ace_user_enable_lib_ipc=yes
-
-
- ace_user_enable_lib_os=yes
-
-
- ace_user_enable_lib_sockets=yes
-
-
- ace_user_enable_lib_os=yes
-
-
-
- ;;
- no)
- ace_user_enable_lib_ipc=no
- ;;
- *)
- { echo "configure: error: bad value ${enableval} for --enable-lib-ipc" 1>&2; exit 1; }
- ;;
- esac
-
- ace_user_enable_lib_full=no
-
-fi
-
-
-# Check whether --enable-lib-svcconf or --disable-lib-svcconf was given.
-if test "${enable_lib_svcconf+set}" = set; then
- enableval="$enable_lib_svcconf"
-
- case "${enableval}" in
- yes)
-
- ace_user_enable_lib_svcconf=yes
-
-
- ace_user_enable_lib_os=yes
-
-
- ace_user_enable_lib_threads=yes
-
-
- ace_user_enable_lib_os=yes
-
-
-
- ace_user_enable_lib_demux=yes
-
-
- ace_user_enable_lib_os=yes
-
-
- ace_user_enable_lib_threads=yes
-
-
- ace_user_enable_lib_os=yes
-
-
-
-
- ace_user_enable_lib_sockets=yes
-
-
- ace_user_enable_lib_os=yes
-
-
-
- ;;
- no)
- ace_user_enable_lib_svcconf=no
- ;;
- *)
- { echo "configure: error: bad value ${enableval} for --enable-lib-svcconf" 1>&2; exit 1; }
- ;;
- esac
-
- ace_user_enable_lib_full=no
-
-fi
-
-
-# Check whether --enable-lib-streams or --disable-lib-streams was given.
-if test "${enable_lib_streams+set}" = set; then
- enableval="$enable_lib_streams"
-
- case "${enableval}" in
- yes)
-
- ace_user_enable_lib_streams=yes
-
-
- ace_user_enable_lib_os=yes
-
-
- ace_user_enable_lib_threads=yes
-
-
- ace_user_enable_lib_os=yes
-
-
-
- ace_user_enable_lib_demux=yes
-
-
- ace_user_enable_lib_os=yes
-
-
- ace_user_enable_lib_threads=yes
-
-
- ace_user_enable_lib_os=yes
-
-
-
-
- ;;
- no)
- ace_user_enable_lib_streams=no
- ;;
- *)
- { echo "configure: error: bad value ${enableval} for --enable-lib-streams" 1>&2; exit 1; }
- ;;
- esac
-
- ace_user_enable_lib_full=no
-
-fi
-
-
-# Check whether --enable-lib-memory or --disable-lib-memory was given.
-if test "${enable_lib_memory+set}" = set; then
- enableval="$enable_lib_memory"
-
- case "${enableval}" in
- yes)
-
- ace_user_enable_lib_memory=yes
-
-
- ace_user_enable_lib_os=yes
-
-
- ;;
- no)
- ace_user_enable_lib_memory=no
- ;;
- *)
- { echo "configure: error: bad value ${enableval} for --enable-lib-memory" 1>&2; exit 1; }
- ;;
- esac
-
- ace_user_enable_lib_full=no
-
-fi
-
-
-# Check whether --enable-lib-token or --disable-lib-token was given.
-if test "${enable_lib_token+set}" = set; then
- enableval="$enable_lib_token"
-
- case "${enableval}" in
- yes)
-
- ace_user_enable_lib_token=yes
-
-
- ace_user_enable_lib_os=yes
-
-
- ace_user_enable_lib_utils=yes
-
-
- ace_user_enable_lib_os=yes
-
-
-
- ace_user_enable_lib_logging=yes
-
-
- ace_user_enable_lib_os=yes
-
-
-
- ace_user_enable_lib_threads=yes
-
-
- ace_user_enable_lib_os=yes
-
-
-
- ace_user_enable_lib_demux=yes
-
-
- ace_user_enable_lib_os=yes
-
-
- ace_user_enable_lib_threads=yes
-
-
- ace_user_enable_lib_os=yes
-
-
-
-
- ace_user_enable_lib_connection=yes
-
-
- ace_user_enable_lib_os=yes
-
-
- ace_user_enable_lib_threads=yes
-
-
- ace_user_enable_lib_os=yes
-
-
-
- ace_user_enable_lib_demux=yes
-
-
- ace_user_enable_lib_os=yes
-
-
- ace_user_enable_lib_threads=yes
-
-
- ace_user_enable_lib_os=yes
-
-
-
-
-
- ace_user_enable_lib_sockets=yes
-
-
- ace_user_enable_lib_os=yes
-
-
-
- ace_user_enable_lib_ipc=yes
-
-
- ace_user_enable_lib_os=yes
-
-
- ace_user_enable_lib_sockets=yes
-
-
- ace_user_enable_lib_os=yes
-
-
-
-
- ace_user_enable_lib_svcconf=yes
-
-
- ace_user_enable_lib_os=yes
-
-
- ace_user_enable_lib_threads=yes
-
-
- ace_user_enable_lib_os=yes
-
-
-
- ace_user_enable_lib_demux=yes
-
-
- ace_user_enable_lib_os=yes
-
-
- ace_user_enable_lib_threads=yes
-
-
- ace_user_enable_lib_os=yes
-
-
-
-
- ace_user_enable_lib_sockets=yes
-
-
- ace_user_enable_lib_os=yes
-
-
-
-
- ace_user_enable_lib_streams=yes
-
-
- ace_user_enable_lib_os=yes
-
-
- ace_user_enable_lib_threads=yes
-
-
- ace_user_enable_lib_os=yes
-
-
-
- ace_user_enable_lib_demux=yes
-
-
- ace_user_enable_lib_os=yes
-
-
- ace_user_enable_lib_threads=yes
-
-
- ace_user_enable_lib_os=yes
-
-
-
-
-
- ace_user_enable_lib_memory=yes
-
-
- ace_user_enable_lib_os=yes
-
-
-
- ;;
- no)
- ace_user_enable_lib_token=no
- ;;
- *)
- { echo "configure: error: bad value ${enableval} for --enable-lib-token" 1>&2; exit 1; }
- ;;
- esac
-
- ace_user_enable_lib_full=no
-
-fi
-
-
-# Check whether --enable-lib-other or --disable-lib-other was given.
-if test "${enable_lib_other+set}" = set; then
- enableval="$enable_lib_other"
-
- case "${enableval}" in
- yes)
-
- ace_user_enable_lib_other=yes
-
-
- ace_user_enable_lib_os=yes
-
-
- ace_user_enable_lib_utils=yes
-
-
- ace_user_enable_lib_os=yes
-
-
-
- ace_user_enable_lib_logging=yes
-
-
- ace_user_enable_lib_os=yes
-
-
-
- ace_user_enable_lib_threads=yes
-
-
- ace_user_enable_lib_os=yes
-
-
-
- ace_user_enable_lib_demux=yes
-
-
- ace_user_enable_lib_os=yes
-
-
- ace_user_enable_lib_threads=yes
-
-
- ace_user_enable_lib_os=yes
-
-
-
-
- ace_user_enable_lib_connection=yes
-
-
- ace_user_enable_lib_os=yes
-
-
- ace_user_enable_lib_threads=yes
-
-
- ace_user_enable_lib_os=yes
-
-
-
- ace_user_enable_lib_demux=yes
-
-
- ace_user_enable_lib_os=yes
-
-
- ace_user_enable_lib_threads=yes
-
-
- ace_user_enable_lib_os=yes
-
-
-
-
-
- ace_user_enable_lib_sockets=yes
-
-
- ace_user_enable_lib_os=yes
-
-
-
- ace_user_enable_lib_ipc=yes
-
-
- ace_user_enable_lib_os=yes
-
-
- ace_user_enable_lib_sockets=yes
-
-
- ace_user_enable_lib_os=yes
-
-
-
-
- ace_user_enable_lib_svcconf=yes
-
-
- ace_user_enable_lib_os=yes
-
-
- ace_user_enable_lib_threads=yes
-
-
- ace_user_enable_lib_os=yes
-
-
-
- ace_user_enable_lib_demux=yes
-
-
- ace_user_enable_lib_os=yes
-
-
- ace_user_enable_lib_threads=yes
-
-
- ace_user_enable_lib_os=yes
-
-
-
-
- ace_user_enable_lib_sockets=yes
-
-
- ace_user_enable_lib_os=yes
-
-
-
-
- ace_user_enable_lib_streams=yes
-
-
- ace_user_enable_lib_os=yes
-
-
- ace_user_enable_lib_threads=yes
-
-
- ace_user_enable_lib_os=yes
-
-
-
- ace_user_enable_lib_demux=yes
-
-
- ace_user_enable_lib_os=yes
-
-
- ace_user_enable_lib_threads=yes
-
-
- ace_user_enable_lib_os=yes
-
-
-
-
-
- ace_user_enable_lib_memory=yes
-
-
- ace_user_enable_lib_os=yes
-
-
-
- ;;
- no)
- ace_user_enable_lib_other=no
- ;;
- *)
- { echo "configure: error: bad value ${enableval} for --enable-lib-other" 1>&2; exit 1; }
- ;;
- esac
-
- ace_user_enable_lib_full=no
-
-fi
-
-
-
-if test $ace_user_enable_lib_all = yes; then
-
-
- ace_user_enable_lib_os=yes
- ace_user_enable_lib_utils=yes
- ace_user_enable_lib_logging=yes
- ace_user_enable_lib_threads=yes
- ace_user_enable_lib_demux=yes
- ace_user_enable_lib_connection=yes
- ace_user_enable_lib_sockets=yes
- ace_user_enable_lib_ipc=yes
- ace_user_enable_lib_svcconf=yes
- ace_user_enable_lib_streams=yes
- ace_user_enable_lib_memory=yes
- ace_user_enable_lib_token=yes
- ace_user_enable_lib_other=yes
-
-
-elif test $ace_user_enable_lib_all = no; then
-
-
- ace_user_enable_lib_os=no
- ace_user_enable_lib_utils=no
- ace_user_enable_lib_logging=no
- ace_user_enable_lib_threads=no
- ace_user_enable_lib_demux=no
- ace_user_enable_lib_connection=no
- ace_user_enable_lib_sockets=no
- ace_user_enable_lib_ipc=no
- ace_user_enable_lib_svcconf=no
- ace_user_enable_lib_streams=no
- ace_user_enable_lib_memory=no
- ace_user_enable_lib_token=no
- ace_user_enable_lib_other=no
-
-
-fi
-
-if test $ace_user_enable_lib_full = no &&
- test $ace_user_enable_lib_os = no &&
- test $ace_user_enable_lib_utils = no &&
- test $ace_user_enable_lib_logging = no &&
- test $ace_user_enable_lib_threads = no &&
- test $ace_user_enable_lib_demux = no &&
- test $ace_user_enable_lib_connection = no &&
- test $ace_user_enable_lib_sockets = no &&
- test $ace_user_enable_lib_ipc = no &&
- test $ace_user_enable_lib_svcconf = no &&
- test $ace_user_enable_lib_streams = no &&
- test $ace_user_enable_lib_memory = no &&
- test $ace_user_enable_lib_token = no &&
- test $ace_user_enable_lib_other = no; then
-
- { echo "configure: error: no ACE components will be built. Specify which components to build" 1>&2; exit 1; }
-
-fi
-
-
-if test X$ace_user_enable_lib_os = Xyes; then
- BUILD_OS_FILES_TRUE=
- BUILD_OS_FILES_FALSE='#'
-else
- BUILD_OS_FILES_TRUE='#'
- BUILD_OS_FILES_FALSE=
-fi
-
-
-
-if test X$ace_user_enable_lib_utils = Xyes; then
- BUILD_UTILS_FILES_TRUE=
- BUILD_UTILS_FILES_FALSE='#'
-else
- BUILD_UTILS_FILES_TRUE='#'
- BUILD_UTILS_FILES_FALSE=
-fi
-
-
-
-if test X$ace_user_enable_lib_logging = Xyes; then
- BUILD_LOGGING_FILES_TRUE=
- BUILD_LOGGING_FILES_FALSE='#'
-else
- BUILD_LOGGING_FILES_TRUE='#'
- BUILD_LOGGING_FILES_FALSE=
-fi
-
-
-
-if test X$ace_user_enable_lib_threads = Xyes; then
- BUILD_THREADS_FILES_TRUE=
- BUILD_THREADS_FILES_FALSE='#'
-else
- BUILD_THREADS_FILES_TRUE='#'
- BUILD_THREADS_FILES_FALSE=
-fi
-
-
-
-if test X$ace_user_enable_lib_demux = Xyes; then
- BUILD_DEMUX_FILES_TRUE=
- BUILD_DEMUX_FILES_FALSE='#'
-else
- BUILD_DEMUX_FILES_TRUE='#'
- BUILD_DEMUX_FILES_FALSE=
-fi
-
-
-
-if test X$ace_user_enable_lib_connection = Xyes; then
- BUILD_CONNECTION_FILES_TRUE=
- BUILD_CONNECTION_FILES_FALSE='#'
-else
- BUILD_CONNECTION_FILES_TRUE='#'
- BUILD_CONNECTION_FILES_FALSE=
-fi
-
-
-
-if test X$ace_user_enable_lib_sockets = Xyes; then
- BUILD_SOCKETS_FILES_TRUE=
- BUILD_SOCKETS_FILES_FALSE='#'
-else
- BUILD_SOCKETS_FILES_TRUE='#'
- BUILD_SOCKETS_FILES_FALSE=
-fi
-
-
-
-if test X$ace_user_enable_lib_ipc = Xyes; then
- BUILD_IPC_FILES_TRUE=
- BUILD_IPC_FILES_FALSE='#'
-else
- BUILD_IPC_FILES_TRUE='#'
- BUILD_IPC_FILES_FALSE=
-fi
-
-
-
-if test X$ace_user_enable_lib_svcconf = Xyes; then
- BUILD_SVCCONF_FILES_TRUE=
- BUILD_SVCCONF_FILES_FALSE='#'
-else
- BUILD_SVCCONF_FILES_TRUE='#'
- BUILD_SVCCONF_FILES_FALSE=
-fi
-
-
-
-if test X$ace_user_enable_lib_streams = Xyes; then
- BUILD_STREAMS_FILES_TRUE=
- BUILD_STREAMS_FILES_FALSE='#'
-else
- BUILD_STREAMS_FILES_TRUE='#'
- BUILD_STREAMS_FILES_FALSE=
-fi
-
-
-
-if test X$ace_user_enable_lib_memory = Xyes; then
- BUILD_MEMORY_FILES_TRUE=
- BUILD_MEMORY_FILES_FALSE='#'
-else
- BUILD_MEMORY_FILES_TRUE='#'
- BUILD_MEMORY_FILES_FALSE=
-fi
-
-
-
-if test X$ace_user_enable_lib_token = Xyes; then
- BUILD_TOKEN_FILES_TRUE=
- BUILD_TOKEN_FILES_FALSE='#'
-else
- BUILD_TOKEN_FILES_TRUE='#'
- BUILD_TOKEN_FILES_FALSE=
-fi
-
-
-
-if test X$ace_user_enable_lib_other = Xyes; then
- BUILD_OTHER_FILES_TRUE=
- BUILD_OTHER_FILES_FALSE='#'
-else
- BUILD_OTHER_FILES_TRUE='#'
- BUILD_OTHER_FILES_FALSE=
-fi
-
-
-
-if test X$ace_user_enable_lib_full = Xyes; then
- BUILD_FULL_LIBRARY_TRUE=
- BUILD_FULL_LIBRARY_FALSE='#'
-else
- BUILD_FULL_LIBRARY_TRUE='#'
- BUILD_FULL_LIBRARY_FALSE=
-fi
-
-
-
-# Check whether --enable-debug or --disable-debug was given.
-if test "${enable_debug+set}" = set; then
- enableval="$enable_debug"
-
- case "${enableval}" in
- yes)
- ACE_CXXFLAGS="$ACE_CXXFLAGS $DCXXFLAGS"
- ;;
- no)
- cat >> confdefs.h <<\EOF
-#define ACE_NDEBUG 1
-EOF
-
- ;;
- *)
- { echo "configure: error: bad value ${enableval} for --enable-debug" 1>&2; exit 1; }
- ;;
- esac
-
-fi
-
-
-# Check whether --enable-exceptions or --disable-exceptions was given.
-if test "${enable_exceptions+set}" = set; then
- enableval="$enable_exceptions"
-
- case "${enableval}" in
- yes)
- ace_user_enable_exceptions=yes
- ;;
- no)
- ace_user_enable_exceptions=no
- if test -n "$GXX"; then
- if g++ --version | egrep -v '^2\.[0-7]' > /dev/null; then
- ACE_CXXFLAGS="$ACE_CXXFLAGS -fno-exceptions"
- fi
- fi
- if test -n "$GCC"; then
- if gcc --version | egrep -v '^2\.[0-7]' > /dev/null; then
- ACE_CFLAGS="$ACE_CFLAGS -fno-exceptions"
- fi
- fi
- ;;
- *)
- { echo "configure: error: bad value ${enableval} for --enable-exceptions" 1>&2; exit 1; }
- ;;
- esac
-
-else
-
- ace_user_enable_exceptions=yes
-
-fi
-
-
-
-# Check whether --enable-fast or --disable-fast was given.
-if test "${enable_fast+set}" = set; then
- enableval="$enable_fast"
-
- case "${enableval}" in
- yes)
- ACE_CXXFLAGS="$ACE_CXXFLAGS -fast"
- ACE_CFLAGS="$ACE_CFLAGS -fast"
- ;;
- no)
- ;;
- *)
- { echo "configure: error: bad value ${enableval} for --enable-fast" 1>&2; exit 1; }
- ;;
- esac
-
-fi
-
-
-# Check whether --enable-inline or --disable-inline was given.
-if test "${enable_inline+set}" = set; then
- enableval="$enable_inline"
-
- case "${enableval}" in
- yes)
- cat >> confdefs.h <<\EOF
-#define __ACE_INLINE__ 1
-EOF
-
- ;;
- no)
- cat >> confdefs.h <<\EOF
-#define ACE_NO_INLINE 1
-EOF
-
- ;;
- *)
- { echo "configure: error: bad value ${enableval} for --enable-inline" 1>&2; exit 1; }
- ;;
- esac
-
-else
-
- cat >> confdefs.h <<\EOF
-#define __ACE_INLINE__ 1
-EOF
-
-
-fi
-
-
-# Check whether --enable-log-msg-prop or --disable-log-msg-prop was given.
-if test "${enable_log_msg_prop+set}" = set; then
- enableval="$enable_log_msg_prop"
-
- case "${enableval}" in
- yes)
- ;;
- no)
- cat >> confdefs.h <<\EOF
-#define ACE_THREADS_DONT_INHERIT_LOG_MSG 1
-EOF
-
- ;;
- *)
- { echo "configure: error: bad value ${enableval} for --enable-log-msg-prop" 1>&2; exit 1; }
- ;;
- esac
-
-fi
-
-
-# Check whether --enable-logging or --disable-logging was given.
-if test "${enable_logging+set}" = set; then
- enableval="$enable_logging"
-
- case "${enableval}" in
- yes)
- ;;
- no)
- cat >> confdefs.h <<\EOF
-#define ACE_NLOGGING 1
-EOF
-
- ;;
- *)
- { echo "configure: error: bad value ${enableval} for --enable-logging" 1>&2; exit 1; }
- ;;
- esac
-
-fi
-
-
-# Check whether --enable-malloc-stats or --disable-malloc-stats was given.
-if test "${enable_malloc_stats+set}" = set; then
- enableval="$enable_malloc_stats"
-
- case "${enableval}" in
- yes)
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_MALLOC_STATS 1
-EOF
-
- ;;
- no)
- ;;
- *)
- { echo "configure: error: bad value ${enableval} for --enable-malloc-stats" 1>&2; exit 1; }
- ;;
- esac
-
-fi
-
-
-# Check whether --enable-optimize or --disable-optimize was given.
-if test "${enable_optimize+set}" = set; then
- enableval="$enable_optimize"
-
- case "${enableval}" in
- yes)
- ace_user_enable_optimize=yes
- ;;
- no)
- echo "configure: warning: Optimization configure support not implemented yet." 1>&2
- ;;
- *)
- { echo "configure: error: bad value ${enableval} for --enable-optimize" 1>&2; exit 1; }
- ;;
- esac
-
-else
-
- ace_user_enable_optimize=yes
-
-fi
-
-
-# Check whether --enable-probe or --disable-probe was given.
-if test "${enable_probe+set}" = set; then
- enableval="$enable_probe"
-
- case "${enableval}" in
- yes)
- cat >> confdefs.h <<\EOF
-#define ACE_COMPILE_TIMEPROBES 1
-EOF
-
- ;;
- no)
- ;;
- *)
- { echo "configure: error: bad value ${enableval} for --enable-probe" 1>&2; exit 1; }
- ;;
- esac
-
-fi
-
-
-# Check whether --enable-profile or --disable-profile was given.
-if test "${enable_profile+set}" = set; then
- enableval="$enable_profile"
-
- case "${enableval}" in
- yes)
- if test -z "$PROF"; then
- echo "configure: warning: No profiling program found. Assuming 'prof' exists" 1>&2
- ACE_CXXFLAGS="$ACE_CXXFLAGS -p"
- ACE_CFLAGS="$ACE_CFLAGS -p"
- else
- case "$PROF" in
- gprof)
- echo "Building with 'gprof' support"
- ACE_CXXFLAGS="$ACE_CXXFLAGS -pg"
- ACE_CFLAGS="$ACE_CFLAGS -pg"
- ;;
- prof)
- echo "Building with 'prof' support"
- ACE_CXXFLAGS="$ACE_CXXFLAGS -p"
- ACE_CFLAGS="$ACE_CFLAGS -p"
- ;;
- *)
- echo "configure: warning: Assuming 'prof' exists" 1>&2
- ACE_CXXFLAGS="$ACE_CXXFLAGS -p"
- ACE_CFLAGS="$ACE_CFLAGS -p"
- ;;
- esac
- fi
- ;;
- no)
- ;;
- *)
- { echo "configure: error: bad value ${enableval} for --enable-profile" 1>&2; exit 1; }
- ;;
- esac
-
-fi
-
-
-# Check whether --enable-purify or --disable-purify was given.
-if test "${enable_purify+set}" = set; then
- enableval="$enable_purify"
-
- case "${enableval}" in
- yes)
- # Extract the first word of "purify", so it can be a program name with args.
-set dummy purify; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3554: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_PURIFY'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test -n "$PURIFY"; then
- ac_cv_prog_PURIFY="$PURIFY" # Let the user override the test.
-else
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- ac_dummy="$PATH"
- for ac_dir in $ac_dummy; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- ac_cv_prog_PURIFY="purify"
- break
- fi
- done
- IFS="$ac_save_ifs"
-fi
-fi
-PURIFY="$ac_cv_prog_PURIFY"
-if test -n "$PURIFY"; then
- echo "$ac_t""$PURIFY" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-
- if test -n "$PURIFY"; then
- PURE_CACHE_BASE_DIR=/tmp/purifycache
- PURE_CACHE_DIR=${PURE_CACHE_BASE_DIR}-${LOGNAME}-${notdir ${CXX} }
- PURELINK="$PURIFY -best-effort -chain-length=20 \
- -cache-dir=$PURE_CACHE_DIR \
- -fds-inuse-at-exit=no -ignore-signals=SIGINT -inuse-at-exit \
- -max_threads=100"
- ACE_CXXFLAGS="$ACE_CXXFLAGS -DACE_HAS_PURIFY"
- ACE_CFLAGS="$ACE_CFLAGS -DACE_HAS_PURIFY"
- else
- echo "configure: warning: Purify program was not found." 1>&2
- echo "configure: warning: Disabling purify support." 1>&2
- fi
- ;;
- no)
- PURELINK=""
- ;;
- *)
- { echo "configure: error: bad value ${enableval} for --enable-purify" 1>&2; exit 1; }
- ;;
- esac
-
-else
- PURELINK=""
-fi
-
-
-# Check whether --enable-quantify or --disable-quantify was given.
-if test "${enable_quantify+set}" = set; then
- enableval="$enable_quantify"
-
- case "${enableval}" in
- yes)
- # Extract the first word of "quantify", so it can be a program name with args.
-set dummy quantify; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3616: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_QUANTIFY'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test -n "$QUANTIFY"; then
- ac_cv_prog_QUANTIFY="$QUANTIFY" # Let the user override the test.
-else
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- ac_dummy="$PATH"
- for ac_dir in $ac_dummy; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- ac_cv_prog_QUANTIFY="quantify"
- break
- fi
- done
- IFS="$ac_save_ifs"
-fi
-fi
-QUANTIFY="$ac_cv_prog_QUANTIFY"
-if test -n "$QUANTIFY"; then
- echo "$ac_t""$QUANTIFY" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-
- if test -n "$QUANTIFY"; then
- PURE_CACHE_BASE_DIR=/tmp/purifycache
- PURE_CACHE_DIR=${PURE_CACHE_BASE_DIR}-${LOGNAME}-${notdir ${CXX} }
- PRELINK="$QUANTIFY -best-effort -max_threads=100 \
- -cache-dir=$PURE_CACHE_DIR"
- ACE_CXXFLAGS="$ACE_CXXFLAGS -DACE_HAS_QUANTIFY"
- ACE_CFLAGS="$ACE_CFLAGS -DACE_HAS_QUANTIFY"
- else
- echo "configure: warning: Quantify program was not found." 1>&2
- echo "configure: warning: Disabling quantify support." 1>&2
- fi
- ;;
- no)
- PRELINK=""
- ;;
- *)
- { echo "configure: error: bad value ${enableval} for --enable-quantify" 1>&2; exit 1; }
- ;;
- esac
-
-else
- PRELINK=""
-fi
-
-
-# Check whether --enable-reentrant or --disable-reentrant was given.
-if test "${enable_reentrant+set}" = set; then
- enableval="$enable_reentrant"
-
- case "${enableval}" in
- yes)
- ace_user_enable_reentrant_funcs=yes
- ;;
- no)
- ace_user_enable_reentrant_funcs=no
- ;;
- *)
- { echo "configure: error: bad value ${enableval} for --enable-reentrant" 1>&2; exit 1; }
- ;;
- esac
-
-else
-
- ace_user_enable_reentrant_funcs=yes
-
-fi
-
-
-
-# Check whether --enable-repo or --disable-repo was given.
-if test "${enable_repo+set}" = set; then
- enableval="$enable_repo"
-
- case "${enableval}" in
- yes)
- if test -n "$GXX"; then
- ace_user_enable_repo=yes
- ACE_CXXFLAGS="$ACE_CXXFLAGS -frepo"
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_GNU_REPO 1
-EOF
-
- else
- ace_user_enable_repo=no
- echo "configure: warning: Not using GNU C++! GNU template respository disabled" 1>&2
- fi
- ;;
- no)
- ace_user_enable_repo=no
- ;;
- *)
- { echo "configure: error: bad value ${enableval} for --enable-repo" 1>&2; exit 1; }
- ;;
- esac
-
-else
-
- ace_user_enable_repo=no
-
-fi
-
-
-# Check whether --enable-rtti or --disable-rtti was given.
-if test "${enable_rtti+set}" = set; then
- enableval="$enable_rtti"
-
- case "${enableval}" in
- yes)
- if test -z "$GXX"; then
- case "$target" in
- *solaris*)
- ace_user_enable_rtti=yes
- ;;
- *)
- ;;
- esac
- else
- echo "configure: warning: Not using Sun C++. RTTI will not be enabled." 1>&2
- fi
- ;;
- no)
- ;;
- *)
- { echo "configure: error: bad value ${enableval} for --enable-rtti" 1>&2; exit 1; }
- ;;
- esac
-
-fi
-
-
-# Check whether --enable-static-obj-mgr or --disable-static-obj-mgr was given.
-if test "${enable_static_obj_mgr+set}" = set; then
- enableval="$enable_static_obj_mgr"
-
- case "${enableval}" in
- yes)
- ;;
- no)
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_NONSTATIC_OBJECT_MANAGER 1
-EOF
-
- ;;
- *)
- { echo "configure: error: bad value ${enableval} for --enable-static-obj-mgr" 1>&2; exit 1; }
- ;;
- esac
-
-fi
-
-
-# Check whether --enable-threads or --disable-threads was given.
-if test "${enable_threads+set}" = set; then
- enableval="$enable_threads"
-
- case "${enableval}" in
- yes)
- ace_user_enable_threads=yes
- ;;
- no)
- ace_user_enable_threads=no
- ;;
- *)
- { echo "configure: error: bad value ${enableval} for --enable-threads" 1>&2; exit 1; }
- ;;
- esac
-
-else
-
- ace_user_enable_threads=yes
-
-fi
-
-
-
-# Check whether --enable-verb-not-sup or --disable-verb-not-sup was given.
-if test "${enable_verb_not_sup+set}" = set; then
- enableval="$enable_verb_not_sup"
-
- case "${enableval}" in
- yes)
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_VERBOSE_NOTSUP 1
-EOF
-
- ;;
- no)
- ;;
- *)
- { echo "configure: error: bad value ${enableval} for --enable-verb-not-sup" 1>&2; exit 1; }
- ;;
- esac
-
-fi
-
-
-# Check whether --enable-trace or --disable-trace was given.
-if test "${enable_trace+set}" = set; then
- enableval="$enable_trace"
-
- case "${enableval}" in
- yes)
- ;;
- no)
- cat >> confdefs.h <<\EOF
-#define ACE_NTRACE 1
-EOF
-
- ;;
- *)
- { echo "configure: error: bad value ${enableval} for --enable-trace" 1>&2; exit 1; }
- ;;
- esac
-
-else
-
- cat >> confdefs.h <<\EOF
-#define ACE_NTRACE 1
-EOF
-
-
-fi
-
-
-# If we find X, set shell vars x_includes and x_libraries to the
-# paths, otherwise set no_x=yes.
-# Uses ac_ vars as temps to allow command line to override cache and checks.
-# --without-x overrides everything else, but does not touch the cache.
-echo $ac_n "checking for X""... $ac_c" 1>&6
-echo "configure:3851: checking for X" >&5
-
-# Check whether --with-x or --without-x was given.
-if test "${with_x+set}" = set; then
- withval="$with_x"
- :
-fi
-
-# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
-if test "x$with_x" = xno; then
- # The user explicitly disabled X.
- have_x=disabled
-else
- if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
- # Both variables are already set.
- have_x=yes
- else
-if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- # One or both of the vars are not set, and there is no cached value.
-ac_x_includes=NO ac_x_libraries=NO
-rm -fr conftestdir
-if mkdir conftestdir; then
- cd conftestdir
- # Make sure to not put "make" in the Imakefile rules, since we grep it out.
- cat > Imakefile <<'EOF'
-acfindx:
- @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
-EOF
- if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
- # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
- eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
- # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
- for ac_extension in a so sl; do
- if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
- test -f $ac_im_libdir/libX11.$ac_extension; then
- ac_im_usrlibdir=$ac_im_libdir; break
- fi
- done
- # Screen out bogus values from the imake configuration. They are
- # bogus both because they are the default anyway, and because
- # using them would break gcc on systems where it needs fixed includes.
- case "$ac_im_incroot" in
- /usr/include) ;;
- *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;;
- esac
- case "$ac_im_usrlibdir" in
- /usr/lib | /lib) ;;
- *) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;;
- esac
- fi
- cd ..
- rm -fr conftestdir
-fi
-
-if test "$ac_x_includes" = NO; then
- # Guess where to find include files, by looking for this one X11 .h file.
- test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
-
- # First, try using that file with no special directory specified.
-cat > conftest.$ac_ext <<EOF
-#line 3913 "configure"
-#include "confdefs.h"
-#include <$x_direct_test_include>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:3918: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- # We can compile using X headers with no special include directory.
-ac_x_includes=
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- # Look for the header file in a standard set of common directories.
-# Check X11 before X11Rn because it is often a symlink to the current release.
- for ac_dir in \
- /usr/X11/include \
- /usr/X11R6/include \
- /usr/X11R5/include \
- /usr/X11R4/include \
- \
- /usr/include/X11 \
- /usr/include/X11R6 \
- /usr/include/X11R5 \
- /usr/include/X11R4 \
- \
- /usr/local/X11/include \
- /usr/local/X11R6/include \
- /usr/local/X11R5/include \
- /usr/local/X11R4/include \
- \
- /usr/local/include/X11 \
- /usr/local/include/X11R6 \
- /usr/local/include/X11R5 \
- /usr/local/include/X11R4 \
- \
- /usr/X386/include \
- /usr/x386/include \
- /usr/XFree86/include/X11 \
- \
- /usr/include \
- /usr/local/include \
- /usr/unsupported/include \
- /usr/athena/include \
- /usr/local/x11r5/include \
- /usr/lpp/Xamples/include \
- \
- /usr/openwin/include \
- /usr/openwin/share/include \
- ; \
- do
- if test -r "$ac_dir/$x_direct_test_include"; then
- ac_x_includes=$ac_dir
- break
- fi
- done
-fi
-rm -f conftest*
-fi # $ac_x_includes = NO
-
-if test "$ac_x_libraries" = NO; then
- # Check for the libraries.
-
- test -z "$x_direct_test_library" && x_direct_test_library=Xt
- test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc
-
- # See if we find them without any special options.
- # Don't add to $LIBS permanently.
- ac_save_LIBS="$LIBS"
- LIBS="-l$x_direct_test_library $LIBS"
-cat > conftest.$ac_ext <<EOF
-#line 3987 "configure"
-#include "confdefs.h"
-
-int main() {
-${x_direct_test_function}()
-; return 0; }
-EOF
-if { (eval echo configure:3994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- LIBS="$ac_save_LIBS"
-# We can link X programs with no special library path.
-ac_x_libraries=
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- LIBS="$ac_save_LIBS"
-# First see if replacing the include by lib works.
-# Check X11 before X11Rn because it is often a symlink to the current release.
-for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \
- /usr/X11/lib \
- /usr/X11R6/lib \
- /usr/X11R5/lib \
- /usr/X11R4/lib \
- \
- /usr/lib/X11 \
- /usr/lib/X11R6 \
- /usr/lib/X11R5 \
- /usr/lib/X11R4 \
- \
- /usr/local/X11/lib \
- /usr/local/X11R6/lib \
- /usr/local/X11R5/lib \
- /usr/local/X11R4/lib \
- \
- /usr/local/lib/X11 \
- /usr/local/lib/X11R6 \
- /usr/local/lib/X11R5 \
- /usr/local/lib/X11R4 \
- \
- /usr/X386/lib \
- /usr/x386/lib \
- /usr/XFree86/lib/X11 \
- \
- /usr/lib \
- /usr/local/lib \
- /usr/unsupported/lib \
- /usr/athena/lib \
- /usr/local/x11r5/lib \
- /usr/lpp/Xamples/lib \
- /lib/usr/lib/X11 \
- \
- /usr/openwin/lib \
- /usr/openwin/share/lib \
- ; \
-do
- for ac_extension in a so sl; do
- if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then
- ac_x_libraries=$ac_dir
- break 2
- fi
- done
-done
-fi
-rm -f conftest*
-fi # $ac_x_libraries = NO
-
-if test "$ac_x_includes" = NO || test "$ac_x_libraries" = NO; then
- # Didn't find X anywhere. Cache the known absence of X.
- ac_cv_have_x="have_x=no"
-else
- # Record where we found X for the cache.
- ac_cv_have_x="have_x=yes \
- ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
-fi
-fi
- fi
- eval "$ac_cv_have_x"
-fi # $with_x != no
-
-if test "$have_x" != yes; then
- echo "$ac_t""$have_x" 1>&6
- no_x=yes
-else
- # If each of the values was on the command line, it overrides each guess.
- test "x$x_includes" = xNONE && x_includes=$ac_x_includes
- test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
- # Update the cache value to reflect the command line values.
- ac_cv_have_x="have_x=yes \
- ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
- echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
-fi
-
-# Check whether --enable-xt-reactor or --disable-xt-reactor was given.
-if test "${enable_xt_reactor+set}" = set; then
- enableval="$enable_xt_reactor"
-
- case "${enableval}" in
- yes)
- if test "$no_x" = yes; then
- # Not all programs may use this symbol, but it does not hurt to define it.
- cat >> confdefs.h <<\EOF
-#define X_DISPLAY_MISSING 1
-EOF
-
- X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
-else
- if test -n "$x_includes"; then
- X_CFLAGS="$X_CFLAGS -I$x_includes"
- fi
-
- # It would also be nice to do this for all -L options, not just this one.
- if test -n "$x_libraries"; then
- X_LIBS="$X_LIBS -L$x_libraries"
- # For Solaris; some versions of Sun CC require a space after -R and
- # others require no space. Words are not sufficient . . . .
- case "`(uname -sr) 2>/dev/null`" in
- "SunOS 5"*)
- echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
-echo "configure:4106: checking whether -R must be followed by a space" >&5
- ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
- cat > conftest.$ac_ext <<EOF
-#line 4109 "configure"
-#include "confdefs.h"
-
-int main() {
-
-; return 0; }
-EOF
-if { (eval echo configure:4116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- ac_R_nospace=yes
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- ac_R_nospace=no
-fi
-rm -f conftest*
- if test $ac_R_nospace = yes; then
- echo "$ac_t""no" 1>&6
- X_LIBS="$X_LIBS -R$x_libraries"
- else
- LIBS="$ac_xsave_LIBS -R $x_libraries"
- cat > conftest.$ac_ext <<EOF
-#line 4132 "configure"
-#include "confdefs.h"
-
-int main() {
-
-; return 0; }
-EOF
-if { (eval echo configure:4139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- ac_R_space=yes
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- ac_R_space=no
-fi
-rm -f conftest*
- if test $ac_R_space = yes; then
- echo "$ac_t""yes" 1>&6
- X_LIBS="$X_LIBS -R $x_libraries"
- else
- echo "$ac_t""neither works" 1>&6
- fi
- fi
- LIBS="$ac_xsave_LIBS"
- esac
- fi
-
- # Check for system-dependent libraries X programs must link with.
- # Do this before checking for the system-independent R6 libraries
- # (-lICE), since we may need -lsocket or whatever for X linking.
-
- if test "$ISC" = yes; then
- X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
- else
- # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
- # libraries were built with DECnet support. And karl@cs.umb.edu says
- # the Alpha needs dnet_stub (dnet does not exist).
- echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
-echo "configure:4171: checking for dnet_ntoa in -ldnet" >&5
-ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- ac_save_LIBS="$LIBS"
-LIBS="-ldnet $LIBS"
-cat > conftest.$ac_ext <<EOF
-#line 4179 "configure"
-#include "confdefs.h"
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char dnet_ntoa();
-
-int main() {
-dnet_ntoa()
-; return 0; }
-EOF
-if { (eval echo configure:4193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=no"
-fi
-rm -f conftest*
-LIBS="$ac_save_LIBS"
-
-fi
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
-else
- echo "$ac_t""no" 1>&6
-fi
-
- if test $ac_cv_lib_dnet_dnet_ntoa = no; then
- echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
-echo "configure:4215: checking for dnet_ntoa in -ldnet_stub" >&5
-ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- ac_save_LIBS="$LIBS"
-LIBS="-ldnet_stub $LIBS"
-cat > conftest.$ac_ext <<EOF
-#line 4223 "configure"
-#include "confdefs.h"
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char dnet_ntoa();
-
-int main() {
-dnet_ntoa()
-; return 0; }
-EOF
-if { (eval echo configure:4237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=no"
-fi
-rm -f conftest*
-LIBS="$ac_save_LIBS"
-
-fi
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
-else
- echo "$ac_t""no" 1>&6
-fi
-
- fi
-
- # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
- # to get the SysV transport functions.
- # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
- # needs -lnsl.
- # The nsl library prevents programs from opening the X display
- # on Irix 5.2, according to dickey@clark.net.
- echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
-echo "configure:4266: checking for gethostbyname" >&5
-if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 4271 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char gethostbyname(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char gethostbyname();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
-choke me
-#else
-gethostbyname();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:4297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_gethostbyname=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_gethostbyname=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
-
- if test $ac_cv_func_gethostbyname = no; then
- echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
-echo "configure:4318: checking for gethostbyname in -lnsl" >&5
-ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- ac_save_LIBS="$LIBS"
-LIBS="-lnsl $LIBS"
-cat > conftest.$ac_ext <<EOF
-#line 4326 "configure"
-#include "confdefs.h"
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char gethostbyname();
-
-int main() {
-gethostbyname()
-; return 0; }
-EOF
-if { (eval echo configure:4340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=no"
-fi
-rm -f conftest*
-LIBS="$ac_save_LIBS"
-
-fi
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
-else
- echo "$ac_t""no" 1>&6
-fi
-
- fi
-
- # lieder@skyler.mavd.honeywell.com says without -lsocket,
- # socket/setsockopt and other routines are undefined under SCO ODT
- # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
- # on later versions), says simon@lia.di.epfl.ch: it contains
- # gethostby* variants that don't use the nameserver (or something).
- # -lsocket must be given before -lnsl if both are needed.
- # We assume that if connect needs -lnsl, so does gethostbyname.
- echo $ac_n "checking for connect""... $ac_c" 1>&6
-echo "configure:4370: checking for connect" >&5
-if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 4375 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char connect(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char connect();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_connect) || defined (__stub___connect)
-choke me
-#else
-connect();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:4401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_connect=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_connect=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
-
- if test $ac_cv_func_connect = no; then
- echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
-echo "configure:4422: checking for connect in -lsocket" >&5
-ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- ac_save_LIBS="$LIBS"
-LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
-cat > conftest.$ac_ext <<EOF
-#line 4430 "configure"
-#include "confdefs.h"
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char connect();
-
-int main() {
-connect()
-; return 0; }
-EOF
-if { (eval echo configure:4444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=no"
-fi
-rm -f conftest*
-LIBS="$ac_save_LIBS"
-
-fi
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
-else
- echo "$ac_t""no" 1>&6
-fi
-
- fi
-
- # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
- echo $ac_n "checking for remove""... $ac_c" 1>&6
-echo "configure:4468: checking for remove" >&5
-if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 4473 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char remove(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char remove();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_remove) || defined (__stub___remove)
-choke me
-#else
-remove();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:4499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_remove=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_remove=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
-
- if test $ac_cv_func_remove = no; then
- echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
-echo "configure:4520: checking for remove in -lposix" >&5
-ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- ac_save_LIBS="$LIBS"
-LIBS="-lposix $LIBS"
-cat > conftest.$ac_ext <<EOF
-#line 4528 "configure"
-#include "confdefs.h"
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char remove();
-
-int main() {
-remove()
-; return 0; }
-EOF
-if { (eval echo configure:4542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=no"
-fi
-rm -f conftest*
-LIBS="$ac_save_LIBS"
-
-fi
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
-else
- echo "$ac_t""no" 1>&6
-fi
-
- fi
-
- # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
- echo $ac_n "checking for shmat""... $ac_c" 1>&6
-echo "configure:4566: checking for shmat" >&5
-if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 4571 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char shmat(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char shmat();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_shmat) || defined (__stub___shmat)
-choke me
-#else
-shmat();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:4597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_shmat=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_shmat=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
-
- if test $ac_cv_func_shmat = no; then
- echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
-echo "configure:4618: checking for shmat in -lipc" >&5
-ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- ac_save_LIBS="$LIBS"
-LIBS="-lipc $LIBS"
-cat > conftest.$ac_ext <<EOF
-#line 4626 "configure"
-#include "confdefs.h"
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char shmat();
-
-int main() {
-shmat()
-; return 0; }
-EOF
-if { (eval echo configure:4640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=no"
-fi
-rm -f conftest*
-LIBS="$ac_save_LIBS"
-
-fi
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
-else
- echo "$ac_t""no" 1>&6
-fi
-
- fi
- fi
-
- # Check for libraries that X11R6 Xt/Xaw programs need.
- ac_save_LDFLAGS="$LDFLAGS"
- test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
- # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
- # check for ICE first), but we must link in the order -lSM -lICE or
- # we get undefined symbols. So assume we have SM if we have ICE.
- # These have to be linked with before -lX11, unlike the other
- # libraries we check for below, so use a different variable.
- # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
- echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
-echo "configure:4673: checking for IceConnectionNumber in -lICE" >&5
-ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- ac_save_LIBS="$LIBS"
-LIBS="-lICE $X_EXTRA_LIBS $LIBS"
-cat > conftest.$ac_ext <<EOF
-#line 4681 "configure"
-#include "confdefs.h"
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char IceConnectionNumber();
-
-int main() {
-IceConnectionNumber()
-; return 0; }
-EOF
-if { (eval echo configure:4695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=no"
-fi
-rm -f conftest*
-LIBS="$ac_save_LIBS"
-
-fi
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
-else
- echo "$ac_t""no" 1>&6
-fi
-
- LDFLAGS="$ac_save_LDFLAGS"
-
-fi
-
- if test "$no_x" != yes; then
- ACE_XLIBS="-lX11 -lXt"
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_XT 1
-EOF
-
- ace_user_enable_xt_reactor=yes
- else
- ACE_XLIBS=""
- ace_user_enable_xt_reactor=no
- echo "configure: warning: X was not found or it was disabled." 1>&2
- echo "configure: warning: ACE_XtReactor will not be enabled." 1>&2
- fi
- ;;
- no)
- ACE_XLIBS=""
- ace_user_enable_xt_reactor=no
- ;;
- *)
- { echo "configure: error: bad value ${enableval} for --enable-xt-reactor" 1>&2; exit 1; }
- ;;
- esac
-
-fi
-
-
-# Check whether --enable-fl-reactor or --disable-fl-reactor was given.
-if test "${enable_fl_reactor+set}" = set; then
- enableval="$enable_fl_reactor"
-
- case "${enableval}" in
- yes)
- { echo "configure: error: --enable-fl-reactor currently unimplemented" 1>&2; exit 1; }
- ace_user_enable_fl_reactor=yes
- ;;
- no)
- { echo "configure: error: --enable-fl-reactor currently unimplemented" 1>&2; exit 1; }
- ace_user_enable_fl_reactor=no
- ;;
- *)
- { echo "configure: error: bad value ${enableval} for --enable-fl-reactor" 1>&2; exit 1; }
- ;;
- esac
-
-fi
-
-
-# Check whether --with-gperf or --without-gperf was given.
-if test "${with_gperf+set}" = set; then
- withval="$with_gperf"
-
- case "${withval}" in
- yes)
- ace_user_with_gperf=yes
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_GPERF 1
-EOF
-
- if test -n "$GPERF"; then
- echo "configure: warning: gperf program already exists" 1>&2
- echo "configure: warning: existing gperf may be overwritten during installation" 1>&2
- fi
- ;;
- no)
- ace_user_with_gperf=no
- ;;
- *)
- { echo "configure: error: bad value ${withval} for --with-gperf" 1>&2; exit 1; }
- ;;
- esac
-
-else
-
- ace_user_with_gperf=yes
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_GPERF 1
-EOF
-
- if test -n "$GPERF"; then
- echo "configure: warning: gperf program already exists" 1>&2
- echo "configure: warning: existing gperf may be overwritten during installation" 1>&2
- fi
-
-fi
-
-
-
-if test X$ace_user_with_gperf = Xyes; then
- COMPILE_GPERF_TRUE=
- COMPILE_GPERF_FALSE='#'
-else
- COMPILE_GPERF_TRUE='#'
- COMPILE_GPERF_FALSE=
-fi
-
-# Check whether --with-orbix or --without-orbix was given.
-if test "${with_orbix+set}" = set; then
- withval="$with_orbix"
-
- case "${withval}" in
- yes)
- echo "configure: warning: Orbix configure support not implemented yet." 1>&2
- ;;
- no)
- ;;
- *)
- echo "configure: warning: Orbix configure support not implemented yet." 1>&2
- ;;
- esac
-
-fi
-
-
-#AC_ARG_WITH(tao,
-# [ --with-tao build TAO (the ACE ORB) [default=yes]],
-# [
-# case "${withval}" in
-# yes)
-# ace_user_with_tao=yes
-# ;;
-# no)
-# ;;
-# *)
-# AC_MSG_ERROR(bad value ${withval} for --with-tao)
-# ;;
-# esac
-# ],
-# [
-# ace_user_with_tao=yes
-# ])
-
-# Check whether --with-tli-device or --without-tli-device was given.
-if test "${with_tli_device+set}" = set; then
- withval="$with_tli_device"
-
- case "${withval}" in
- yes)
- { echo "configure: error: Specify the TLI/TCP device if you use this option." 1>&2; exit 1; }
- ;;
- no)
- ;;
- *)
- if test -e "${withval}"; then
- cat >> confdefs.h <<EOF
-#define ACE_TLI_TCP_DEVICE "${withval}"
-EOF
-
- else
- { echo "configure: error: TLI/TCP device ${withval} does not exist." 1>&2; exit 1; }
- fi
- ;;
- esac
-
-fi
-
-
-
-
-
-
-
-
-
- case "$target" in
- *aix4.2* | *aix4.3*)
- case "$CXX" in
- xlC*)
- CXXFLAGS="$CXXFLAGS"
- ACE_CXXFLAGS="$ACE_CXXFLAGS -qtempinc -qlanglvl=ansi -qflag=w:w -qinfo"
- DCXXFLAGS="-g -qcheck=nobounds:div:null"
- OCXXFLAGS="-qarch=com"
- ;;
- *)
- if test -n "$GXX"; then
- ACE_CXXFLAGS="-mcpu=common"
- fi
- ;;
- esac
- ;;
- *aix4.1*)
- case "$CXX" in
- xlC*)
- CXXFLAGS="$CXXFLAGS"
- ACE_CXXFLAGS="$ACE_CXXFLAGS -qxcall -qtempinc"
- DCXXFLAGS="-g"
- OCXXFLAGS="-qarch=ppc -qtune=604"
- ;;
- *)
- if test -n "$GXX"; then
- ACE_CXXFLAGS="-mcpu=common"
- fi
- ;;
- esac
- ;;
- *chorus*)
- ;;
- *cray*)
- ;;
- *dgux*)
- case "$CXX" in
- ec++)
- CXXFLAGS="$CXXFLAGS"
- ACE_CXXFLAGS="$ACE_CXXFLAGS -relax -v -eh"
- DCXXFLAGS="-g"
- OCXXFLAGS=""
- ;;
- *)
- if test -n "$GXX"; then
- ACE_CXXFLAGS="$ACE_CXXFLAGS"
- fi
- ;;
- esac
- ;;
- *freebsd*)
- case "$CXX" in
- *)
- if test -n "$GXX"; then
- CXXFLAGS="$CXXFLAGS"
- ACE_CXXFLAGS="$ACE_CXXFLAGS -w -fno-strict-prototypes"
- DCXXFLAGS=""
- OCXXFLAGS=""
- fi
- ;;
- esac
- ;;
- *hpux*)
- case "$CXX" in
- CC)
- CXXFLAGS="$CXXFLAGS -pta -ti,/bin/true -tr,/bin/true"
- ACE_CXXFLAGS="$ACE_CXXFLAGS -Aa -z +a1"
- DCXXFLAGS="-g"
- OCXXFLAGS=""
- ;;
- aCC)
- CXXFLAGS="$CXXFLAGS"
- ACE_CXXFLAGS="$ACE_CXXFLAGS +W829,302"
- DCXXFLAGS="-g"
- OCXXFLAGS=""
- ;;
- *)
- if test -n "$GXX"; then
- ACE_CXXFLAGS="$ACE_CXXFLAGS -w"
- fi
- ;;
- esac
- ;;
- *irix*)
-
- ;;
- *linux*)
- case "$CXX" in
- *)
- if test -n "$GXX"; then
- CXXFLAGS="$CXXFLAGS"
- ACE_CXXFLAGS="$ACE_CXXFLAGS"
- DCXXFLAGS="$DCXXFLAGS"
- OCXXFLAGS="-O3"
- fi
- ;;
- esac
- ;;
- *lynxos*)
- ;;
- *m88k*)
- ;;
- *mvs*)
- ;;
- *netbsd*)
- ;;
- *osf*)
- ;;
- *psos*)
- ;;
- *sco*)
- ;;
- *sunos4*)
- ;;
- *solaris2*)
- case "$CXX" in
- CC)
- if (CC -V 2>&1 | egrep 'Compilers 4\.2' > /dev/null); then
- CXXFLAGS="$CXXFLAGS -features=castop"
- if test "$ace_user_enable_rtti" = yes; then
- CXXFLAGS="$CXXFLAGS -features=rtti"
- fi
- fi
-
- if test "$ace_user_enable_exceptions" != yes; then
- CXXFLAGS="$CXXFLAGS -noex"
- fi
-
- CXXFLAGS="$CXXFLAGS"
- ACE_CXXFLAGS="$ACE_CXXFLAGS"
- DCXXFLAGS="$DCXXFLAGS -g"
- OCXXFLAGS="$OCXXFLAGS -O"
- LDFLAGS="$LDFLAGS -xildoff"
- ;;
- esac
- ;;
- *tandem*)
- ;;
- *unixware*)
- ;;
- *vxworks*)
- ;;
- *)
- CXXFLAGS="$CXXFLAGS"
- ACE_CXXFLAGS="$ACE_CXXFLAGS"
- DCXXFLAGS="-g"
- OCXXFLAGS="-O"
- ;;
- esac
-
-
-
-case "$target" in
- *aix3*)
- ;;
- *aix4.1*)
- cat >> confdefs.h <<\EOF
-#define _BSD 44
-EOF
-
- ;;
- *aix4.2*)
- cat >> confdefs.h <<\EOF
-#define _BSD 44
-EOF
-
- cat >> confdefs.h <<\EOF
-#define _BSD_INCLUDES 1
-EOF
-
- ;;
- t3e-cray-unicosmk*)
- cat >> confdefs.h <<\EOF
-#define _CRAYMPP 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define _CRAYT3E 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define _UNICOS
-EOF
-
- ;;
- t3e-cray*)
- cat >> confdefs.h <<\EOF
-#define _CRAYT3E 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define _UNICOS
-EOF
-
- ;;
- *cray-unicos*)
- cat >> confdefs.h <<\EOF
-#define _UNICOS
-EOF
-
- ;;
- *dgux4.11*)
- LIBS="$LIBS -lc"
- cat >> confdefs.h <<\EOF
-#define _POSIX_SOURCE 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define _DGUX_SOURCE 1
-EOF
-
- ;;
- *dgux4*)
- LIBS="$LIBS -lc"
- cat >> confdefs.h <<\EOF
-#define _POSIX4A_DRAFT10_SOURCE 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define _POSIX4_DRAFT_SOURCE 1
-EOF
-
- ;;
- *freebsd*)
- LIBS="$LIBS -lcompat"
- ;;
- *hpux9*)
- LIBS="$LIBS -lcma -lrt"
- cat >> confdefs.h <<\EOF
-#define HPUX 1
-EOF
-
- ;;
- *hpux10*)
- LIBS="$LIBS -lcma -lrt"
- cat >> confdefs.h <<\EOF
-#define _HPUX_SOURCE 1
-EOF
-
- ;;
- *hpux11*)
- LIBS="$LIBS -lcma -lrt"
- ;;
- *irix5.2*)
- ;;
- *irix5.3*)
- if test -z "$GXX"; then
- cat >> confdefs.h <<\EOF
-#define _BSD_TYPES 1
-EOF
-
- fi
- ;;
- *irix6*)
- cat >> confdefs.h <<\EOF
-#define _SGI_MP_SOURCE 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define _MODERN_C_ 1
-EOF
-
- ;;
- *linux*)
- ;;
- *lynxos*)
- cat >> confdefs.h <<\EOF
-#define _POSIX_THREADS_CALLS 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define __NO_INCLUDE_WARN__ 1
-EOF
-
- ;;
- *m88k*)
- ;;
- *mvs*)
- cat >> confdefs.h <<\EOF
-#define _ALL_SOURCE 1
-EOF
-
- ;;
- *netbsd*)
- ;;
- *osf3.2*)
- LIBS="$LIBS -lmach -lsys5 -lcxx -lc -lrt"
- ;;
- *osf4.0*)
- LIBS="$LIBS -lmach -lrt"
- ;;
- *psos*)
- LIBS="$LIBS -lm"
- ;;
- *sco4.2*)
- ;;
- *sco5*)
- cat >> confdefs.h <<\EOF
-#define _SVID3 1
-EOF
-
- ;;
- *sunos4*)
- ;;
- *solaris2.4*)
- ;;
- *solaris2.5*)
- ;;
- *solaris2.6*)
- ;;
- *86*solaris*)
- ;;
- *tandem*)
- ;;
- *unixware2.0*)
- ;;
- *unixware2.1*)
- ;;
- *vxworks*)
- ;;
- *cygwin32*)
- ;;
- *win32*)
- ;;
- *)
- ;;
-esac
-
-
-
-if test "$ace_user_enable_xt_reactor" = yes; then
-XTREACTOR_TEST_XLIBS=""
- T_LDFLAGS="$LDFLAGS"
- LDFLAGS="$LDFLAGS $X_LIBS"
-
-
- xt_reactor_go=no
- echo $ac_n "checking for XmCreateRowColumn in -lXm""... $ac_c" 1>&6
-echo "configure:5220: checking for XmCreateRowColumn in -lXm" >&5
-ac_lib_var=`echo Xm'_'XmCreateRowColumn | sed 'y%./+-%__p_%'`
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- ac_save_LIBS="$LIBS"
-LIBS="-lXm -lXt $LIBS"
-cat > conftest.$ac_ext <<EOF
-#line 5228 "configure"
-#include "confdefs.h"
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char XmCreateRowColumn();
-
-int main() {
-XmCreateRowColumn()
-; return 0; }
-EOF
-if { (eval echo configure:5242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=no"
-fi
-rm -f conftest*
-LIBS="$ac_save_LIBS"
-
-fi
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
- XTREACTOR_TEST_XLIBS="-lXm"
- xt_reactor_go=yes
-
-else
- echo "$ac_t""no" 1>&6
-
- cat >> confdefs.h <<\EOF
-#define ACE_LACKS_MOTIF 1
-EOF
-
- echo $ac_n "checking for XawInitializeWidgetSet in -lXaw""... $ac_c" 1>&6
-echo "configure:5269: checking for XawInitializeWidgetSet in -lXaw" >&5
-ac_lib_var=`echo Xaw'_'XawInitializeWidgetSet | sed 'y%./+-%__p_%'`
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- ac_save_LIBS="$LIBS"
-LIBS="-lXaw -lXmu $LIBS"
-cat > conftest.$ac_ext <<EOF
-#line 5277 "configure"
-#include "confdefs.h"
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char XawInitializeWidgetSet();
-
-int main() {
-XawInitializeWidgetSet()
-; return 0; }
-EOF
-if { (eval echo configure:5291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=no"
-fi
-rm -f conftest*
-LIBS="$ac_save_LIBS"
-
-fi
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
- XTREACTOR_TEST_XLIBS="-lXaw -lXmu"
- xt_reactor_go=yes
-
-else
- echo "$ac_t""no" 1>&6
-
- xt_reactor_go=no
- echo "configure: warning: No usable X widget libraries were found." 1>&2
- echo "configure: warning: XtReactor test compilation will be disabled." 1>&2
-
-fi
-
-
-fi
-
-
-
-
-
-
-if test X$xt_reactor_go = Xyes; then
- COMPILE_XTREACTOR_TEST_TRUE=
- COMPILE_XTREACTOR_TEST_FALSE='#'
-else
- COMPILE_XTREACTOR_TEST_TRUE='#'
- COMPILE_XTREACTOR_TEST_FALSE=
-fi
-
- LDFLAGS="$T_LDFLAGS"
-
-fi
-
-
- echo $ac_n "checking for library containing dlopen""... $ac_c" 1>&6
-echo "configure:5341: checking for library containing dlopen" >&5
-if eval "test \"`echo '$''{'ac_cv_search_dlopen'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- ac_func_search_save_LIBS="$LIBS"
-
- ac_cv_search_dlopen="no"
-
-
-cat > conftest.$ac_ext <<EOF
-#line 5352 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char dlopen(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char dlopen();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_dlopen) || defined (__stub___dlopen)
-choke me
-#else
-dlopen();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:5378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- ac_cv_search_dlopen="none required"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
-fi
-rm -f conftest*
-
-
- test "$ac_cv_search_dlopen" = "no" && for i in dl svld; do
- LIBS="-l$i $ac_func_search_save_LIBS"
-
-cat > conftest.$ac_ext <<EOF
-#line 5392 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char dlopen(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char dlopen();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_dlopen) || defined (__stub___dlopen)
-choke me
-#else
-dlopen();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:5418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
-
- ac_cv_search_dlopen="-l$i"
- break
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
-fi
-rm -f conftest*
-
- done
-
- LIBS="$ac_func_search_save_LIBS"
-
-fi
-
-echo "$ac_t""$ac_cv_search_dlopen" 1>&6
-
- if test "$ac_cv_search_dlopen" != "no"; then
- test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
- ace_has_svr4_dynamic_linking=yes
- else :
-
- ace_has_svr4_dynamic_linking=no
- echo $ac_n "checking for shl_get in -ldld""... $ac_c" 1>&6
-echo "configure:5445: checking for shl_get in -ldld" >&5
-ac_lib_var=`echo dld'_'shl_get | sed 'y%./+-%__p_%'`
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- ac_save_LIBS="$LIBS"
-LIBS="-ldld $LIBS"
-cat > conftest.$ac_ext <<EOF
-#line 5453 "configure"
-#include "confdefs.h"
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char shl_get();
-
-int main() {
-shl_get()
-; return 0; }
-EOF
-if { (eval echo configure:5467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=no"
-fi
-rm -f conftest*
-LIBS="$ac_save_LIBS"
-
-fi
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- ac_tr_lib=HAVE_LIB`echo dld | sed -e 's/[^a-zA-Z0-9_]/_/g' \
- -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
- cat >> confdefs.h <<EOF
-#define $ac_tr_lib 1
-EOF
-
- LIBS="-ldld $LIBS"
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
- fi
-
-
-
- echo $ac_n "checking for library containing socket""... $ac_c" 1>&6
-echo "configure:5500: checking for library containing socket" >&5
-if eval "test \"`echo '$''{'ac_cv_search_socket'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- ac_func_search_save_LIBS="$LIBS"
-
- ac_cv_search_socket="no"
-
-
-cat > conftest.$ac_ext <<EOF
-#line 5511 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char socket(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char socket();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_socket) || defined (__stub___socket)
-choke me
-#else
-socket();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:5537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- ac_cv_search_socket="none required"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
-fi
-rm -f conftest*
-
-
- test "$ac_cv_search_socket" = "no" && for i in socket; do
- LIBS="-l$i $ac_func_search_save_LIBS"
-
-cat > conftest.$ac_ext <<EOF
-#line 5551 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char socket(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char socket();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_socket) || defined (__stub___socket)
-choke me
-#else
-socket();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:5577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
-
- ac_cv_search_socket="-l$i"
- break
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
-fi
-rm -f conftest*
-
- done
-
- LIBS="$ac_func_search_save_LIBS"
-
-fi
-
-echo "$ac_t""$ac_cv_search_socket" 1>&6
-
- if test "$ac_cv_search_socket" != "no"; then
- test "$ac_cv_search_socket" = "none required" || LIBS="$ac_cv_search_socket $LIBS"
-
- else :
-
- fi
-
-
- echo $ac_n "checking for library containing gethostbyname""... $ac_c" 1>&6
-echo "configure:5606: checking for library containing gethostbyname" >&5
-if eval "test \"`echo '$''{'ac_cv_search_gethostbyname'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- ac_func_search_save_LIBS="$LIBS"
-
- ac_cv_search_gethostbyname="no"
-
-
-cat > conftest.$ac_ext <<EOF
-#line 5617 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char gethostbyname(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char gethostbyname();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
-choke me
-#else
-gethostbyname();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:5643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- ac_cv_search_gethostbyname="none required"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
-fi
-rm -f conftest*
-
-
- test "$ac_cv_search_gethostbyname" = "no" && for i in nsl; do
- LIBS="-l$i $ac_func_search_save_LIBS"
-
-cat > conftest.$ac_ext <<EOF
-#line 5657 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char gethostbyname(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char gethostbyname();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
-choke me
-#else
-gethostbyname();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:5683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
-
- ac_cv_search_gethostbyname="-l$i"
- break
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
-fi
-rm -f conftest*
-
- done
-
- LIBS="$ac_func_search_save_LIBS"
-
-fi
-
-echo "$ac_t""$ac_cv_search_gethostbyname" 1>&6
-
- if test "$ac_cv_search_gethostbyname" != "no"; then
- test "$ac_cv_search_gethostbyname" = "none required" || LIBS="$ac_cv_search_gethostbyname $LIBS"
-
- else :
-
- fi
-
-
- echo $ac_n "checking for library containing getservbyname""... $ac_c" 1>&6
-echo "configure:5712: checking for library containing getservbyname" >&5
-if eval "test \"`echo '$''{'ac_cv_search_getservbyname'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- ac_func_search_save_LIBS="$LIBS"
-
- ac_cv_search_getservbyname="no"
-
-
-cat > conftest.$ac_ext <<EOF
-#line 5723 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char getservbyname(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char getservbyname();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_getservbyname) || defined (__stub___getservbyname)
-choke me
-#else
-getservbyname();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:5749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- ac_cv_search_getservbyname="none required"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
-fi
-rm -f conftest*
-
-
- test "$ac_cv_search_getservbyname" = "no" && for i in xnet; do
- LIBS="-l$i $ac_func_search_save_LIBS"
-
-cat > conftest.$ac_ext <<EOF
-#line 5763 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char getservbyname(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char getservbyname();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_getservbyname) || defined (__stub___getservbyname)
-choke me
-#else
-getservbyname();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:5789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
-
- ac_cv_search_getservbyname="-l$i"
- break
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
-fi
-rm -f conftest*
-
- done
-
- LIBS="$ac_func_search_save_LIBS"
-
-fi
-
-echo "$ac_t""$ac_cv_search_getservbyname" 1>&6
-
- if test "$ac_cv_search_getservbyname" != "no"; then
- test "$ac_cv_search_getservbyname" = "none required" || LIBS="$ac_cv_search_getservbyname $LIBS"
-
- else :
- cat >> confdefs.h <<\EOF
-#define ACE_LACKS_GETSERVBYNAME 1
-EOF
-
- fi
-
-
-
- echo $ac_n "checking for library containing compile""... $ac_c" 1>&6
-echo "configure:5822: checking for library containing compile" >&5
-if eval "test \"`echo '$''{'ac_cv_search_compile'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- ac_func_search_save_LIBS="$LIBS"
-
- ac_cv_search_compile="no"
-
-
-cat > conftest.$ac_ext <<EOF
-#line 5833 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char compile(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char compile();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_compile) || defined (__stub___compile)
-choke me
-#else
-compile();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:5859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- ac_cv_search_compile="none required"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
-fi
-rm -f conftest*
-
-
- test "$ac_cv_search_compile" = "no" && for i in gen; do
- LIBS="-l$i $ac_func_search_save_LIBS"
-
-cat > conftest.$ac_ext <<EOF
-#line 5873 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char compile(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char compile();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_compile) || defined (__stub___compile)
-choke me
-#else
-compile();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:5899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
-
- ac_cv_search_compile="-l$i"
- break
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
-fi
-rm -f conftest*
-
- done
-
- LIBS="$ac_func_search_save_LIBS"
-
-fi
-
-echo "$ac_t""$ac_cv_search_compile" 1>&6
-
- if test "$ac_cv_search_compile" != "no"; then
- test "$ac_cv_search_compile" = "none required" || LIBS="$ac_cv_search_compile $LIBS"
-
- else :
-
- fi
-
-
- echo $ac_n "checking for library containing exc_continue""... $ac_c" 1>&6
-echo "configure:5928: checking for library containing exc_continue" >&5
-if eval "test \"`echo '$''{'ac_cv_search_exc_continue'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- ac_func_search_save_LIBS="$LIBS"
-
- ac_cv_search_exc_continue="no"
-
-
-cat > conftest.$ac_ext <<EOF
-#line 5939 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char exc_continue(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char exc_continue();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_exc_continue) || defined (__stub___exc_continue)
-choke me
-#else
-exc_continue();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:5965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- ac_cv_search_exc_continue="none required"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
-fi
-rm -f conftest*
-
-
- test "$ac_cv_search_exc_continue" = "no" && for i in exc; do
- LIBS="-l$i $ac_func_search_save_LIBS"
-
-cat > conftest.$ac_ext <<EOF
-#line 5979 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char exc_continue(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char exc_continue();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_exc_continue) || defined (__stub___exc_continue)
-choke me
-#else
-exc_continue();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:6005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
-
- ac_cv_search_exc_continue="-l$i"
- break
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
-fi
-rm -f conftest*
-
- done
-
- LIBS="$ac_func_search_save_LIBS"
-
-fi
-
-echo "$ac_t""$ac_cv_search_exc_continue" 1>&6
-
- if test "$ac_cv_search_exc_continue" != "no"; then
- test "$ac_cv_search_exc_continue" = "none required" || LIBS="$ac_cv_search_exc_continue $LIBS"
-
- else :
-
- fi
-
-
- echo $ac_n "checking for library containing ctime_r""... $ac_c" 1>&6
-echo "configure:6034: checking for library containing ctime_r" >&5
-if eval "test \"`echo '$''{'ac_cv_search_ctime_r'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- ac_func_search_save_LIBS="$LIBS"
-
- ac_cv_search_ctime_r="no"
-
-
-cat > conftest.$ac_ext <<EOF
-#line 6045 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char ctime_r(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char ctime_r();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_ctime_r) || defined (__stub___ctime_r)
-choke me
-#else
-ctime_r();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:6071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- ac_cv_search_ctime_r="none required"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
-fi
-rm -f conftest*
-
-
- test "$ac_cv_search_ctime_r" = "no" && for i in c_r; do
- LIBS="-l$i $ac_func_search_save_LIBS"
-
-cat > conftest.$ac_ext <<EOF
-#line 6085 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char ctime_r(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char ctime_r();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_ctime_r) || defined (__stub___ctime_r)
-choke me
-#else
-ctime_r();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:6111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
-
- ac_cv_search_ctime_r="-l$i"
- break
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
-fi
-rm -f conftest*
-
- done
-
- LIBS="$ac_func_search_save_LIBS"
-
-fi
-
-echo "$ac_t""$ac_cv_search_ctime_r" 1>&6
-
- if test "$ac_cv_search_ctime_r" != "no"; then
- test "$ac_cv_search_ctime_r" = "none required" || LIBS="$ac_cv_search_ctime_r $LIBS"
-
- else :
-
- fi
-
-
- echo $ac_n "checking for library containing t_accept""... $ac_c" 1>&6
-echo "configure:6140: checking for library containing t_accept" >&5
-if eval "test \"`echo '$''{'ac_cv_search_t_accept'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- ac_func_search_save_LIBS="$LIBS"
-
- ac_cv_search_t_accept="no"
-
-
-cat > conftest.$ac_ext <<EOF
-#line 6151 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char t_accept(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char t_accept();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_t_accept) || defined (__stub___t_accept)
-choke me
-#else
-t_accept();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:6177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- ac_cv_search_t_accept="none required"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
-fi
-rm -f conftest*
-
-
- test "$ac_cv_search_t_accept" = "no" && for i in xti tli_r tli nsl; do
- LIBS="-l$i $ac_func_search_save_LIBS"
-
-cat > conftest.$ac_ext <<EOF
-#line 6191 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char t_accept(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char t_accept();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_t_accept) || defined (__stub___t_accept)
-choke me
-#else
-t_accept();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:6217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
-
- ac_cv_search_t_accept="-l$i"
- break
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
-fi
-rm -f conftest*
-
- done
-
- LIBS="$ac_func_search_save_LIBS"
-
-fi
-
-echo "$ac_t""$ac_cv_search_t_accept" 1>&6
-
- if test "$ac_cv_search_t_accept" != "no"; then
- test "$ac_cv_search_t_accept" = "none required" || LIBS="$ac_cv_search_t_accept $LIBS"
- ace_has_tli_funcs=yes
- else :
- ace_has_tli_funcs=no
- fi
-
-
-if test "$ace_user_enable_threads" = yes; then
-
-
-
- echo $ac_n "checking if compiler may need a thread flag""... $ac_c" 1>&6
-echo "configure:6250: checking if compiler may need a thread flag" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_may_need_thread_flag'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
-
-
- ace_pre_warning_CXXFLAGS="$CXXFLAGS"
-
- if test -n "$GXX"; then
- CXXFLAGS="$CXXFLAGS -Werror"
- else
- case $target in
- *solaris*)
- if test "$CXX" = CC; then
- CXXFLAGS="$CXXFLAGS -xwe"
- fi
- ;;
- *) ;;
- esac
- fi
-
-
-cat > conftest.$ac_ext <<EOF
-#line 6274 "configure"
-#include "confdefs.h"
-
-#ifndef _REENTRANT
-#error _REENTRANT was not defined
-THROW ME AN ERROR!
-#endif
-
-#ifdef __cplusplus
-extern "C"
-#endif
-
-
-char thr_create();
-
-int main() {
-
-thr_create();
-
-; return 0; }
-EOF
-if { (eval echo configure:6295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
-
- ace_cv_feature_may_need_thread_flag=no
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
-
-
- cat > conftest.$ac_ext <<EOF
-#line 6308 "configure"
-#include "confdefs.h"
-
-#include <pthread.h>
-
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:6315: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
-
- cat > conftest.$ac_ext <<EOF
-
-#include <pthread.h>
- ACE_REAL_FUNCTION pthread_create
-
-EOF
-
- if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "ACE_REAL_FUNCTION" |
- (eval "$AWK '{print \$2}' > conftest.awk 2>&1"); then
- rm -f conftest.$ac_ext
- ace_real_function=`cat conftest.awk`
- rm -f conftest.awk
- fi
-
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_real_function="pthread_create"
-
-fi
-rm -f conftest*
-
-cat > conftest.$ac_ext <<EOF
-#line 6347 "configure"
-#include "confdefs.h"
-
-#ifndef _REENTRANT
-#error _REENTRANT was not defined
-THROW ME AN ERROR!
-#endif
-
-#ifdef __cplusplus
-extern "C"
-#endif
-
-char $ace_real_function();
-
-int main() {
-
-$ace_real_function();
-
-; return 0; }
-EOF
-if { (eval echo configure:6367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
-
- ace_cv_feature_may_need_thread_flag=no
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_feature_may_need_thread_flag=yes
-
-fi
-rm -f conftest*
-
-
-fi
-rm -f conftest*
-
-
- CXXFLAGS="$ace_pre_warning_CXXFLAGS"
-
-
-
-fi
-
- echo "$ac_t""$ace_cv_feature_may_need_thread_flag" 1>&6
- if test "$ace_cv_feature_may_need_thread_flag" != no; then
- ace_just_a_place_holder=fixme
-
-
-
- echo $ac_n "checking for compiler thread flag""... $ac_c" 1>&6
-echo "configure:6400: checking for compiler thread flag" >&5
- if eval "test \"`echo '$''{'ace_cv_thread_flag_search'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- ace_save_CXXFLAGS="$CXXFLAGS"
- ace_save_CFLAGS="$CFLAGS"
-
- for i in mt pthread pthreads mthreads threads Kthread -thread_safe; do
- CXXFLAGS="$CXXFLAGS -$i"
- CFLAGS="$CFLAGS -$i"
-
-
-
- ace_pre_warning_CXXFLAGS="$CXXFLAGS"
-
- if test -n "$GXX"; then
- CXXFLAGS="$CXXFLAGS -Werror"
- else
- case $target in
- *solaris*)
- if test "$CXX" = CC; then
- CXXFLAGS="$CXXFLAGS -xwe"
- fi
- ;;
- *) ;;
- esac
- fi
-
-
-cat > conftest.$ac_ext <<EOF
-#line 6431 "configure"
-#include "confdefs.h"
-
-#ifndef _REENTRANT
-#error _REENTRANT was not defined
-THROW ME AN ERROR!
-#endif
-
-#ifdef __cplusplus
-extern "C"
-#endif
-
-
-char thr_create();
-
-int main() {
-
-thr_create();
-
-; return 0; }
-EOF
-if { (eval echo configure:6452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
-
- ace_cv_thread_flag_search="-$i"
-
- break;
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
-
-
- cat > conftest.$ac_ext <<EOF
-#line 6467 "configure"
-#include "confdefs.h"
-
-#include <pthread.h>
-
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:6474: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
-
- cat > conftest.$ac_ext <<EOF
-
-#include <pthread.h>
- ACE_REAL_FUNCTION pthread_create
-
-EOF
-
- if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "ACE_REAL_FUNCTION" |
- (eval "$AWK '{print \$2}' > conftest.awk 2>&1"); then
- rm -f conftest.$ac_ext
- ace_real_function=`cat conftest.awk`
- rm -f conftest.awk
- fi
-
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_real_function="pthread_create"
-
-fi
-rm -f conftest*
-
-cat > conftest.$ac_ext <<EOF
-#line 6506 "configure"
-#include "confdefs.h"
-
-#ifndef _REENTRANT
-#error _REENTRANT was not defined
-THROW ME AN ERROR!
-#endif
-
-#ifdef __cplusplus
-extern "C"
-#endif
-
-char $ace_real_function();
-
-int main() {
-
-$ace_real_function();
-
-; return 0; }
-EOF
-if { (eval echo configure:6526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
-
- ace_cv_thread_flag_search="-$i"
-
- break;
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_thread_flag_search=no
-
-fi
-rm -f conftest*
-
-
-fi
-rm -f conftest*
-
-
- CXXFLAGS="$ace_pre_warning_CXXFLAGS"
-
-
-
- CXXFLAGS="$ace_save_CXXFLAGS"
- CFLAGS="$ace_save_CFLAGS"
- done
-
- CXXFLAGS="$ace_save_CXXFLAGS"
- CFLAGS="$ace_save_CFLAGS"
-
-fi
-
- echo "$ac_t""$ace_cv_thread_flag_search" 1>&6
- if test "$ace_cv_thread_flag_search" != no; then
- ace_just_a_place_holder=fixme
-
- CXXFLAGS="$CXXFLAGS $ace_cv_thread_flag_search"
- CFLAGS="$CFLAGS $ace_cv_thread_flag_search"
-
-
-
- else
- ace_just_a_place_holder=fixme
-
-
-
-
- fi
-
-
-
- else
- ace_just_a_place_holder=fixme
-
-
-
- fi
-
-
-
- echo $ac_n "checking for library containing thr_create""... $ac_c" 1>&6
-echo "configure:6590: checking for library containing thr_create" >&5
-if eval "test \"`echo '$''{'ac_cv_search_thr_create'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- ac_func_search_save_LIBS="$LIBS"
-
- ac_cv_search_thr_create="no"
-
-
-cat > conftest.$ac_ext <<EOF
-#line 6601 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char thr_create(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char thr_create();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_thr_create) || defined (__stub___thr_create)
-choke me
-#else
-thr_create();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:6627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- ac_cv_search_thr_create="none required"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
-fi
-rm -f conftest*
-
-
- test "$ac_cv_search_thr_create" = "no" && for i in thread; do
- LIBS="-l$i $ac_func_search_save_LIBS"
-
-cat > conftest.$ac_ext <<EOF
-#line 6641 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char thr_create(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char thr_create();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_thr_create) || defined (__stub___thr_create)
-choke me
-#else
-thr_create();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:6667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
-
- ac_cv_search_thr_create="-l$i"
- break
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
-fi
-rm -f conftest*
-
- done
-
- LIBS="$ac_func_search_save_LIBS"
-
-fi
-
-echo "$ac_t""$ac_cv_search_thr_create" 1>&6
-
- if test "$ac_cv_search_thr_create" != "no"; then
- test "$ac_cv_search_thr_create" = "none required" || LIBS="$ac_cv_search_thr_create $LIBS"
-
- ace_has_sthreads=yes
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_STHREADS 1
-EOF
-
-
- else :
-
- ace_has_sthreads=no
-
- fi
-
-
-
- echo $ac_n "checking for library containing rwlock_destroy""... $ac_c" 1>&6
-echo "configure:6705: checking for library containing rwlock_destroy" >&5
-if eval "test \"`echo '$''{'ac_cv_search_rwlock_destroy'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- ac_func_search_save_LIBS="$LIBS"
-
- ac_cv_search_rwlock_destroy="no"
-
-
-cat > conftest.$ac_ext <<EOF
-#line 6716 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char rwlock_destroy(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char rwlock_destroy();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_rwlock_destroy) || defined (__stub___rwlock_destroy)
-choke me
-#else
-rwlock_destroy();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:6742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- ac_cv_search_rwlock_destroy="none required"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
-fi
-rm -f conftest*
-
-
- test "$ac_cv_search_rwlock_destroy" = "no" && for i in thread; do
- LIBS="-l$i $ac_func_search_save_LIBS"
-
-cat > conftest.$ac_ext <<EOF
-#line 6756 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char rwlock_destroy(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char rwlock_destroy();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_rwlock_destroy) || defined (__stub___rwlock_destroy)
-choke me
-#else
-rwlock_destroy();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:6782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
-
- ac_cv_search_rwlock_destroy="-l$i"
- break
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
-fi
-rm -f conftest*
-
- done
-
- LIBS="$ac_func_search_save_LIBS"
-
-fi
-
-echo "$ac_t""$ac_cv_search_rwlock_destroy" 1>&6
-
- if test "$ac_cv_search_rwlock_destroy" != "no"; then
- test "$ac_cv_search_rwlock_destroy" = "none required" || LIBS="$ac_cv_search_rwlock_destroy $LIBS"
-
- else :
-
- fi
-
-
-
-
- echo $ac_n "checking for pthreads backward compatibility macros""... $ac_c" 1>&6
-echo "configure:6813: checking for pthreads backward compatibility macros" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_pthread_compat_macros'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 6819 "configure"
-#include "confdefs.h"
-
-#include <pthread.h>
-
-#if defined (pthread_create)
- ACE_PTHREAD_MACROS
-#endif
-
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "ACE_PTHREAD_MACROS" >/dev/null 2>&1; then
- rm -rf conftest*
-
- ace_cv_lib_pthread_compat_macros=yes
-
-else
- rm -rf conftest*
-
- ace_cv_lib_pthread_compat_macros=no
-
-fi
-rm -f conftest*
-
-
-fi
-
- echo "$ac_t""$ace_cv_lib_pthread_compat_macros" 1>&6
- if test "$ace_cv_lib_pthread_compat_macros" != no; then
- ace_just_a_place_holder=fixme
-
-
-
-
- cat > conftest.$ac_ext <<EOF
-#line 6854 "configure"
-#include "confdefs.h"
-
-#include <pthread.h>
-
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:6861: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- ace_header_exists=yes
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- ace_header_exists=no
-fi
-rm -f conftest*
-
- cat > conftest.$ac_ext <<EOF
-
-#include <pthread.h>
- ACE_REAL_FUNCTION pthread_create
-
-EOF
-
- if test "$ace_header_exists" = yes; then
- if test -z "$AWK"; then
- echo "configure: warning: No awk program found. "Real" function may not be found." 1>&2
- fi
-
- if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "ACE_REAL_FUNCTION" |
- (eval "$AWK '{print \$2}' > conftest.awk 2>&1"); then
- rm -f conftest.$ac_ext
- ace_real_function=`cat conftest.awk`
- rm -f conftest.awk
- fi
-
- if test pthread_create != "$ace_real_function"; then
- echo $ac_n "checking for real pthread_create from pthread.h""... $ac_c" 1>&6
-echo "configure:6897: checking for real pthread_create from pthread.h" >&5
- echo "$ac_t""$ace_real_function" 1>&6
- fi
- else
- ace_real_function=pthread_create
- fi
- echo $ac_n "checking for $ace_real_function""... $ac_c" 1>&6
-echo "configure:6904: checking for $ace_real_function" >&5
-if eval "test \"`echo '$''{'ac_cv_func_$ace_real_function'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 6909 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char $ace_real_function(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char $ace_real_function();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_$ace_real_function) || defined (__stub___$ace_real_function)
-choke me
-#else
-$ace_real_function();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:6935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_$ace_real_function=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_$ace_real_function=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'$ace_real_function`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- ace_has_pthreads=yes
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_PTHREADS 1
-EOF
-
-
-else
- echo "$ac_t""no" 1>&6
-
-
-
- cat > conftest.$ac_ext <<EOF
-#line 6961 "configure"
-#include "confdefs.h"
-
-#include <pthread.h>
-
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:6968: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- ace_header_exists=yes
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- ace_header_exists=no
-fi
-rm -f conftest*
-
- cat > conftest.$ac_ext <<EOF
-
-#include <pthread.h>
- ACE_REAL_FUNCTION pthread_create
-
-EOF
-
- if test "$ace_header_exists" = yes; then
- if test -z "$AWK"; then
- echo "configure: warning: No awk program found. "Real" function in library may not be found." 1>&2
- fi
-
- if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "ACE_REAL_FUNCTION" |
- eval "$AWK '{print \$2}'" > conftest.awk 2>&1; then
- rm -f conftest.$ac_ext
- ace_real_function=`cat conftest.awk`
- rm -f conftest.awk
- fi
-
- if test pthread_create != "$ace_real_function"; then
- echo $ac_n "checking for real pthread_create from pthread.h""... $ac_c" 1>&6
-echo "configure:7004: checking for real pthread_create from pthread.h" >&5
- echo "$ac_t""$ace_real_function" 1>&6
- fi
- else
- ace_real_function=pthread_create
- fi
- echo $ac_n "checking for $ace_real_function in -lpthread""... $ac_c" 1>&6
-echo "configure:7011: checking for $ace_real_function in -lpthread" >&5
-ac_lib_var=`echo pthread'_'$ace_real_function | sed 'y%./+-%__p_%'`
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- ac_save_LIBS="$LIBS"
-LIBS="-lpthread $LIBS"
-cat > conftest.$ac_ext <<EOF
-#line 7019 "configure"
-#include "confdefs.h"
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char $ace_real_function();
-
-int main() {
-$ace_real_function()
-; return 0; }
-EOF
-if { (eval echo configure:7033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=no"
-fi
-rm -f conftest*
-LIBS="$ac_save_LIBS"
-
-fi
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- ace_has_pthreads=yes
- LIBS="$LIBS -lpthread"
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_PTHREADS 1
-EOF
-
-
-else
- echo "$ac_t""no" 1>&6
-ace_has_pthreads=yes
-
-fi
-
-
-
-fi
-
-
-
- else
- ace_just_a_place_holder=fixme
-
-
- echo $ac_n "checking for library containing pthread_create""... $ac_c" 1>&6
-echo "configure:7072: checking for library containing pthread_create" >&5
-if eval "test \"`echo '$''{'ac_cv_search_pthread_create'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- ac_func_search_save_LIBS="$LIBS"
-
- ac_cv_search_pthread_create="no"
-
-
-cat > conftest.$ac_ext <<EOF
-#line 7083 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char pthread_create(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char pthread_create();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_pthread_create) || defined (__stub___pthread_create)
-choke me
-#else
-pthread_create();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:7109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- ac_cv_search_pthread_create="none required"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
-fi
-rm -f conftest*
-
-
- test "$ac_cv_search_pthread_create" = "no" && for i in pthread pthreads c_r gthreads; do
- LIBS="-l$i $ac_func_search_save_LIBS"
-
-cat > conftest.$ac_ext <<EOF
-#line 7123 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char pthread_create(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char pthread_create();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_pthread_create) || defined (__stub___pthread_create)
-choke me
-#else
-pthread_create();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:7149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
-
- ac_cv_search_pthread_create="-l$i"
- break
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
-fi
-rm -f conftest*
-
- done
-
- LIBS="$ac_func_search_save_LIBS"
-
-fi
-
-echo "$ac_t""$ac_cv_search_pthread_create" 1>&6
-
- if test "$ac_cv_search_pthread_create" != "no"; then
- test "$ac_cv_search_pthread_create" = "none required" || LIBS="$ac_cv_search_pthread_create $LIBS"
-
- ace_has_pthreads=yes
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_PTHREADS 1
-EOF
-
-
- else :
-
- ace_has_pthreads=no
-
- fi
-
-
-
- fi
-
-
-
- if test "$ace_has_pthreads" != yes &&
- test "$ace_has_sthreads" != yes; then
- ace_user_enable_threads=no
- fi
-
-fi
-
- echo $ac_n "checking for library containing sched_yield""... $ac_c" 1>&6
-echo "configure:7198: checking for library containing sched_yield" >&5
-if eval "test \"`echo '$''{'ac_cv_search_sched_yield'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- ac_func_search_save_LIBS="$LIBS"
-
- ac_cv_search_sched_yield="no"
-
-
-cat > conftest.$ac_ext <<EOF
-#line 7209 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char sched_yield(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char sched_yield();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_sched_yield) || defined (__stub___sched_yield)
-choke me
-#else
-sched_yield();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:7235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- ac_cv_search_sched_yield="none required"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
-fi
-rm -f conftest*
-
-
- test "$ac_cv_search_sched_yield" = "no" && for i in posix4; do
- LIBS="-l$i $ac_func_search_save_LIBS"
-
-cat > conftest.$ac_ext <<EOF
-#line 7249 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char sched_yield(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char sched_yield();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_sched_yield) || defined (__stub___sched_yield)
-choke me
-#else
-sched_yield();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:7275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
-
- ac_cv_search_sched_yield="-l$i"
- break
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
-fi
-rm -f conftest*
-
- done
-
- LIBS="$ac_func_search_save_LIBS"
-
-fi
-
-echo "$ac_t""$ac_cv_search_sched_yield" 1>&6
-
- if test "$ac_cv_search_sched_yield" != "no"; then
- test "$ac_cv_search_sched_yield" = "none required" || LIBS="$ac_cv_search_sched_yield $LIBS"
- ace_has_sched_yield=yes
- else :
-
- fi
-
-
-
-
-
-
- ace_save_LIBS="$LIBS"
-
-
- echo $ac_n "checking for library containing aio_read""... $ac_c" 1>&6
-echo "configure:7311: checking for library containing aio_read" >&5
-if eval "test \"`echo '$''{'ac_cv_search_aio_read'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- ac_func_search_save_LIBS="$LIBS"
-
- ac_cv_search_aio_read="no"
-
-
-cat > conftest.$ac_ext <<EOF
-#line 7322 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char aio_read(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char aio_read();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_aio_read) || defined (__stub___aio_read)
-choke me
-#else
-aio_read();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:7348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- ac_cv_search_aio_read="none required"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
-fi
-rm -f conftest*
-
-
- test "$ac_cv_search_aio_read" = "no" && for i in aio posix4 rt; do
- LIBS="-l$i $ac_func_search_save_LIBS"
-
-cat > conftest.$ac_ext <<EOF
-#line 7362 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char aio_read(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char aio_read();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_aio_read) || defined (__stub___aio_read)
-choke me
-#else
-aio_read();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:7388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
-
- ac_cv_search_aio_read="-l$i"
- break
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
-fi
-rm -f conftest*
-
- done
-
- LIBS="$ac_func_search_save_LIBS"
-
-fi
-
-echo "$ac_t""$ac_cv_search_aio_read" 1>&6
-
- if test "$ac_cv_search_aio_read" != "no"; then
- test "$ac_cv_search_aio_read" = "none required" || LIBS="$ac_cv_search_aio_read $LIBS"
- ace_has_aio_funcs=yes
- else :
- ace_has_aio_funcs=no
- fi
-
-
-if test "$ace_has_aio_funcs" = yes; then
-
- echo $ac_n "checking for working asynchronous IO""... $ac_c" 1>&6
-echo "configure:7419: checking for working asynchronous IO" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_aio_calls'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- if test "$cross_compiling" = yes; then
-
- cat > conftest.$ac_ext <<EOF
-#line 7427 "configure"
-#include "confdefs.h"
-
-#include <aio.h>
-
-int main() {
-
- aiocb* aiocb_ptr (void);
-
-; return 0; }
-EOF
-if { (eval echo configure:7438: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_feature_aio_calls=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_feature_aio_calls=no
-
-fi
-rm -f conftest*
-
-else
- cat > conftest.$ac_ext <<EOF
-#line 7455 "configure"
-#include "confdefs.h"
-#ifdef __cplusplus
-extern "C" void exit(int);
-#endif
-
-#ifndef ACE_LACKS_UNISTD_H
-#include <unistd.h>
-#endif
-#include <fcntl.h>
-#ifndef ACE_LACKS_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-#include <sys/stat.h>
-#include <signal.h>
-#include <string.h>
-#include <errno.h>
-#include <stdio.h>
-#include <iostream.h>
-
-#include <aio.h>
-
-class Test_Aio
-{
-public:
- Test_Aio (void);
- // Default constructor.
-
- int init (void);
- // Initting the output file and the buffer.
-
- int do_aio (void);
- // Doing the testing stuff.
-
- ~Test_Aio (void);
- // Destructor.
-private:
- int out_fd_;
- // Output file descriptor.
-
- struct aiocb *aiocb_write_;
- // For writing to the file.
-
- struct aiocb *aiocb_read_;
- // Reading stuff from the file.
-
- char *buffer_write_;
- // The buffer to be written to the out_fd.
-
- char *buffer_read_;
- // The buffer to be read back from the file.
-};
-
-Test_Aio::Test_Aio (void)
- : aiocb_write_ (new struct aiocb),
- aiocb_read_ (new struct aiocb),
- buffer_write_ (0),
- buffer_read_ (0)
-{
-}
-
-Test_Aio::~Test_Aio (void)
-{
- delete aiocb_write_;
- delete aiocb_read_;
- delete buffer_write_;
- delete buffer_read_;
-}
-
-// Init the output file and init the buffer.
-int
-Test_Aio::init (void)
-{
- // Open the output file.
- this->out_fd_ = open ("test_aio.log", O_RDWR | O_CREAT | O_TRUNC, 0666);
- if (this->out_fd_ == 0)
- {
- //cout << "Error : Opening file" << endl;
- return -1;
- }
-
- // Init the buffers.
- this->buffer_write_ = strdup ("Welcome to the world of AIO... AIO Rules !!!");
- // cout << "The buffer : " << this->buffer_write_ << endl;
- this->buffer_read_ = new char [strlen (this->buffer_write_)];
-
- return 0;
-}
-
-// Set the necessary things for the AIO stuff.
-// Write the buffer asynchly.hmm Disable signals.
-// Go on aio_suspend. Wait for completion.
-// Print out the result.
-int
-Test_Aio::do_aio (void)
-{
- // = Write to the file.
-
- // Setup AIOCB.
- this->aiocb_write_->aio_fildes = this->out_fd_;
- this->aiocb_write_->aio_offset = 0;
- this->aiocb_write_->aio_buf = this->buffer_write_;
- this->aiocb_write_->aio_nbytes = strlen (this->buffer_write_);
- this->aiocb_write_->aio_reqprio = 0;
- this->aiocb_write_->aio_sigevent.sigev_notify = SIGEV_NONE;
- //this->this->aiocb_.aio_sigevent.sigev_signo = SIGRTMAX;
- this->aiocb_write_->aio_sigevent.sigev_value.sival_ptr =
- (void *) this->aiocb_write_;
-
- // Fire off the aio write.
- if (aio_write (this->aiocb_write_) != 0)
- {
- perror ("aio_write");
- return -1;
- }
-
- // = Read from that file.
-
- // Setup AIOCB.
- this->aiocb_read_->aio_fildes = this->out_fd_;
- this->aiocb_read_->aio_offset = 0;
- this->aiocb_read_->aio_buf = this->buffer_read_;
- this->aiocb_read_->aio_nbytes = strlen (this->buffer_write_);
- this->aiocb_read_->aio_reqprio = 0;
- this->aiocb_read_->aio_sigevent.sigev_notify = SIGEV_NONE;
- //this->this->aiocb_.aio_sigevent.sigev_signo = SIGRTMAX;
- this->aiocb_read_->aio_sigevent.sigev_value.sival_ptr =
- (void *) this->aiocb_read_;
-
- // Fire off the aio write. If it doesnt get queued, carry on to get
- // the completion for the first one.
- if (aio_read (this->aiocb_read_) < 0)
- perror ("aio_read");
-
- // Wait for the completion on aio_suspend.
- struct aiocb *list_aiocb[2];
- list_aiocb [0] = this->aiocb_write_;
- list_aiocb [1] = this->aiocb_read_;
-
- // Do suspend till all the aiocbs in the list are done.
- int done = 0;
- int return_val = 0;
- while (!done)
- {
- return_val = aio_suspend (list_aiocb,
- 2,
- 0);
- cerr << "Return value :" << return_val << endl;
-
- // Analyze return and error values.
- if (aio_error (list_aiocb [0]) != EINPROGRESS)
- {
- if (aio_return (list_aiocb [0]) == -1)
- {
- perror ("aio_return");
- return -1;
- }
- else
- {
- // Successful. Store the pointer somewhere and make the
- // entry NULL in the list.
- this->aiocb_write_ = list_aiocb [0];
- list_aiocb [0] = 0;
- }
- }
- else
- //cout << "AIO in progress" << endl;
-
- if (aio_error (list_aiocb [1]) != EINPROGRESS)
- {
- if (aio_return (list_aiocb [1]) == -1)
- {
- perror ("aio_return");
- return -1;
- }
- else
- {
- // Successful. Store the pointer somewhere and make the
- // entry NULL in the list.
- this->aiocb_read_ = list_aiocb [1];
- list_aiocb [1] = 0;
- }
- }
- else
- //cout << "AIO in progress" << endl;
-
- // Is it done?
- if ((list_aiocb [0] == 0) && (list_aiocb [1] == 0))
- done = 1;
- }
-
- //cout << "Both the AIO operations done." << endl;
- //cout << "The buffer is :" << this->buffer_read_ << endl;
-
- return 0;
-}
-
-int
-main (int argc, char **argv)
-{
- Test_Aio test_aio;
-
- if (test_aio.init () != 0)
- {
- //printf ("AIOCB test failed:\n"
- // "ACE_POSIX_AIOCB_PROACTOR may not work in this platform\n");
- return -1;
- }
-
- if (test_aio.do_aio () != 0)
- {
- //printf ("AIOCB test failed:\n"
- // "ACE_POSIX_AIOCB_PROACTOR may not work in this platform\n");
- return -1;
- }
- //printf ("AIOCB test successful:\n"
- // "ACE_POSIX_AIOCB_PROACTOR should work in this platform\n");
- return 0;
-}
-
-EOF
-if { (eval echo configure:7676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-then
-
- if test "$cross_compiling" = yes; then
-
- ace_just_a_place_holder=ignoreme
-
-else
- cat > conftest.$ac_ext <<EOF
-#line 7685 "configure"
-#include "confdefs.h"
-#ifdef __cplusplus
-extern "C" void exit(int);
-#endif
-
-#ifndef ACE_LACKS_UNISTD_H
-#include <unistd.h>
-#endif
-#include <fcntl.h>
-#ifndef ACE_LACKS_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-#include <sys/stat.h>
-#include <signal.h>
-#include <string.h>
-#include <errno.h>
-#include <stdio.h>
-
-#include <limits.h>
-
-#include <aio.h>
-
-
-int file_handle = -1;
-char mb1 [BUFSIZ + 1];
-char mb2 [BUFSIZ + 1];
-aiocb aiocb1, aiocb2;
-sigset_t completion_signal;
-
-// Function prototypes.
-int setup_signal_delivery (void);
-int issue_aio_calls (void);
-int query_aio_completions (void);
-int test_aio_calls (void);
-int setup_signal_handler (void);
-int setup_signal_handler (int signal_number);
-
-int
-setup_signal_delivery (void)
-{
- // Make the sigset_t consisting of the completion signal.
- if (sigemptyset (&completion_signal) == -1)
- {
- perror ("Error:Couldnt init the RT completion signal set\n");
- return -1;
- }
-
- if (sigaddset (&completion_signal, SIGRTMIN) == -1)
- {
- perror ("Error:Couldnt init the RT completion signal set\n");
- return -1;
- }
-
- // Mask them.
- if (pthread_sigmask (SIG_BLOCK, &completion_signal, 0) == -1)
- {
- perror ("Error:Couldnt maks the RT completion signals\n");
- return -1;
- }
-
- return setup_signal_handler (SIGRTMIN);
-}
-
-int
-issue_aio_calls (void)
-{
- // Setup AIOCB.
- aiocb1.aio_fildes = file_handle;
- aiocb1.aio_offset = 0;
- aiocb1.aio_buf = mb1;
- aiocb1.aio_nbytes = BUFSIZ;
- aiocb1.aio_reqprio = 0;
- aiocb1.aio_sigevent.sigev_notify = SIGEV_SIGNAL;
- aiocb1.aio_sigevent.sigev_signo = SIGRTMIN;
- aiocb1.aio_sigevent.sigev_value.sival_ptr = (void *) &aiocb1;
-
- // Fire off the aio write.
- if (aio_read (&aiocb1) == -1)
- {
- // Queueing failed.
- perror ("Error:Asynch_Read_Stream: aio_read queueing failed\n");
- return -1;
- }
-
- // Setup AIOCB.
- aiocb2.aio_fildes = file_handle;
- aiocb2.aio_offset = BUFSIZ + 1;
- aiocb2.aio_buf = mb2;
- aiocb2.aio_nbytes = BUFSIZ;
- aiocb2.aio_reqprio = 0;
- aiocb2.aio_sigevent.sigev_notify = SIGEV_SIGNAL;
- aiocb2.aio_sigevent.sigev_signo = SIGRTMIN;
- aiocb2.aio_sigevent.sigev_value.sival_ptr = (void *) &aiocb2;
-
- // Fire off the aio write.
- if (aio_read (&aiocb2) == -1)
- {
- // Queueing failed.
- perror ("Error:Asynch_Read_Stream: aio_read queueing failed\n");
- return -1;
- }
- return 0;
-}
-
-int
-query_aio_completions (void)
-{
- int result = 0;
- size_t number_of_compleions = 0;
- for (number_of_compleions = 0;
- number_of_compleions < 2;
- number_of_compleions ++)
- {
- // Wait for <milli_seconds> amount of time.
- // @@ Assigning <milli_seconds> to tv_sec.
- timespec timeout;
- timeout.tv_sec = INT_MAX;
- timeout.tv_nsec = 0;
-
- // To get back the signal info.
- siginfo_t sig_info;
-
- // Await the RT completion signal.
- int sig_return = sigtimedwait (&completion_signal,
- &sig_info,
- &timeout);
-
- // Error case.
- // If failure is coz of timeout, then return *0* but set
- // errno appropriately. This is what the WinNT proactor
- // does.
- if (sig_return == -1)
- {
- perror ("Error:Error waiting for RT completion signals\n");
- return -1;
- }
-
- // RT completion signals returned.
- if (sig_return != SIGRTMIN)
- {
- //printf ("Unexpected signal (%d) has been received while waiting for RT Completion Signals\n",
- // sig_return);
- return -1;
- }
-
- // @@ Debugging.
- //printf ("Sig number found in the sig_info block : %d\n",
- // sig_info.si_signo);
-
- // Is the signo returned consistent?
- if (sig_info.si_signo != sig_return)
- {
- //printf ("Inconsistent signal number (%d) in the signal info block\n",
- // sig_info.si_signo);
- return -1;
- }
-
- // @@ Debugging.
- //printf ("Signal code for this signal delivery : %d\n",
- // sig_info.si_code);
-
- // Is the signal code an aio completion one?
- if ((sig_info.si_code != SI_ASYNCIO) &&
- (sig_info.si_code != SI_QUEUE))
- {
- //printf ("Unexpected signal code (%d) returned on completion querying\n",
- // sig_info.si_code);
- return -1;
- }
-
- // Retrive the aiocb.
- aiocb* aiocb_ptr = (aiocb *) sig_info.si_value.sival_ptr;
-
- // Analyze error and return values. Return values are
- // actually <errno>'s associated with the <aio_> call
- // corresponding to aiocb_ptr.
- int error_code = aio_error (aiocb_ptr);
- if (error_code == -1)
- {
- perror ("Error:Invalid control block was sent to <aio_error> for compleion querying\n");
- return -1;
- }
-
- if (error_code != 0)
- {
- // Error occurred in the <aio_>call. Return the errno
- // corresponding to that <aio_> call.
- //printf ("Error:An AIO call has failed:Error code = %d\n",
- // error_code);
- return -1;
- }
-
- // No error occured in the AIO operation.
- int nbytes = aio_return (aiocb_ptr);
- if (nbytes == -1)
- {
- perror ("Error:Invalid control block was send to <aio_return>\n");
- return -1;
- }
-
- if (number_of_compleions == 0)
- // Print the buffer.
- //printf ("Number of bytes transferred : %d\n The buffer : %s \n",
- // nbytes,
- // mb1);
- else
- // Print the buffer.
- //printf ("Number of bytes transferred : %d\n The buffer : %s \n",
- // nbytes,
- // mb2);
- }
- return 0;
-}
-
-int
-test_aio_calls (void)
-{
- // Set up the input file.
- // Open file (in SEQUENTIAL_SCAN mode)
- file_handle = open ("test_aiosig.cpp", O_RDONLY);
-
- if (file_handle == -1)
- {
- perror ("Error:Opening the inputfile");
- return -1;
- }
-
- if (setup_signal_delivery () < 0)
- return -1;
-
- if (issue_aio_calls () < 0)
- return -1;
-
- if (query_aio_completions () < 0)
- return -1;
-
- return 0;
-}
-
-int
-setup_signal_handler (int signal_number)
-{
- // Setting up the handler(!) for these signals.
- struct sigaction reaction;
- sigemptyset (&reaction.sa_mask); // Nothing else to mask.
- reaction.sa_flags = SA_SIGINFO; // Realtime flag.
-#if defined (SA_SIGACTION)
- // Lynx says, it is better to set this bit to be portable.
- reaction.sa_flags &= SA_SIGACTION;
-#endif /* SA_SIGACTION */
- reaction.sa_sigaction = null_handler; // Null handler.
- int sigaction_return = sigaction (SIGRTMIN,
- &reaction,
- 0);
- if (sigaction_return == -1)
- {
- perror ("Error:Proactor couldnt do sigaction for the RT SIGNAL");
- return -1;
- }
-
- return 0;
-}
-
-void
-null_handler (int /* signal_number */,
- siginfo_t * /* info */,
- void * /* context */)
-{
-}
-
-int
-main (int, char *[])
-{
- if (test_aio_calls () == 0)
- //printf ("RT SIG test successful:\n"
- // "ACE_POSIX_SIG_PROACTOR should work in this platform\n");
- else
- //printf ("RT SIG test failed:\n"
- // "ACE_POSIX_SIG_PROACTOR may not work in this platform\n");
- return 0;
-}
-
-EOF
-if { (eval echo configure:7969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-then
-
- ace_cv_feature_aio_calls=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -fr conftest*
-
- ace_cv_feature_aio_calls=no
-
-fi
-rm -fr conftest*
-fi
-
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -fr conftest*
-
- ace_cv_feature_aio_calls=no
-
-fi
-rm -fr conftest*
-fi
-
-
-fi
-
- echo "$ac_t""$ace_cv_feature_aio_calls" 1>&6
- if test "$ace_cv_feature_aio_calls" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_AIO_CALLS 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-LIBS="$ace_save_LIBS"
-
- fi
-
-fi
-
-
- echo $ac_n "checking for library containing clock_gettime""... $ac_c" 1>&6
-echo "configure:8017: checking for library containing clock_gettime" >&5
-if eval "test \"`echo '$''{'ac_cv_search_clock_gettime'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- ac_func_search_save_LIBS="$LIBS"
-
- ac_cv_search_clock_gettime="no"
-
-
-cat > conftest.$ac_ext <<EOF
-#line 8028 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char clock_gettime(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char clock_gettime();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_clock_gettime) || defined (__stub___clock_gettime)
-choke me
-#else
-clock_gettime();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:8054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- ac_cv_search_clock_gettime="none required"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
-fi
-rm -f conftest*
-
-
- test "$ac_cv_search_clock_gettime" = "no" && for i in posix4; do
- LIBS="-l$i $ac_func_search_save_LIBS"
-
-cat > conftest.$ac_ext <<EOF
-#line 8068 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char clock_gettime(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char clock_gettime();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_clock_gettime) || defined (__stub___clock_gettime)
-choke me
-#else
-clock_gettime();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:8094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
-
- ac_cv_search_clock_gettime="-l$i"
- break
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
-fi
-rm -f conftest*
-
- done
-
- LIBS="$ac_func_search_save_LIBS"
-
-fi
-
-echo "$ac_t""$ac_cv_search_clock_gettime" 1>&6
-
- if test "$ac_cv_search_clock_gettime" != "no"; then
- test "$ac_cv_search_clock_gettime" = "none required" || LIBS="$ac_cv_search_clock_gettime $LIBS"
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_CLOCK_GETTIME 1
-EOF
-
- else :
-
- fi
-
-
-# Check whether --enable-static or --disable-static was given.
-if test "${enable_static+set}" = set; then
- enableval="$enable_static"
- p=${PACKAGE-default}
-case "$enableval" in
-yes) enable_static=yes ;;
-no) enable_static=no ;;
-*)
- enable_static=no
- # Look at the argument we got. We use all the common list separators.
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
- for pkg in $enableval; do
- if test "X$pkg" = "X$p"; then
- enable_static=yes
- fi
- done
- IFS="$ac_save_ifs"
- ;;
-esac
-else
- enable_static=no
-fi
-
-
-
-
-save_CC="$CC"
-CC="$CXX"
-
-# Check whether --enable-shared or --disable-shared was given.
-if test "${enable_shared+set}" = set; then
- enableval="$enable_shared"
- p=${PACKAGE-default}
-case "$enableval" in
-yes) enable_shared=yes ;;
-no) enable_shared=no ;;
-*)
- enable_shared=no
- # Look at the argument we got. We use all the common list separators.
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
- for pkg in $enableval; do
- if test "X$pkg" = "X$p"; then
- enable_shared=yes
- fi
- done
- IFS="$ac_save_ifs"
- ;;
-esac
-else
- enable_shared=yes
-fi
-
-# Check whether --enable-fast-install or --disable-fast-install was given.
-if test "${enable_fast_install+set}" = set; then
- enableval="$enable_fast_install"
- p=${PACKAGE-default}
-case "$enableval" in
-yes) enable_fast_install=yes ;;
-no) enable_fast_install=no ;;
-*)
- enable_fast_install=no
- # Look at the argument we got. We use all the common list separators.
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
- for pkg in $enableval; do
- if test "X$pkg" = "X$p"; then
- enable_fast_install=yes
- fi
- done
- IFS="$ac_save_ifs"
- ;;
-esac
-else
- enable_fast_install=yes
-fi
-
-# Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:8203: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- ac_dummy="$PATH"
- for ac_dir in $ac_dummy; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- ac_cv_prog_RANLIB="ranlib"
- break
- fi
- done
- IFS="$ac_save_ifs"
- test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
-fi
-fi
-RANLIB="$ac_cv_prog_RANLIB"
-if test -n "$RANLIB"; then
- echo "$ac_t""$RANLIB" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-
-# Check whether --with-gnu-ld or --without-gnu-ld was given.
-if test "${with_gnu_ld+set}" = set; then
- withval="$with_gnu_ld"
- test "$withval" = no || with_gnu_ld=yes
-else
- with_gnu_ld=no
-fi
-
-ac_prog=ld
-if test "$ac_cv_prog_gcc" = yes; then
- # Check if gcc -print-prog-name=ld gives a path.
- echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
-echo "configure:8242: checking for ld used by GCC" >&5
- ac_prog=`($CC -print-prog-name=ld) 2>&5`
- case "$ac_prog" in
- # Accept absolute paths.
- [\\/]* | [A-Za-z]:[\\/]*)
- re_direlt='/[^/][^/]*/\.\./'
- # Canonicalize the path of ld
- ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
- while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
- ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
- done
- test -z "$LD" && LD="$ac_prog"
- ;;
- "")
- # If it fails, then pretend we aren't using GCC.
- ac_prog=ld
- ;;
- *)
- # If it is relative, then search for the first ld in PATH.
- with_gnu_ld=unknown
- ;;
- esac
-elif test "$with_gnu_ld" = yes; then
- echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
-echo "configure:8266: checking for GNU ld" >&5
-else
- echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
-echo "configure:8269: checking for non-GNU ld" >&5
-fi
-if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test -z "$LD"; then
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
- for ac_dir in $PATH; do
- test -z "$ac_dir" && ac_dir=.
- if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
- ac_cv_path_LD="$ac_dir/$ac_prog"
- # Check to see if the program is GNU ld. I'd rather use --version,
- # but apparently some GNU ld's only accept -v.
- # Break only if it was the GNU/non-GNU ld that we prefer.
- if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
- test "$with_gnu_ld" != no && break
- else
- test "$with_gnu_ld" != yes && break
- fi
- fi
- done
- IFS="$ac_save_ifs"
-else
- ac_cv_path_LD="$LD" # Let the user override the test with a path.
-fi
-fi
-
-LD="$ac_cv_path_LD"
-if test -n "$LD"; then
- echo "$ac_t""$LD" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
-
-echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
-echo "configure:8305: checking if the linker ($LD) is GNU ld" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- # I'd rather use --version here, but apparently some GNU ld's only accept -v.
-if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
- ac_cv_prog_gnu_ld=yes
-else
- ac_cv_prog_gnu_ld=no
-fi
-fi
-
-echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
-
-
-echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
-echo "configure:8321: checking for BSD-compatible nm" >&5
-if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test -n "$NM"; then
- # Let the user override the test.
- ac_cv_path_NM="$NM"
-else
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
- for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then
- # Check to see if the nm accepts a BSD-compat flag.
- # Adding the `sed 1q' prevents false positives on HP-UX, which says:
- # nm: unknown option "B" ignored
- if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
- ac_cv_path_NM="$ac_dir/nm -B"
- break
- elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
- ac_cv_path_NM="$ac_dir/nm -p"
- break
- else
- ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
- continue # so that we can try to find one that supports BSD flags
- fi
- fi
- done
- IFS="$ac_save_ifs"
- test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
-fi
-fi
-
-NM="$ac_cv_path_NM"
-echo "$ac_t""$NM" 1>&6
-
-
-
-# Check for any special flags to pass to ltconfig.
-libtool_flags="--cache-file=$cache_file"
-test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
-test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
-test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
-test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
-test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
-libtool_flags="$libtool_flags --enable-dlopen"
-
-# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
-if test "${enable_libtool_lock+set}" = set; then
- enableval="$enable_libtool_lock"
- :
-fi
-
-test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
-test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
-
-# Some flags need to be propagated to the compiler or linker for good
-# libtool support.
-case "$host" in
-*-*-irix6*)
- # Find out which ABI we are using.
- echo '#line 8381 "configure"' > conftest.$ac_ext
- if { (eval echo configure:8382: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- case "`/usr/bin/file conftest.o`" in
- *32-bit*)
- LD="${LD-ld} -32"
- ;;
- *N32*)
- LD="${LD-ld} -n32"
- ;;
- *64-bit*)
- LD="${LD-ld} -64"
- ;;
- esac
- fi
- rm -rf conftest*
- ;;
-
-*-*-sco3.2v5*)
- # On SCO OpenServer 5, we need -belf to get full-featured binaries.
- SAVE_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS -belf"
- echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
-echo "configure:8403: checking whether the C compiler needs -belf" >&5
-if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 8408 "configure"
-#include "confdefs.h"
-
-int main() {
-
-; return 0; }
-EOF
-if { (eval echo configure:8415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- lt_cv_cc_needs_belf=yes
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- lt_cv_cc_needs_belf=no
-fi
-rm -f conftest*
-fi
-
-echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
- if test x"$lt_cv_cc_needs_belf" != x"yes"; then
- # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
- CFLAGS="$SAVE_CFLAGS"
- fi
- ;;
-
-
-esac
-
-
-# Save cache, so that ltconfig can load it
-cat > confcache <<\EOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs. It is not useful on other systems.
-# If it contains results you don't want to keep, you may remove or edit it.
-#
-# By default, configure uses ./config.cache as the cache file,
-# creating it if it does not exist already. You can give configure
-# the --cache-file=FILE option to use a different cache file; that is
-# what configure does when it calls configure scripts in
-# subdirectories, so they share the cache.
-# Giving --cache-file=/dev/null disables caching, for debugging configure.
-# config.status only pays attention to the cache file if you give it the
-# --recheck option to rerun configure.
-#
-EOF
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, don't put newlines in cache variables' values.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(set) 2>&1 |
- case `(ac_space=' '; set | grep ac_space) 2>&1` in
- *ac_space=\ *)
- # `set' does not quote correctly, so add quotes (double-quote substitution
- # turns \\\\ into \\, and sed turns \\ into \).
- sed -n \
- -e "s/'/'\\\\''/g" \
- -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
- ;;
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
- ;;
- esac >> confcache
-if cmp -s $cache_file confcache; then
- :
-else
- if test -w $cache_file; then
- echo "updating cache $cache_file"
- cat confcache > $cache_file
- else
- echo "not updating unwritable cache $cache_file"
- fi
-fi
-rm -f confcache
-
-
-# Actually configure libtool. ac_aux_dir is where install-sh is found.
-CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
-LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
-LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
-DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
-${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
-$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
-|| { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
-
-# Reload cache, that may have been modified by ltconfig
-if test -r "$cache_file"; then
- echo "loading cache $cache_file"
- . $cache_file
-else
- echo "creating cache $cache_file"
- > $cache_file
-fi
-
-
-# This can be used to rebuild libtool when needed
-LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
-
-# Always use our own libtool.
-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-
-# Redirect the config.log output again, so that the ltconfig log is not
-# clobbered by the next message.
-exec 5>>./config.log
-
-
-CC="$save_CC"
-
-
-ac_header_dirent=no
-for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h
-do
-ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
-echo "configure:8525: checking for $ac_hdr that defines DIR" >&5
-if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 8530 "configure"
-#include "confdefs.h"
-#include <sys/types.h>
-#include <$ac_hdr>
-int main() {
-DIR *dirp = 0;
-; return 0; }
-EOF
-if { (eval echo configure:8538: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- eval "ac_cv_header_dirent_$ac_safe=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_dirent_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
- cat >> confdefs.h <<EOF
-#define $ac_tr_hdr 1
-EOF
- ac_header_dirent=$ac_hdr; break
-else
- echo "$ac_t""no" 1>&6
-fi
-done
-# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
-if test $ac_header_dirent = dirent.h; then
-echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
-echo "configure:8563: checking for opendir in -ldir" >&5
-ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- ac_save_LIBS="$LIBS"
-LIBS="-ldir $LIBS"
-cat > conftest.$ac_ext <<EOF
-#line 8571 "configure"
-#include "confdefs.h"
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char opendir();
-
-int main() {
-opendir()
-; return 0; }
-EOF
-if { (eval echo configure:8585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=no"
-fi
-rm -f conftest*
-LIBS="$ac_save_LIBS"
-
-fi
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- LIBS="$LIBS -ldir"
-else
- echo "$ac_t""no" 1>&6
-fi
-
-else
-echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
-echo "configure:8607: checking for opendir in -lx" >&5
-ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'`
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- ac_save_LIBS="$LIBS"
-LIBS="-lx $LIBS"
-cat > conftest.$ac_ext <<EOF
-#line 8615 "configure"
-#include "confdefs.h"
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char opendir();
-
-int main() {
-opendir()
-; return 0; }
-EOF
-if { (eval echo configure:8629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=no"
-fi
-rm -f conftest*
-LIBS="$ac_save_LIBS"
-
-fi
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- LIBS="$LIBS -lx"
-else
- echo "$ac_t""no" 1>&6
-fi
-
-fi
-
-
-if test "$ac_cv_header_dirent_dirent_h" = yes ||
- test "$ac_cv_header_dirent_sys_ndir_h" = yes ||
- test "$ac_cv_header_dirent_sys_dir_h" = yes ||
- test "$ac_cv_header_dirent_ndir_h" = yes; then
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_DIRENT 1
-EOF
-
-fi
-
-echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
-echo "configure:8663: checking for sys/wait.h that is POSIX.1 compatible" >&5
-if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 8668 "configure"
-#include "confdefs.h"
-#include <sys/types.h>
-#include <sys/wait.h>
-#ifndef WEXITSTATUS
-#define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
-#endif
-#ifndef WIFEXITED
-#define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
-#endif
-int main() {
-int s;
-wait (&s);
-s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
-; return 0; }
-EOF
-if { (eval echo configure:8684: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- ac_cv_header_sys_wait_h=yes
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- ac_cv_header_sys_wait_h=no
-fi
-rm -f conftest*
-fi
-
-echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6
-if test $ac_cv_header_sys_wait_h = yes; then
- cat >> confdefs.h <<\EOF
-#define HAVE_SYS_WAIT_H 1
-EOF
-
-fi
-
-
-if test "$ac_cv_cygwin" = yes; then
- ac_safe=`echo "cygwin32/socket.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for cygwin32/socket.h""... $ac_c" 1>&6
-echo "configure:8708: checking for cygwin32/socket.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 8713 "configure"
-#include "confdefs.h"
-#include <cygwin32/socket.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:8718: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_CYGWIN32_SOCKET_H 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-fi
-
-ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6
-echo "configure:8746: checking for dlfcn.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 8751 "configure"
-#include "confdefs.h"
-#include <dlfcn.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:8756: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
- if test "$ace_has_svr4_dynamic_linking" = yes; then
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_SVR4_DYNAMIC_LINKING 1
-EOF
-
- fi
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-ac_safe=`echo "malloc.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for malloc.h""... $ac_c" 1>&6
-echo "configure:8787: checking for malloc.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 8792 "configure"
-#include "confdefs.h"
-#include <malloc.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:8797: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_MALLOC_H 1
-EOF
-
-fi
-
-
-ac_safe=`echo "memory.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for memory.h""... $ac_c" 1>&6
-echo "configure:8825: checking for memory.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 8830 "configure"
-#include "confdefs.h"
-#include <memory.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:8835: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_MEMORY_H 1
-EOF
-
-fi
-
-
-ac_safe=`echo "bytesex.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for bytesex.h""... $ac_c" 1>&6
-echo "configure:8863: checking for bytesex.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 8868 "configure"
-#include "confdefs.h"
-#include <bytesex.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:8873: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_BYTESEX_H 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-
-ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6
-echo "configure:8901: checking for sys/msg.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 8906 "configure"
-#include "confdefs.h"
-#include <sys/msg.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:8911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-
- echo $ac_n "checking if _KERNEL is needed for msg prototypes""... $ac_c" 1>&6
-echo "configure:8930: checking if _KERNEL is needed for msg prototypes" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_broken_msg_h'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 8936 "configure"
-#include "confdefs.h"
-
-#include <sys/msg.h>
-
-int main() {
-
- struct msg ace_msg;
-
-; return 0; }
-EOF
-if { (eval echo configure:8947: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_broken_msg_h=no
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- cat > conftest.$ac_ext <<EOF
-#line 8958 "configure"
-#include "confdefs.h"
-
-#ifndef _KERNEL
-# define _KERNEL
-#endif
-#include <sys/msg.h>
-
-int main() {
-
- struct msg ace_msg;
-
-; return 0; }
-EOF
-if { (eval echo configure:8972: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_broken_msg_h=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_broken_msg_h=no
-
-fi
-rm -f conftest*
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_lib_broken_msg_h" 1>&6
- if test "$ace_cv_lib_broken_msg_h" != no; then
- ace_just_a_place_holder=fixme
-
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_BROKEN_MSG_H 1
-EOF
-
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_SYSV_MSG_H 1
-EOF
-
-fi
-
-
-ac_safe=`echo "sys/param.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for sys/param.h""... $ac_c" 1>&6
-echo "configure:9018: checking for sys/param.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 9023 "configure"
-#include "confdefs.h"
-#include <sys/param.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:9028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_PARAM_H 1
-EOF
-
-fi
-
-
-ac_safe=`echo "sys/priocntl.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for sys/priocntl.h""... $ac_c" 1>&6
-echo "configure:9056: checking for sys/priocntl.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 9061 "configure"
-#include "confdefs.h"
-#include <sys/priocntl.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:9066: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-ac_safe=`echo "ucontext.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for ucontext.h""... $ac_c" 1>&6
-echo "configure:9090: checking for ucontext.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 9095 "configure"
-#include "confdefs.h"
-#include <ucontext.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:9100: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_UCONTEXT_H 1
-EOF
-
-fi
-
-
-ac_safe=`echo "sys/procfs.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for sys/procfs.h""... $ac_c" 1>&6
-echo "configure:9128: checking for sys/procfs.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 9133 "configure"
-#include "confdefs.h"
-#include <sys/procfs.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:9138: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-
- echo $ac_n "checking if sys/procfs.h conflicts with ucontext.h""... $ac_c" 1>&6
-echo "configure:9157: checking if sys/procfs.h conflicts with ucontext.h" >&5
- if eval "test \"`echo '$''{'ace_has_procfs_conflict'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 9163 "configure"
-#include "confdefs.h"
-
-#ifndef ACE_LACKS_UCONTEXT_H
-# include <ucontext.h>
-#endif
-
-#include <sys/procfs.h>
-
-int main() {
-
- int a = 0;
-
-; return 0; }
-EOF
-if { (eval echo configure:9178: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_has_procfs_conflict=no
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_has_procfs_conflict=yes
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_has_procfs_conflict" 1>&6
- if test "$ace_has_procfs_conflict" != no; then
- ace_just_a_place_holder=fixme
-
-
- else
- ace_just_a_place_holder=fixme
-
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_PROC_FS 1
-EOF
-
-
-
- fi
-
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-ac_safe=`echo "sys/select.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for sys/select.h""... $ac_c" 1>&6
-echo "configure:9219: checking for sys/select.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 9224 "configure"
-#include "confdefs.h"
-#include <sys/select.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:9229: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_SELECT_H 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-ac_safe=`echo "netinet/tcp.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for netinet/tcp.h""... $ac_c" 1>&6
-echo "configure:9256: checking for netinet/tcp.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 9261 "configure"
-#include "confdefs.h"
-#include <netinet/tcp.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:9266: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_TCP_H 1
-EOF
-
-fi
-
-
-ac_safe=`echo "sys/sockio.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for sys/sockio.h""... $ac_c" 1>&6
-echo "configure:9294: checking for sys/sockio.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 9299 "configure"
-#include "confdefs.h"
-#include <sys/sockio.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:9304: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_SOCKIO_H 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-ac_safe=`echo "sysent.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for sysent.h""... $ac_c" 1>&6
-echo "configure:9331: checking for sysent.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 9336 "configure"
-#include "confdefs.h"
-#include <sysent.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:9341: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_SYSENT_H 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-ac_safe=`echo "sys/systeminfo.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for sys/systeminfo.h""... $ac_c" 1>&6
-echo "configure:9368: checking for sys/systeminfo.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 9373 "configure"
-#include "confdefs.h"
-#include <sys/systeminfo.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:9378: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
-
-ac_safe=`echo "sys/filio.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for sys/filio.h""... $ac_c" 1>&6
-echo "configure:9401: checking for sys/filio.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 9406 "configure"
-#include "confdefs.h"
-#include <sys/filio.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:9411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_SYS_FILIO_H 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-ac_safe=`echo "sys/uio.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for sys/uio.h""... $ac_c" 1>&6
-echo "configure:9438: checking for sys/uio.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 9443 "configure"
-#include "confdefs.h"
-#include <sys/uio.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:9448: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
-
-ac_safe=`echo "sys/ioctl.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for sys/ioctl.h""... $ac_c" 1>&6
-echo "configure:9471: checking for sys/ioctl.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 9476 "configure"
-#include "confdefs.h"
-#include <sys/ioctl.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:9481: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_SYS_IOCTL_H 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-ac_safe=`echo "sys/types.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for sys/types.h""... $ac_c" 1>&6
-echo "configure:9508: checking for sys/types.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 9513 "configure"
-#include "confdefs.h"
-#include <sys/types.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:9518: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_SYS_TYPES_H 1
-EOF
-
-fi
-
-
-ac_safe=`echo "sys/termios.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for sys/termios.h""... $ac_c" 1>&6
-echo "configure:9546: checking for sys/termios.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 9551 "configure"
-#include "confdefs.h"
-#include <sys/termios.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:9556: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
- cat > conftest.$ac_ext <<EOF
-#line 9574 "configure"
-#include "confdefs.h"
-
-#include <sys/termios.h>
-
-#if defined (ACE_HAS_SYS_IOCTL_H)
-# include <sys/ioctl.h>
-#endif
-
-#if defined(TCGETS) && defined(TCSETS)
- ACE_WITH_TERM_IOCTLS
-#elif defined(TCGETA) && defined(TCSETA)
- ACE_WITH_TERM_IOCTLS
-#endif
-
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "ACE_WITH_TERM_IOCTLS" >/dev/null 2>&1; then
- rm -rf conftest*
-
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_TERM_IOCTLS 1
-EOF
-
-
-fi
-rm -f conftest*
-
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-if test "$ace_has_tli_funcs" = yes; then
-ac_safe=`echo "xti.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for xti.h""... $ac_c" 1>&6
-echo "configure:9611: checking for xti.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 9616 "configure"
-#include "confdefs.h"
-#include <xti.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:9621: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
- ace_has_tli=yes
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_XTI 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_TLI 1
-EOF
-
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-ac_safe=`echo "sys/xti.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for sys/xti.h""... $ac_c" 1>&6
-echo "configure:9655: checking for sys/xti.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 9660 "configure"
-#include "confdefs.h"
-#include <sys/xti.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:9665: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
- ace_has_tli=yes
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_SYS_XTI_H 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_XTI 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_TLI 1
-EOF
-
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-ac_safe=`echo "sys/timod.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for sys/timod.h""... $ac_c" 1>&6
-echo "configure:9703: checking for sys/timod.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 9708 "configure"
-#include "confdefs.h"
-#include <sys/timod.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:9713: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_TIMOD_H 1
-EOF
-
-
-else
- echo "$ac_t""no" 1>&6
-
- ac_safe=`echo "tli/timod.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for tli/timod.h""... $ac_c" 1>&6
-echo "configure:9740: checking for tli/timod.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 9745 "configure"
-#include "confdefs.h"
-#include <tli/timod.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:9750: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_OSF_TIMOD_H 1
-EOF
-
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-fi
-
-
-ac_safe=`echo "tiuser.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for tiuser.h""... $ac_c" 1>&6
-echo "configure:9782: checking for tiuser.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 9787 "configure"
-#include "confdefs.h"
-#include <tiuser.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:9792: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
- ace_has_tli=yes
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_TIUSER_H 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_TLI 1
-EOF
-
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-if test "$ac_cv_header_tiuser_h" = yes; then
-
- echo $ac_n "checking if tiuser.h is protected by extern \"C\"""... $ac_c" 1>&6
-echo "configure:9827: checking if tiuser.h is protected by extern \"C\"" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_tiuser_with_extern_c'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 9833 "configure"
-#include "confdefs.h"
-#include <tiuser.h>
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "extern \"C\"" >/dev/null 2>&1; then
- rm -rf conftest*
-
- ace_cv_lib_tiuser_with_extern_c=yes
-
-else
- rm -rf conftest*
-
- ace_cv_lib_tiuser_with_extern_c=no
-
-fi
-rm -f conftest*
-
-
-fi
-
- echo "$ac_t""$ace_cv_lib_tiuser_with_extern_c" 1>&6
- if test "$ace_cv_lib_tiuser_with_extern_c" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_TIUSER_H_BROKEN_EXTERN_C 1
-EOF
-
-
- fi
-
-fi
-ac_safe=`echo "xliuser.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for xliuser.h""... $ac_c" 1>&6
-echo "configure:9870: checking for xliuser.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 9875 "configure"
-#include "confdefs.h"
-#include <xliuser.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:9880: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
- ace_has_tli=yes
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_XLI 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_TLI 1
-EOF
-
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-
-if test "$ace_has_tli" = yes; then
-
- echo $ac_n "checking for TLI prototypes""... $ac_c" 1>&6
-echo "configure:9916: checking for TLI prototypes" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_tli_prototypes'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 9922 "configure"
-#include "confdefs.h"
-
-#if defined (ACE_HAS_TIMOD_H)
-# include <sys/timod.h>
-#endif
-
-#if defined (ACE_HAS_OSF_TIMOD_H)
-# include <tli/timod.h>
-#endif
-
-#if defined (ACE_HAS_TIUSER_H) || defined (ACE_HAS_XTI)
-# if defined (ACE_HAS_TIUSER_H)
-# include /**/ <tiuser.h>
-# else
-# if defined (ACE_HAS_BROKEN_XTI_MACROS)
-# undef TCP_NODELAY
-# undef TCP_MAXSEG
-# endif /* ACE_HAS_BROKEN_XTI_MACROS */
-# if defined ACE_HAS_SYS_XTI_H
-# define class ace_xti_class
-# include /**/ <sys/xti.h>
-# undef class
-# else
-# include /**/ <xti.h>
-# endif /* ACE_HAS_SYS_XTI_H */
-# endif /* ACE_HAS_TIUSER_H */
-#endif /* ACE_HAS_TIUSER_H || ACE_HAS_XTI */
-
-#if defined (ACE_HAS_XLI)
-# include <xliuser.h>
-#endif
-
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "t_accept" >/dev/null 2>&1; then
- rm -rf conftest*
-
- ace_cv_lib_tli_prototypes=yes
-
-else
- rm -rf conftest*
-
- ace_cv_lib_tli_prototypes=no
-
-fi
-rm -f conftest*
-
-
-fi
-
- echo "$ac_t""$ace_cv_lib_tli_prototypes" 1>&6
- if test "$ace_cv_lib_tli_prototypes" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_TLI_PROTOTYPES 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- echo $ac_n "checking for t_errno in TLI headers""... $ac_c" 1>&6
-echo "configure:9988: checking for t_errno in TLI headers" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_has_t_errno'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 9994 "configure"
-#include "confdefs.h"
-
-#if defined (ACE_HAS_TIMOD_H)
-# include <sys/timod.h>
-#endif
-
-#if defined (ACE_HAS_OSF_TIMOD_H)
-# include <tli/timod.h>
-#endif
-
-#if defined (ACE_HAS_TIUSER_H) || defined (ACE_HAS_XTI)
-# if defined (ACE_HAS_TIUSER_H)
-# include /**/ <tiuser.h>
-# else
-# if defined (ACE_HAS_BROKEN_XTI_MACROS)
-# undef TCP_NODELAY
-# undef TCP_MAXSEG
-# endif /* ACE_HAS_BROKEN_XTI_MACROS */
-# if defined ACE_HAS_SYS_XTI_H
-# define class ace_xti_class
-# include /**/ <sys/xti.h>
-# undef class
-# else
-# include /**/ <xti.h>
-# endif /* ACE_HAS_SYS_XTI_H */
-# endif /* ACE_HAS_TIUSER_H */
-#endif /* ACE_HAS_TIUSER_H || ACE_HAS_XTI */
-
-#if defined (ACE_HAS_XLI)
-# include <xliuser.h>
-#endif
-
-#ifndef _THREAD_SAFE
-# define _THREAD_SAFE
-#endif
-
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "t_errno" >/dev/null 2>&1; then
- rm -rf conftest*
-
- ace_cv_lib_has_t_errno=yes
-
-else
- rm -rf conftest*
-
- ace_cv_lib_has_t_errno=no
-
-fi
-rm -f conftest*
-
-
-fi
-
- echo "$ac_t""$ace_cv_lib_has_t_errno" 1>&6
- if test "$ace_cv_lib_has_t_errno" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_T_ERRNO 1
-EOF
-
-
- fi
-
-
-fi fi
-ac_safe=`echo "sys/time.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for sys/time.h""... $ac_c" 1>&6
-echo "configure:10066: checking for sys/time.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 10071 "configure"
-#include "confdefs.h"
-#include <sys/time.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:10076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
- cat > conftest.$ac_ext <<EOF
-#line 10094 "configure"
-#include "confdefs.h"
-#include <time.h>
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "sys/time.h" >/dev/null 2>&1; then
- :
-else
- rm -rf conftest*
-
- cat >> confdefs.h <<\EOF
-#define ACE_LACKS_SYSTIME_H 1
-EOF
-
-
-fi
-rm -f conftest*
-
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-ac_safe=`echo "sys/mman.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for sys/mman.h""... $ac_c" 1>&6
-echo "configure:10120: checking for sys/mman.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 10125 "configure"
-#include "confdefs.h"
-#include <sys/mman.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:10130: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
- cat > conftest.$ac_ext <<EOF
-#line 10148 "configure"
-#include "confdefs.h"
-#include <sys/mman.h>
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "extern \"C\"" >/dev/null 2>&1; then
- :
-else
- rm -rf conftest*
-
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_BROKEN_MMAP_H 1
-EOF
-
-
-fi
-rm -f conftest*
-
-
-else
- echo "$ac_t""no" 1>&6
-
- cat >> confdefs.h <<\EOF
-#define ACE_LACKS_MMAP 1
-EOF
-
-
-fi
-
-
-ac_safe=`echo "bstring.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for bstring.h""... $ac_c" 1>&6
-echo "configure:10180: checking for bstring.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 10185 "configure"
-#include "confdefs.h"
-#include <bstring.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:10190: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
- cat > conftest.$ac_ext <<EOF
-#line 10208 "configure"
-#include "confdefs.h"
-#include <bstring.h>
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "bzero" >/dev/null 2>&1; then
- rm -rf conftest*
-
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_BSTRING 1
-EOF
-
-
-fi
-rm -f conftest*
-
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-ac_safe=`echo "strings.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for strings.h""... $ac_c" 1>&6
-echo "configure:10232: checking for strings.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 10237 "configure"
-#include "confdefs.h"
-#include <strings.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:10242: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
- cat > conftest.$ac_ext <<EOF
-#line 10260 "configure"
-#include "confdefs.h"
-#include <strings.h>
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "bzero" >/dev/null 2>&1; then
- rm -rf conftest*
-
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_STRINGS 1
-EOF
-
-
-fi
-rm -f conftest*
-
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-ac_safe=`echo "sys/syscall.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for sys/syscall.h""... $ac_c" 1>&6
-echo "configure:10284: checking for sys/syscall.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 10289 "configure"
-#include "confdefs.h"
-#include <sys/syscall.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:10294: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_SYSCALL_H 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-ac_safe=`echo "poll.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for poll.h""... $ac_c" 1>&6
-echo "configure:10321: checking for poll.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 10326 "configure"
-#include "confdefs.h"
-#include <poll.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:10331: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_POLL 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-for ac_hdr in pwd.h
-do
-ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:10360: checking for $ac_hdr" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 10365 "configure"
-#include "confdefs.h"
-#include <$ac_hdr>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:10370: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
- cat >> confdefs.h <<EOF
-#define $ac_tr_hdr 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-done
-
-ac_safe=`echo "regexpr.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for regexpr.h""... $ac_c" 1>&6
-echo "configure:10398: checking for regexpr.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 10403 "configure"
-#include "confdefs.h"
-#include <regexpr.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:10408: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_REGEX 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-ac_safe=`echo "stropts.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for stropts.h""... $ac_c" 1>&6
-echo "configure:10435: checking for stropts.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 10440 "configure"
-#include "confdefs.h"
-#include <stropts.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:10445: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_STREAMS 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-ac_safe=`echo "siginfo.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for siginfo.h""... $ac_c" 1>&6
-echo "configure:10472: checking for siginfo.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 10477 "configure"
-#include "confdefs.h"
-#include <siginfo.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:10482: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_SIGINFO_H 1
-EOF
-
-fi
-
-
-ac_safe=`echo "unistd.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for unistd.h""... $ac_c" 1>&6
-echo "configure:10510: checking for unistd.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 10515 "configure"
-#include "confdefs.h"
-#include <unistd.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:10520: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_UNISTD_H 1
-EOF
-
-fi
-
-
-ac_safe=`echo "utime.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for utime.h""... $ac_c" 1>&6
-echo "configure:10548: checking for utime.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 10553 "configure"
-#include "confdefs.h"
-#include <utime.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:10558: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_UTIME 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-
-ac_safe=`echo "libc.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for libc.h""... $ac_c" 1>&6
-echo "configure:10586: checking for libc.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 10591 "configure"
-#include "confdefs.h"
-#include <libc.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:10596: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_LIBC_H 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-ac_safe=`echo "osfcn.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for osfcn.h""... $ac_c" 1>&6
-echo "configure:10623: checking for osfcn.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 10628 "configure"
-#include "confdefs.h"
-#include <osfcn.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:10633: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_OSFCN_H 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-ac_safe=`echo "new" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for new""... $ac_c" 1>&6
-echo "configure:10660: checking for new" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 10665 "configure"
-#include "confdefs.h"
-#include <new>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:10670: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_NEW_NO_H 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-
- ac_safe=`echo "new.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for new.h""... $ac_c" 1>&6
-echo "configure:10695: checking for new.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 10700 "configure"
-#include "confdefs.h"
-#include <new.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:10705: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_NEW_H 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-fi
-
-
-ac_safe=`echo "stdexcept" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for stdexcept""... $ac_c" 1>&6
-echo "configure:10735: checking for stdexcept" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 10740 "configure"
-#include "confdefs.h"
-#include <stdexcept>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:10745: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_STDEXCEPT_NO_H 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-
- ac_safe=`echo "exception.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for exception.h""... $ac_c" 1>&6
-echo "configure:10770: checking for exception.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 10775 "configure"
-#include "confdefs.h"
-#include <exception.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:10780: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_EXCEPTION_H 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-fi
-
-
-ac_safe=`echo "iomanip" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for iomanip""... $ac_c" 1>&6
-echo "configure:10810: checking for iomanip" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 10815 "configure"
-#include "confdefs.h"
-#include <iomanip>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:10820: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_IOMANIP_NO_H 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-ac_safe=`echo "cstring" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for cstring""... $ac_c" 1>&6
-echo "configure:10847: checking for cstring" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 10852 "configure"
-#include "confdefs.h"
-#include <cstring>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:10857: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_GNU_CSTRING_H 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-ac_safe=`echo "memory" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for memory""... $ac_c" 1>&6
-echo "configure:10884: checking for memory" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 10889 "configure"
-#include "confdefs.h"
-#include <memory>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:10894: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
-
-ac_safe=`echo "map" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for map""... $ac_c" 1>&6
-echo "configure:10917: checking for map" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 10922 "configure"
-#include "confdefs.h"
-#include <map>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:10927: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
- ac_safe=`echo "net/if.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for net/if.h""... $ac_c" 1>&6
-echo "configure:10946: checking for net/if.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 10951 "configure"
-#include "confdefs.h"
-#include <net/if.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:10956: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-
- echo $ac_n "checking if STL map class conflicts with <net/if.h> map struct""... $ac_c" 1>&6
-echo "configure:10975: checking if STL map class conflicts with <net/if.h> map struct" >&5
- if eval "test \"`echo '$''{'ace_cv_header_stl_map_conflict'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 10981 "configure"
-#include "confdefs.h"
-
-#ifndef ACE_LACKS_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-#include <map>
-#include <net/if.h>
-
-int main() {
-
- map<char, char> ace_map;
-
-; return 0; }
-EOF
-if { (eval echo configure:10996: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_header_stl_map_conflict=no
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_header_stl_map_conflict=yes
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_header_stl_map_conflict" 1>&6
- if test "$ace_cv_header_stl_map_conflict" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_STL_MAP_CONFLICT 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-ac_safe=`echo "queue" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for queue""... $ac_c" 1>&6
-echo "configure:11038: checking for queue" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 11043 "configure"
-#include "confdefs.h"
-#include <queue>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:11048: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
- ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
-echo "configure:11067: checking for netinet/in.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 11072 "configure"
-#include "confdefs.h"
-#include <netinet/in.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:11077: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-
- echo $ac_n "checking if STL queue class conflicts with <netinet/in.h> queue struct""... $ac_c" 1>&6
-echo "configure:11096: checking if STL queue class conflicts with <netinet/in.h> queue struct" >&5
- if eval "test \"`echo '$''{'ace_cv_header_stl_queue_conflict'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 11102 "configure"
-#include "confdefs.h"
-
-#ifndef ACE_LACKS_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-#include <queue>
-#include <netinet/in.h>
-
-int main() {
-
- queue<char> ace_queue;
-
-; return 0; }
-EOF
-if { (eval echo configure:11117: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_header_stl_queue_conflict=no
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_header_stl_queue_conflict=yes
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_header_stl_queue_conflict" 1>&6
- if test "$ace_cv_header_stl_queue_conflict" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_STL_QUEUE_CONFLICT 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-for ac_hdr in iomanip ios iostream istream ostream fstream streambuf
-do
-ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:11161: checking for $ac_hdr" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 11166 "configure"
-#include "confdefs.h"
-#include <$ac_hdr>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:11171: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
- cat >> confdefs.h <<EOF
-#define $ac_tr_hdr 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_USES_OLD_IOSTREAMS 1
-EOF
-
-fi
-done
-
-
-ac_safe=`echo "iostream.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for iostream.h""... $ac_c" 1>&6
-echo "configure:11204: checking for iostream.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 11209 "configure"
-#include "confdefs.h"
-#include <iostream.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:11214: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- ac_safe=`echo "fstream.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for fstream.h""... $ac_c" 1>&6
-echo "configure:11232: checking for fstream.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 11237 "configure"
-#include "confdefs.h"
-#include <fstream.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:11242: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_IOSTREAM_TOTALLY 1
-EOF
-
-fi
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_IOSTREAM_TOTALLY 1
-EOF
-
-fi
-
-
-
- echo $ac_n "checking sched.h for thread scheduling definitions""... $ac_c" 1>&6
-echo "configure:11278: checking sched.h for thread scheduling definitions" >&5
- if eval "test \"`echo '$''{'ace_cv_needs_sched_h'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 11284 "configure"
-#include "confdefs.h"
-#include <sched.h>
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "sched_yield" >/dev/null 2>&1; then
- rm -rf conftest*
-
- ace_cv_needs_sched_h=yes
-
-else
- rm -rf conftest*
-
- ace_cv_needs_sched_h=no
-
-fi
-rm -f conftest*
-
-
-fi
-
- echo "$ac_t""$ace_cv_needs_sched_h" 1>&6
- if test "$ace_cv_needs_sched_h" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_NEEDS_SCHED_H 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- echo $ac_n "checking regexpr.h for regular expression support""... $ac_c" 1>&6
-echo "configure:11320: checking regexpr.h for regular expression support" >&5
- if eval "test \"`echo '$''{'ace_cv_needs_regexpr_h'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 11326 "configure"
-#include "confdefs.h"
-#include <regexpr.h>
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "compile" >/dev/null 2>&1; then
- rm -rf conftest*
-
- ace_cv_needs_regexpr_h=yes
- cat >> confdefs.h <<\EOF
-#define ACE_NEEDS_REGEXPR_H 1
-EOF
-
-
-else
- rm -rf conftest*
-
- cat > conftest.$ac_ext <<EOF
-#line 11344 "configure"
-#include "confdefs.h"
-#include <regexpr.h>
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "step" >/dev/null 2>&1; then
- rm -rf conftest*
-
- ace_cv_needs_regexpr_h=yes
-
-else
- rm -rf conftest*
-
- ace_cv_needs_regexpr_h=no
-
-fi
-rm -f conftest*
-
-
-fi
-rm -f conftest*
-
-
-fi
-
- echo "$ac_t""$ace_cv_needs_regexpr_h" 1>&6
- if test "$ace_cv_needs_regexpr_h" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_NEEDS_REGEXPR_H 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- ace_pre_warning_CXXFLAGS="$CXXFLAGS"
-
- if test -n "$GXX"; then
- CXXFLAGS="$CXXFLAGS -Werror"
- else
- case $target in
- *solaris*)
- if test "$CXX" = CC; then
- CXXFLAGS="$CXXFLAGS -xwe"
- fi
- ;;
- *) ;;
- esac
- fi
-
-
-
- echo $ac_n "checking if sprintf() returns char*""... $ac_c" 1>&6
-echo "configure:11401: checking if sprintf() returns char*" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_charptr_sprintf'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 11407 "configure"
-#include "confdefs.h"
-
-#include <stdlib.h>
-#include <stdio.h>
-
-int main() {
-
- char *str = 0;
- const char *fmt = "%d";
- int num = 0;
-
- char *s = 0;
-
- s = sprintf(str, fmt, num);
-
-; return 0; }
-EOF
-if { (eval echo configure:11425: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_charptr_sprintf=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_charptr_sprintf=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_lib_charptr_sprintf" 1>&6
- if test "$ace_cv_lib_charptr_sprintf" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_CHARPTR_SPRINTF 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- CXXFLAGS="$ace_pre_warning_CXXFLAGS"
-
-
- echo $ac_n "checking for getopt() prototype""... $ac_c" 1>&6
-echo "configure:11460: checking for getopt() prototype" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_getopt_proto'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 11466 "configure"
-#include "confdefs.h"
-#include <unistd.h>
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "getopt" >/dev/null 2>&1; then
- rm -rf conftest*
-
- ace_cv_lib_getopt_proto=yes
-
-else
- rm -rf conftest*
-
- cat > conftest.$ac_ext <<EOF
-#line 11480 "configure"
-#include "confdefs.h"
-#include <stdlib.h>
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "getopt" >/dev/null 2>&1; then
- rm -rf conftest*
-
- ace_cv_lib_getopt_proto=yes
-
-else
- rm -rf conftest*
-
- ace_cv_lib_getopt_proto=no
-
-fi
-rm -f conftest*
-
-
-fi
-rm -f conftest*
-
-
-fi
-
- echo "$ac_t""$ace_cv_lib_getopt_proto" 1>&6
- if test "$ace_cv_lib_getopt_proto" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_GETOPT_PROTO 1
-EOF
-
-
- fi
-
-
-
- ace_pre_warning_CXXFLAGS="$CXXFLAGS"
-
- if test -n "$GXX"; then
- CXXFLAGS="$CXXFLAGS -Werror"
- else
- case $target in
- *solaris*)
- if test "$CXX" = CC; then
- CXXFLAGS="$CXXFLAGS -xwe"
- fi
- ;;
- *) ;;
- esac
- fi
-
-
-
- echo $ac_n "checking for old malloc() prototype""... $ac_c" 1>&6
-echo "configure:11538: checking for old malloc() prototype" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_old_malloc_proto'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 11544 "configure"
-#include "confdefs.h"
-
-#include <stdlib.h>
-#ifndef ACE_LACKS_MALLOC_H
-# include <malloc.h>
-#endif
-
-int main() {
-
- char *s = 0;
- s = malloc(sizeof(int));
-
-; return 0; }
-EOF
-if { (eval echo configure:11559: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_old_malloc_proto=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_old_malloc_proto=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_lib_old_malloc_proto" 1>&6
- if test "$ace_cv_lib_old_malloc_proto" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_OLD_MALLOC 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- CXXFLAGS="$ace_pre_warning_CXXFLAGS"
-
-
- echo $ac_n "checking for *_timedwait() prototypes""... $ac_c" 1>&6
-echo "configure:11594: checking for *_timedwait() prototypes" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_timedwait_proto'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 11600 "configure"
-#include "confdefs.h"
-#include <pthread.h>
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "recv_timedwait" >/dev/null 2>&1; then
- rm -rf conftest*
-
- ace_cv_lib_timedwait_proto=yes
-
-else
- rm -rf conftest*
-
- cat > conftest.$ac_ext <<EOF
-#line 11614 "configure"
-#include "confdefs.h"
-#include <fcntl.h>
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "recv_timedwait" >/dev/null 2>&1; then
- rm -rf conftest*
-
- ace_cv_lib_timedwait_proto=yes
-
-else
- rm -rf conftest*
-
- ace_cv_lib_timedwait_proto=no
-
-fi
-rm -f conftest*
-
-
-fi
-rm -f conftest*
-
-
-fi
-
- echo "$ac_t""$ace_cv_lib_timedwait_proto" 1>&6
- if test "$ace_cv_lib_timedwait_proto" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_TIMEDWAIT_PROTOTYPES 1
-EOF
-
-
- fi
-
-
-
- echo $ac_n "checking for ualarm() prototype""... $ac_c" 1>&6
-echo "configure:11655: checking for ualarm() prototype" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_ualarm_proto'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 11661 "configure"
-#include "confdefs.h"
-#include <unistd.h>
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "ualarm" >/dev/null 2>&1; then
- rm -rf conftest*
-
- ace_cv_lib_ualarm_proto=yes
-
-else
- rm -rf conftest*
-
- ace_cv_lib_ualarm_proto=no
-
-fi
-rm -f conftest*
-
-
-fi
-
- echo "$ac_t""$ace_cv_lib_ualarm_proto" 1>&6
- if test "$ace_cv_lib_ualarm_proto" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_UALARM_PROTOTYPE 1
-EOF
-
-
- fi
-
-
-
- echo $ac_n "checking for getrusage() in sys/resource.h""... $ac_c" 1>&6
-echo "configure:11698: checking for getrusage() in sys/resource.h" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_has_getrusage_proto'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 11704 "configure"
-#include "confdefs.h"
-#include <sys/resource.h>
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "getrusage" >/dev/null 2>&1; then
- rm -rf conftest*
-
- ace_cv_lib_has_getrusage_proto=yes
-
-else
- rm -rf conftest*
-
- ace_cv_lib_has_getrusage_proto=no
-
-fi
-rm -f conftest*
-
-
-fi
-
- echo "$ac_t""$ace_cv_lib_has_getrusage_proto" 1>&6
- if test "$ace_cv_lib_has_getrusage_proto" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_GETRUSAGE_PROTO 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- echo $ac_n "checking for getrlimit() and setrlimit() in sys/resource.h""... $ac_c" 1>&6
-echo "configure:11740: checking for getrlimit() and setrlimit() in sys/resource.h" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_has_getsetrlimit_proto'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 11746 "configure"
-#include "confdefs.h"
-#include <sys/resource.h>
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "getrlimit" >/dev/null 2>&1; then
- rm -rf conftest*
-
- cat > conftest.$ac_ext <<EOF
-#line 11755 "configure"
-#include "confdefs.h"
-#include <sys/resource.h>
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "getrlimit" >/dev/null 2>&1; then
- rm -rf conftest*
-
- ace_cv_lib_has_getsetrlimit_proto=yes
-
-else
- rm -rf conftest*
-
- ace_cv_lib_has_getsetrlimit_proto=no
-
-fi
-rm -f conftest*
-
-
-else
- rm -rf conftest*
-
- ace_cv_lib_has_getsetrlimit_proto=no
-
-fi
-rm -f conftest*
-
-
-fi
-
- echo "$ac_t""$ace_cv_lib_has_getsetrlimit_proto" 1>&6
- if test "$ace_cv_lib_has_getsetrlimit_proto" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_RLIMIT_PROTOTYPE 1
-EOF
-
-
- fi
-
-
-
- echo $ac_n "checking if dlfcn.h is protected by extern \"C\"""... $ac_c" 1>&6
-echo "configure:11801: checking if dlfcn.h is protected by extern \"C\"" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_dlfcn_with_extern_c'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 11807 "configure"
-#include "confdefs.h"
-#include <dlfcn.h>
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "extern \"C\"" >/dev/null 2>&1; then
- rm -rf conftest*
-
- ace_cv_lib_dlfcn_with_extern_c=yes
-
-else
- rm -rf conftest*
-
- ace_cv_lib_dlfcn_with_extern_c=no
-
-fi
-rm -f conftest*
-
-
-fi
-
- echo "$ac_t""$ace_cv_lib_dlfcn_with_extern_c" 1>&6
- if test "$ace_cv_lib_dlfcn_with_extern_c" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_DLFCN_H_BROKEN_EXTERN_C 1
-EOF
-
-
- fi
-
-
-
-echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
-echo "configure:11844: checking for uid_t in sys/types.h" >&5
-if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 11849 "configure"
-#include "confdefs.h"
-#include <sys/types.h>
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "uid_t" >/dev/null 2>&1; then
- rm -rf conftest*
- ac_cv_type_uid_t=yes
-else
- rm -rf conftest*
- ac_cv_type_uid_t=no
-fi
-rm -f conftest*
-
-fi
-
-echo "$ac_t""$ac_cv_type_uid_t" 1>&6
-if test $ac_cv_type_uid_t = no; then
- cat >> confdefs.h <<\EOF
-#define uid_t int
-EOF
-
- cat >> confdefs.h <<\EOF
-#define gid_t int
-EOF
-
-fi
-
-echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
-echo "configure:11878: checking for ANSI C header files" >&5
-if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 11883 "configure"
-#include "confdefs.h"
-#include <stdlib.h>
-#include <stdarg.h>
-#include <string.h>
-#include <float.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:11891: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- ac_cv_header_stdc=yes
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- ac_cv_header_stdc=no
-fi
-rm -f conftest*
-
-if test $ac_cv_header_stdc = yes; then
- # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
-cat > conftest.$ac_ext <<EOF
-#line 11908 "configure"
-#include "confdefs.h"
-#include <string.h>
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "memchr" >/dev/null 2>&1; then
- :
-else
- rm -rf conftest*
- ac_cv_header_stdc=no
-fi
-rm -f conftest*
-
-fi
-
-if test $ac_cv_header_stdc = yes; then
- # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
-cat > conftest.$ac_ext <<EOF
-#line 11926 "configure"
-#include "confdefs.h"
-#include <stdlib.h>
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "free" >/dev/null 2>&1; then
- :
-else
- rm -rf conftest*
- ac_cv_header_stdc=no
-fi
-rm -f conftest*
-
-fi
-
-if test $ac_cv_header_stdc = yes; then
- # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
-if test "$cross_compiling" = yes; then
- :
-else
- cat > conftest.$ac_ext <<EOF
-#line 11947 "configure"
-#include "confdefs.h"
-#ifdef __cplusplus
-extern "C" void exit(int);
-#endif
-#include <ctype.h>
-#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
-#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
-#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
-int main () { int i; for (i = 0; i < 256; i++)
-if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
-exit (0); }
-
-EOF
-if { (eval echo configure:11961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-then
- :
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -fr conftest*
- ac_cv_header_stdc=no
-fi
-rm -fr conftest*
-fi
-
-fi
-fi
-
-echo "$ac_t""$ac_cv_header_stdc" 1>&6
-if test $ac_cv_header_stdc = yes; then
- cat >> confdefs.h <<\EOF
-#define STDC_HEADERS 1
-EOF
-
-fi
-
-echo $ac_n "checking for mode_t""... $ac_c" 1>&6
-echo "configure:11985: checking for mode_t" >&5
-if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 11990 "configure"
-#include "confdefs.h"
-#include <sys/types.h>
-#if STDC_HEADERS
-#include <stdlib.h>
-#include <stddef.h>
-#endif
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
- rm -rf conftest*
- ac_cv_type_mode_t=yes
-else
- rm -rf conftest*
- ac_cv_type_mode_t=no
-fi
-rm -f conftest*
-
-fi
-echo "$ac_t""$ac_cv_type_mode_t" 1>&6
-if test $ac_cv_type_mode_t = no; then
- cat >> confdefs.h <<\EOF
-#define mode_t int
-EOF
-
-fi
-
-echo $ac_n "checking for off_t""... $ac_c" 1>&6
-echo "configure:12018: checking for off_t" >&5
-if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 12023 "configure"
-#include "confdefs.h"
-#include <sys/types.h>
-#if STDC_HEADERS
-#include <stdlib.h>
-#include <stddef.h>
-#endif
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
- rm -rf conftest*
- ac_cv_type_off_t=yes
-else
- rm -rf conftest*
- ac_cv_type_off_t=no
-fi
-rm -f conftest*
-
-fi
-echo "$ac_t""$ac_cv_type_off_t" 1>&6
-if test $ac_cv_type_off_t = no; then
- cat >> confdefs.h <<\EOF
-#define off_t long
-EOF
-
-fi
-
-echo $ac_n "checking for pid_t""... $ac_c" 1>&6
-echo "configure:12051: checking for pid_t" >&5
-if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 12056 "configure"
-#include "confdefs.h"
-#include <sys/types.h>
-#if STDC_HEADERS
-#include <stdlib.h>
-#include <stddef.h>
-#endif
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
- rm -rf conftest*
- ac_cv_type_pid_t=yes
-else
- rm -rf conftest*
- ac_cv_type_pid_t=no
-fi
-rm -f conftest*
-
-fi
-echo "$ac_t""$ac_cv_type_pid_t" 1>&6
-if test $ac_cv_type_pid_t = no; then
- cat >> confdefs.h <<\EOF
-#define pid_t int
-EOF
-
-fi
-
-echo $ac_n "checking for size_t""... $ac_c" 1>&6
-echo "configure:12084: checking for size_t" >&5
-if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 12089 "configure"
-#include "confdefs.h"
-#include <sys/types.h>
-#if STDC_HEADERS
-#include <stdlib.h>
-#include <stddef.h>
-#endif
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
- rm -rf conftest*
- ac_cv_type_size_t=yes
-else
- rm -rf conftest*
- ac_cv_type_size_t=no
-fi
-rm -f conftest*
-
-fi
-echo "$ac_t""$ac_cv_type_size_t" 1>&6
-if test $ac_cv_type_size_t = no; then
- cat >> confdefs.h <<\EOF
-#define size_t unsigned
-EOF
-
-fi
-
-
-
-
-
- echo $ac_n "checking for idtype_t in signal.h""... $ac_c" 1>&6
-echo "configure:12121: checking for idtype_t in signal.h" >&5
- if eval "test \"`echo '$''{'ace_cv_type_idtype_t'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 12127 "configure"
-#include "confdefs.h"
-
-#include <signal.h>
-
-int main() {
-
- idtype_t ace_idtype_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:12138: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_type_idtype_t=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_type_idtype_t=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_type_idtype_t" 1>&6
- if test "$ace_cv_type_idtype_t" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_IDTYPE_T 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
-
-
- echo $ac_n "checking for sem_t in semaphore.h""... $ac_c" 1>&6
-echo "configure:12172: checking for sem_t in semaphore.h" >&5
- if eval "test \"`echo '$''{'ace_cv_type_sem_t'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 12178 "configure"
-#include "confdefs.h"
-
-#include <semaphore.h>
-
-int main() {
-
- sem_t ace_sem_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:12189: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_type_sem_t=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_type_sem_t=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_type_sem_t" 1>&6
- if test "$ace_cv_type_sem_t" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
-
-
- echo $ac_n "checking for key_t in sys/types.h""... $ac_c" 1>&6
-echo "configure:12220: checking for key_t in sys/types.h" >&5
- if eval "test \"`echo '$''{'ace_cv_type_key_t'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 12226 "configure"
-#include "confdefs.h"
-
-#include <sys/types.h>
-
-int main() {
-
- key_t ace_key_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:12237: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_type_key_t=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_type_key_t=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_type_key_t" 1>&6
- if test "$ace_cv_type_key_t" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_KEY_T 1
-EOF
-
-
- fi
-
-
-
-
-
- echo $ac_n "checking for ssize_t in sys/types.h""... $ac_c" 1>&6
-echo "configure:12272: checking for ssize_t in sys/types.h" >&5
- if eval "test \"`echo '$''{'ace_cv_type_ssize_t'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 12278 "configure"
-#include "confdefs.h"
-
-#include <sys/types.h>
-
-int main() {
-
- ssize_t ace_ssize_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:12289: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_type_ssize_t=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_type_ssize_t=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_type_ssize_t" 1>&6
- if test "$ace_cv_type_ssize_t" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_SSIZE_T 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
-
-
- echo $ac_n "checking for u_longlong_t in sys/types.h""... $ac_c" 1>&6
-echo "configure:12323: checking for u_longlong_t in sys/types.h" >&5
- if eval "test \"`echo '$''{'ace_cv_type_u_longlong_t'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 12329 "configure"
-#include "confdefs.h"
-
-#include <sys/types.h>
-
-int main() {
-
- u_longlong_t ace_u_longlong_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:12340: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_type_u_longlong_t=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_type_u_longlong_t=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_type_u_longlong_t" 1>&6
- if test "$ace_cv_type_u_longlong_t" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_U_LONGLONG_T 1
-EOF
-
-
- fi
-
-
-
-
-
- echo $ac_n "checking for pri_t in sys/types.h""... $ac_c" 1>&6
-echo "configure:12375: checking for pri_t in sys/types.h" >&5
- if eval "test \"`echo '$''{'ace_cv_type_pri_t'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 12381 "configure"
-#include "confdefs.h"
-
-#include <sys/types.h>
-
-int main() {
-
- pri_t ace_pri_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:12392: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_type_pri_t=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_type_pri_t=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_type_pri_t" 1>&6
- if test "$ace_cv_type_pri_t" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_PRI_T 1
-EOF
-
-
- fi
-
-
-
-
-
- echo $ac_n "checking for socklen_t in sys/socket.h""... $ac_c" 1>&6
-echo "configure:12427: checking for socklen_t in sys/socket.h" >&5
- if eval "test \"`echo '$''{'ace_cv_type_socklen_t'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 12433 "configure"
-#include "confdefs.h"
-
-#include <sys/socket.h>
-
-int main() {
-
- socklen_t ace_socklen_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:12444: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_type_socklen_t=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_type_socklen_t=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_type_socklen_t" 1>&6
- if test "$ace_cv_type_socklen_t" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_SOCKLEN_T 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
-
-
- echo $ac_n "checking for ucontext_t in ucontext.h""... $ac_c" 1>&6
-echo "configure:12478: checking for ucontext_t in ucontext.h" >&5
- if eval "test \"`echo '$''{'ace_cv_type_ucontext_t'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 12484 "configure"
-#include "confdefs.h"
-
-#include <ucontext.h>
-
-int main() {
-
- ucontext_t ace_ucontext_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:12495: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_type_ucontext_t=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_type_ucontext_t=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_type_ucontext_t" 1>&6
- if test "$ace_cv_type_ucontext_t" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_UCONTEXT_T 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
-
-
- echo $ac_n "checking for wchar_t in wchar.h""... $ac_c" 1>&6
-echo "configure:12529: checking for wchar_t in wchar.h" >&5
- if eval "test \"`echo '$''{'ace_cv_type_wchar_t'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 12535 "configure"
-#include "confdefs.h"
-
-#include <wchar.h>
-
-int main() {
-
- wchar_t ace_wchar_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:12546: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_type_wchar_t=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_type_wchar_t=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_type_wchar_t" 1>&6
- if test "$ace_cv_type_wchar_t" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_XPG4_MULTIBYTE_CHAR 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
-
-
- echo $ac_n "checking for wchar_t in sys/types.h""... $ac_c" 1>&6
-echo "configure:12576: checking for wchar_t in sys/types.h" >&5
- if eval "test \"`echo '$''{'ace_cv_type_wchar_t'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 12582 "configure"
-#include "confdefs.h"
-
-#include <sys/types.h>
-
-int main() {
-
- wchar_t ace_wchar_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:12593: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_type_wchar_t=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_type_wchar_t=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_type_wchar_t" 1>&6
- if test "$ace_cv_type_wchar_t" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_WCHAR_T 1
-EOF
-
-
- fi
-
-
-
-
- fi
-
-
-
-
- echo $ac_n "checking for sig_atomic_t""... $ac_c" 1>&6
-echo "configure:12632: checking for sig_atomic_t" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_posix_defines_sig_atomic_t'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 12638 "configure"
-#include "confdefs.h"
-
-#ifndef ACE_LACKS_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-#include <signal.h>
-
-int main() {
-
- sig_atomic_t sat;
-
-; return 0; }
-EOF
-if { (eval echo configure:12652: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_posix_defines_sig_atomic_t=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_posix_defines_sig_atomic_t=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_lib_posix_defines_sig_atomic_t" 1>&6
- if test "$ace_cv_lib_posix_defines_sig_atomic_t" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_SIG_ATOMIC_T 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
-
-
-
-
- echo $ac_n "checking for struct flock in fcntl.h""... $ac_c" 1>&6
-echo "configure:12688: checking for struct flock in fcntl.h" >&5
- if eval "test \"`echo '$''{'ace_cv_struct_flock'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
-
-
- cat > conftest.$ac_ext <<EOF
-#line 12696 "configure"
-#include "confdefs.h"
-
-#include <fcntl.h>
-
-int main() {
-
- struct flock ace_flock;
-
-; return 0; }
-EOF
-if { (eval echo configure:12707: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
-
- ace_cv_struct_flock=yes
-
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- cat > conftest.$ac_ext <<EOF
-#line 12720 "configure"
-#include "confdefs.h"
-
-#include <fcntl.h>
-
-int main() {
-
- flock ace_flock;
-
-; return 0; }
-EOF
-if { (eval echo configure:12731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
-
- ace_cv_struct_flock=yes
-
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
-
- ace_cv_struct_flock=no
-
-
-fi
-rm -f conftest*
-
-fi
-rm -f conftest*
-
-
-fi
-
- echo "$ac_t""$ace_cv_struct_flock" 1>&6
- if test "$ace_cv_struct_flock" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_FILELOCKS 1
-EOF
-
-
- fi
-
-
-
-
-
-
- echo $ac_n "checking for struct rwlock_t in synch.h""... $ac_c" 1>&6
-echo "configure:12775: checking for struct rwlock_t in synch.h" >&5
- if eval "test \"`echo '$''{'ace_cv_struct_rwlock_t'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
-
-
- cat > conftest.$ac_ext <<EOF
-#line 12783 "configure"
-#include "confdefs.h"
-
-#include <synch.h>
-
-int main() {
-
- struct rwlock_t ace_rwlock_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:12794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
-
- ace_cv_struct_rwlock_t=yes
-
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- cat > conftest.$ac_ext <<EOF
-#line 12807 "configure"
-#include "confdefs.h"
-
-#include <synch.h>
-
-int main() {
-
- rwlock_t ace_rwlock_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:12818: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
-
- ace_cv_struct_rwlock_t=yes
-
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
-
- ace_cv_struct_rwlock_t=no
-
-
-fi
-rm -f conftest*
-
-fi
-rm -f conftest*
-
-
-fi
-
- echo "$ac_t""$ace_cv_struct_rwlock_t" 1>&6
- if test "$ace_cv_struct_rwlock_t" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_RWLOCK_T 1
-EOF
-
-
- fi
-
-
-
-
-
-
- echo $ac_n "checking for struct strbuf in stropts.h""... $ac_c" 1>&6
-echo "configure:12862: checking for struct strbuf in stropts.h" >&5
- if eval "test \"`echo '$''{'ace_cv_struct_strbuf'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
-
-
- cat > conftest.$ac_ext <<EOF
-#line 12870 "configure"
-#include "confdefs.h"
-
-#include <stropts.h>
-
-int main() {
-
- struct strbuf ace_strbuf;
-
-; return 0; }
-EOF
-if { (eval echo configure:12881: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
-
- ace_cv_struct_strbuf=yes
-
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- cat > conftest.$ac_ext <<EOF
-#line 12894 "configure"
-#include "confdefs.h"
-
-#include <stropts.h>
-
-int main() {
-
- strbuf ace_strbuf;
-
-; return 0; }
-EOF
-if { (eval echo configure:12905: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
-
- ace_cv_struct_strbuf=yes
-
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
-
- ace_cv_struct_strbuf=no
-
-
-fi
-rm -f conftest*
-
-fi
-rm -f conftest*
-
-
-fi
-
- echo "$ac_t""$ace_cv_struct_strbuf" 1>&6
- if test "$ace_cv_struct_strbuf" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_STRBUF_T 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
-
-
-
- echo $ac_n "checking for struct msgbuf in sys/msg.h""... $ac_c" 1>&6
-echo "configure:12948: checking for struct msgbuf in sys/msg.h" >&5
- if eval "test \"`echo '$''{'ace_cv_struct_msgbuf'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
-
-
- cat > conftest.$ac_ext <<EOF
-#line 12956 "configure"
-#include "confdefs.h"
-
-#include <sys/msg.h>
-
-int main() {
-
- struct msgbuf ace_msgbuf;
-
-; return 0; }
-EOF
-if { (eval echo configure:12967: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
-
- ace_cv_struct_msgbuf=yes
-
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- cat > conftest.$ac_ext <<EOF
-#line 12980 "configure"
-#include "confdefs.h"
-
-#include <sys/msg.h>
-
-int main() {
-
- msgbuf ace_msgbuf;
-
-; return 0; }
-EOF
-if { (eval echo configure:12991: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
-
- ace_cv_struct_msgbuf=yes
-
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
-
- ace_cv_struct_msgbuf=no
-
-
-fi
-rm -f conftest*
-
-fi
-rm -f conftest*
-
-
-fi
-
- echo "$ac_t""$ace_cv_struct_msgbuf" 1>&6
- if test "$ace_cv_struct_msgbuf" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_MSGBUF_T 1
-EOF
-
-
- fi
-
-
-case "$target" in
-*irix*)
- ;;
-*)
-
-
-
-
- echo $ac_n "checking for struct prusage_t in sys/procfs.h""... $ac_c" 1>&6
-echo "configure:13039: checking for struct prusage_t in sys/procfs.h" >&5
- if eval "test \"`echo '$''{'ace_cv_struct_prusage_t'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
-
-
- cat > conftest.$ac_ext <<EOF
-#line 13047 "configure"
-#include "confdefs.h"
-
-#include <sys/procfs.h>
-
-int main() {
-
- struct prusage_t ace_prusage_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:13058: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
-
- ace_cv_struct_prusage_t=yes
-
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- cat > conftest.$ac_ext <<EOF
-#line 13071 "configure"
-#include "confdefs.h"
-
-#include <sys/procfs.h>
-
-int main() {
-
- prusage_t ace_prusage_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:13082: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
-
- ace_cv_struct_prusage_t=yes
-
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
-
- ace_cv_struct_prusage_t=no
-
-
-fi
-rm -f conftest*
-
-fi
-rm -f conftest*
-
-
-fi
-
- echo "$ac_t""$ace_cv_struct_prusage_t" 1>&6
- if test "$ace_cv_struct_prusage_t" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_PRUSAGE_T 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
- ;;
-esac
-
-
-
-
- echo $ac_n "checking for struct strrecvfd in stropts.h""... $ac_c" 1>&6
-echo "configure:13127: checking for struct strrecvfd in stropts.h" >&5
- if eval "test \"`echo '$''{'ace_cv_struct_strrecvfd'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
-
-
- cat > conftest.$ac_ext <<EOF
-#line 13135 "configure"
-#include "confdefs.h"
-
-#include <stropts.h>
-
-int main() {
-
- struct strrecvfd ace_strrecvfd;
-
-; return 0; }
-EOF
-if { (eval echo configure:13146: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
-
- ace_cv_struct_strrecvfd=yes
-
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- cat > conftest.$ac_ext <<EOF
-#line 13159 "configure"
-#include "confdefs.h"
-
-#include <stropts.h>
-
-int main() {
-
- strrecvfd ace_strrecvfd;
-
-; return 0; }
-EOF
-if { (eval echo configure:13170: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
-
- ace_cv_struct_strrecvfd=yes
-
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
-
- ace_cv_struct_strrecvfd=no
-
-
-fi
-rm -f conftest*
-
-fi
-rm -f conftest*
-
-
-fi
-
- echo "$ac_t""$ace_cv_struct_strrecvfd" 1>&6
- if test "$ace_cv_struct_strrecvfd" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_STRRECVFD 1
-EOF
-
-
- fi
-
-
-
-
-
-
- echo $ac_n "checking for struct sembuf in sys/sem.h""... $ac_c" 1>&6
-echo "configure:13214: checking for struct sembuf in sys/sem.h" >&5
- if eval "test \"`echo '$''{'ace_cv_struct_sembuf'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
-
-
- cat > conftest.$ac_ext <<EOF
-#line 13222 "configure"
-#include "confdefs.h"
-
-#include <sys/sem.h>
-
-int main() {
-
- struct sembuf ace_sembuf;
-
-; return 0; }
-EOF
-if { (eval echo configure:13233: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
-
- ace_cv_struct_sembuf=yes
-
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- cat > conftest.$ac_ext <<EOF
-#line 13246 "configure"
-#include "confdefs.h"
-
-#include <sys/sem.h>
-
-int main() {
-
- sembuf ace_sembuf;
-
-; return 0; }
-EOF
-if { (eval echo configure:13257: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
-
- ace_cv_struct_sembuf=yes
-
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
-
- ace_cv_struct_sembuf=no
-
-
-fi
-rm -f conftest*
-
-fi
-rm -f conftest*
-
-
-fi
-
- echo "$ac_t""$ace_cv_struct_sembuf" 1>&6
- if test "$ace_cv_struct_sembuf" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_SEMBUF_T 1
-EOF
-
-
- fi
-
-
-
-
-
-
- echo $ac_n "checking for struct sigaction in signal.h""... $ac_c" 1>&6
-echo "configure:13301: checking for struct sigaction in signal.h" >&5
- if eval "test \"`echo '$''{'ace_cv_struct_sigaction'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
-
-
- cat > conftest.$ac_ext <<EOF
-#line 13309 "configure"
-#include "confdefs.h"
-
-#include <signal.h>
-
-int main() {
-
- struct sigaction ace_sigaction;
-
-; return 0; }
-EOF
-if { (eval echo configure:13320: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
-
- ace_cv_struct_sigaction=yes
-
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- cat > conftest.$ac_ext <<EOF
-#line 13333 "configure"
-#include "confdefs.h"
-
-#include <signal.h>
-
-int main() {
-
- sigaction ace_sigaction;
-
-; return 0; }
-EOF
-if { (eval echo configure:13344: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
-
- ace_cv_struct_sigaction=yes
-
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
-
- ace_cv_struct_sigaction=no
-
-
-fi
-rm -f conftest*
-
-fi
-rm -f conftest*
-
-
-fi
-
- echo "$ac_t""$ace_cv_struct_sigaction" 1>&6
- if test "$ace_cv_struct_sigaction" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_SIGACTION 1
-EOF
-
-
- fi
-
-
-
-
-
-
- echo $ac_n "checking for struct sigset_t in signal.h""... $ac_c" 1>&6
-echo "configure:13388: checking for struct sigset_t in signal.h" >&5
- if eval "test \"`echo '$''{'ace_cv_struct_sigset_t'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
-
-
- cat > conftest.$ac_ext <<EOF
-#line 13396 "configure"
-#include "confdefs.h"
-
-#include <signal.h>
-
-int main() {
-
- struct sigset_t ace_sigset_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:13407: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
-
- ace_cv_struct_sigset_t=yes
-
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- cat > conftest.$ac_ext <<EOF
-#line 13420 "configure"
-#include "confdefs.h"
-
-#include <signal.h>
-
-int main() {
-
- sigset_t ace_sigset_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:13431: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
-
- ace_cv_struct_sigset_t=yes
-
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
-
- ace_cv_struct_sigset_t=no
-
-
-fi
-rm -f conftest*
-
-fi
-rm -f conftest*
-
-
-fi
-
- echo "$ac_t""$ace_cv_struct_sigset_t" 1>&6
- if test "$ace_cv_struct_sigset_t" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_SIGSET 1
-EOF
-
-
- fi
-
-
-
-
-
-
- echo $ac_n "checking for struct utsname in sys/utsname.h""... $ac_c" 1>&6
-echo "configure:13475: checking for struct utsname in sys/utsname.h" >&5
- if eval "test \"`echo '$''{'ace_cv_struct_utsname'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
-
-
- cat > conftest.$ac_ext <<EOF
-#line 13483 "configure"
-#include "confdefs.h"
-
-#include <sys/utsname.h>
-
-int main() {
-
- struct utsname ace_utsname;
-
-; return 0; }
-EOF
-if { (eval echo configure:13494: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
-
- ace_cv_struct_utsname=yes
-
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- cat > conftest.$ac_ext <<EOF
-#line 13507 "configure"
-#include "confdefs.h"
-
-#include <sys/utsname.h>
-
-int main() {
-
- utsname ace_utsname;
-
-; return 0; }
-EOF
-if { (eval echo configure:13518: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
-
- ace_cv_struct_utsname=yes
-
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
-
- ace_cv_struct_utsname=no
-
-
-fi
-rm -f conftest*
-
-fi
-rm -f conftest*
-
-
-fi
-
- echo "$ac_t""$ace_cv_struct_utsname" 1>&6
- if test "$ace_cv_struct_utsname" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_UTSNAME_T 1
-EOF
-
-
- fi
-
-
-
-
- echo $ac_n "checking for struct siginfo_t""... $ac_c" 1>&6
-echo "configure:13560: checking for struct siginfo_t" >&5
- if eval "test \"`echo '$''{'ace_cv_struct_siginfo_t'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
-
-
- cat > conftest.$ac_ext <<EOF
-#line 13568 "configure"
-#include "confdefs.h"
-
-#include <siginfo.h>
-
-int main() {
-
- struct siginfo_t ace_siginfo_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:13579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
-
- ace_cv_struct_siginfo_t=yes
-
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- cat > conftest.$ac_ext <<EOF
-#line 13592 "configure"
-#include "confdefs.h"
-
-#include <siginfo.h>
-
-int main() {
-
- siginfo_t ace_siginfo_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:13603: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
-
- ace_cv_struct_siginfo_t=yes
-
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
-
-
-
- cat > conftest.$ac_ext <<EOF
-#line 13619 "configure"
-#include "confdefs.h"
-
-#include <signal.h>
-
-int main() {
-
- struct siginfo_t ace_siginfo_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:13630: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
-
- ace_cv_struct_siginfo_t=yes
-
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- cat > conftest.$ac_ext <<EOF
-#line 13643 "configure"
-#include "confdefs.h"
-
-#include <signal.h>
-
-int main() {
-
- siginfo_t ace_siginfo_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:13654: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
-
- ace_cv_struct_siginfo_t=yes
-
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
-
- ace_cv_struct_siginfo_t=no
-
-
-fi
-rm -f conftest*
-
-fi
-rm -f conftest*
-
-
-
-fi
-rm -f conftest*
-
-fi
-rm -f conftest*
-
-
-fi
-
- echo "$ac_t""$ace_cv_struct_siginfo_t" 1>&6
- if test "$ace_cv_struct_siginfo_t" != no; then
- ace_just_a_place_holder=fixme
-
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_SIGINFO_T 1
-EOF
-
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- echo $ac_n "checking for struct msghdr""... $ac_c" 1>&6
-echo "configure:13704: checking for struct msghdr" >&5
- if eval "test \"`echo '$''{'ace_cv_struct_msghdr'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 13710 "configure"
-#include "confdefs.h"
-
-#ifndef ACE_LACKS_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-#include <sys/socket.h>
-
-int main() {
-
- struct msghdr ace_msghdr;
-
-; return 0; }
-EOF
-if { (eval echo configure:13724: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_struct_msghdr=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_struct_msghdr=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_struct_msghdr" 1>&6
- if test "$ace_cv_struct_msghdr" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_MSG 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- echo $ac_n "checking for condition variable support""... $ac_c" 1>&6
-echo "configure:13756: checking for condition variable support" >&5
- if eval "test \"`echo '$''{'ace_cv_struct_cond_t'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 13762 "configure"
-#include "confdefs.h"
-
-#include <pthread.h>
-
-int main() {
-
- pthread_cond_t ace_pthread_cond_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:13773: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_struct_cond_t=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- cat > conftest.$ac_ext <<EOF
-#line 13784 "configure"
-#include "confdefs.h"
-
-#include <synch.h>
-
-int main() {
-
- cond_t ace_cond_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:13795: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_struct_cond_t=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_struct_cond_t=no
-
-fi
-rm -f conftest*
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_struct_cond_t" 1>&6
- if test "$ace_cv_struct_cond_t" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_COND_T 1
-EOF
-
-
- fi
-
-
-
- echo $ac_n "checking for POSIX timer structure""... $ac_c" 1>&6
-echo "configure:13831: checking for POSIX timer structure" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_posix_timer_struct'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 13837 "configure"
-#include "confdefs.h"
-
-#include <time.h>
-
-#if defined(ACE_LACKS_SYSTIME_H)
-# include <sys/time.h>
-#endif
-
-int main() {
-
- timespec sr;
-
-; return 0; }
-EOF
-if { (eval echo configure:13852: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_posix_timer_struct=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- cat > conftest.$ac_ext <<EOF
-#line 13863 "configure"
-#include "confdefs.h"
-
-#include <time.h>
-
-#if defined(ACE_LACKS_SYSTIME_H)
-# include <sys/time.h>
-#endif
-
-int main() {
-
- timestruc_t sr;
-
-; return 0; }
-EOF
-if { (eval echo configure:13878: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_posix_timer_struct=yes
-
- echo $ac_n "checking for struct timespec in sys/timers.h""... $ac_c" 1>&6
-echo "configure:13884: checking for struct timespec in sys/timers.h" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_posix_struct_timespec_broken'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 13890 "configure"
-#include "confdefs.h"
-
-#include <sys/timers.h>
-
-int main() {
-
- timespec sr;
-
-; return 0; }
-EOF
-if { (eval echo configure:13901: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_posix_struct_timespec_broken=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_posix_struct_timespec_broken=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_lib_posix_struct_timespec_broken" 1>&6
- if test "$ace_cv_lib_posix_struct_timespec_broken" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_BROKEN_POSIX_TIME 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_posix_timer_struct=no
-
-fi
-rm -f conftest*
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_lib_posix_timer_struct" 1>&6
- if test "$ace_cv_lib_posix_timer_struct" != no; then
- ace_just_a_place_holder=fixme
-
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_POSIX_TIME 1
-EOF
-
- if test "$ace_cv_lib_posix_struct_timespec_broken" = yes; then
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_BROKEN_POSIX_TIME 1
-EOF
-
- fi
-
- else
- ace_just_a_place_holder=fixme
-
-
- echo $ac_n "checking for struct timespec in sys/timers.h""... $ac_c" 1>&6
-echo "configure:13966: checking for struct timespec in sys/timers.h" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_posix_struct_timespec_broken'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 13972 "configure"
-#include "confdefs.h"
-
-#include <sys/timers.h>
-
-int main() {
-
- timespec sr;
-
-; return 0; }
-EOF
-if { (eval echo configure:13983: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_posix_struct_timespec_broken=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_posix_struct_timespec_broken=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_lib_posix_struct_timespec_broken" 1>&6
- if test "$ace_cv_lib_posix_struct_timespec_broken" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_BROKEN_POSIX_TIME 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- fi
-
-
-
- echo $ac_n "checking for timespec_t""... $ac_c" 1>&6
-echo "configure:14019: checking for timespec_t" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_posix_timespec_t'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 14025 "configure"
-#include "confdefs.h"
-
-#include <time.h>
-
-#if defined(ACE_LACKS_SYSTIME_H)
-# include <sys/time.h>
-#endif
-
-int main() {
-
- timespec_t tt;
-
-; return 0; }
-EOF
-if { (eval echo configure:14040: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_posix_timespec_t=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_posix_timespec_t=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_lib_posix_timespec_t" 1>&6
- if test "$ace_cv_lib_posix_timespec_t" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_TIMESPEC_T 1
-EOF
-
-
- fi
-
-
-
- echo $ac_n "checking for union semun""... $ac_c" 1>&6
-echo "configure:14073: checking for union semun" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_posix_defines_union_semun'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 14079 "configure"
-#include "confdefs.h"
-
-#ifndef ACE_LACKS_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-#include <sys/sem.h>
-
-int main() {
-
-/* We could also check if the macro _SEM_SEMUN_UNDEFINED is defined.
- No big deal. */
-
-semun us;
-
-; return 0; }
-EOF
-if { (eval echo configure:14096: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_posix_defines_union_semun=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_posix_defines_union_semun=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_lib_posix_defines_union_semun" 1>&6
- if test "$ace_cv_lib_posix_defines_union_semun" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_SEMUN 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
-
- echo $ac_n "checking for broken struct timespec members""... $ac_c" 1>&6
-echo "configure:14129: checking for broken struct timespec members" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_broken_timespec'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 14135 "configure"
-#include "confdefs.h"
-
-#include <time.h>
-
-#if defined(ACE_LACKS_SYSTIME_H)
-# include <sys/time.h>
-#endif
-
-int main() {
-
- timespec sr;
- sr.ts_sec = 0;
- sr.ts_nsec = 0;
-
-; return 0; }
-EOF
-if { (eval echo configure:14152: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_broken_timespec=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_broken_timespec=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_lib_broken_timespec" 1>&6
- if test "$ace_cv_lib_broken_timespec" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_BROKEN_TIMESPEC_MEMBERS 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- echo $ac_n "checking for limited struct rusage""... $ac_c" 1>&6
-echo "configure:14184: checking for limited struct rusage" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_limited_rusage'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 14190 "configure"
-#include "confdefs.h"
-
-#include <sys/resource.h>
-
-int main() {
-
- rusage ace_rusage;
- /*
- We just pick three (i.e. > 2) of the fields that
- ACE uses to see if we have a struct rusage that
- has more than two fields.
- */
- ace_rusage.ru_ixrss = 0;
- ace_rusage.ru_idrss = 0;
- ace_rusage.ru_isrss = 0;
-
-; return 0; }
-EOF
-if { (eval echo configure:14209: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_limited_rusage=no
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_limited_rusage=yes
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_lib_limited_rusage" 1>&6
- if test "$ace_cv_lib_limited_rusage" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_LIMITED_RUSAGE_T 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-if test "$ace_cv_struct_siginfo_t" = yes; then
-
- echo $ac_n "checking for si_addr member in struct siginfo_t""... $ac_c" 1>&6
-echo "configure:14242: checking for si_addr member in struct siginfo_t" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_posix_si_addr'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 14248 "configure"
-#include "confdefs.h"
-
-#ifndef ACE_LACKS_SIGINFO_H
-# include <siginfo.h>
-#endif
-#include <signal.h>
-
-int main() {
-
- siginfo_t acesig;
- acesig.si_addr = 0;
-
-; return 0; }
-EOF
-if { (eval echo configure:14263: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_posix_si_addr=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_posix_si_addr=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_lib_posix_si_addr" 1>&6
- if test "$ace_cv_lib_posix_si_addr" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_SI_ADDR 1
-EOF
-
-
- fi
-
-fi
-
- echo $ac_n "checking for sin_len member in struct sockaddr_in""... $ac_c" 1>&6
-echo "configure:14296: checking for sin_len member in struct sockaddr_in" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_has_sin_len'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 14302 "configure"
-#include "confdefs.h"
-
-#ifndef ACE_LACKS_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-#include <netinet/in.h>
-
-int main() {
-
- sockaddr_in ace_sin;
- ace_sin.sin_len = sizeof(ace_sin);
-
-; return 0; }
-EOF
-if { (eval echo configure:14317: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_has_sin_len=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_has_sin_len=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_lib_has_sin_len" 1>&6
- if test "$ace_cv_lib_has_sin_len" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_SIN_LEN 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- echo $ac_n "checking for sys_siglist""... $ac_c" 1>&6
-echo "configure:14349: checking for sys_siglist" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_posix_sys_siglist'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 14355 "configure"
-#include "confdefs.h"
-
-#ifndef ACE_LACKS_UNISTD_H
-# include <unistd.h>
-#endif
-#include <signal.h>
-#if !defined (_sys_siglist)
-# define _sys_siglist sys_siglist
-#endif
-
-int main() {
-
- void* vp = (void*) &_sys_siglist;
-
-; return 0; }
-EOF
-if { (eval echo configure:14372: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_posix_sys_siglist=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_posix_sys_siglist=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_lib_posix_sys_siglist" 1>&6
- if test "$ace_cv_lib_posix_sys_siglist" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_SYS_SIGLIST 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- echo $ac_n "checking for sys_errlist""... $ac_c" 1>&6
-echo "configure:14404: checking for sys_errlist" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_posix_sys_errlist'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 14410 "configure"
-#include "confdefs.h"
-
-#include <stdio.h>
-#include <errno.h>
-#if !defined (_sys_errlist)
-# define _sys_errlist sys_errlist
-#endif
-
-int main() {
-
- void* vp = (void*) &_sys_errlist;
-
-; return 0; }
-EOF
-if { (eval echo configure:14425: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_posix_sys_errlist=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_posix_sys_errlist=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_lib_posix_sys_errlist" 1>&6
- if test "$ace_cv_lib_posix_sys_errlist" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_SYS_ERRLIST 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- echo $ac_n "checking for sys_nerr in headers""... $ac_c" 1>&6
-echo "configure:14457: checking for sys_nerr in headers" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_posix_sys_nerr'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 14463 "configure"
-#include "confdefs.h"
-
-#include <stdio.h>
-#include <errno.h>
-#if !defined (_sys_nerr)
-# define _sys_nerr sys_nerr
-#endif
-
-int main() {
-
- void* vp = (void*) &_sys_nerr;
-
-; return 0; }
-EOF
-if { (eval echo configure:14478: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_posix_sys_nerr=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_posix_sys_nerr=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_lib_posix_sys_nerr" 1>&6
- if test "$ace_cv_lib_posix_sys_nerr" != no; then
- ace_just_a_place_holder=fixme
-
-
- else
- ace_just_a_place_holder=fixme
-
- echo $ac_n "checking for sys_nerr""... $ac_c" 1>&6
-echo "configure:14504: checking for sys_nerr" >&5
-if eval "test \"`echo '$''{'ac_cv_func_sys_nerr'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 14509 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char sys_nerr(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char sys_nerr();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_sys_nerr) || defined (__stub___sys_nerr)
-choke me
-#else
-sys_nerr();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:14535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_sys_nerr=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_sys_nerr=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'sys_nerr`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_SYS_NERR 1
-EOF
-
-fi
-
-
-
- fi
-
-
-
-
- ace_pre_warning_CXXFLAGS="$CXXFLAGS"
-
- if test -n "$GXX"; then
- CXXFLAGS="$CXXFLAGS -Werror"
- else
- case $target in
- *solaris*)
- if test "$CXX" = CC; then
- CXXFLAGS="$CXXFLAGS -xwe"
- fi
- ;;
- *) ;;
- esac
- fi
-
-
-
- echo $ac_n "checking if compiler accepts \"pragma once\" directive""... $ac_c" 1>&6
-echo "configure:14583: checking if compiler accepts \"pragma once\" directive" >&5
- if eval "test \"`echo '$''{'ace_cv_has_pragma_once'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 14589 "configure"
-#include "confdefs.h"
-
-#pragma once
-
-int main() {
-
- int a = 0; /* Put this here so we don't have an empty main(). */
-
-; return 0; }
-EOF
-if { (eval echo configure:14600: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_has_pragma_once=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_has_pragma_once=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_has_pragma_once" 1>&6
- if test "$ace_cv_has_pragma_once" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_PRAGMA_ONCE 1
-EOF
-
-
- fi
-
-
-
- CXXFLAGS="$ace_pre_warning_CXXFLAGS"
-
-if test -n "$GXX"; then
- PREPIPECXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -pipe"
- PREPIPECFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS -pipe"
-
- echo $ac_n "checking if \"-pipe\" compiler flag is supported""... $ac_c" 1>&6
-echo "configure:14641: checking if \"-pipe\" compiler flag is supported" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_gxx_has_pipe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 14647 "configure"
-#include "confdefs.h"
-
-int main() {
-int a = 0;
-; return 0; }
-EOF
-if { (eval echo configure:14654: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_feature_gxx_has_pipe=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_feature_gxx_has_pipe=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_feature_gxx_has_pipe" 1>&6
- if test "$ace_cv_feature_gxx_has_pipe" != no; then
- ace_just_a_place_holder=fixme
-
-
- else
- ace_just_a_place_holder=fixme
-
- CXXFLAGS="$PREPIPECXXFLAGS"
- CFLAGS="$PREPIPECFLAGS"
-
-
- fi
-
-fi
-
-
-if test "$ac_cv_c_inline" = no; then
- cat >> confdefs.h <<\EOF
-#define ACE_LACKS_INLINE_FUNCTIONS 1
-EOF
-
-fi
-
-if test "$cross_compiling" != yes; then
- echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
-echo "configure:14697: checking whether byte ordering is bigendian" >&5
-if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- ac_cv_c_bigendian=unknown
-# See if sys/param.h defines the BYTE_ORDER macro.
-cat > conftest.$ac_ext <<EOF
-#line 14704 "configure"
-#include "confdefs.h"
-#include <sys/types.h>
-#include <sys/param.h>
-int main() {
-
-#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
- bogus endian macros
-#endif
-; return 0; }
-EOF
-if { (eval echo configure:14715: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- # It does; now see whether it defined to BIG_ENDIAN or not.
-cat > conftest.$ac_ext <<EOF
-#line 14719 "configure"
-#include "confdefs.h"
-#include <sys/types.h>
-#include <sys/param.h>
-int main() {
-
-#if BYTE_ORDER != BIG_ENDIAN
- not big endian
-#endif
-; return 0; }
-EOF
-if { (eval echo configure:14730: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- ac_cv_c_bigendian=yes
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- ac_cv_c_bigendian=no
-fi
-rm -f conftest*
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
-fi
-rm -f conftest*
-if test $ac_cv_c_bigendian = unknown; then
-if test "$cross_compiling" = yes; then
- { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
-else
- cat > conftest.$ac_ext <<EOF
-#line 14750 "configure"
-#include "confdefs.h"
-#ifdef __cplusplus
-extern "C" void exit(int);
-#endif
-main () {
- /* Are we little or big endian? From Harbison&Steele. */
- union
- {
- long l;
- char c[sizeof (long)];
- } u;
- u.l = 1;
- exit (u.c[sizeof (long) - 1] == 1);
-}
-EOF
-if { (eval echo configure:14766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-then
- ac_cv_c_bigendian=no
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -fr conftest*
- ac_cv_c_bigendian=yes
-fi
-rm -fr conftest*
-fi
-
-fi
-fi
-
-echo "$ac_t""$ac_cv_c_bigendian" 1>&6
-if test $ac_cv_c_bigendian = yes; then
- cat >> confdefs.h <<\EOF
-#define WORDS_BIGENDIAN 1
-EOF
-
-fi
-
-fi
-
-
-if test "$cross_compiling" != yes; then
- echo $ac_n "checking size of short""... $ac_c" 1>&6
-echo "configure:14794: checking size of short" >&5
-if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test "$cross_compiling" = yes; then
- ac_cv_sizeof_short=2
-else
- cat > conftest.$ac_ext <<EOF
-#line 14802 "configure"
-#include "confdefs.h"
-#ifdef __cplusplus
-extern "C" void exit(int);
-#endif
-#include <stdio.h>
-main()
-{
- FILE *f=fopen("conftestval", "w");
- if (!f) exit(1);
- fprintf(f, "%d\n", sizeof(short));
- exit(0);
-}
-EOF
-if { (eval echo configure:14816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-then
- ac_cv_sizeof_short=`cat conftestval`
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -fr conftest*
- ac_cv_sizeof_short=0
-fi
-rm -fr conftest*
-fi
-
-fi
-echo "$ac_t""$ac_cv_sizeof_short" 1>&6
-cat >> confdefs.h <<EOF
-#define SIZEOF_SHORT $ac_cv_sizeof_short
-EOF
-
-
- if test $ac_cv_sizeof_short != 0; then
- cat >> confdefs.h <<EOF
-#define ACE_SIZEOF_SHORT $ac_cv_sizeof_short
-EOF
-
- fi
- echo $ac_n "checking size of int""... $ac_c" 1>&6
-echo "configure:14842: checking size of int" >&5
-if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test "$cross_compiling" = yes; then
- ac_cv_sizeof_int=4
-else
- cat > conftest.$ac_ext <<EOF
-#line 14850 "configure"
-#include "confdefs.h"
-#ifdef __cplusplus
-extern "C" void exit(int);
-#endif
-#include <stdio.h>
-main()
-{
- FILE *f=fopen("conftestval", "w");
- if (!f) exit(1);
- fprintf(f, "%d\n", sizeof(int));
- exit(0);
-}
-EOF
-if { (eval echo configure:14864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-then
- ac_cv_sizeof_int=`cat conftestval`
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -fr conftest*
- ac_cv_sizeof_int=0
-fi
-rm -fr conftest*
-fi
-
-fi
-echo "$ac_t""$ac_cv_sizeof_int" 1>&6
-cat >> confdefs.h <<EOF
-#define SIZEOF_INT $ac_cv_sizeof_int
-EOF
-
-
- if test $ac_cv_sizeof_int != 0; then
- cat >> confdefs.h <<EOF
-#define ACE_SIZEOF_INT $ac_cv_sizeof_int
-EOF
-
- fi
- echo $ac_n "checking size of long""... $ac_c" 1>&6
-echo "configure:14890: checking size of long" >&5
-if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test "$cross_compiling" = yes; then
- ac_cv_sizeof_long=4
-else
- cat > conftest.$ac_ext <<EOF
-#line 14898 "configure"
-#include "confdefs.h"
-#ifdef __cplusplus
-extern "C" void exit(int);
-#endif
-#include <stdio.h>
-main()
-{
- FILE *f=fopen("conftestval", "w");
- if (!f) exit(1);
- fprintf(f, "%d\n", sizeof(long));
- exit(0);
-}
-EOF
-if { (eval echo configure:14912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-then
- ac_cv_sizeof_long=`cat conftestval`
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -fr conftest*
- ac_cv_sizeof_long=0
-fi
-rm -fr conftest*
-fi
-
-fi
-echo "$ac_t""$ac_cv_sizeof_long" 1>&6
-cat >> confdefs.h <<EOF
-#define SIZEOF_LONG $ac_cv_sizeof_long
-EOF
-
-
- if test $ac_cv_sizeof_long != 0; then
- cat >> confdefs.h <<EOF
-#define ACE_SIZEOF_LONG $ac_cv_sizeof_long
-EOF
-
- fi
- echo $ac_n "checking size of long long""... $ac_c" 1>&6
-echo "configure:14938: checking size of long long" >&5
-if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test "$cross_compiling" = yes; then
- ac_cv_sizeof_long_long=8
-else
- cat > conftest.$ac_ext <<EOF
-#line 14946 "configure"
-#include "confdefs.h"
-#ifdef __cplusplus
-extern "C" void exit(int);
-#endif
-#include <stdio.h>
-main()
-{
- FILE *f=fopen("conftestval", "w");
- if (!f) exit(1);
- fprintf(f, "%d\n", sizeof(long long));
- exit(0);
-}
-EOF
-if { (eval echo configure:14960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-then
- ac_cv_sizeof_long_long=`cat conftestval`
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -fr conftest*
- ac_cv_sizeof_long_long=0
-fi
-rm -fr conftest*
-fi
-
-fi
-echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
-cat >> confdefs.h <<EOF
-#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
-EOF
-
-
- if test $ac_cv_sizeof_long_long != 0; then
- cat >> confdefs.h <<EOF
-#define ACE_SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
-EOF
-
- else
- cat >> confdefs.h <<\EOF
-#define ACE_LACKS_LONGLONG_T 1
-EOF
-
- fi
- echo $ac_n "checking size of void *""... $ac_c" 1>&6
-echo "configure:14991: checking size of void *" >&5
-if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test "$cross_compiling" = yes; then
- ac_cv_sizeof_void_p=4
-else
- cat > conftest.$ac_ext <<EOF
-#line 14999 "configure"
-#include "confdefs.h"
-#ifdef __cplusplus
-extern "C" void exit(int);
-#endif
-#include <stdio.h>
-main()
-{
- FILE *f=fopen("conftestval", "w");
- if (!f) exit(1);
- fprintf(f, "%d\n", sizeof(void *));
- exit(0);
-}
-EOF
-if { (eval echo configure:15013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-then
- ac_cv_sizeof_void_p=`cat conftestval`
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -fr conftest*
- ac_cv_sizeof_void_p=0
-fi
-rm -fr conftest*
-fi
-
-fi
-echo "$ac_t""$ac_cv_sizeof_void_p" 1>&6
-cat >> confdefs.h <<EOF
-#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
-EOF
-
-
- if test $ac_cv_sizeof_void_p != 0; then
- cat >> confdefs.h <<EOF
-#define ACE_SIZEOF_VOID_P $ac_cv_sizeof_void_p
-EOF
-
- fi
- echo $ac_n "checking size of float""... $ac_c" 1>&6
-echo "configure:15039: checking size of float" >&5
-if eval "test \"`echo '$''{'ac_cv_sizeof_float'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test "$cross_compiling" = yes; then
- ac_cv_sizeof_float=4
-else
- cat > conftest.$ac_ext <<EOF
-#line 15047 "configure"
-#include "confdefs.h"
-#ifdef __cplusplus
-extern "C" void exit(int);
-#endif
-#include <stdio.h>
-main()
-{
- FILE *f=fopen("conftestval", "w");
- if (!f) exit(1);
- fprintf(f, "%d\n", sizeof(float));
- exit(0);
-}
-EOF
-if { (eval echo configure:15061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-then
- ac_cv_sizeof_float=`cat conftestval`
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -fr conftest*
- ac_cv_sizeof_float=0
-fi
-rm -fr conftest*
-fi
-
-fi
-echo "$ac_t""$ac_cv_sizeof_float" 1>&6
-cat >> confdefs.h <<EOF
-#define SIZEOF_FLOAT $ac_cv_sizeof_float
-EOF
-
-
- if test $ac_cv_sizeof_float != 0; then
- cat >> confdefs.h <<EOF
-#define ACE_SIZEOF_FLOAT $ac_cv_sizeof_float
-EOF
-
- else
- cat >> confdefs.h <<\EOF
-#define ACE_LACKS_FLOATING_POINT 1
-EOF
-
- fi
- echo $ac_n "checking size of double""... $ac_c" 1>&6
-echo "configure:15092: checking size of double" >&5
-if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test "$cross_compiling" = yes; then
- ac_cv_sizeof_double=8
-else
- cat > conftest.$ac_ext <<EOF
-#line 15100 "configure"
-#include "confdefs.h"
-#ifdef __cplusplus
-extern "C" void exit(int);
-#endif
-#include <stdio.h>
-main()
-{
- FILE *f=fopen("conftestval", "w");
- if (!f) exit(1);
- fprintf(f, "%d\n", sizeof(double));
- exit(0);
-}
-EOF
-if { (eval echo configure:15114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-then
- ac_cv_sizeof_double=`cat conftestval`
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -fr conftest*
- ac_cv_sizeof_double=0
-fi
-rm -fr conftest*
-fi
-
-fi
-echo "$ac_t""$ac_cv_sizeof_double" 1>&6
-cat >> confdefs.h <<EOF
-#define SIZEOF_DOUBLE $ac_cv_sizeof_double
-EOF
-
-
- if test $ac_cv_sizeof_double != 0; then
- cat >> confdefs.h <<EOF
-#define ACE_SIZEOF_DOUBLE $ac_cv_sizeof_double
-EOF
-
- else
- cat >> confdefs.h <<\EOF
-#define ACE_LACKS_FLOATING_POINT 1
-EOF
-
- fi
- echo $ac_n "checking size of long double""... $ac_c" 1>&6
-echo "configure:15145: checking size of long double" >&5
-if eval "test \"`echo '$''{'ac_cv_sizeof_long_double'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test "$cross_compiling" = yes; then
- ac_cv_sizeof_long_double=16
-else
- cat > conftest.$ac_ext <<EOF
-#line 15153 "configure"
-#include "confdefs.h"
-#ifdef __cplusplus
-extern "C" void exit(int);
-#endif
-#include <stdio.h>
-main()
-{
- FILE *f=fopen("conftestval", "w");
- if (!f) exit(1);
- fprintf(f, "%d\n", sizeof(long double));
- exit(0);
-}
-EOF
-if { (eval echo configure:15167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-then
- ac_cv_sizeof_long_double=`cat conftestval`
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -fr conftest*
- ac_cv_sizeof_long_double=0
-fi
-rm -fr conftest*
-fi
-
-fi
-echo "$ac_t""$ac_cv_sizeof_long_double" 1>&6
-cat >> confdefs.h <<EOF
-#define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
-EOF
-
-
- if test $ac_cv_sizeof_long_double != 0; then
- cat >> confdefs.h <<EOF
-#define ACE_SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
-EOF
-
- fi
-
- ACE_UINT64=""
- if test $ac_cv_sizeof_long = 8; then
- ACE_UINT64="unsigned long"
- ace_u_long_long_typedef_set=yes
- elif test $ac_cv_sizeof_long_long = 8; then
- ACE_UINT64="unsigned long long"
- ace_u_long_long_typedef_set=yes
- else
- ace_u_long_long_typedef_set=no
- fi
-
- echo $ac_n "checking size of signed char""... $ac_c" 1>&6
-echo "configure:15205: checking size of signed char" >&5
-if eval "test \"`echo '$''{'ac_cv_sizeof_signed_char'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test "$cross_compiling" = yes; then
- ac_cv_sizeof_signed_char=1
-else
- cat > conftest.$ac_ext <<EOF
-#line 15213 "configure"
-#include "confdefs.h"
-#ifdef __cplusplus
-extern "C" void exit(int);
-#endif
-#include <stdio.h>
-main()
-{
- FILE *f=fopen("conftestval", "w");
- if (!f) exit(1);
- fprintf(f, "%d\n", sizeof(signed char));
- exit(0);
-}
-EOF
-if { (eval echo configure:15227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-then
- ac_cv_sizeof_signed_char=`cat conftestval`
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -fr conftest*
- ac_cv_sizeof_signed_char=0
-fi
-rm -fr conftest*
-fi
-
-fi
-echo "$ac_t""$ac_cv_sizeof_signed_char" 1>&6
-cat >> confdefs.h <<EOF
-#define SIZEOF_SIGNED_CHAR $ac_cv_sizeof_signed_char
-EOF
-
-
- if test $ac_cv_sizeof_signed_char = 0; then
- cat >> confdefs.h <<\EOF
-#define ACE_LACKS_SIGNED_CHAR 1
-EOF
-
- fi
-fi
-
-
-
- echo $ac_n "checking for istream operator>> for char types""... $ac_c" 1>&6
-echo "configure:15257: checking for istream operator>> for char types" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_char_right_shifts'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 15263 "configure"
-#include "confdefs.h"
-
-#include <iostream.h>
-
-int main() {
-
-unsigned char a = 0;
-cin >> a;
-
-#ifndef ACE_LACKS_SIGNED_CHAR
-signed char b = 0;
-cin >> b;
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:15280: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_feature_char_right_shifts=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_feature_char_right_shifts=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_feature_char_right_shifts" 1>&6
- if test "$ace_cv_feature_char_right_shifts" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_CHAR_RIGHT_SHIFTS 1
-EOF
-
-
- fi
-
-
-
-
- echo $ac_n "checking for istream operator>> for char * types""... $ac_c" 1>&6
-echo "configure:15314: checking for istream operator>> for char * types" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_char_ptr_right_shifts'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 15320 "configure"
-#include "confdefs.h"
-
-#include <iostream.h>
-
-int main() {
-
-unsigned char * a = 0;
-cin >> a;
-
-#ifndef ACE_LACKS_SIGNED_CHAR
-signed char * b = 0;
-cin >> b;
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:15337: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_feature_char_ptr_right_shifts=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_feature_char_ptr_right_shifts=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_feature_char_ptr_right_shifts" 1>&6
- if test "$ace_cv_feature_char_ptr_right_shifts" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_CHAR_STAR_RIGHT_SHIFTS 1
-EOF
-
-
- fi
-
-
-
- echo $ac_n "checking for working C++ explicit template destructors""... $ac_c" 1>&6
-echo "configure:15370: checking for working C++ explicit template destructors" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_working_explicit_des'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 15376 "configure"
-#include "confdefs.h"
-
-#include <iostream.h>
-
-class dyn
-{
- public:
- dyn () { cout << "dyn" << endl; }
- ~dyn () { cout << "~dyn" << endl; }
-};
-
-template <class T>
-class Base
-{
- public:
- Base () { cout << "Base" << endl; }
- virtual void f (void) { cout << "Base::f" << endl; }
- ~Base () { cout << "~Base" << endl; }
-};
-
-template <class T>
-class Derived
-{
- public:
- Derived ()
- {
- x_ = new Base<T> (); cout << "Derived" << endl ;
- }
- virtual void f (void) { cout << "Derived::f" << endl; }
- ~Derived () { x_->~Base (); cout << "~Derived" << endl; }
- private:
- Base<T> *x_;
- T t_;
-};
-
-int main() {
-
- Derived<dyn> *x = new Derived<dyn> ();
-
- x->f ();
-
- delete x;
- return 0;
-
-; return 0; }
-EOF
-if { (eval echo configure:15423: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_feature_working_explicit_des=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_feature_working_explicit_des=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_feature_working_explicit_des" 1>&6
- if test "$ace_cv_feature_working_explicit_des" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_WORKING_EXPLICIT_TEMPLATE_DESTRUCTOR 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- echo $ac_n "checking for working C++ conversions""... $ac_c" 1>&6
-echo "configure:15455: checking for working C++ conversions" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_cxx_working_conversions'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 15461 "configure"
-#include "confdefs.h"
-
- template <class T>
- class Foo
- {
- public:
- Foo (void) { ace_ptr = 0; }
- operator T * (void) { return ace_ptr; }
-
- private:
- T * ace_ptr;
- };
-
-int main() {
-
- Foo<char> Bar;
-
- Foo<char> * Bar_ptr = &Bar;
-
- char * p = Bar_ptr->operator char * ();
-
-; return 0; }
-EOF
-if { (eval echo configure:15485: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_feature_cxx_working_conversions=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_feature_cxx_working_conversions=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_feature_cxx_working_conversions" 1>&6
- if test "$ace_cv_feature_cxx_working_conversions" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_BROKEN_CONVERSIONS 1
-EOF
-
-
- fi
-
-
-
- echo $ac_n "checking for C++ namespace support""... $ac_c" 1>&6
-echo "configure:15518: checking for C++ namespace support" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_cxx_namespaces'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 15524 "configure"
-#include "confdefs.h"
-
- namespace ACE
- {
- int x;
- }
-
-int main() {
-
- ACE::x = 0;
-
-; return 0; }
-EOF
-if { (eval echo configure:15538: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_feature_cxx_namespaces=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_feature_cxx_namespaces=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_feature_cxx_namespaces" 1>&6
- if test "$ace_cv_feature_cxx_namespaces" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_BROKEN_NAMESPACES 1
-EOF
-
-
- fi
-
-
-
- echo $ac_n "checking for C++ standard namespace""... $ac_c" 1>&6
-echo "configure:15571: checking for C++ standard namespace" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_posix_uses_std_namespace'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 15577 "configure"
-#include "confdefs.h"
-
-#include <iostream.h>
-
-int main() {
-
- std::cout << "FOO" << endl;
-
-; return 0; }
-EOF
-if { (eval echo configure:15588: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_feature_posix_uses_std_namespace=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_feature_posix_uses_std_namespace=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_feature_posix_uses_std_namespace" 1>&6
- if test "$ace_cv_feature_posix_uses_std_namespace" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- echo $ac_n "checking for C++ \"using\" keyword support""... $ac_c" 1>&6
-echo "configure:15620: checking for C++ \"using\" keyword support" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_cxx_using_keyword'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 15626 "configure"
-#include "confdefs.h"
-
-#if defined (ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB)
-# include <iostream.h>
-#elif !defined (ACE_HAS_BROKEN_NAMESPACES)
- namespace ACE
- {
- int x;
- }
-#endif
-
-int main() {
-
-#if defined (ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB)
- using namespace std;
-
- cout << "FOO" << endl;
-#elif !defined (ACE_HAS_BROKEN_NAMESPACES)
- using namespace ACE;
-
- x++;
-#else
-# error Namespaces are not supported on this platform.
-Throw in some extraneous text since compilers are stupid enough
-to interpret "#error" as a warning. Go figure. :(
-This extraneous text should force an error.
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:15657: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_feature_cxx_using_keyword=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_feature_cxx_using_keyword=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_feature_cxx_using_keyword" 1>&6
- if test "$ace_cv_feature_cxx_using_keyword" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_USING_KEYWORD 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- echo $ac_n "checking for new style C++ include file support""... $ac_c" 1>&6
-echo "configure:15689: checking for new style C++ include file support" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_posix_standard_includes'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- ace_cv_lib_posix_standard_includes=no
- if test "$ace_cv_feature_posix_uses_std_namespace" = yes; then
- cat > conftest.$ac_ext <<EOF
-#line 15697 "configure"
-#include "confdefs.h"
-
-#include <string>
-
-int main() {
-
- std::string str;
-
-; return 0; }
-EOF
-if { (eval echo configure:15708: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- ace_cv_lib_posix_standard_includes=yes
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
-fi
-rm -f conftest*
- else
- cat > conftest.$ac_ext <<EOF
-#line 15718 "configure"
-#include "confdefs.h"
-
-#include <string>
-
-int main() {
-
- string str;
-
-; return 0; }
-EOF
-if { (eval echo configure:15729: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- ace_cv_lib_posix_standard_includes=yes
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
-fi
-rm -f conftest*
- fi
-
-fi
-
- echo "$ac_t""$ace_cv_lib_posix_standard_includes" 1>&6
- if test "$ace_cv_lib_posix_standard_includes" != no; then
- ace_just_a_place_holder=fixme
-
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_STDCPP_STL_INCLUDES 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_STRING_CLASS 1
-EOF
-
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-if test "$ac_cv_header_new" = yes &&
- test "$ac_cv_header_iomanip" = yes &&
- test "$ac_cv_header_memory" = yes; then
-
-
- echo $ac_n "checking for C++ auto_ptr class""... $ac_c" 1>&6
-echo "configure:15766: checking for C++ auto_ptr class" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_auto_ptr_class'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 15772 "configure"
-#include "confdefs.h"
-
-#include <memory>
-
-int main() {
-
- int *foo = new int;
-
-#ifdef ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB
- std::auto_ptr<int> safe (foo);
-#else
- auto_ptr<Foo> safe (foo);
-#endif
- foo = safe.release ();
-
- delete foo;
-
-; return 0; }
-EOF
-if { (eval echo configure:15792: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_auto_ptr_class=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_auto_ptr_class=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_lib_auto_ptr_class" 1>&6
- if test "$ace_cv_lib_auto_ptr_class" != no; then
- ace_just_a_place_holder=fixme
-
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_STANDARD_CPP_LIBRARY 1
-EOF
-
-
- else
- ace_just_a_place_holder=fixme
-
- cat >> confdefs.h <<\EOF
-#define ACE_LACKS_AUTO_PTR 1
-EOF
-
-
-
- fi
-
-fi
-
-if test $ace_cv_lib_auto_ptr_class=yes; then
-
- echo $ac_n "checking for C++ auto_ptr reset method""... $ac_c" 1>&6
-echo "configure:15834: checking for C++ auto_ptr reset method" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_auto_ptr_reset'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 15840 "configure"
-#include "confdefs.h"
-
-#include <memory>
-
-int main() {
-
- int *foo = new int;
-
-#ifdef ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB
- std::auto_ptr<int> safe (foo);
-#else
- auto_ptr<Foo> safe (foo);
-#endif
- int *bar = new int;
-
- safe.reset (bar);
-
- foo = safe.release ();
-
-; return 0; }
-EOF
-if { (eval echo configure:15862: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_auto_ptr_reset=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_auto_ptr_reset=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_lib_auto_ptr_reset" 1>&6
- if test "$ace_cv_lib_auto_ptr_reset" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_AUTO_PTR_LACKS_RESET 1
-EOF
-
-
- fi
-
-fi
-
- echo $ac_n "checking for ANSI C++ cast support""... $ac_c" 1>&6
-echo "configure:15895: checking for ANSI C++ cast support" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_posix_standard_casts'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
-
- ace_pre_warning_CXXFLAGS="$CXXFLAGS"
-
- if test -n "$GXX"; then
- CXXFLAGS="$CXXFLAGS -Werror"
- else
- case $target in
- *solaris*)
- if test "$CXX" = CC; then
- CXXFLAGS="$CXXFLAGS -xwe"
- fi
- ;;
- *) ;;
- esac
- fi
-
-
- cat > conftest.$ac_ext <<EOF
-#line 15918 "configure"
-#include "confdefs.h"
-/* No headers */
-int main() {
-
- class B { public: int b_; virtual int b() const = 0; };
- class D : public B { virtual int b() const { return b_; } };
-
- void* vp = 0;
- char* cp = 0;
- float f = 1.0;
- int i = 0;
- int* ip = 0;
- const int* jp = 0;
-
- i = static_cast<int> (f);
- ip = const_cast<int*> (jp);
- cp = reinterpret_cast<char*> (vp);
-
- B* bp = new D;
- D* dp = dynamic_cast<D*> (bp);
- delete bp;
-
-; return 0; }
-EOF
-if { (eval echo configure:15943: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_posix_standard_casts=yes
- if eval "test \"`echo '$''{'ace_cv_lib_rtti'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- ace_cv_lib_rtti=yes
-fi
-
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- cat > conftest.$ac_ext <<EOF
-#line 15960 "configure"
-#include "confdefs.h"
-/* No headers */
-int main() {
-
- class B { public: int b_; virtual int b() const = 0; };
- class D : public B { virtual int b() const { return b_; } };
-
- void* vp = 0;
- char* cp = 0;
- float f = 1.0;
- int i = 0;
- int* ip = 0;
- const int* jp = 0;
-
- i = static_cast<int> (f);
- ip = const_cast<int*> (jp);
- cp = reinterpret_cast<char*> (vp);
-
-; return 0; }
-EOF
-if { (eval echo configure:15981: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_posix_standard_casts=yes
- if eval "test \"`echo '$''{'ace_cv_lib_rtti'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- ace_cv_lib_rtti=no
-fi
-
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_posix_standard_casts=no
-
-fi
-rm -f conftest*
-
-fi
-rm -f conftest*
-
-
- CXXFLAGS="$ace_pre_warning_CXXFLAGS"
-
-
-fi
-
- echo "$ac_t""$ace_cv_lib_posix_standard_casts" 1>&6
- if test "$ace_cv_lib_posix_standard_casts" != no; then
- ace_just_a_place_holder=fixme
-
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_ANSI_CASTS 1
-EOF
-
- if test "$ace_cv_lib_rtti" != yes; then
- cat >> confdefs.h <<\EOF
-#define ACE_LACKS_RTTI 1
-EOF
-
- fi
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- echo $ac_n "checking for explicit C++ constructor support""... $ac_c" 1>&6
-echo "configure:16034: checking for explicit C++ constructor support" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_explicit_constructor'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 16040 "configure"
-#include "confdefs.h"
-
-class Foo
-{
- public:
- explicit Foo (int i) { this->val_ = i; }
- private:
- int val_;
-};
-
-int main() {
-
-Foo bar = 'a'; // error: no implicit char->Foo conversion
-
-; return 0; }
-EOF
-if { (eval echo configure:16057: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_feature_explicit_constructor=no
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- cat > conftest.$ac_ext <<EOF
-#line 16068 "configure"
-#include "confdefs.h"
-
-class Foo
-{
- public:
- explicit Foo (int i) { this->val_ = i; }
- private:
- int val_;
-};
-
-int main() {
-
-Foo bar (5);
-
-; return 0; }
-EOF
-if { (eval echo configure:16085: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_feature_explicit_constructor=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_feature_explicit_constructor=no
-
-fi
-rm -f conftest*
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_feature_explicit_constructor" 1>&6
- if test "$ace_cv_feature_explicit_constructor" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_EXPLICIT_KEYWORD 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- echo $ac_n "checking for C++ mutable keyword""... $ac_c" 1>&6
-echo "configure:16120: checking for C++ mutable keyword" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_cxx_mutable_keyword'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 16126 "configure"
-#include "confdefs.h"
-
-class Foo
-{
- public:
- Foo (void) : val_ (0) {}
-
- mutable int val_;
-};
-
-int main() {
-
-const Foo bar;
-
-bar.val_ = 3; // mutable declaration should allow this to be modified
-
-; return 0; }
-EOF
-if { (eval echo configure:16145: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_feature_cxx_mutable_keyword=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_feature_cxx_mutable_keyword=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_feature_cxx_mutable_keyword" 1>&6
- if test "$ace_cv_feature_cxx_mutable_keyword" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_MUTABLE_KEYWORD 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- echo $ac_n "checking for C++ typename keyword""... $ac_c" 1>&6
-echo "configure:16177: checking for C++ typename keyword" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_posix_typename_keyword'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 16183 "configure"
-#include "confdefs.h"
-
- class Bar
- {
- public:
- typedef int Y;
- Bar(int bar) : bar_(bar) {}
- private:
- int bar_;
- };
-
- template <class T>
- class Foo
- {
- public:
- typedef typename T::Y Y;
- Foo(T* foo) : foo_(foo) {}
- void bilbo(typename T::Y y);
- private:
- T* foo_;
- };
-
- template <class T>
- void Foo<T>::bilbo(typename T::Y y)
- {
- }
-
-int main() {
-
- Bar bar(15);
- Foo<Bar> foo(&bar);
- foo.bilbo(10);
-
-; return 0; }
-EOF
-if { (eval echo configure:16219: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_feature_posix_typename_keyword=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_feature_posix_typename_keyword=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_feature_posix_typename_keyword" 1>&6
- if test "$ace_cv_feature_posix_typename_keyword" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_TYPENAME_KEYWORD 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- echo $ac_n "checking if const char * can be rvalue in conditional operator""... $ac_c" 1>&6
-echo "configure:16251: checking if const char * can be rvalue in conditional operator" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_conditional_str_cast'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 16257 "configure"
-#include "confdefs.h"
-
-int main() {
-
- const char * foo = 0;
- const char * bar = 0;
-
- const char * ace = ((1 < 2) ? foo : bar);
-
-; return 0; }
-EOF
-if { (eval echo configure:16269: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_feature_conditional_str_cast=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_feature_conditional_str_cast=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_feature_conditional_str_cast" 1>&6
- if test "$ace_cv_feature_conditional_str_cast" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_BROKEN_CONDITIONAL_STRING_CASTS 1
-EOF
-
-
- fi
-
-
-
- echo $ac_n "checking for explicit template instantiation""... $ac_c" 1>&6
-echo "configure:16302: checking for explicit template instantiation" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_explicit_template_instantiation'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 16308 "configure"
-#include "confdefs.h"
-
- template <class T>
- class Foo
- {
- public:
- Foo(T bar) : bar_(bar) {};
- private:
- T bar_;
- };
-
- template class Foo<int>;
-
-int main() {
-
- Foo<int> foo(11);
-
-; return 0; }
-EOF
-if { (eval echo configure:16328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
-
- ace_cv_feature_explicit_template_instantiation=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_feature_explicit_template_instantiation=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_feature_explicit_template_instantiation" 1>&6
- if test "$ace_cv_feature_explicit_template_instantiation" != no; then
- ace_just_a_place_holder=fixme
-
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION 1
-EOF
-
-
- else
- ace_just_a_place_holder=fixme
-
-
- echo $ac_n "checking for pragma template instantiation""... $ac_c" 1>&6
-echo "configure:16359: checking for pragma template instantiation" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_pragma_template_instantiation'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 16365 "configure"
-#include "confdefs.h"
-
- template <class T>
- class Foo
- {
- public:
- Foo(T bar) : bar_(bar) {};
- private:
- T bar_;
- };
-#pragma instantiate Foo<int>;
-
-int main() {
-
- Foo<int> foo(11);
-
-; return 0; }
-EOF
-if { (eval echo configure:16384: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_feature_pragma_template_instantiation=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_feature_pragma_template_instantiation=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_feature_pragma_template_instantiation" 1>&6
- if test "$ace_cv_feature_pragma_template_instantiation" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- fi
-
-
-
- echo $ac_n "checking if templates require source""... $ac_c" 1>&6
-echo "configure:16420: checking if templates require source" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_templates_require_source'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.h <<EOF
-#ifndef FOO_H
-#define FOO_H
-template <class T>
-class Foo
-{
- public:
- Foo (T val);
- private:
- T value_;
-};
-#endif /* FOO_H */
-EOF
-
- cat > conftest.$ac_ext <<EOF
-#include "conftest.h"
-#ifndef FOO_CXX
-#define FOO_CXX
-template <class T>
-Foo<T>::Foo (T val)
-{
- value_ = val;
-}
-#endif /* FOO_CXX */
-EOF
-
- cat > conftestMain.$ac_ext <<EOF
-#include "conftest.h"
-int main (int, char **)
-{
- Foo<int> foo (15);
-
- return 0;
-}
-EOF
-
- ace_save_ac_link="$ac_link"
-
- ac_link='${CXX-g++} -o conftest${ac_exeext} conftestMain.$ac_ext 1>&5'
-
- if { (eval echo configure:16465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- ac_link="$ace_save_ac_link"
-
- ace_cv_feature_templates_require_source=no
- else
- cat >> conftestMain.$ac_ext <<EOF
-
-#include "conftest.$ac_ext"
-EOF
-
- if { (eval echo configure:16476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- ac_link="$ace_save_ac_link"
-
- ace_cv_feature_templates_require_source=yes
- else
- echo "configure: failed program was:" >&5
- echo "conftest.h:" >&5
- cat conftest.h >&5
- echo "conftest.$ac_ext:" >&5
- cat conftest.$ac_ext >&5
- echo "conftestMain.$ac_ext:" >&5
- cat conftestMain.$ac_ext >&5
- rm -rf conftest*
- ac_link="$ace_save_ac_link"
-
- ace_cv_feature_templates_require_source=no
- fi
- fi
- rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_feature_templates_require_source" 1>&6
- if test "$ace_cv_feature_templates_require_source" != no; then
- ace_just_a_place_holder=fixme
-
- cat >> confdefs.h <<\EOF
-#define ACE_TEMPLATES_REQUIRE_SOURCE 1
-EOF
-
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- echo $ac_n "checking for template specialization""... $ac_c" 1>&6
-echo "configure:16516: checking for template specialization" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_cxx_template_specialization'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 16522 "configure"
-#include "confdefs.h"
-
- template <class T>
- class Foo
- {
- public:
- Foo(T bar) : bar_(bar) {};
- private:
- T bar_;
- };
-
- class Foo<int>
- {
- public:
- Foo(int bar) : bar_(bar + 1) {};
- private:
- int bar_;
- };
-
-int main() {
-
- Foo<int> foo(11);
-
-; return 0; }
-EOF
-if { (eval echo configure:16548: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_feature_cxx_template_specialization=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_feature_cxx_template_specialization=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_feature_cxx_template_specialization" 1>&6
- if test "$ace_cv_feature_cxx_template_specialization" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_TEMPLATE_SPECIALIZATION 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- echo $ac_n "checking for standard template specialization""... $ac_c" 1>&6
-echo "configure:16580: checking for standard template specialization" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_cxx_std_template_specialization'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 16586 "configure"
-#include "confdefs.h"
-
-// Some compilers have a hard time with this test since the syntax is
-// too "new" for them.
-
-// general vector type
-template<class T>
-class Vector
-{
-public:
- Vector (void);
- Vector (int);
-
- T& elem (int i) { return v[i]; }
- T& operator[] (int i);
-private:
- T* v;
- int sz;
-};
-
-// void * specialization
-template<>
-class Vector<void *>
-{
-public:
- Vector (void);
- Vector (int);
-
- void*& elem (int i) { return p[i]; }
- void*& operator[] (int i);
-private:
- void** p;
- int sz;
-};
-
-int main() {
-
-Vector<int> vi;
-Vector<void *> vpv;
-
-; return 0; }
-EOF
-if { (eval echo configure:16629: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_feature_cxx_std_template_specialization=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_feature_std_cxx_template_specialization=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_feature_cxx_std_template_specialization" 1>&6
- if test "$ace_cv_feature_cxx_std_template_specialization" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_STD_TEMPLATE_SPECIALIZATION 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-if test $ace_cv_feature_cxx_std_template_specialization = yes; then
-
-
- echo $ac_n "checking if platform needs standard template method specialization""... $ac_c" 1>&6
-echo "configure:16663: checking if platform needs standard template method specialization" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_cxx_std_template_method_specialization'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 16669 "configure"
-#include "confdefs.h"
-
-// Some compilers have a hard time with this test since the syntax is
-// too "new" for them.
-
-// general vector type
-template<class T>
-class Vector
-{
-public:
- Vector (void);
- Vector (int);
-
- T& elem (int i) { return v[i]; }
- T& operator[] (int i);
-private:
- T* v;
- int sz;
-};
-
-// void * specialization
-template<>
-class Vector<void *>
-{
-public:
- Vector (void);
- Vector (int);
-
- void*& elem (int i) { return p[i]; }
- void*& operator[] (int i);
-private:
- void** p;
- int sz;
-};
-
-void *&
-Vector<void *>::operator[] (int i)
-{
- return p[i];
-}
-
-int main() {
-
- Vector <void *> vpv;
-
-; return 0; }
-EOF
-if { (eval echo configure:16717: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_feature_cxx_std_template_method_specialization=no
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- cat > conftest.$ac_ext <<EOF
-#line 16728 "configure"
-#include "confdefs.h"
-
-// Some compilers have a hard time with this test since the syntax is
-// too "new" for them.
-
-// general vector type
-template<class T>
-class Vector
-{
-public:
- Vector (void);
- Vector (int);
-
- T& elem (int i) { return v[i]; }
- T& operator[] (int i);
-private:
- T* v;
- int sz;
-};
-
-// void * specialization
-template<>
-class Vector<void *>
-{
-public:
- Vector (void);
- Vector (int);
-
- void*& elem (int i) { return p[i]; }
- void*& operator[] (int i);
-private:
- void** p;
- int sz;
-};
-
-template <>
-void *&
-Vector<void *>::operator[] (int i)
-{
- return p[i];
-}
-
-int main() {
-
- Vector<void *> vpv;
-
-; return 0; }
-EOF
-if { (eval echo configure:16777: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_feature_cxx_std_template_method_specialization=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_feature_cxx_std_template_method_specialization=no
-
-fi
-rm -f conftest*
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_feature_cxx_std_template_method_specialization" 1>&6
- if test "$ace_cv_feature_cxx_std_template_method_specialization" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_STD_TEMPLATE_METHOD_SPECIALIZATION 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-fi
-
- echo $ac_n "checking for template typedefs""... $ac_c" 1>&6
-echo "configure:16812: checking for template typedefs" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_posix_template_typedefs'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 16818 "configure"
-#include "confdefs.h"
-
-#if defined (ACE_HAS_TYPENAME_KEYWORD)
-#define TYPENAME typename
-#else
-#define TYPENAME
-#endif
-
- class Bar
- {
- public:
- typedef int Y;
- Bar(int bar) : bar_(bar) {}
- int value() const { return bar_; }
- private:
- int bar_;
- };
-
- template <class T>
- class Foo
- {
- public:
- typedef TYPENAME T::Y Y;
- Foo(T* foo) : foo_(foo) {}
- void print(Y y);
- private:
- T* foo_;
- };
-
- template <class T>
- void Foo<T>::print(TYPENAME T::Y y)
- {
- }
-
-int main() {
-
- Bar bar(15);
- Foo<Bar> foo(&bar);
- foo.print(11);
-
-; return 0; }
-EOF
-if { (eval echo configure:16861: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_feature_posix_template_typedefs=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_feature_posix_template_typedefs=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_feature_posix_template_typedefs" 1>&6
- if test "$ace_cv_feature_posix_template_typedefs" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_TEMPLATE_TYPEDEFS 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- echo $ac_n "checking for static data member templates""... $ac_c" 1>&6
-echo "configure:16893: checking for static data member templates" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_posix_static_data_member_templates'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 16899 "configure"
-#include "confdefs.h"
-
- template <class T>
- class Foo
- {
- public:
- static T* sdm;
- };
-
- template <class T> T* Foo<T>::sdm = 0;
-
-int main() {
-
- /* No body */
-
-; return 0; }
-EOF
-if { (eval echo configure:16917: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_feature_posix_static_data_member_templates=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_feature_posix_static_data_member_templates=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_feature_posix_static_data_member_templates" 1>&6
- if test "$ace_cv_feature_posix_static_data_member_templates" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES 1
-EOF
-
-
- fi
-
-
-
- echo $ac_n "checking if definition is needed for hidden functions""... $ac_c" 1>&6
-echo "configure:16950: checking if definition is needed for hidden functions" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_need_func_def'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 16956 "configure"
-#include "confdefs.h"
-
- class Foo
- {
- public:
- Foo (void) { a_ = 0; }
- private:
- Foo (const Foo &);
- void operator= (const Foo &);
-
- int a_;
- };
-
-int main() {
-
- Foo Bar;
-
-; return 0; }
-EOF
-if { (eval echo configure:16976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
-
- ace_cv_feature_need_func_def=no
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- cat > conftest.$ac_ext <<EOF
-#line 16987 "configure"
-#include "confdefs.h"
-
- class Foo
- {
- public:
- Foo (void) { a_ = 0; }
- private:
- Foo (const Foo &);
- const Foo & operator= (const Foo &);
-
- int a_;
- };
-
- Foo::Foo (const Foo &)
- {
- a_ = 0;
- }
-
- const Foo &
- Foo::operator= (const Foo &)
- {
- a_ = 0;
-
- return *this;
- }
-
-int main() {
-
- Foo Bar;
-
-; return 0; }
-EOF
-if { (eval echo configure:17020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
-
- ace_cv_feature_need_func_def=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_feature_need_func_def=no
-
-fi
-rm -f conftest*
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_feature_need_func_def" 1>&6
- if test "$ace_cv_feature_need_func_def" != no; then
- ace_just_a_place_holder=fixme
-
- cat >> confdefs.h <<\EOF
-#define ACE_NEEDS_FUNC_DEFINITIONS 1
-EOF
-
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-if test "$ace_user_enable_exceptions" = yes; then
-
- echo $ac_n "checking for C++ exceptions""... $ac_c" 1>&6
-echo "configure:17058: checking for C++ exceptions" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_posix_exceptions'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 17064 "configure"
-#include "confdefs.h"
-
-int main() {
-
- int ret = 0;
- class ACE {};
- try
- {
- throw ACE();
- }
- catch (ACE)
- {
- ret = 1;
- }
-
-; return 0; }
-EOF
-if { (eval echo configure:17082: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_feature_posix_exceptions=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_feature_posix_exceptions=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_feature_posix_exceptions" 1>&6
- if test "$ace_cv_feature_posix_exceptions" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_EXCEPTIONS 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-ace_user_enable_exceptions=no
-
- fi
-
-
-fi
-
-
-
-# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
-# for constant arguments. Useless!
-echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
-echo "configure:17120: checking for working alloca.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 17125 "configure"
-#include "confdefs.h"
-#include <alloca.h>
-int main() {
-char *p = alloca(2 * sizeof(int));
-; return 0; }
-EOF
-if { (eval echo configure:17132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- ac_cv_header_alloca_h=yes
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- ac_cv_header_alloca_h=no
-fi
-rm -f conftest*
-fi
-
-echo "$ac_t""$ac_cv_header_alloca_h" 1>&6
-if test $ac_cv_header_alloca_h = yes; then
- cat >> confdefs.h <<\EOF
-#define HAVE_ALLOCA_H 1
-EOF
-
-fi
-
-echo $ac_n "checking for alloca""... $ac_c" 1>&6
-echo "configure:17153: checking for alloca" >&5
-if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 17158 "configure"
-#include "confdefs.h"
-
-#ifdef __GNUC__
-# define alloca __builtin_alloca
-#else
-# ifdef _MSC_VER
-# include <malloc.h>
-# define alloca _alloca
-# else
-# if HAVE_ALLOCA_H
-# include <alloca.h>
-# else
-# ifdef _AIX
- #pragma alloca
-# else
-# ifndef alloca /* predefined by HP cc +Olibcalls */
-char *alloca ();
-# endif
-# endif
-# endif
-# endif
-#endif
-
-int main() {
-char *p = (char *) alloca(1);
-; return 0; }
-EOF
-if { (eval echo configure:17186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- ac_cv_func_alloca_works=yes
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- ac_cv_func_alloca_works=no
-fi
-rm -f conftest*
-fi
-
-echo "$ac_t""$ac_cv_func_alloca_works" 1>&6
-if test $ac_cv_func_alloca_works = yes; then
- cat >> confdefs.h <<\EOF
-#define HAVE_ALLOCA 1
-EOF
-
-fi
-
-if test $ac_cv_func_alloca_works = no; then
- # The SVR3 libPW and SVR4 libucb both contain incompatible functions
- # that cause trouble. Some versions do not even contain alloca or
- # contain a buggy version. If you still want to use their alloca,
- # use ar to extract alloca.o from them instead of compiling alloca.c.
- ALLOCA=alloca.${ac_objext}
- cat >> confdefs.h <<\EOF
-#define C_ALLOCA 1
-EOF
-
-
-echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
-echo "configure:17218: checking whether alloca needs Cray hooks" >&5
-if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 17223 "configure"
-#include "confdefs.h"
-#if defined(CRAY) && ! defined(CRAY2)
-webecray
-#else
-wenotbecray
-#endif
-
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "webecray" >/dev/null 2>&1; then
- rm -rf conftest*
- ac_cv_os_cray=yes
-else
- rm -rf conftest*
- ac_cv_os_cray=no
-fi
-rm -f conftest*
-
-fi
-
-echo "$ac_t""$ac_cv_os_cray" 1>&6
-if test $ac_cv_os_cray = yes; then
-for ac_func in _getb67 GETB67 getb67; do
- echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:17248: checking for $ac_func" >&5
-if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 17253 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char $ac_func(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char $ac_func();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
-choke me
-#else
-$ac_func();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:17279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_$ac_func=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_$ac_func=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<EOF
-#define CRAY_STACKSEG_END $ac_func
-EOF
-
- break
-else
- echo "$ac_t""no" 1>&6
-fi
-
-done
-fi
-
-echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
-echo "configure:17306: checking stack direction for C alloca" >&5
-if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test "$cross_compiling" = yes; then
- ac_cv_c_stack_direction=0
-else
- cat > conftest.$ac_ext <<EOF
-#line 17314 "configure"
-#include "confdefs.h"
-#ifdef __cplusplus
-extern "C" void exit(int);
-#endif
-find_stack_direction ()
-{
- static char *addr = 0;
- auto char dummy;
- if (addr == 0)
- {
- addr = &dummy;
- return find_stack_direction ();
- }
- else
- return (&dummy > addr) ? 1 : -1;
-}
-main ()
-{
- exit (find_stack_direction() < 0);
-}
-EOF
-if { (eval echo configure:17336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-then
- ac_cv_c_stack_direction=1
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -fr conftest*
- ac_cv_c_stack_direction=-1
-fi
-rm -fr conftest*
-fi
-
-fi
-
-echo "$ac_t""$ac_cv_c_stack_direction" 1>&6
-cat >> confdefs.h <<EOF
-#define STACK_DIRECTION $ac_cv_c_stack_direction
-EOF
-
-fi
-
-if test "$ac_cv_header_alloca_h" = yes; then
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_ALLOCA_H 1
-EOF
-
-fi
-if test "$ac_cv_func_alloca_works" = yes; then
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_ALLOCA 1
-EOF
-
-fi
-
-
-echo $ac_n "checking whether closedir returns void""... $ac_c" 1>&6
-echo "configure:17372: checking whether closedir returns void" >&5
-if eval "test \"`echo '$''{'ac_cv_func_closedir_void'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test "$cross_compiling" = yes; then
- ac_cv_func_closedir_void=yes
-else
- cat > conftest.$ac_ext <<EOF
-#line 17380 "configure"
-#include "confdefs.h"
-#ifdef __cplusplus
-extern "C" void exit(int);
-#endif
-#include <sys/types.h>
-#include <$ac_header_dirent>
-int closedir(); main() { exit(closedir(opendir(".")) != 0); }
-EOF
-if { (eval echo configure:17389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-then
- ac_cv_func_closedir_void=no
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -fr conftest*
- ac_cv_func_closedir_void=yes
-fi
-rm -fr conftest*
-fi
-
-fi
-
-echo "$ac_t""$ac_cv_func_closedir_void" 1>&6
-if test $ac_cv_func_closedir_void = yes; then
- cat >> confdefs.h <<\EOF
-#define CLOSEDIR_VOID 1
-EOF
-
-fi
-
-
-echo $ac_n "checking for getpwnam""... $ac_c" 1>&6
-echo "configure:17413: checking for getpwnam" >&5
-if eval "test \"`echo '$''{'ac_cv_func_getpwnam'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 17418 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char getpwnam(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char getpwnam();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_getpwnam) || defined (__stub___getpwnam)
-choke me
-#else
-getpwnam();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:17444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_getpwnam=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_getpwnam=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'getpwnam`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
- echo $ac_n "checking for setpwent""... $ac_c" 1>&6
-echo "configure:17463: checking for setpwent" >&5
-if eval "test \"`echo '$''{'ac_cv_func_setpwent'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 17468 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char setpwent(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char setpwent();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_setpwent) || defined (__stub___setpwent)
-choke me
-#else
-setpwent();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:17494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_setpwent=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_setpwent=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'setpwent`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
- echo $ac_n "checking for endpwent""... $ac_c" 1>&6
-echo "configure:17513: checking for endpwent" >&5
-if eval "test \"`echo '$''{'ac_cv_func_endpwent'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 17518 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char endpwent(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char endpwent();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_endpwent) || defined (__stub___endpwent)
-choke me
-#else
-endpwent();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:17544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_endpwent=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_endpwent=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'endpwent`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
- echo $ac_n "checking for getpwent""... $ac_c" 1>&6
-echo "configure:17563: checking for getpwent" >&5
-if eval "test \"`echo '$''{'ac_cv_func_getpwent'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 17568 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char getpwent(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char getpwent();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_getpwent) || defined (__stub___getpwent)
-choke me
-#else
-getpwent();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:17594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_getpwent=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_getpwent=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'getpwent`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
-
-if test "$ac_cv_func_getpwnam" != yes ||
- test "$ac_cv_func_setpwent" != yes ||
- test "$ac_cv_func_endpwent" != yes ||
- test "$ac_cv_func_getpwent" != yes; then
- cat >> confdefs.h <<\EOF
-#define ACE_LACKS_PWD_FUNCTIONS 1
-EOF
-
-fi
-
-echo $ac_n "checking for strftime""... $ac_c" 1>&6
-echo "configure:17624: checking for strftime" >&5
-if eval "test \"`echo '$''{'ac_cv_func_strftime'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 17629 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char strftime(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char strftime();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_strftime) || defined (__stub___strftime)
-choke me
-#else
-strftime();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:17655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_strftime=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_strftime=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'strftime`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define HAVE_STRFTIME 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-# strftime is in -lintl on SCO UNIX.
-echo $ac_n "checking for strftime in -lintl""... $ac_c" 1>&6
-echo "configure:17677: checking for strftime in -lintl" >&5
-ac_lib_var=`echo intl'_'strftime | sed 'y%./+-%__p_%'`
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- ac_save_LIBS="$LIBS"
-LIBS="-lintl $LIBS"
-cat > conftest.$ac_ext <<EOF
-#line 17685 "configure"
-#include "confdefs.h"
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char strftime();
-
-int main() {
-strftime()
-; return 0; }
-EOF
-if { (eval echo configure:17699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=no"
-fi
-rm -f conftest*
-LIBS="$ac_save_LIBS"
-
-fi
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define HAVE_STRFTIME 1
-EOF
-
-LIBS="-lintl $LIBS"
-else
- echo "$ac_t""no" 1>&6
-fi
-
-fi
-
-
-case "$target" in
- *win32*)
- echo $ac_n "checking for CancelIO""... $ac_c" 1>&6
-echo "configure:17729: checking for CancelIO" >&5
-if eval "test \"`echo '$''{'ac_cv_func_CancelIO'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 17734 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char CancelIO(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char CancelIO();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_CancelIO) || defined (__stub___CancelIO)
-choke me
-#else
-CancelIO();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:17760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_CancelIO=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_CancelIO=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'CancelIO`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_CANCEL_IO 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
- echo $ac_n "checking for SignalObjectAndWait""... $ac_c" 1>&6
-echo "configure:17784: checking for SignalObjectAndWait" >&5
-if eval "test \"`echo '$''{'ac_cv_func_SignalObjectAndWait'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 17789 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char SignalObjectAndWait(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char SignalObjectAndWait();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_SignalObjectAndWait) || defined (__stub___SignalObjectAndWait)
-choke me
-#else
-SignalObjectAndWait();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:17815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_SignalObjectAndWait=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_SignalObjectAndWait=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'SignalObjectAndWait`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_SIGNAL_OBJECT_AND_WAIT 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
- echo $ac_n "checking for TryEnterCriticalSection""... $ac_c" 1>&6
-echo "configure:17839: checking for TryEnterCriticalSection" >&5
-if eval "test \"`echo '$''{'ac_cv_func_TryEnterCriticalSection'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 17844 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char TryEnterCriticalSection(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char TryEnterCriticalSection();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_TryEnterCriticalSection) || defined (__stub___TryEnterCriticalSection)
-choke me
-#else
-TryEnterCriticalSection();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:17870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_TryEnterCriticalSection=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_TryEnterCriticalSection=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'TryEnterCriticalSection`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_WIN32_TRYLOCK 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
- ;;
- *)
- ;;
-esac
-
-echo $ac_n "checking for access""... $ac_c" 1>&6
-echo "configure:17898: checking for access" >&5
-if eval "test \"`echo '$''{'ac_cv_func_access'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 17903 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char access(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char access();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_access) || defined (__stub___access)
-choke me
-#else
-access();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:17929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_access=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_access=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'access`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_ACCESS 1
-EOF
-
-fi
-
-
-echo $ac_n "checking for bsearch""... $ac_c" 1>&6
-echo "configure:17954: checking for bsearch" >&5
-if eval "test \"`echo '$''{'ac_cv_func_bsearch'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 17959 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char bsearch(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char bsearch();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_bsearch) || defined (__stub___bsearch)
-choke me
-#else
-bsearch();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:17985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_bsearch=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_bsearch=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'bsearch`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_BSEARCH 1
-EOF
-
-fi
-
-
-echo $ac_n "checking for qsort""... $ac_c" 1>&6
-echo "configure:18010: checking for qsort" >&5
-if eval "test \"`echo '$''{'ac_cv_func_qsort'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 18015 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char qsort(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char qsort();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_qsort) || defined (__stub___qsort)
-choke me
-#else
-qsort();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:18041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_qsort=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_qsort=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'qsort`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_QSORT 1
-EOF
-
-fi
-
-
-for ac_func in execv execvp execve
-do
-echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:18068: checking for $ac_func" >&5
-if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 18073 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char $ac_func(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char $ac_func();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
-choke me
-#else
-$ac_func();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:18099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_$ac_func=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_$ac_func=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- cat >> confdefs.h <<EOF
-#define $ac_tr_func 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_EXEC 1
-EOF
-
-fi
-done
-
-
-echo $ac_n "checking for fcntl""... $ac_c" 1>&6
-echo "configure:18129: checking for fcntl" >&5
-if eval "test \"`echo '$''{'ac_cv_func_fcntl'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 18134 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char fcntl(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char fcntl();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_fcntl) || defined (__stub___fcntl)
-choke me
-#else
-fcntl();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:18160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_fcntl=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_fcntl=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'fcntl`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_FCNTL 1
-EOF
-
-fi
-
-
-echo $ac_n "checking for fsync""... $ac_c" 1>&6
-echo "configure:18185: checking for fsync" >&5
-if eval "test \"`echo '$''{'ac_cv_func_fsync'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 18190 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char fsync(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char fsync();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_fsync) || defined (__stub___fsync)
-choke me
-#else
-fsync();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:18216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_fsync=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_fsync=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'fsync`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_FSYNC 1
-EOF
-
-fi
-
-
-echo $ac_n "checking for getmsg""... $ac_c" 1>&6
-echo "configure:18241: checking for getmsg" >&5
-if eval "test \"`echo '$''{'ac_cv_func_getmsg'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 18246 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char getmsg(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char getmsg();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_getmsg) || defined (__stub___getmsg)
-choke me
-#else
-getmsg();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:18272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_getmsg=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_getmsg=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'getmsg`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_STREAM_PIPES 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-echo $ac_n "checking for gethostbyaddr""... $ac_c" 1>&6
-echo "configure:18296: checking for gethostbyaddr" >&5
-if eval "test \"`echo '$''{'ac_cv_func_gethostbyaddr'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 18301 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char gethostbyaddr(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char gethostbyaddr();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_gethostbyaddr) || defined (__stub___gethostbyaddr)
-choke me
-#else
-gethostbyaddr();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:18327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_gethostbyaddr=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_gethostbyaddr=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'gethostbyaddr`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
-
-echo $ac_n "checking for difftime""... $ac_c" 1>&6
-echo "configure:18347: checking for difftime" >&5
-if eval "test \"`echo '$''{'ac_cv_func_difftime'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 18352 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char difftime(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char difftime();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_difftime) || defined (__stub___difftime)
-choke me
-#else
-difftime();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:18378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_difftime=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_difftime=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'difftime`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_DIFFTIME 1
-EOF
-
-fi
-
-
-echo $ac_n "checking for llseek""... $ac_c" 1>&6
-echo "configure:18403: checking for llseek" >&5
-if eval "test \"`echo '$''{'ac_cv_func_llseek'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 18408 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char llseek(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char llseek();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_llseek) || defined (__stub___llseek)
-choke me
-#else
-llseek();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:18434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_llseek=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_llseek=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'llseek`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_LLSEEK 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-echo $ac_n "checking for bind""... $ac_c" 1>&6
-echo "configure:18458: checking for bind" >&5
-if eval "test \"`echo '$''{'ac_cv_func_bind'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 18463 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char bind(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char bind();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_bind) || defined (__stub___bind)
-choke me
-#else
-bind();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:18489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_bind=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_bind=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'bind`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-
- echo $ac_n "checking if bind() will select the port if it is zero""... $ac_c" 1>&6
-echo "configure:18506: checking if bind() will select the port if it is zero" >&5
- if eval "test \"`echo '$''{'ace_cv_have_wildcard_bind'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- if test "$cross_compiling" = yes; then
-
- ace_cv_have_wildcard_bind=yes
-
-else
- cat > conftest.$ac_ext <<EOF
-#line 18517 "configure"
-#include "confdefs.h"
-#ifdef __cplusplus
-extern "C" void exit(int);
-#endif
-
-#ifndef ACE_LACKS_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-#include <sys/socket.h>
-#include <netinet/in.h>
-#include <string.h> /* for memset() */
-
- int main () {
-
- int sockfd = socket(AF_INET, SOCK_STREAM, 0);
-
- sockaddr_in serv_addr;
-
- (void) memset ((void *) &serv_addr, 0, sizeof(serv_addr));
-
- serv_addr.sin_family = AF_INET;
- serv_addr.sin_addr.s_addr = htonl(INADDR_ANY);
- serv_addr.sin_port = 0;
-
- return bind (sockfd, (struct sockaddr *) &serv_addr,
- sizeof(serv_addr));
- }
-
-EOF
-if { (eval echo configure:18547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-then
-
- ace_cv_have_wildcard_bind=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -fr conftest*
-
- ace_cv_have_wildcard_bind=no
-
-fi
-rm -fr conftest*
-fi
-
-
-fi
-
- echo "$ac_t""$ace_cv_have_wildcard_bind" 1>&6
- if test "$ace_cv_have_wildcard_bind" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_WILDCARD_BIND 1
-EOF
-
-
- fi
-
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-echo $ac_n "checking for poll""... $ac_c" 1>&6
-echo "configure:18586: checking for poll" >&5
-if eval "test \"`echo '$''{'ac_cv_func_poll'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 18591 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char poll(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char poll();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_poll) || defined (__stub___poll)
-choke me
-#else
-poll();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:18617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_poll=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_poll=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'poll`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-
- echo $ac_n "checking if poll is broken""... $ac_c" 1>&6
-echo "configure:18634: checking if poll is broken" >&5
- if eval "test \"`echo '$''{'ace_cv_poll_is_broken'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- if test "$cross_compiling" = yes; then
-
- ace_cv_poll_is_broken=no
-
-else
- cat > conftest.$ac_ext <<EOF
-#line 18645 "configure"
-#include "confdefs.h"
-#ifdef __cplusplus
-extern "C" void exit(int);
-#endif
-
-#include <poll.h>
-#include <time.h>
-
-#ifdef ACE_LACKS_SYSTIME_H
-# include <sys/time.h>
-#endif
-
- int main () {
-
- int timeout = 2000; /* 2000 milliseconds */
- int timeout_arg = timeout;
- /* poll() modifies timeout argument on some platforms */
-
- int result = 0;
-
- time_t *t = 0;
-
- time_t time1 = time(t);
-
- result = poll(0, 0, timeout_arg);
-
- time_t time2 = time(t);
- time_t diff = time2 - time1;
-
- /* If (diff * 1000) < timeout then poll() is broken! */
- if (result >= 0)
- return (((diff * 1000) < timeout) ? 1 : 0);
- else
- return 1; /* We had a problem with poll() so we don't
- know what really happened. */
- }
-
-EOF
-if { (eval echo configure:18684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-then
-
- ace_cv_poll_is_broken=no
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -fr conftest*
-
- ace_cv_poll_is_broken=yes
-
-fi
-rm -fr conftest*
-fi
-
-
-fi
-
- echo "$ac_t""$ace_cv_poll_is_broken" 1>&6
- if test "$ace_cv_poll_is_broken" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_POLL_IS_BROKEN 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-echo $ac_n "checking for gethrtime""... $ac_c" 1>&6
-echo "configure:18722: checking for gethrtime" >&5
-if eval "test \"`echo '$''{'ac_cv_func_gethrtime'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 18727 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char gethrtime(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char gethrtime();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_gethrtime) || defined (__stub___gethrtime)
-choke me
-#else
-gethrtime();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:18753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_gethrtime=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_gethrtime=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'gethrtime`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-
-
-
- echo $ac_n "checking for hrtime_t in sys/time.h""... $ac_c" 1>&6
-echo "configure:18772: checking for hrtime_t in sys/time.h" >&5
- if eval "test \"`echo '$''{'ace_cv_type_hrtime_t'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 18778 "configure"
-#include "confdefs.h"
-
-#include <sys/time.h>
-
-int main() {
-
- hrtime_t ace_hrtime_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:18789: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_type_hrtime_t=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_type_hrtime_t=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_type_hrtime_t" 1>&6
- if test "$ace_cv_type_hrtime_t" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_HI_RES_TIMER 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-echo $ac_n "checking for pread""... $ac_c" 1>&6
-echo "configure:18826: checking for pread" >&5
-if eval "test \"`echo '$''{'ac_cv_func_pread'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 18831 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char pread(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char pread();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_pread) || defined (__stub___pread)
-choke me
-#else
-pread();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:18857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_pread=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_pread=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'pread`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- echo $ac_n "checking for pwrite""... $ac_c" 1>&6
-echo "configure:18872: checking for pwrite" >&5
-if eval "test \"`echo '$''{'ac_cv_func_pwrite'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 18877 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char pwrite(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char pwrite();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_pwrite) || defined (__stub___pwrite)
-choke me
-#else
-pwrite();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:18903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_pwrite=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_pwrite=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'pwrite`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_P_READ_WRITE 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-echo $ac_n "checking for readv""... $ac_c" 1>&6
-echo "configure:18931: checking for readv" >&5
-if eval "test \"`echo '$''{'ac_cv_func_readv'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 18936 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char readv(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char readv();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_readv) || defined (__stub___readv)
-choke me
-#else
-readv();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:18962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_readv=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_readv=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'readv`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_READV 1
-EOF
-
-fi
-
-echo $ac_n "checking for writev""... $ac_c" 1>&6
-echo "configure:18986: checking for writev" >&5
-if eval "test \"`echo '$''{'ac_cv_func_writev'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 18991 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char writev(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char writev();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_writev) || defined (__stub___writev)
-choke me
-#else
-writev();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:19017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_writev=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_writev=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'writev`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_WRITEV 1
-EOF
-
-fi
-
-echo $ac_n "checking for set_t_errno""... $ac_c" 1>&6
-echo "configure:19041: checking for set_t_errno" >&5
-if eval "test \"`echo '$''{'ac_cv_func_set_t_errno'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 19046 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char set_t_errno(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char set_t_errno();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_set_t_errno) || defined (__stub___set_t_errno)
-choke me
-#else
-set_t_errno();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:19072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_set_t_errno=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_set_t_errno=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'set_t_errno`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_SET_T_ERRNO 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-echo $ac_n "checking for sigsuspend""... $ac_c" 1>&6
-echo "configure:19095: checking for sigsuspend" >&5
-if eval "test \"`echo '$''{'ac_cv_func_sigsuspend'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 19100 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char sigsuspend(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char sigsuspend();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_sigsuspend) || defined (__stub___sigsuspend)
-choke me
-#else
-sigsuspend();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:19126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_sigsuspend=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_sigsuspend=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'sigsuspend`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_SIGSUSPEND 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-echo $ac_n "checking for sigtimedwait""... $ac_c" 1>&6
-echo "configure:19150: checking for sigtimedwait" >&5
-if eval "test \"`echo '$''{'ac_cv_func_sigtimedwait'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 19155 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char sigtimedwait(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char sigtimedwait();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_sigtimedwait) || defined (__stub___sigtimedwait)
-choke me
-#else
-sigtimedwait();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:19181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_sigtimedwait=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_sigtimedwait=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'sigtimedwait`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_SIGTIMEDWAIT 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-echo $ac_n "checking for socketpair""... $ac_c" 1>&6
-echo "configure:19205: checking for socketpair" >&5
-if eval "test \"`echo '$''{'ac_cv_func_socketpair'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 19210 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char socketpair(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char socketpair();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_socketpair) || defined (__stub___socketpair)
-choke me
-#else
-socketpair();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:19236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_socketpair=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_socketpair=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'socketpair`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_SOCKETPAIR 1
-EOF
-
-fi
-
-
-echo $ac_n "checking for strcasecmp""... $ac_c" 1>&6
-echo "configure:19261: checking for strcasecmp" >&5
-if eval "test \"`echo '$''{'ac_cv_func_strcasecmp'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 19266 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char strcasecmp(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char strcasecmp();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_strcasecmp) || defined (__stub___strcasecmp)
-choke me
-#else
-strcasecmp();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:19292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_strcasecmp=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_strcasecmp=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'strcasecmp`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_STRCASECMP 1
-EOF
-
-fi
-
-
-echo $ac_n "checking for strdup""... $ac_c" 1>&6
-echo "configure:19317: checking for strdup" >&5
-if eval "test \"`echo '$''{'ac_cv_func_strdup'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 19322 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char strdup(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char strdup();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_strdup) || defined (__stub___strdup)
-choke me
-#else
-strdup();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:19348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_strdup=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_strdup=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'strdup`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_STRDUP_EMULATION 1
-EOF
-
-fi
-
-
-echo $ac_n "checking for strrchr""... $ac_c" 1>&6
-echo "configure:19373: checking for strrchr" >&5
-if eval "test \"`echo '$''{'ac_cv_func_strrchr'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 19378 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char strrchr(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char strrchr();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_strrchr) || defined (__stub___strrchr)
-choke me
-#else
-strrchr();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:19404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_strrchr=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_strrchr=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'strrchr`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_STRRCHR 1
-EOF
-
-fi
-
-
-echo $ac_n "checking for memchr""... $ac_c" 1>&6
-echo "configure:19429: checking for memchr" >&5
-if eval "test \"`echo '$''{'ac_cv_func_memchr'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 19434 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char memchr(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char memchr();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_memchr) || defined (__stub___memchr)
-choke me
-#else
-memchr();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:19460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_memchr=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_memchr=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'memchr`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_MEMCHR 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-echo $ac_n "checking for syscall""... $ac_c" 1>&6
-echo "configure:19484: checking for syscall" >&5
-if eval "test \"`echo '$''{'ac_cv_func_syscall'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 19489 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char syscall(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char syscall();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_syscall) || defined (__stub___syscall)
-choke me
-#else
-syscall();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:19515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_syscall=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_syscall=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'syscall`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_SYSCALL 1
-EOF
-
-fi
-
-
-echo $ac_n "checking for ualarm""... $ac_c" 1>&6
-echo "configure:19540: checking for ualarm" >&5
-if eval "test \"`echo '$''{'ac_cv_func_ualarm'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 19545 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char ualarm(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char ualarm();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_ualarm) || defined (__stub___ualarm)
-choke me
-#else
-ualarm();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:19571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_ualarm=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_ualarm=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'ualarm`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_UALARM 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-echo $ac_n "checking for alarm""... $ac_c" 1>&6
-echo "configure:19595: checking for alarm" >&5
-if eval "test \"`echo '$''{'ac_cv_func_alarm'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 19600 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char alarm(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char alarm();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_alarm) || defined (__stub___alarm)
-choke me
-#else
-alarm();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:19626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_alarm=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_alarm=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'alarm`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
- echo $ac_n "checking for signal""... $ac_c" 1>&6
-echo "configure:19645: checking for signal" >&5
-if eval "test \"`echo '$''{'ac_cv_func_signal'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 19650 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char signal(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char signal();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_signal) || defined (__stub___signal)
-choke me
-#else
-signal();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:19676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_signal=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_signal=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'signal`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
-
-if test "$ac_cv_func_alarm" != yes &&
- test "$ac_cv_func_signal" != yes; then
- cat >> confdefs.h <<\EOF
-#define ACE_LACKS_UNIX_SIGNALS 1
-EOF
-
-fi
-
-echo $ac_n "checking for fork""... $ac_c" 1>&6
-echo "configure:19704: checking for fork" >&5
-if eval "test \"`echo '$''{'ac_cv_func_fork'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 19709 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char fork(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char fork();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_fork) || defined (__stub___fork)
-choke me
-#else
-fork();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:19735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_fork=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_fork=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'fork`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_FORK 1
-EOF
-
-fi
-
-
-echo $ac_n "checking for getrlimit""... $ac_c" 1>&6
-echo "configure:19760: checking for getrlimit" >&5
-if eval "test \"`echo '$''{'ac_cv_func_getrlimit'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 19765 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char getrlimit(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char getrlimit();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_getrlimit) || defined (__stub___getrlimit)
-choke me
-#else
-getrlimit();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:19791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_getrlimit=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_getrlimit=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'getrlimit`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
- echo $ac_n "checking for setrlimit""... $ac_c" 1>&6
-echo "configure:19807: checking for setrlimit" >&5
-if eval "test \"`echo '$''{'ac_cv_func_setrlimit'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 19812 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char setrlimit(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char setrlimit();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_setrlimit) || defined (__stub___setrlimit)
-choke me
-#else
-setrlimit();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:19838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_setrlimit=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_setrlimit=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'setrlimit`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_RLIMIT 1
-EOF
-
-fi
-
-
-else
- echo "$ac_t""no" 1>&6
-
- cat >> confdefs.h <<\EOF
-#define ACE_LACKS_RLIMIT 1
-EOF
-
-
-fi
-
-
-echo $ac_n "checking for sysinfo""... $ac_c" 1>&6
-echo "configure:19874: checking for sysinfo" >&5
-if eval "test \"`echo '$''{'ac_cv_func_sysinfo'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 19879 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char sysinfo(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char sysinfo();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_sysinfo) || defined (__stub___sysinfo)
-choke me
-#else
-sysinfo();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:19905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_sysinfo=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_sysinfo=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'sysinfo`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
- if test "$ac_cv_header_sys_systeminfo_h" = yes; then
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_SYSINFO 1
-EOF
-
- fi
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-echo $ac_n "checking for strerror""... $ac_c" 1>&6
-echo "configure:19933: checking for strerror" >&5
-if eval "test \"`echo '$''{'ac_cv_func_strerror'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 19938 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char strerror(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char strerror();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_strerror) || defined (__stub___strerror)
-choke me
-#else
-strerror();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:19964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_strerror=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_strerror=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'strerror`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_STRERROR 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-echo $ac_n "checking for lstat""... $ac_c" 1>&6
-echo "configure:19988: checking for lstat" >&5
-if eval "test \"`echo '$''{'ac_cv_func_lstat'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 19993 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char lstat(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char lstat();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_lstat) || defined (__stub___lstat)
-choke me
-#else
-lstat();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:20019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_lstat=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_lstat=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'lstat`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_LSTAT 1
-EOF
-
-fi
-
-
-echo $ac_n "checking for readlink""... $ac_c" 1>&6
-echo "configure:20044: checking for readlink" >&5
-if eval "test \"`echo '$''{'ac_cv_func_readlink'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 20049 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char readlink(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char readlink();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_readlink) || defined (__stub___readlink)
-choke me
-#else
-readlink();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:20075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_readlink=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_readlink=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'readlink`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_READLINK 1
-EOF
-
-fi
-
-
-echo $ac_n "checking for rename""... $ac_c" 1>&6
-echo "configure:20100: checking for rename" >&5
-if eval "test \"`echo '$''{'ac_cv_func_rename'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 20105 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char rename(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char rename();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_rename) || defined (__stub___rename)
-choke me
-#else
-rename();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:20131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_rename=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_rename=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'rename`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_RENAME 1
-EOF
-
-fi
-
-
-echo $ac_n "checking for recvmsg""... $ac_c" 1>&6
-echo "configure:20156: checking for recvmsg" >&5
-if eval "test \"`echo '$''{'ac_cv_func_recvmsg'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 20161 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char recvmsg(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char recvmsg();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_recvmsg) || defined (__stub___recvmsg)
-choke me
-#else
-recvmsg();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:20187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_recvmsg=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_recvmsg=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'recvmsg`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_RECVMSG 1
-EOF
-
-fi
-
-
-echo $ac_n "checking for sendmsg""... $ac_c" 1>&6
-echo "configure:20212: checking for sendmsg" >&5
-if eval "test \"`echo '$''{'ac_cv_func_sendmsg'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 20217 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char sendmsg(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char sendmsg();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_sendmsg) || defined (__stub___sendmsg)
-choke me
-#else
-sendmsg();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:20243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_sendmsg=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_sendmsg=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'sendmsg`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_SENDMSG 1
-EOF
-
-fi
-
-
-if test "$ace_has_tli" = yes; then
- echo $ac_n "checking for t_getname""... $ac_c" 1>&6
-echo "configure:20269: checking for t_getname" >&5
-if eval "test \"`echo '$''{'ac_cv_func_t_getname'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 20274 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char t_getname(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char t_getname();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_t_getname) || defined (__stub___t_getname)
-choke me
-#else
-t_getname();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:20300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_t_getname=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_t_getname=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'t_getname`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_SVR4_TLI 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-fi
-
-echo $ac_n "checking for getrusage""... $ac_c" 1>&6
-echo "configure:20325: checking for getrusage" >&5
-if eval "test \"`echo '$''{'ac_cv_func_getrusage'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 20330 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char getrusage(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char getrusage();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_getrusage) || defined (__stub___getrusage)
-choke me
-#else
-getrusage();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:20356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_getrusage=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_getrusage=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'getrusage`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_GETRUSAGE 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-echo $ac_n "checking for getpgid""... $ac_c" 1>&6
-echo "configure:20380: checking for getpgid" >&5
-if eval "test \"`echo '$''{'ac_cv_func_getpgid'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 20385 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char getpgid(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char getpgid();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_getpgid) || defined (__stub___getpgid)
-choke me
-#else
-getpgid();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:20411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_getpgid=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_getpgid=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'getpgid`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_GETPGID 1
-EOF
-
-fi
-
-
-echo $ac_n "checking for getppid""... $ac_c" 1>&6
-echo "configure:20436: checking for getppid" >&5
-if eval "test \"`echo '$''{'ac_cv_func_getppid'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 20441 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char getppid(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char getppid();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_getppid) || defined (__stub___getppid)
-choke me
-#else
-getppid();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:20467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_getppid=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_getppid=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'getppid`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_GETPPID 1
-EOF
-
-fi
-
-
-echo $ac_n "checking for getpagesize""... $ac_c" 1>&6
-echo "configure:20492: checking for getpagesize" >&5
-if eval "test \"`echo '$''{'ac_cv_func_getpagesize'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 20497 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char getpagesize(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char getpagesize();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_getpagesize) || defined (__stub___getpagesize)
-choke me
-#else
-getpagesize();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:20523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_getpagesize=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_getpagesize=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'getpagesize`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_GETPAGESIZE 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_PAGE_SIZE 4096
-EOF
-
-fi
-
-
-echo $ac_n "checking for msync""... $ac_c" 1>&6
-echo "configure:20551: checking for msync" >&5
-if eval "test \"`echo '$''{'ac_cv_func_msync'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 20556 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char msync(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char msync();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_msync) || defined (__stub___msync)
-choke me
-#else
-msync();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:20582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_msync=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_msync=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'msync`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_MSYNC 1
-EOF
-
-fi
-
-
-echo $ac_n "checking for mprotect""... $ac_c" 1>&6
-echo "configure:20607: checking for mprotect" >&5
-if eval "test \"`echo '$''{'ac_cv_func_mprotect'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 20612 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char mprotect(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char mprotect();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_mprotect) || defined (__stub___mprotect)
-choke me
-#else
-mprotect();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:20638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_mprotect=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_mprotect=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'mprotect`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_MPROTECT 1
-EOF
-
-fi
-
-
-echo $ac_n "checking for mkfifo""... $ac_c" 1>&6
-echo "configure:20663: checking for mkfifo" >&5
-if eval "test \"`echo '$''{'ac_cv_func_mkfifo'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 20668 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char mkfifo(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char mkfifo();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_mkfifo) || defined (__stub___mkfifo)
-choke me
-#else
-mkfifo();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:20694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_mkfifo=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_mkfifo=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'mkfifo`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_MKFIFO 1
-EOF
-
-fi
-
-
-echo $ac_n "checking for mktemp""... $ac_c" 1>&6
-echo "configure:20719: checking for mktemp" >&5
-if eval "test \"`echo '$''{'ac_cv_func_mktemp'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 20724 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char mktemp(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char mktemp();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_mktemp) || defined (__stub___mktemp)
-choke me
-#else
-mktemp();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:20750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_mktemp=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_mktemp=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'mktemp`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_MKTEMP 1
-EOF
-
-fi
-
-
-echo $ac_n "checking for madvise""... $ac_c" 1>&6
-echo "configure:20775: checking for madvise" >&5
-if eval "test \"`echo '$''{'ac_cv_func_madvise'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 20780 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char madvise(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char madvise();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_madvise) || defined (__stub___madvise)
-choke me
-#else
-madvise();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:20806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_madvise=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_madvise=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'madvise`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_MADVISE 1
-EOF
-
-fi
-
-
-if test "$ac_cv_header_sys_priocntl_h" = yes; then
- echo $ac_n "checking for priocntl""... $ac_c" 1>&6
-echo "configure:20832: checking for priocntl" >&5
-if eval "test \"`echo '$''{'ac_cv_func_priocntl'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 20837 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char priocntl(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char priocntl();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_priocntl) || defined (__stub___priocntl)
-choke me
-#else
-priocntl();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:20863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_priocntl=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_priocntl=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'priocntl`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_PRIOCNTL 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
- if test "$ac_cv_func_priocntl" = no; then
-
- echo $ac_n "checking for priocntl macro""... $ac_c" 1>&6
-echo "configure:20889: checking for priocntl macro" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_has_priocntl_macro'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 20895 "configure"
-#include "confdefs.h"
-
-#include <sys/priocntl.h>
-
-#if defined (priocntl)
- ACE_PRIOCNTL_MACRO
-#endif
-
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "ACE_PRIOCNTL_MACRO" >/dev/null 2>&1; then
- rm -rf conftest*
-
- ace_cv_lib_has_priocntl_macro=yes
-
-else
- rm -rf conftest*
-
- ace_cv_lib_has_priocntl_macro=no
-
-fi
-rm -f conftest*
-
-
-fi
-
- echo "$ac_t""$ace_cv_lib_has_priocntl_macro" 1>&6
- if test "$ace_cv_lib_has_priocntl_macro" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_PRIOCNTL 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
- fi fi
-echo $ac_n "checking for sbrk""... $ac_c" 1>&6
-echo "configure:20936: checking for sbrk" >&5
-if eval "test \"`echo '$''{'ac_cv_func_sbrk'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 20941 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char sbrk(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char sbrk();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_sbrk) || defined (__stub___sbrk)
-choke me
-#else
-sbrk();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:20967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_sbrk=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_sbrk=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'sbrk`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_SBRK 1
-EOF
-
-fi
-
-
-echo $ac_n "checking for msgctl""... $ac_c" 1>&6
-echo "configure:20992: checking for msgctl" >&5
-if eval "test \"`echo '$''{'ac_cv_func_msgctl'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 20997 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char msgctl(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char msgctl();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_msgctl) || defined (__stub___msgctl)
-choke me
-#else
-msgctl();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:21023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_msgctl=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_msgctl=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'msgctl`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-echo $ac_n "checking for msgget""... $ac_c" 1>&6
-echo "configure:21044: checking for msgget" >&5
-if eval "test \"`echo '$''{'ac_cv_func_msgget'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 21049 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char msgget(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char msgget();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_msgget) || defined (__stub___msgget)
-choke me
-#else
-msgget();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:21075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_msgget=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_msgget=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-echo $ac_n "checking for msgrcv""... $ac_c" 1>&6
-echo "configure:21096: checking for msgrcv" >&5
-if eval "test \"`echo '$''{'ac_cv_func_msgrcv'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 21101 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char msgrcv(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char msgrcv();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_msgrcv) || defined (__stub___msgrcv)
-choke me
-#else
-msgrcv();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:21127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_msgrcv=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_msgrcv=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'msgrcv`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-echo $ac_n "checking for semctl""... $ac_c" 1>&6
-echo "configure:21148: checking for semctl" >&5
-if eval "test \"`echo '$''{'ac_cv_func_semctl'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 21153 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char semctl(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char semctl();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_semctl) || defined (__stub___semctl)
-choke me
-#else
-semctl();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:21179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_semctl=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_semctl=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'semctl`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-echo $ac_n "checking for semget""... $ac_c" 1>&6
-echo "configure:21200: checking for semget" >&5
-if eval "test \"`echo '$''{'ac_cv_func_semget'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 21205 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char semget(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char semget();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_semget) || defined (__stub___semget)
-choke me
-#else
-semget();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:21231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_semget=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_semget=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'semget`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-echo $ac_n "checking for semop""... $ac_c" 1>&6
-echo "configure:21252: checking for semop" >&5
-if eval "test \"`echo '$''{'ac_cv_func_semop'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 21257 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char semop(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char semop();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_semop) || defined (__stub___semop)
-choke me
-#else
-semop();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:21283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_semop=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_semop=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'semop`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-echo $ac_n "checking for shmat""... $ac_c" 1>&6
-echo "configure:21304: checking for shmat" >&5
-if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 21309 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char shmat(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char shmat();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_shmat) || defined (__stub___shmat)
-choke me
-#else
-shmat();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:21335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_shmat=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_shmat=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-echo $ac_n "checking for shmctl""... $ac_c" 1>&6
-echo "configure:21356: checking for shmctl" >&5
-if eval "test \"`echo '$''{'ac_cv_func_shmctl'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 21361 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char shmctl(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char shmctl();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_shmctl) || defined (__stub___shmctl)
-choke me
-#else
-shmctl();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:21387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_shmctl=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_shmctl=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'shmctl`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-echo $ac_n "checking for shmdt""... $ac_c" 1>&6
-echo "configure:21408: checking for shmdt" >&5
-if eval "test \"`echo '$''{'ac_cv_func_shmdt'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 21413 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char shmdt(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char shmdt();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_shmdt) || defined (__stub___shmdt)
-choke me
-#else
-shmdt();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:21439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_shmdt=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_shmdt=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'shmdt`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-echo $ac_n "checking for shmget""... $ac_c" 1>&6
-echo "configure:21460: checking for shmget" >&5
-if eval "test \"`echo '$''{'ac_cv_func_shmget'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 21465 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char shmget(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char shmget();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_shmget) || defined (__stub___shmget)
-choke me
-#else
-shmget();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:21491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_shmget=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_shmget=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'shmget`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-echo $ac_n "checking for read_real_time""... $ac_c" 1>&6
-echo "configure:21512: checking for read_real_time" >&5
-if eval "test \"`echo '$''{'ac_cv_func_read_real_time'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 21517 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char read_real_time(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char read_real_time();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_read_real_time) || defined (__stub___read_real_time)
-choke me
-#else
-read_real_time();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:21543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_read_real_time=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_read_real_time=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'read_real_time`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_AIX_HI_RES_TIMER 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-echo $ac_n "checking for shm_open""... $ac_c" 1>&6
-echo "configure:21567: checking for shm_open" >&5
-if eval "test \"`echo '$''{'ac_cv_func_shm_open'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 21572 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char shm_open(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char shm_open();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_shm_open) || defined (__stub___shm_open)
-choke me
-#else
-shm_open();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:21598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_shm_open=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_shm_open=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'shm_open`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
- echo "configure: warning: platform supports shm_open but shm_open support will not be" 1>&2
- echo "configure: warning: enabled since ACE currently supports it only on LynxOS" 1>&2
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-echo $ac_n "checking for tempnam""... $ac_c" 1>&6
-echo "configure:21622: checking for tempnam" >&5
-if eval "test \"`echo '$''{'ac_cv_func_tempnam'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 21627 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char tempnam(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char tempnam();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_tempnam) || defined (__stub___tempnam)
-choke me
-#else
-tempnam();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:21653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_tempnam=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_tempnam=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'tempnam`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_TEMPNAM 1
-EOF
-
-fi
-
-
-echo $ac_n "checking for truncate""... $ac_c" 1>&6
-echo "configure:21678: checking for truncate" >&5
-if eval "test \"`echo '$''{'ac_cv_func_truncate'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 21683 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char truncate(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char truncate();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_truncate) || defined (__stub___truncate)
-choke me
-#else
-truncate();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:21709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_truncate=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_truncate=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'truncate`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_TRUNCATE 1
-EOF
-
-fi
-
-
-echo $ac_n "checking for recv_timedwait""... $ac_c" 1>&6
-echo "configure:21734: checking for recv_timedwait" >&5
-if eval "test \"`echo '$''{'ac_cv_func_recv_timedwait'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 21739 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char recv_timedwait(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char recv_timedwait();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_recv_timedwait) || defined (__stub___recv_timedwait)
-choke me
-#else
-recv_timedwait();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:21765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_recv_timedwait=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_recv_timedwait=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'recv_timedwait`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_RECV_TIMEDWAIT 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-echo $ac_n "checking for recvfrom_timedwait""... $ac_c" 1>&6
-echo "configure:21789: checking for recvfrom_timedwait" >&5
-if eval "test \"`echo '$''{'ac_cv_func_recvfrom_timedwait'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 21794 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char recvfrom_timedwait(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char recvfrom_timedwait();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_recvfrom_timedwait) || defined (__stub___recvfrom_timedwait)
-choke me
-#else
-recvfrom_timedwait();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:21820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_recvfrom_timedwait=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_recvfrom_timedwait=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'recvfrom_timedwait`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_RECVFROM_TIMEDWAIT 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-echo $ac_n "checking for recvmsg_timedwait""... $ac_c" 1>&6
-echo "configure:21844: checking for recvmsg_timedwait" >&5
-if eval "test \"`echo '$''{'ac_cv_func_recvmsg_timedwait'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 21849 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char recvmsg_timedwait(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char recvmsg_timedwait();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_recvmsg_timedwait) || defined (__stub___recvmsg_timedwait)
-choke me
-#else
-recvmsg_timedwait();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:21875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_recvmsg_timedwait=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_recvmsg_timedwait=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'recvmsg_timedwait`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_RECVMSG_TIMEDWAIT 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-echo $ac_n "checking for send_timedwait""... $ac_c" 1>&6
-echo "configure:21899: checking for send_timedwait" >&5
-if eval "test \"`echo '$''{'ac_cv_func_send_timedwait'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 21904 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char send_timedwait(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char send_timedwait();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_send_timedwait) || defined (__stub___send_timedwait)
-choke me
-#else
-send_timedwait();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:21930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_send_timedwait=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_send_timedwait=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'send_timedwait`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_SEND_TIMEDWAIT 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-echo $ac_n "checking for sendto_timedwait""... $ac_c" 1>&6
-echo "configure:21954: checking for sendto_timedwait" >&5
-if eval "test \"`echo '$''{'ac_cv_func_sendto_timedwait'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 21959 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char sendto_timedwait(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char sendto_timedwait();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_sendto_timedwait) || defined (__stub___sendto_timedwait)
-choke me
-#else
-sendto_timedwait();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:21985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_sendto_timedwait=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_sendto_timedwait=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'sendto_timedwait`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_SENDTO_TIMEDWAIT 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-echo $ac_n "checking for sendmsg_timedwait""... $ac_c" 1>&6
-echo "configure:22009: checking for sendmsg_timedwait" >&5
-if eval "test \"`echo '$''{'ac_cv_func_sendmsg_timedwait'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 22014 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char sendmsg_timedwait(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char sendmsg_timedwait();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_sendmsg_timedwait) || defined (__stub___sendmsg_timedwait)
-choke me
-#else
-sendmsg_timedwait();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:22040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_sendmsg_timedwait=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_sendmsg_timedwait=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'sendmsg_timedwait`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_SENDMSG_TIMEDWAIT 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-echo $ac_n "checking for read_timedwait""... $ac_c" 1>&6
-echo "configure:22064: checking for read_timedwait" >&5
-if eval "test \"`echo '$''{'ac_cv_func_read_timedwait'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 22069 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char read_timedwait(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char read_timedwait();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_read_timedwait) || defined (__stub___read_timedwait)
-choke me
-#else
-read_timedwait();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:22095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_read_timedwait=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_read_timedwait=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'read_timedwait`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_READ_TIMEDWAIT 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-echo $ac_n "checking for readv_timedwait""... $ac_c" 1>&6
-echo "configure:22119: checking for readv_timedwait" >&5
-if eval "test \"`echo '$''{'ac_cv_func_readv_timedwait'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 22124 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char readv_timedwait(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char readv_timedwait();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_readv_timedwait) || defined (__stub___readv_timedwait)
-choke me
-#else
-readv_timedwait();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:22150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_readv_timedwait=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_readv_timedwait=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'readv_timedwait`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_READV_TIMEDWAIT 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-echo $ac_n "checking for write_timedwait""... $ac_c" 1>&6
-echo "configure:22174: checking for write_timedwait" >&5
-if eval "test \"`echo '$''{'ac_cv_func_write_timedwait'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 22179 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char write_timedwait(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char write_timedwait();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_write_timedwait) || defined (__stub___write_timedwait)
-choke me
-#else
-write_timedwait();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:22205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_write_timedwait=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_write_timedwait=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'write_timedwait`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_WRITE_TIMEDWAIT 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-echo $ac_n "checking for writev_timedwait""... $ac_c" 1>&6
-echo "configure:22229: checking for writev_timedwait" >&5
-if eval "test \"`echo '$''{'ac_cv_func_writev_timedwait'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 22234 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char writev_timedwait(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char writev_timedwait();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_writev_timedwait) || defined (__stub___writev_timedwait)
-choke me
-#else
-writev_timedwait();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:22260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_writev_timedwait=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_writev_timedwait=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'writev_timedwait`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_WRITEV_TIMEDWAIT 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-echo $ac_n "checking for sem_init""... $ac_c" 1>&6
-echo "configure:22284: checking for sem_init" >&5
-if eval "test \"`echo '$''{'ac_cv_func_sem_init'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 22289 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char sem_init(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char sem_init();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_sem_init) || defined (__stub___sem_init)
-choke me
-#else
-sem_init();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:22315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_sem_init=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_sem_init=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'sem_init`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
- echo $ac_n "checking for sem_destroy""... $ac_c" 1>&6
-echo "configure:22334: checking for sem_destroy" >&5
-if eval "test \"`echo '$''{'ac_cv_func_sem_destroy'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 22339 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char sem_destroy(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char sem_destroy();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_sem_destroy) || defined (__stub___sem_destroy)
-choke me
-#else
-sem_destroy();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:22365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_sem_destroy=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_sem_destroy=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'sem_destroy`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
- echo $ac_n "checking for sem_open""... $ac_c" 1>&6
-echo "configure:22384: checking for sem_open" >&5
-if eval "test \"`echo '$''{'ac_cv_func_sem_open'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 22389 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char sem_open(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char sem_open();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_sem_open) || defined (__stub___sem_open)
-choke me
-#else
-sem_open();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:22415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_sem_open=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_sem_open=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'sem_open`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
- echo $ac_n "checking for sem_close""... $ac_c" 1>&6
-echo "configure:22434: checking for sem_close" >&5
-if eval "test \"`echo '$''{'ac_cv_func_sem_close'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 22439 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char sem_close(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char sem_close();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_sem_close) || defined (__stub___sem_close)
-choke me
-#else
-sem_close();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:22465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_sem_close=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_sem_close=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'sem_close`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
-
-if test "$ac_cv_func_sem_init" = yes &&
- test "$ac_cv_func_sem_destroy" = yes &&
- test "$ace_cv_type_sem_t" = yes &&
- test "$ace_has_sthreads" != yes; then
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_POSIX_SEM 1
-EOF
-
-
- if test "$ac_cv_func_sem_open" != yes ||
- test "$ac_cv_func_sem_close" != yes; then
- cat >> confdefs.h <<\EOF
-#define ACE_LACKS_NAMED_POSIX_SEM 1
-EOF
-
- fi
-fi
-
-if test "$ace_user_enable_threads" = yes; then
-
- if test "$ace_has_pthreads" = yes; then
-
- echo $ac_n "checking for pthread_sigmask""... $ac_c" 1>&6
-echo "configure:22507: checking for pthread_sigmask" >&5
-if eval "test \"`echo '$''{'ac_cv_func_pthread_sigmask'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 22512 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char pthread_sigmask(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char pthread_sigmask();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_pthread_sigmask) || defined (__stub___pthread_sigmask)
-choke me
-#else
-pthread_sigmask();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:22538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_pthread_sigmask=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_pthread_sigmask=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'pthread_sigmask`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_PTHREAD_SIGMASK 1
-EOF
-
-fi
-
-
- echo $ac_n "checking for pthread_key_create""... $ac_c" 1>&6
-echo "configure:22563: checking for pthread_key_create" >&5
-if eval "test \"`echo '$''{'ac_cv_func_pthread_key_create'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 22568 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char pthread_key_create(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char pthread_key_create();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_pthread_key_create) || defined (__stub___pthread_key_create)
-choke me
-#else
-pthread_key_create();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:22594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_pthread_key_create=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_pthread_key_create=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'pthread_key_create`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_THREAD_SPECIFIC_STORAGE 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_TSS_EMULATION 1
-EOF
-
-fi
-
-
- echo $ac_n "checking for pthread_condattr_setkind_np""... $ac_c" 1>&6
-echo "configure:22622: checking for pthread_condattr_setkind_np" >&5
-if eval "test \"`echo '$''{'ac_cv_func_pthread_condattr_setkind_np'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 22627 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char pthread_condattr_setkind_np(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char pthread_condattr_setkind_np();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_pthread_condattr_setkind_np) || defined (__stub___pthread_condattr_setkind_np)
-choke me
-#else
-pthread_condattr_setkind_np();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:22653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_pthread_condattr_setkind_np=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_pthread_condattr_setkind_np=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'pthread_condattr_setkind_np`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_PTHREAD_CONDATTR_SETKIND_NP 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
- echo $ac_n "checking for pthread_mutexattr_setkind_np""... $ac_c" 1>&6
-echo "configure:22677: checking for pthread_mutexattr_setkind_np" >&5
-if eval "test \"`echo '$''{'ac_cv_func_pthread_mutexattr_setkind_np'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 22682 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char pthread_mutexattr_setkind_np(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char pthread_mutexattr_setkind_np();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_pthread_mutexattr_setkind_np) || defined (__stub___pthread_mutexattr_setkind_np)
-choke me
-#else
-pthread_mutexattr_setkind_np();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:22708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_pthread_mutexattr_setkind_np=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_pthread_mutexattr_setkind_np=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'pthread_mutexattr_setkind_np`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_PTHREAD_MUTEXATTR_SETKIND_NP 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
- echo $ac_n "checking for pthread_condattr_setpshared""... $ac_c" 1>&6
-echo "configure:22732: checking for pthread_condattr_setpshared" >&5
-if eval "test \"`echo '$''{'ac_cv_func_pthread_condattr_setpshared'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 22737 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char pthread_condattr_setpshared(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char pthread_condattr_setpshared();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_pthread_condattr_setpshared) || defined (__stub___pthread_condattr_setpshared)
-choke me
-#else
-pthread_condattr_setpshared();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:22763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_pthread_condattr_setpshared=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_pthread_condattr_setpshared=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'pthread_condattr_setpshared`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_CONDATTR_PSHARED 1
-EOF
-
-fi
-
-
- echo $ac_n "checking for pthread_attr_setstackaddr""... $ac_c" 1>&6
-echo "configure:22788: checking for pthread_attr_setstackaddr" >&5
-if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_setstackaddr'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 22793 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char pthread_attr_setstackaddr(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char pthread_attr_setstackaddr();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_pthread_attr_setstackaddr) || defined (__stub___pthread_attr_setstackaddr)
-choke me
-#else
-pthread_attr_setstackaddr();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:22819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_pthread_attr_setstackaddr=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_pthread_attr_setstackaddr=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'pthread_attr_setstackaddr`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_THREAD_STACK_ADDR 1
-EOF
-
-fi
-
-
-
-
-
- cat > conftest.$ac_ext <<EOF
-#line 22847 "configure"
-#include "confdefs.h"
-
-#include <pthread.h>
-
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:22854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- ace_header_exists=yes
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- ace_header_exists=no
-fi
-rm -f conftest*
-
- cat > conftest.$ac_ext <<EOF
-
-#include <pthread.h>
- ACE_REAL_FUNCTION pthread_attr_setstacksize
-
-EOF
-
- if test "$ace_header_exists" = yes; then
- if test -z "$AWK"; then
- echo "configure: warning: No awk program found. "Real" function may not be found." 1>&2
- fi
-
- if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "ACE_REAL_FUNCTION" |
- (eval "$AWK '{print \$2}' > conftest.awk 2>&1"); then
- rm -f conftest.$ac_ext
- ace_real_function=`cat conftest.awk`
- rm -f conftest.awk
- fi
-
- if test pthread_attr_setstacksize != "$ace_real_function"; then
- echo $ac_n "checking for real pthread_attr_setstacksize from pthread.h""... $ac_c" 1>&6
-echo "configure:22890: checking for real pthread_attr_setstacksize from pthread.h" >&5
- echo "$ac_t""$ace_real_function" 1>&6
- fi
- else
- ace_real_function=pthread_attr_setstacksize
- fi
- echo $ac_n "checking for $ace_real_function""... $ac_c" 1>&6
-echo "configure:22897: checking for $ace_real_function" >&5
-if eval "test \"`echo '$''{'ac_cv_func_$ace_real_function'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 22902 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char $ace_real_function(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char $ace_real_function();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_$ace_real_function) || defined (__stub___$ace_real_function)
-choke me
-#else
-$ace_real_function();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:22928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_$ace_real_function=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_$ace_real_function=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'$ace_real_function`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_THREAD_STACK_SIZE 1
-EOF
-
-fi
-
-
-
-
-
-
- cat > conftest.$ac_ext <<EOF
-#line 22957 "configure"
-#include "confdefs.h"
-
-#include <pthread.h>
-
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:22964: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- ace_header_exists=yes
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- ace_header_exists=no
-fi
-rm -f conftest*
-
- cat > conftest.$ac_ext <<EOF
-
-#include <pthread.h>
- ACE_REAL_FUNCTION pthread_cancel
-
-EOF
-
- if test "$ace_header_exists" = yes; then
- if test -z "$AWK"; then
- echo "configure: warning: No awk program found. "Real" function may not be found." 1>&2
- fi
-
- if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "ACE_REAL_FUNCTION" |
- (eval "$AWK '{print \$2}' > conftest.awk 2>&1"); then
- rm -f conftest.$ac_ext
- ace_real_function=`cat conftest.awk`
- rm -f conftest.awk
- fi
-
- if test pthread_cancel != "$ace_real_function"; then
- echo $ac_n "checking for real pthread_cancel from pthread.h""... $ac_c" 1>&6
-echo "configure:23000: checking for real pthread_cancel from pthread.h" >&5
- echo "$ac_t""$ace_real_function" 1>&6
- fi
- else
- ace_real_function=pthread_cancel
- fi
- echo $ac_n "checking for $ace_real_function""... $ac_c" 1>&6
-echo "configure:23007: checking for $ace_real_function" >&5
-if eval "test \"`echo '$''{'ac_cv_func_$ace_real_function'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 23012 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char $ace_real_function(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char $ace_real_function();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_$ace_real_function) || defined (__stub___$ace_real_function)
-choke me
-#else
-$ace_real_function();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:23038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_$ace_real_function=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_$ace_real_function=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'$ace_real_function`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_PTHREAD_CANCEL 1
-EOF
-
-fi
-
-
-
- echo $ac_n "checking for pthread_yield""... $ac_c" 1>&6
-echo "configure:23064: checking for pthread_yield" >&5
-if eval "test \"`echo '$''{'ac_cv_func_pthread_yield'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 23069 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char pthread_yield(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char pthread_yield();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_pthread_yield) || defined (__stub___pthread_yield)
-choke me
-#else
-pthread_yield();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:23095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_pthread_yield=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_pthread_yield=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'pthread_yield`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_PTHREAD_YIELD 1
-EOF
-
-fi
-
-
- echo $ac_n "checking for pthread_thr_sigsetmask""... $ac_c" 1>&6
-echo "configure:23120: checking for pthread_thr_sigsetmask" >&5
-if eval "test \"`echo '$''{'ac_cv_func_pthread_thr_sigsetmask'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 23125 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char pthread_thr_sigsetmask(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char pthread_thr_sigsetmask();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_pthread_thr_sigsetmask) || defined (__stub___pthread_thr_sigsetmask)
-choke me
-#else
-pthread_thr_sigsetmask();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:23151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_pthread_thr_sigsetmask=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_pthread_thr_sigsetmask=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'pthread_thr_sigsetmask`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_PTHREAD_THR_SIGSETMASK 1
-EOF
-
-fi
-
-
- echo $ac_n "checking for pthread_attr_setdetachstate""... $ac_c" 1>&6
-echo "configure:23176: checking for pthread_attr_setdetachstate" >&5
-if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_setdetachstate'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 23181 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char pthread_attr_setdetachstate(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char pthread_attr_setdetachstate();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_pthread_attr_setdetachstate) || defined (__stub___pthread_attr_setdetachstate)
-choke me
-#else
-pthread_attr_setdetachstate();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:23207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_pthread_attr_setdetachstate=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_pthread_attr_setdetachstate=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'pthread_attr_setdetachstate`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_SETDETACH 1
-EOF
-
-fi
-
-
- echo $ac_n "checking for pthread_attr_setsched""... $ac_c" 1>&6
-echo "configure:23232: checking for pthread_attr_setsched" >&5
-if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_setsched'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 23237 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char pthread_attr_setsched(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char pthread_attr_setsched();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_pthread_attr_setsched) || defined (__stub___pthread_attr_setsched)
-choke me
-#else
-pthread_attr_setsched();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:23263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_pthread_attr_setsched=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_pthread_attr_setsched=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'pthread_attr_setsched`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
- echo $ac_n "checking for pthread_attr_setschedpolicy""... $ac_c" 1>&6
-echo "configure:23281: checking for pthread_attr_setschedpolicy" >&5
-if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_setschedpolicy'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 23286 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char pthread_attr_setschedpolicy(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char pthread_attr_setschedpolicy();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_pthread_attr_setschedpolicy) || defined (__stub___pthread_attr_setschedpolicy)
-choke me
-#else
-pthread_attr_setschedpolicy();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:23312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_pthread_attr_setschedpolicy=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_pthread_attr_setschedpolicy=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'pthread_attr_setschedpolicy`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_SETSCHED 1
-EOF
-
-fi
-
-fi
-
-
- echo $ac_n "checking for pthread_attr_setscope""... $ac_c" 1>&6
-echo "configure:23339: checking for pthread_attr_setscope" >&5
-if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_setscope'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 23344 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char pthread_attr_setscope(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char pthread_attr_setscope();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_pthread_attr_setscope) || defined (__stub___pthread_attr_setscope)
-choke me
-#else
-pthread_attr_setscope();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:23370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_pthread_attr_setscope=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_pthread_attr_setscope=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'pthread_attr_setscope`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_THREAD_PROCESS_SCOPING 1
-EOF
-
-fi
-
-
- echo $ac_n "checking for pthread_mutexattr_setpshared""... $ac_c" 1>&6
-echo "configure:23395: checking for pthread_mutexattr_setpshared" >&5
-if eval "test \"`echo '$''{'ac_cv_func_pthread_mutexattr_setpshared'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 23400 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char pthread_mutexattr_setpshared(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char pthread_mutexattr_setpshared();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_pthread_mutexattr_setpshared) || defined (__stub___pthread_mutexattr_setpshared)
-choke me
-#else
-pthread_mutexattr_setpshared();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:23426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_pthread_mutexattr_setpshared=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_pthread_mutexattr_setpshared=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'pthread_mutexattr_setpshared`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_MUTEXATTR_PSHARED 1
-EOF
-
-fi
-
-
- echo $ac_n "checking for pthread_mutexattr_create""... $ac_c" 1>&6
-echo "configure:23451: checking for pthread_mutexattr_create" >&5
-if eval "test \"`echo '$''{'ac_cv_func_pthread_mutexattr_create'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 23456 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char pthread_mutexattr_create(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char pthread_mutexattr_create();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_pthread_mutexattr_create) || defined (__stub___pthread_mutexattr_create)
-choke me
-#else
-pthread_mutexattr_create();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:23482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_pthread_mutexattr_create=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_pthread_mutexattr_create=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'pthread_mutexattr_create`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
- echo $ac_n "checking for pthread_mutexattr_delete""... $ac_c" 1>&6
-echo "configure:23501: checking for pthread_mutexattr_delete" >&5
-if eval "test \"`echo '$''{'ac_cv_func_pthread_mutexattr_delete'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 23506 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char pthread_mutexattr_delete(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char pthread_mutexattr_delete();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_pthread_mutexattr_delete) || defined (__stub___pthread_mutexattr_delete)
-choke me
-#else
-pthread_mutexattr_delete();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:23532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_pthread_mutexattr_delete=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_pthread_mutexattr_delete=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'pthread_mutexattr_delete`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
- echo $ac_n "checking for pthread_condattr_delete""... $ac_c" 1>&6
-echo "configure:23551: checking for pthread_condattr_delete" >&5
-if eval "test \"`echo '$''{'ac_cv_func_pthread_condattr_delete'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 23556 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char pthread_condattr_delete(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char pthread_condattr_delete();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_pthread_condattr_delete) || defined (__stub___pthread_condattr_delete)
-choke me
-#else
-pthread_condattr_delete();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:23582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_pthread_condattr_delete=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_pthread_condattr_delete=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'pthread_condattr_delete`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
- echo $ac_n "checking for pthread_condattr_create""... $ac_c" 1>&6
-echo "configure:23601: checking for pthread_condattr_create" >&5
-if eval "test \"`echo '$''{'ac_cv_func_pthread_condattr_create'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 23606 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char pthread_condattr_create(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char pthread_condattr_create();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_pthread_condattr_create) || defined (__stub___pthread_condattr_create)
-choke me
-#else
-pthread_condattr_create();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:23632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_pthread_condattr_create=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_pthread_condattr_create=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'pthread_condattr_create`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
- echo $ac_n "checking for pthread_setprio""... $ac_c" 1>&6
-echo "configure:23651: checking for pthread_setprio" >&5
-if eval "test \"`echo '$''{'ac_cv_func_pthread_setprio'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 23656 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char pthread_setprio(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char pthread_setprio();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_pthread_setprio) || defined (__stub___pthread_setprio)
-choke me
-#else
-pthread_setprio();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:23682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_pthread_setprio=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_pthread_setprio=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'pthread_setprio`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
- echo $ac_n "checking for pthread_getprio""... $ac_c" 1>&6
-echo "configure:23701: checking for pthread_getprio" >&5
-if eval "test \"`echo '$''{'ac_cv_func_pthread_getprio'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 23706 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char pthread_getprio(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char pthread_getprio();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_pthread_getprio) || defined (__stub___pthread_getprio)
-choke me
-#else
-pthread_getprio();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:23732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_pthread_getprio=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_pthread_getprio=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'pthread_getprio`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
- echo $ac_n "checking for pthread_setcancel""... $ac_c" 1>&6
-echo "configure:23751: checking for pthread_setcancel" >&5
-if eval "test \"`echo '$''{'ac_cv_func_pthread_setcancel'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 23756 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char pthread_setcancel(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char pthread_setcancel();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_pthread_setcancel) || defined (__stub___pthread_setcancel)
-choke me
-#else
-pthread_setcancel();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:23782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_pthread_setcancel=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_pthread_setcancel=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'pthread_setcancel`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
- echo $ac_n "checking for pthread_setasynccancel""... $ac_c" 1>&6
-echo "configure:23801: checking for pthread_setasynccancel" >&5
-if eval "test \"`echo '$''{'ac_cv_func_pthread_setasynccancel'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 23806 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char pthread_setasynccancel(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char pthread_setasynccancel();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_pthread_setasynccancel) || defined (__stub___pthread_setasynccancel)
-choke me
-#else
-pthread_setasynccancel();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:23832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_pthread_setasynccancel=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_pthread_setasynccancel=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'pthread_setasynccancel`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
- echo $ac_n "checking for pthread_kill""... $ac_c" 1>&6
-echo "configure:23851: checking for pthread_kill" >&5
-if eval "test \"`echo '$''{'ac_cv_func_pthread_kill'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 23856 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char pthread_kill(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char pthread_kill();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_pthread_kill) || defined (__stub___pthread_kill)
-choke me
-#else
-pthread_kill();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:23882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_pthread_kill=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_pthread_kill=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'pthread_kill`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
- echo $ac_n "checking for pthread_attr_setprio""... $ac_c" 1>&6
-echo "configure:23901: checking for pthread_attr_setprio" >&5
-if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_setprio'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 23906 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char pthread_attr_setprio(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char pthread_attr_setprio();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_pthread_attr_setprio) || defined (__stub___pthread_attr_setprio)
-choke me
-#else
-pthread_attr_setprio();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:23932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_pthread_attr_setprio=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_pthread_attr_setprio=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'pthread_attr_setprio`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
- echo $ac_n "checking for pthread_attr_getprio""... $ac_c" 1>&6
-echo "configure:23951: checking for pthread_attr_getprio" >&5
-if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_getprio'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 23956 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char pthread_attr_getprio(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char pthread_attr_getprio();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_pthread_attr_getprio) || defined (__stub___pthread_attr_getprio)
-choke me
-#else
-pthread_attr_getprio();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:23982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_pthread_attr_getprio=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_pthread_attr_getprio=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'pthread_attr_getprio`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
- echo $ac_n "checking for pthread_setintr""... $ac_c" 1>&6
-echo "configure:24001: checking for pthread_setintr" >&5
-if eval "test \"`echo '$''{'ac_cv_func_pthread_setintr'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 24006 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char pthread_setintr(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char pthread_setintr();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_pthread_setintr) || defined (__stub___pthread_setintr)
-choke me
-#else
-pthread_setintr();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:24032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_pthread_setintr=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_pthread_setintr=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'pthread_setintr`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
- echo $ac_n "checking for pthread_setintrtype""... $ac_c" 1>&6
-echo "configure:24051: checking for pthread_setintrtype" >&5
-if eval "test \"`echo '$''{'ac_cv_func_pthread_setintrtype'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 24056 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char pthread_setintrtype(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char pthread_setintrtype();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_pthread_setintrtype) || defined (__stub___pthread_setintrtype)
-choke me
-#else
-pthread_setintrtype();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:24082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_pthread_setintrtype=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_pthread_setintrtype=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'pthread_setintrtype`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
- echo $ac_n "checking for pthread_mutexattr_init""... $ac_c" 1>&6
-echo "configure:24101: checking for pthread_mutexattr_init" >&5
-if eval "test \"`echo '$''{'ac_cv_func_pthread_mutexattr_init'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 24106 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char pthread_mutexattr_init(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char pthread_mutexattr_init();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_pthread_mutexattr_init) || defined (__stub___pthread_mutexattr_init)
-choke me
-#else
-pthread_mutexattr_init();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:24132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_pthread_mutexattr_init=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_pthread_mutexattr_init=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'pthread_mutexattr_init`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
- echo $ac_n "checking for pthread_mutexattr_destroy""... $ac_c" 1>&6
-echo "configure:24151: checking for pthread_mutexattr_destroy" >&5
-if eval "test \"`echo '$''{'ac_cv_func_pthread_mutexattr_destroy'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 24156 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char pthread_mutexattr_destroy(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char pthread_mutexattr_destroy();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_pthread_mutexattr_destroy) || defined (__stub___pthread_mutexattr_destroy)
-choke me
-#else
-pthread_mutexattr_destroy();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:24182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_pthread_mutexattr_destroy=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_pthread_mutexattr_destroy=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'pthread_mutexattr_destroy`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
- echo $ac_n "checking for pthread_condattr_init""... $ac_c" 1>&6
-echo "configure:24201: checking for pthread_condattr_init" >&5
-if eval "test \"`echo '$''{'ac_cv_func_pthread_condattr_init'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 24206 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char pthread_condattr_init(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char pthread_condattr_init();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_pthread_condattr_init) || defined (__stub___pthread_condattr_init)
-choke me
-#else
-pthread_condattr_init();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:24232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_pthread_condattr_init=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_pthread_condattr_init=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'pthread_condattr_init`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
- echo $ac_n "checking for pthread_condattr_destroy""... $ac_c" 1>&6
-echo "configure:24251: checking for pthread_condattr_destroy" >&5
-if eval "test \"`echo '$''{'ac_cv_func_pthread_condattr_destroy'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 24256 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char pthread_condattr_destroy(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char pthread_condattr_destroy();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_pthread_condattr_destroy) || defined (__stub___pthread_condattr_destroy)
-choke me
-#else
-pthread_condattr_destroy();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:24282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_pthread_condattr_destroy=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_pthread_condattr_destroy=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'pthread_condattr_destroy`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
- echo $ac_n "checking for pthread_setschedparam""... $ac_c" 1>&6
-echo "configure:24301: checking for pthread_setschedparam" >&5
-if eval "test \"`echo '$''{'ac_cv_func_pthread_setschedparam'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 24306 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char pthread_setschedparam(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char pthread_setschedparam();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_pthread_setschedparam) || defined (__stub___pthread_setschedparam)
-choke me
-#else
-pthread_setschedparam();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:24332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_pthread_setschedparam=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_pthread_setschedparam=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'pthread_setschedparam`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
- echo $ac_n "checking for pthread_getschedparam""... $ac_c" 1>&6
-echo "configure:24351: checking for pthread_getschedparam" >&5
-if eval "test \"`echo '$''{'ac_cv_func_pthread_getschedparam'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 24356 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char pthread_getschedparam(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char pthread_getschedparam();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_pthread_getschedparam) || defined (__stub___pthread_getschedparam)
-choke me
-#else
-pthread_getschedparam();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:24382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_pthread_getschedparam=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_pthread_getschedparam=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'pthread_getschedparam`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
- echo $ac_n "checking for pthread_setcancelstate""... $ac_c" 1>&6
-echo "configure:24401: checking for pthread_setcancelstate" >&5
-if eval "test \"`echo '$''{'ac_cv_func_pthread_setcancelstate'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 24406 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char pthread_setcancelstate(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char pthread_setcancelstate();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_pthread_setcancelstate) || defined (__stub___pthread_setcancelstate)
-choke me
-#else
-pthread_setcancelstate();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:24432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_pthread_setcancelstate=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_pthread_setcancelstate=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'pthread_setcancelstate`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
- echo $ac_n "checking for pthread_setcanceltype""... $ac_c" 1>&6
-echo "configure:24451: checking for pthread_setcanceltype" >&5
-if eval "test \"`echo '$''{'ac_cv_func_pthread_setcanceltype'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 24456 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char pthread_setcanceltype(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char pthread_setcanceltype();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_pthread_setcanceltype) || defined (__stub___pthread_setcanceltype)
-choke me
-#else
-pthread_setcanceltype();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:24482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_pthread_setcanceltype=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_pthread_setcanceltype=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'pthread_setcanceltype`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-
-
- cat > conftest.$ac_ext <<EOF
-#line 24505 "configure"
-#include "confdefs.h"
-
-#include <pthread.h>
-
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:24512: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- ace_header_exists=yes
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- ace_header_exists=no
-fi
-rm -f conftest*
-
- cat > conftest.$ac_ext <<EOF
-
-#include <pthread.h>
- ACE_REAL_FUNCTION pthread_self
-
-EOF
-
- if test "$ace_header_exists" = yes; then
- if test -z "$AWK"; then
- echo "configure: warning: No awk program found. "Real" function may not be found." 1>&2
- fi
-
- if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "ACE_REAL_FUNCTION" |
- (eval "$AWK '{print \$2}' > conftest.awk 2>&1"); then
- rm -f conftest.$ac_ext
- ace_real_function=`cat conftest.awk`
- rm -f conftest.awk
- fi
-
- if test pthread_self != "$ace_real_function"; then
- echo $ac_n "checking for real pthread_self from pthread.h""... $ac_c" 1>&6
-echo "configure:24548: checking for real pthread_self from pthread.h" >&5
- echo "$ac_t""$ace_real_function" 1>&6
- fi
- else
- ace_real_function=pthread_self
- fi
- echo $ac_n "checking for $ace_real_function""... $ac_c" 1>&6
-echo "configure:24555: checking for $ace_real_function" >&5
-if eval "test \"`echo '$''{'ac_cv_func_$ace_real_function'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 24560 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char $ace_real_function(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char $ace_real_function();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_$ace_real_function) || defined (__stub___$ace_real_function)
-choke me
-#else
-$ace_real_function();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:24586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_$ace_real_function=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_$ace_real_function=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'$ace_real_function`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-echo $ac_n "checking for thread_self""... $ac_c" 1>&6
-echo "configure:24604: checking for thread_self" >&5
-if eval "test \"`echo '$''{'ac_cv_func_thread_self'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 24609 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char thread_self(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char thread_self();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_thread_self) || defined (__stub___thread_self)
-choke me
-#else
-thread_self();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:24635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_thread_self=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_thread_self=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'thread_self`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_THREAD_SELF 1
-EOF
-
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-fi
-
-
-
-
- echo $ac_n "checking for PTHREAD_PROCESS_* values in pthread.h""... $ac_c" 1>&6
-echo "configure:24666: checking for PTHREAD_PROCESS_* values in pthread.h" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_pthread_process_enum'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 24672 "configure"
-#include "confdefs.h"
-
-#include <pthread.h>
-
-int main() {
-
-int foo = PTHREAD_PROCESS_SHARED;
-
-; return 0; }
-EOF
-if { (eval echo configure:24683: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_pthread_process_enum=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_pthread_process_enum=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_lib_pthread_process_enum" 1>&6
- if test "$ace_cv_lib_pthread_process_enum" != no; then
- ace_just_a_place_holder=fixme
-
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_PTHREAD_PROCESS_ENUM 1
-EOF
-
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
- echo $ac_n "checking for minimum thread priority""... $ac_c" 1>&6
-echo "configure:24716: checking for minimum thread priority" >&5
-if eval "test \"`echo '$''{'ace_cv_lib_pthread_pthread_min_priority'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- ace_cv_lib_pthread_pthread_min_priority=0
- cat > conftest.$ac_ext <<EOF
-#line 24723 "configure"
-#include "confdefs.h"
-#include <pthread.h>
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "PTHREAD_MIN_PRIORITY" >/dev/null 2>&1; then
- rm -rf conftest*
- ace_cv_lib_pthread_pthread_min_priority=PTHREAD_MIN_PRIORITY
-fi
-rm -f conftest*
-
- cat > conftest.$ac_ext <<EOF
-#line 24735 "configure"
-#include "confdefs.h"
-#include <pthread.h>
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "PX_PRIO_MIN" >/dev/null 2>&1; then
- rm -rf conftest*
- ace_cv_lib_pthread_pthread_min_priority=PX_PRIO_MIN
-fi
-rm -f conftest*
-
-
-fi
-
-echo "$ac_t""$ace_cv_lib_pthread_pthread_min_priority" 1>&6
- cat >> confdefs.h <<EOF
-#define ACE_THREAD_MIN_PRIORITY $ace_cv_lib_pthread_pthread_min_priority
-EOF
-
-
- echo $ac_n "checking for maximum thread priority""... $ac_c" 1>&6
-echo "configure:24756: checking for maximum thread priority" >&5
-if eval "test \"`echo '$''{'ace_cv_lib_pthread_pthread_max_priority'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- ace_cv_lib_pthread_pthread_max_priority=99
- case "$target" in
- *linux*)
- if test "$ac_cv_func_pthread_sigmask" = yes; then
- ace_cv_lib_pthread_pthread_max_priority=99
- else
- ace_cv_lib_pthread_pthread_max_priority=32
- fi
- ;;
- *)
- esac
- cat > conftest.$ac_ext <<EOF
-#line 24773 "configure"
-#include "confdefs.h"
-#include <pthread.h>
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "PTHREAD_MAX_PRIORITY" >/dev/null 2>&1; then
- rm -rf conftest*
- ace_cv_lib_pthread_pthread_max_priority=PTHREAD_MAX_PRIORITY
-fi
-rm -f conftest*
-
- cat > conftest.$ac_ext <<EOF
-#line 24785 "configure"
-#include "confdefs.h"
-#include <pthread.h>
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "PX_PRIO_MAX" >/dev/null 2>&1; then
- rm -rf conftest*
- ace_cv_lib_pthread_pthread_max_priority=PX_PRIO_MAX
-fi
-rm -f conftest*
-
-
-fi
-
-echo "$ac_t""$ace_cv_lib_pthread_pthread_max_priority" 1>&6
- cat >> confdefs.h <<EOF
-#define ACE_THREAD_MAX_PRIORITY $ace_cv_lib_pthread_pthread_max_priority
-EOF
-
-
- fi
- if test "$ace_has_sthreads" = yes; then
- echo $ac_n "checking for thr_keycreate""... $ac_c" 1>&6
-echo "configure:24808: checking for thr_keycreate" >&5
-if eval "test \"`echo '$''{'ac_cv_func_thr_keycreate'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 24813 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char thr_keycreate(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char thr_keycreate();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_thr_keycreate) || defined (__stub___thr_keycreate)
-choke me
-#else
-thr_keycreate();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:24839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_thr_keycreate=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_thr_keycreate=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'thr_keycreate`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_THREAD_SPECIFIC_STORAGE 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_TSS_EMULATION 1
-EOF
-
-fi
-
-
- echo $ac_n "checking for thr_yield""... $ac_c" 1>&6
-echo "configure:24867: checking for thr_yield" >&5
-if eval "test \"`echo '$''{'ac_cv_func_thr_yield'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 24872 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char thr_yield(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char thr_yield();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_thr_yield) || defined (__stub___thr_yield)
-choke me
-#else
-thr_yield();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:24898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_thr_yield=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_thr_yield=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'thr_yield`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_THR_YIELD 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
- echo $ac_n "checking for thr_keydelete""... $ac_c" 1>&6
-echo "configure:24922: checking for thr_keydelete" >&5
-if eval "test \"`echo '$''{'ac_cv_func_thr_keydelete'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 24927 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char thr_keydelete(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char thr_keydelete();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_thr_keydelete) || defined (__stub___thr_keydelete)
-choke me
-#else
-thr_keydelete();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:24953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_thr_keydelete=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_thr_keydelete=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'thr_keydelete`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_THR_KEYDELETE 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
- echo $ac_n "checking for thr_min_stack""... $ac_c" 1>&6
-echo "configure:24977: checking for thr_min_stack" >&5
-if eval "test \"`echo '$''{'ac_cv_func_thr_min_stack'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 24982 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char thr_min_stack(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char thr_min_stack();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_thr_min_stack) || defined (__stub___thr_min_stack)
-choke me
-#else
-thr_min_stack();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:25008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_thr_min_stack=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_thr_min_stack=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'thr_min_stack`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-
- echo $ac_n "checking for thr_minstack""... $ac_c" 1>&6
-echo "configure:25027: checking for thr_minstack" >&5
-if eval "test \"`echo '$''{'ac_cv_func_thr_minstack'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 25032 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char thr_minstack(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char thr_minstack();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_thr_minstack) || defined (__stub___thr_minstack)
-choke me
-#else
-thr_minstack();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:25058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_thr_minstack=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_thr_minstack=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'thr_minstack`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_THR_MINSTACK 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-fi
-
-
- fi
-fi
-echo $ac_n "checking for sigwait""... $ac_c" 1>&6
-echo "configure:25087: checking for sigwait" >&5
-if eval "test \"`echo '$''{'ac_cv_func_sigwait'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 25092 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char sigwait(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char sigwait();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_sigwait) || defined (__stub___sigwait)
-choke me
-#else
-sigwait();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:25118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_sigwait=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_sigwait=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'sigwait`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_SIGWAIT 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-
-if test "$ace_user_enable_reentrant_funcs" = yes; then
- echo $ac_n "checking for rand_r""... $ac_c" 1>&6
-echo "configure:25144: checking for rand_r" >&5
-if eval "test \"`echo '$''{'ac_cv_func_rand_r'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 25149 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char rand_r(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char rand_r();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_rand_r) || defined (__stub___rand_r)
-choke me
-#else
-rand_r();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:25175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_rand_r=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_rand_r=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'rand_r`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
- echo $ac_n "checking for strtok_r""... $ac_c" 1>&6
-echo "configure:25196: checking for strtok_r" >&5
-if eval "test \"`echo '$''{'ac_cv_func_strtok_r'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 25201 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char strtok_r(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char strtok_r();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_strtok_r) || defined (__stub___strtok_r)
-choke me
-#else
-strtok_r();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:25227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_strtok_r=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_strtok_r=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'strtok_r`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
- echo $ac_n "checking for getpwnam_r""... $ac_c" 1>&6
-echo "configure:25248: checking for getpwnam_r" >&5
-if eval "test \"`echo '$''{'ac_cv_func_getpwnam_r'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 25253 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char getpwnam_r(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char getpwnam_r();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_getpwnam_r) || defined (__stub___getpwnam_r)
-choke me
-#else
-getpwnam_r();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:25279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_getpwnam_r=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_getpwnam_r=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'getpwnam_r`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_PWD_REENTRANT_FUNCTIONS 1
-EOF
-
-fi
-
-
- echo $ac_n "checking for ctime_r""... $ac_c" 1>&6
-echo "configure:25304: checking for ctime_r" >&5
-if eval "test \"`echo '$''{'ac_cv_func_ctime_r'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 25309 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char ctime_r(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char ctime_r();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_ctime_r) || defined (__stub___ctime_r)
-choke me
-#else
-ctime_r();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:25335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_ctime_r=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_ctime_r=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'ctime_r`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
- echo $ac_n "checking for localtime_r""... $ac_c" 1>&6
-echo "configure:25356: checking for localtime_r" >&5
-if eval "test \"`echo '$''{'ac_cv_func_localtime_r'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 25361 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char localtime_r(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char localtime_r();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_localtime_r) || defined (__stub___localtime_r)
-choke me
-#else
-localtime_r();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:25387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_localtime_r=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_localtime_r=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'localtime_r`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
- echo $ac_n "checking for gmtime_r""... $ac_c" 1>&6
-echo "configure:25408: checking for gmtime_r" >&5
-if eval "test \"`echo '$''{'ac_cv_func_gmtime_r'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 25413 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char gmtime_r(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char gmtime_r();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
-choke me
-#else
-gmtime_r();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:25439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_gmtime_r=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_gmtime_r=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'gmtime_r`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
- echo $ac_n "checking for asctime_r""... $ac_c" 1>&6
-echo "configure:25460: checking for asctime_r" >&5
-if eval "test \"`echo '$''{'ac_cv_func_asctime_r'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 25465 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char asctime_r(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char asctime_r();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_asctime_r) || defined (__stub___asctime_r)
-choke me
-#else
-asctime_r();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:25491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_asctime_r=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_asctime_r=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'asctime_r`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
- echo $ac_n "checking for getprotobyname_r""... $ac_c" 1>&6
-echo "configure:25512: checking for getprotobyname_r" >&5
-if eval "test \"`echo '$''{'ac_cv_func_getprotobyname_r'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 25517 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char getprotobyname_r(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char getprotobyname_r();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_getprotobyname_r) || defined (__stub___getprotobyname_r)
-choke me
-#else
-getprotobyname_r();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:25543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_getprotobyname_r=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_getprotobyname_r=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'getprotobyname_r`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
- echo $ac_n "checking for getprotobynumber_r""... $ac_c" 1>&6
-echo "configure:25564: checking for getprotobynumber_r" >&5
-if eval "test \"`echo '$''{'ac_cv_func_getprotobynumber_r'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 25569 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char getprotobynumber_r(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char getprotobynumber_r();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_getprotobynumber_r) || defined (__stub___getprotobynumber_r)
-choke me
-#else
-getprotobynumber_r();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:25595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_getprotobynumber_r=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_getprotobynumber_r=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'getprotobynumber_r`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
- echo $ac_n "checking for gethostbyaddr_r""... $ac_c" 1>&6
-echo "configure:25616: checking for gethostbyaddr_r" >&5
-if eval "test \"`echo '$''{'ac_cv_func_gethostbyaddr_r'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 25621 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char gethostbyaddr_r(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char gethostbyaddr_r();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_gethostbyaddr_r) || defined (__stub___gethostbyaddr_r)
-choke me
-#else
-gethostbyaddr_r();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:25647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_gethostbyaddr_r=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_gethostbyaddr_r=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'gethostbyaddr_r`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
- echo $ac_n "checking for gethostbyname_r""... $ac_c" 1>&6
-echo "configure:25668: checking for gethostbyname_r" >&5
-if eval "test \"`echo '$''{'ac_cv_func_gethostbyname_r'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 25673 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char gethostbyname_r(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char gethostbyname_r();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_gethostbyname_r) || defined (__stub___gethostbyname_r)
-choke me
-#else
-gethostbyname_r();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:25699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_gethostbyname_r=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_gethostbyname_r=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'gethostbyname_r`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
- echo $ac_n "checking for getservbyname_r""... $ac_c" 1>&6
-echo "configure:25720: checking for getservbyname_r" >&5
-if eval "test \"`echo '$''{'ac_cv_func_getservbyname_r'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 25725 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char getservbyname_r(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char getservbyname_r();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_getservbyname_r) || defined (__stub___getservbyname_r)
-choke me
-#else
-getservbyname_r();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:25751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_getservbyname_r=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_getservbyname_r=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'getservbyname_r`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-fi
-
-fi
-echo $ac_n "checking for readdir_r""... $ac_c" 1>&6
-echo "configure:25772: checking for readdir_r" >&5
-if eval "test \"`echo '$''{'ac_cv_func_readdir_r'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 25777 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char readdir_r(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char readdir_r();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_readdir_r) || defined (__stub___readdir_r)
-choke me
-#else
-readdir_r();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:25803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_readdir_r=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_readdir_r=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'readdir_r`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_READDIR_R 1
-EOF
-
-fi
-
-
-echo $ac_n "checking for seekdir""... $ac_c" 1>&6
-echo "configure:25828: checking for seekdir" >&5
-if eval "test \"`echo '$''{'ac_cv_func_seekdir'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 25833 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char seekdir(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char seekdir();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_seekdir) || defined (__stub___seekdir)
-choke me
-#else
-seekdir();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:25859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_seekdir=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_seekdir=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'seekdir`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_SEEKDIR 1
-EOF
-
-fi
-
-
-echo $ac_n "checking for telldir""... $ac_c" 1>&6
-echo "configure:25884: checking for telldir" >&5
-if eval "test \"`echo '$''{'ac_cv_func_telldir'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 25889 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char telldir(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char telldir();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_telldir) || defined (__stub___telldir)
-choke me
-#else
-telldir();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:25915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_telldir=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_telldir=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'telldir`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_TELLDIR 1
-EOF
-
-fi
-
-
-
-
-
- ace_pre_warning_CXXFLAGS="$CXXFLAGS"
-
- if test -n "$GXX"; then
- CXXFLAGS="$CXXFLAGS -Werror"
- else
- case $target in
- *solaris*)
- if test "$CXX" = CC; then
- CXXFLAGS="$CXXFLAGS -xwe"
- fi
- ;;
- *) ;;
- esac
- fi
-
-
- if test "$ace_has_svr4_dynamic_linking" = yes; then
-
- echo $ac_n "checking if dlopen takes a char *""... $ac_c" 1>&6
-echo "configure:25961: checking if dlopen takes a char *" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_charptr_dl'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 25967 "configure"
-#include "confdefs.h"
-
-#include <dlfcn.h>
-
-int main() {
-
- const char *filename = 0;
- int flag = 0;
- void *ptr = dlopen(filename, flag);
-
-; return 0; }
-EOF
-if { (eval echo configure:25980: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_charptr_dl=no
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- cat > conftest.$ac_ext <<EOF
-#line 25991 "configure"
-#include "confdefs.h"
-
-#include <dlfcn.h>
-
-int main() {
-
- char *filename = 0;
- int flag = 0;
- void *ptr = dlopen(filename, flag);
-
-; return 0; }
-EOF
-if { (eval echo configure:26004: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_charptr_dl=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_charptr_dl=no
-
-fi
-rm -f conftest*
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_lib_charptr_dl" 1>&6
- if test "$ace_cv_lib_charptr_dl" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_CHARPTR_DL 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
- fi
-
- CXXFLAGS="$ace_pre_warning_CXXFLAGS"
-
-
- ace_pre_warning_CXXFLAGS="$CXXFLAGS"
-
- if test -n "$GXX"; then
- CXXFLAGS="$CXXFLAGS -Werror"
- else
- case $target in
- *solaris*)
- if test "$CXX" = CC; then
- CXXFLAGS="$CXXFLAGS -xwe"
- fi
- ;;
- *) ;;
- esac
- fi
-
-
- if test "$ac_cv_func_gethostbyaddr" = yes; then
-
- echo $ac_n "checking \"getby\" functions take a non-const char *""... $ac_c" 1>&6
-echo "configure:26060: checking \"getby\" functions take a non-const char *" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_nonconst_getby'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 26066 "configure"
-#include "confdefs.h"
-
-#include <sys/socket.h>
-
-int main() {
-
- char *addr = 0;
- int len = 0;
- int type = 0;
- struct hostent *mystruct = 0;
-
- mystruct = gethostbyaddr(name, len, type);
-
-; return 0; }
-EOF
-if { (eval echo configure:26082: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_nonconst_getby=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_nonconst_getby=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_lib_nonconst_getby" 1>&6
- if test "$ace_cv_lib_nonconst_getby" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_NONCONST_GETBY 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
- fi
-
- CXXFLAGS="$ace_pre_warning_CXXFLAGS"
-
-if test "$ace_user_enable_exceptions" = yes; then
-
- echo $ac_n "checking if new throws bad_alloc exception on failure""... $ac_c" 1>&6
-echo "configure:26118: checking if new throws bad_alloc exception on failure" >&5
- if eval "test \"`echo '$''{'ace_cv_new_throws_bad_alloc_exception'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- if test "$cross_compiling" = yes; then
-
- ace_cv_new_throws_bad_alloc_exception=no
-
-else
- cat > conftest.$ac_ext <<EOF
-#line 26129 "configure"
-#include "confdefs.h"
-#ifdef __cplusplus
-extern "C" void exit(int);
-#endif
-
-#if defined (ACE_HAS_NEW_NO_H)
-# include <new>
-#elif defined (ACE_HAS_NEW_H)
-# include <new.h>
-#endif
-
-#if defined (ACE_HAS_STDEXCEPT_NO_H)
-# include <stdexcept>
-#elif defined (ACE_HAS_EXCEPTION_H)
-# include <exception.h>
-#endif
-
- int main() {
- while (1) {
- try {
- char *a = new char[1024*1024];
- if (a == 0) {
- return 1; /* new() does NOT throw exceptions */
- }
- }
-
- catch (bad_alloc)
- {
- return 0; /* new() does throw exceptions */
- }
- };
-
- return 1; /* ERROR: We shouldn't get this far! */
- }
-
-EOF
-if { (eval echo configure:26166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-then
-
- ace_cv_new_throws_bad_alloc_exception=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -fr conftest*
-
- ace_cv_new_throws_bad_alloc_exception=no
-
-fi
-rm -fr conftest*
-fi
-
-
-fi
-
- echo "$ac_t""$ace_cv_new_throws_bad_alloc_exception" 1>&6
- if test "$ace_cv_new_throws_bad_alloc_exception" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_NEW_THROWS_EXCEPTIONS 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
- if test "$ace_cv_new_throws_bad_alloc_exception" != yes; then
-
- echo $ac_n "checking if new throws xalloc exception on failure""... $ac_c" 1>&6
-echo "configure:26201: checking if new throws xalloc exception on failure" >&5
- if eval "test \"`echo '$''{'ace_cv_new_throws_xalloc_exception'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- if test "$cross_compiling" = yes; then
-
- ace_cv_new_throws_xalloc_exception=no
-
-else
- cat > conftest.$ac_ext <<EOF
-#line 26212 "configure"
-#include "confdefs.h"
-#ifdef __cplusplus
-extern "C" void exit(int);
-#endif
-
-#if defined (ACE_HAS_NEW_NO_H)
-# include <new>
-#elif defined (ACE_HAS_NEW_H)
-# include <new.h>
-#endif
-
-#if defined (ACE_HAS_STDEXCEPT_NO_H)
-# include <stdexcept>
-#elif defined (ACE_HAS_EXCEPTION_H)
-# include <exception.h>
-#endif
-
- int main() {
- while (1) {
- try {
- char *a = new char[1024*1024];
- if (a == 0) {
- return 1; /* new() does NOT throw exceptions */
- }
- }
-
- catch (xalloc)
- {
- return 0; /* new() does throw exceptions */
- }
- };
-
- return 1; /* ERROR: We shouldn't get this far! */
- }
-
-EOF
-if { (eval echo configure:26249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-then
-
- ace_cv_new_throws_xalloc_exception=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -fr conftest*
-
- ace_cv_new_throws_xalloc_exception=no
-
-fi
-rm -fr conftest*
-fi
-
-
-fi
-
- echo "$ac_t""$ace_cv_new_throws_xalloc_exception" 1>&6
- if test "$ace_cv_new_throws_xalloc_exception" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_NEW_THROWS_EXCEPTIONS 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
- fi fi
-
- ace_pre_warning_CXXFLAGS="$CXXFLAGS"
-
- if test -n "$GXX"; then
- CXXFLAGS="$CXXFLAGS -Werror"
- else
- case $target in
- *solaris*)
- if test "$CXX" = CC; then
- CXXFLAGS="$CXXFLAGS -xwe"
- fi
- ;;
- *) ;;
- esac
- fi
-
-
- if test "$ac_cv_func_getmsg" = yes ||
- test "$ac_cv_header_stropts_h" = yes; then
-
- echo $ac_n "checking if putmsg takes a const struct strbuf*""... $ac_c" 1>&6
-echo "configure:26302: checking if putmsg takes a const struct strbuf*" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_const_strbufptr'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 26308 "configure"
-#include "confdefs.h"
-
-#include <stropts.h>
-
-int main() {
-
- int result = 0;
- int fd = 0;
- const struct strbuf * ace_str = 0;
- int flags = 0;
-
- result = putmsg(fd, ace_str, ace_str, flags);
-
-; return 0; }
-EOF
-if { (eval echo configure:26324: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_const_strbufptr=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_const_strbufptr=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_lib_const_strbufptr" 1>&6
- if test "$ace_cv_lib_const_strbufptr" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_CONST_STRBUF_PTR 1
-EOF
-
-
- fi
-
- fi
-
- CXXFLAGS="$ace_pre_warning_CXXFLAGS"
-
-
- ace_pre_warning_CXXFLAGS="$CXXFLAGS"
-
- if test -n "$GXX"; then
- CXXFLAGS="$CXXFLAGS -Werror"
- else
- case $target in
- *solaris*)
- if test "$CXX" = CC; then
- CXXFLAGS="$CXXFLAGS -xwe"
- fi
- ;;
- *) ;;
- esac
- fi
-
-
-
- echo $ac_n "checking if select takes int instead of fd_set""... $ac_c" 1>&6
-echo "configure:26377: checking if select takes int instead of fd_set" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_select_takes_int'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 26383 "configure"
-#include "confdefs.h"
-
-#ifndef ACE_LACKS_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-#include <sys/time.h>
-#ifndef ACE_LACKS_UNISTD_H
-# include <unistd.h>
-#endif
-#ifdef ACE_HAS_SELECT_H
-# include <sys/select.h>
-#endif
-
-int main() {
-
- int n = 0;
- fd_set* readfds = 0;
- fd_set* writefds = 0;
- fd_set* exceptfds = 0;
- timeval* timeout = 0;
- int result = 0;
-
- result = select(n, readfds, writefds, exceptfds, timeout);
-
-; return 0; }
-EOF
-if { (eval echo configure:26410: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_select_takes_int=no
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- cat > conftest.$ac_ext <<EOF
-#line 26421 "configure"
-#include "confdefs.h"
-
-#ifndef ACE_LACKS_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-#include <sys/time.h>
-#ifndef ACE_LACKS_UNISTD_H
-# include <unistd.h>
-#endif
-#ifdef ACE_HAS_SELECT_H
-# include <sys/select.h>
-#endif
-
-int main() {
-
- int n = 0;
- int* readfds = 0;
- int* writefds = 0;
- int* exceptfds = 0;
- timeval* timeout = 0;
- int result = 0;
-
- result = select(n, readfds, writefds, exceptfds, timeout);
-
-; return 0; }
-EOF
-if { (eval echo configure:26448: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_select_takes_int=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_select_takes_int=no
-
-fi
-rm -f conftest*
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_lib_select_takes_int" 1>&6
- if test "$ace_cv_lib_select_takes_int" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_SELECT_USES_INT 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- CXXFLAGS="$ace_pre_warning_CXXFLAGS"
-
-
-echo $ac_n "checking if setrlimit() takes an enum as 1st argument (a)""... $ac_c" 1>&6
-echo "configure:26486: checking if setrlimit() takes an enum as 1st argument (a)" >&5
-if eval "test \"`echo '$''{'ace_cv_lib_posix_setrlimit_enum_1_a'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- ace_cv_lib_posix_setrlimit_enum_1_a=no
- cat > conftest.$ac_ext <<EOF
-#line 26493 "configure"
-#include "confdefs.h"
-#include <sys/resource.h>
-int main() {
-enum __rlimit_resource rsrc;
- const struct rlimit* rlp;
- setrlimit(rsrc, rlp);
-; return 0; }
-EOF
-if { (eval echo configure:26502: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- ace_cv_lib_posix_setrlimit_enum_1_a=yes
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
-fi
-rm -f conftest*
-
-fi
-
-echo "$ac_t""$ace_cv_lib_posix_setrlimit_enum_1_a" 1>&6
-
-echo $ac_n "checking if setrlimit() takes an enum as 1st argument (b)""... $ac_c" 1>&6
-echo "configure:26516: checking if setrlimit() takes an enum as 1st argument (b)" >&5
-if eval "test \"`echo '$''{'ace_cv_lib_posix_setrlimit_enum_1_b'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- ace_cv_lib_posix_setrlimit_enum_1_b=no
- cat > conftest.$ac_ext <<EOF
-#line 26523 "configure"
-#include "confdefs.h"
-#include <sys/resource.h>
-int main() {
-enum __rlimit_resource rsrc;
- struct rlimit* rlp;
- setrlimit(rsrc, rlp);
-; return 0; }
-EOF
-if { (eval echo configure:26532: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- ace_cv_lib_posix_setrlimit_enum_1_b=yes
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
-fi
-rm -f conftest*
-
-fi
-
-echo "$ac_t""$ace_cv_lib_posix_setrlimit_enum_1_b" 1>&6
-
-if test "$ace_cv_lib_posix_setrlimit_enum_1_a" = yes ||
- test "$ace_cv_lib_posix_setrlimit_enum_1_b" = yes; then
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_RLIMIT_RESOURCE_ENUM enum __rlimit_resource
-EOF
-
-fi
-
-
-
- ace_pre_warning_CXXFLAGS="$CXXFLAGS"
-
- if test -n "$GXX"; then
- CXXFLAGS="$CXXFLAGS -Werror"
- else
- case $target in
- *solaris*)
- if test "$CXX" = CC; then
- CXXFLAGS="$CXXFLAGS -xwe"
- fi
- ;;
- *) ;;
- esac
- fi
-
-
-echo $ac_n "checking if setrlimit() takes a const pointer as 2nd argument (a)""... $ac_c" 1>&6
-echo "configure:26572: checking if setrlimit() takes a const pointer as 2nd argument (a)" >&5
-if eval "test \"`echo '$''{'ace_cv_lib_posix_setrlimit_const_2_a'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 26578 "configure"
-#include "confdefs.h"
-
-#include <sys/resource.h>
-
-int main() {
-
- int rsrc;
- const struct rlimit* rlp;
- setrlimit(rsrc, rlp);
-
-; return 0; }
-EOF
-if { (eval echo configure:26591: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_posix_setrlimit_const_2_a=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_posix_setrlimit_const_2_a=no
-
-fi
-rm -f conftest*
-
-fi
-
-echo "$ac_t""$ace_cv_lib_posix_setrlimit_const_2_a" 1>&6
-
-echo $ac_n "checking if setrlimit() takes a const pointer as 2nd argument (b)""... $ac_c" 1>&6
-echo "configure:26611: checking if setrlimit() takes a const pointer as 2nd argument (b)" >&5
-if eval "test \"`echo '$''{'ace_cv_lib_posix_setrlimit_const_2_b'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- ace_cv_lib_posix_setrlimit_const_2_b=no
- cat > conftest.$ac_ext <<EOF
-#line 26618 "configure"
-#include "confdefs.h"
-#include <sys/resource.h>
-int main() {
-enum __rlimit_resource rsrc;
- const struct rlimit* rlp;
- setrlimit(rsrc, rlp);
-; return 0; }
-EOF
-if { (eval echo configure:26627: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- ace_cv_lib_posix_setrlimit_const_2_b=yes
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
-fi
-rm -f conftest*
-
-fi
-
-echo "$ac_t""$ace_cv_lib_posix_setrlimit_const_2_b" 1>&6
-
-if test "$ace_cv_lib_posix_setrlimit_const_2_a" != yes &&
- test "$ace_cv_lib_posix_setrlimit_const_2_b" != yes; then
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_BROKEN_SETRLIMIT 1
-EOF
-
-fi
-
-
- CXXFLAGS="$ace_pre_warning_CXXFLAGS"
-
-if test "$ac_cv_func_getrusage" = yes; then
-
- echo $ac_n "checking if getrusage() takes an enum as 1st argument""... $ac_c" 1>&6
-echo "configure:26654: checking if getrusage() takes an enum as 1st argument" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_posix_getrusage_enum_1'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 26660 "configure"
-#include "confdefs.h"
-
-#include <sys/resource.h>
-
-int main() {
-
- enum __rusage_who who;
- struct rusage* rup;
- getrusage(who, rup);
-
-; return 0; }
-EOF
-if { (eval echo configure:26673: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_posix_getrusage_enum_1=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_posix_getrusage_enum_1=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_lib_posix_getrusage_enum_1" 1>&6
- if test "$ace_cv_lib_posix_getrusage_enum_1" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_RUSAGE_WHO_ENUM enum __rusage_who
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-fi
-
-
- ace_pre_warning_CXXFLAGS="$CXXFLAGS"
-
- if test -n "$GXX"; then
- CXXFLAGS="$CXXFLAGS -Werror"
- else
- case $target in
- *solaris*)
- if test "$CXX" = CC; then
- CXXFLAGS="$CXXFLAGS -xwe"
- fi
- ;;
- *) ;;
- esac
- fi
-
-
-
- echo $ac_n "checking if select takes a const fifth argument""... $ac_c" 1>&6
-echo "configure:26723: checking if select takes a const fifth argument" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_posix_select_const_5'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 26729 "configure"
-#include "confdefs.h"
-
-#ifndef ACE_LACKS_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-#include <sys/time.h>
-#ifndef ACE_LACKS_UNISTD_H
-# include <unistd.h>
-#endif
-#ifdef ACE_HAS_SELECT_H
-# include <sys/select.h>
-#endif
-
-int main() {
-
- int n = 0;
- fd_set *readfds;
- fd_set *writefds;
- fd_set *exceptfds;
- const struct timeval* timeout = 0;
- select(n, readfds, writefds, exceptfds, timeout);
-
-; return 0; }
-EOF
-if { (eval echo configure:26754: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_posix_select_const_5=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_posix_select_const_5=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_lib_posix_select_const_5" 1>&6
- if test "$ace_cv_lib_posix_select_const_5" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_NONCONST_SELECT_TIMEVAL 1
-EOF
-
-
- fi
-
-
-
- CXXFLAGS="$ace_pre_warning_CXXFLAGS"
-
-if test "$ace_cv_struct_msghdr" = yes &&
- test "$ac_cv_func_sendmsg" = yes; then
-
- ace_pre_warning_CXXFLAGS="$CXXFLAGS"
-
- if test -n "$GXX"; then
- CXXFLAGS="$CXXFLAGS -Werror"
- else
- case $target in
- *solaris*)
- if test "$CXX" = CC; then
- CXXFLAGS="$CXXFLAGS -xwe"
- fi
- ;;
- *) ;;
- esac
- fi
-
-
-
- echo $ac_n "checking if sendmsg omits the const from the second argument""... $ac_c" 1>&6
-echo "configure:26809: checking if sendmsg omits the const from the second argument" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_broken_sendmsg'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 26815 "configure"
-#include "confdefs.h"
-
-#ifndef ACE_LACKS_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-#include <sys/socket.h>
-
-int main() {
-
- int s = 0;
- const struct msghdr *msg = 0;
- unsigned int flags = 0;
-
- int result = 0;
-
- result = (int) sendmsg(s, msg, flags);
-
-; return 0; }
-EOF
-if { (eval echo configure:26835: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_broken_sendmsg=no
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_broken_sendmsg=yes
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_lib_broken_sendmsg" 1>&6
- if test "$ace_cv_lib_broken_sendmsg" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_BROKEN_SENDMSG 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- CXXFLAGS="$ace_pre_warning_CXXFLAGS"
- fi
-if test "$ac_cv_header_sys_uio_h" = yes &&
- test "$ac_cv_func_writev" = yes; then
-
- ace_pre_warning_CXXFLAGS="$CXXFLAGS"
-
- if test -n "$GXX"; then
- CXXFLAGS="$CXXFLAGS -Werror"
- else
- case $target in
- *solaris*)
- if test "$CXX" = CC; then
- CXXFLAGS="$CXXFLAGS -xwe"
- fi
- ;;
- *) ;;
- esac
- fi
-
-
-
- echo $ac_n "checking if writev omits the const from the iovec argument""... $ac_c" 1>&6
-echo "configure:26889: checking if writev omits the const from the iovec argument" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_broken_writev'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 26895 "configure"
-#include "confdefs.h"
-
-#ifdef ACE_HAS_UNISTD_H
-# include <unistd.h>
-#endif
-
-#include <sys/uio.h>
-
-int main() {
-
- int filedes = 0;
- const struct iovec *vector = 0;
- size_t count = 0;
-
- int result = 0;
-
- result = (int) writev(filedes, vector, count);
-
-; return 0; }
-EOF
-if { (eval echo configure:26916: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_broken_writev=no
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_broken_writev=yes
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_lib_broken_writev" 1>&6
- if test "$ace_cv_lib_broken_writev" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_BROKEN_WRITEV 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- CXXFLAGS="$ace_pre_warning_CXXFLAGS"
- fi
-
-
- ace_pre_warning_CXXFLAGS="$CXXFLAGS"
-
- if test -n "$GXX"; then
- CXXFLAGS="$CXXFLAGS -Werror"
- else
- case $target in
- *solaris*)
- if test "$CXX" = CC; then
- CXXFLAGS="$CXXFLAGS -xwe"
- fi
- ;;
- *) ;;
- esac
- fi
-
-
-
- echo $ac_n "checking if socket size is denoted by size_t""... $ac_c" 1>&6
-echo "configure:26969: checking if socket size is denoted by size_t" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_posix_socket_len_size_t'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 26975 "configure"
-#include "confdefs.h"
-
-#ifndef ACE_LACKS_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-#include <sys/socket.h>
-
-int main() {
-
- int s;
- struct sockaddr* addr;
- int* addrlen;
- accept(s, addr, addrlen);
-
-; return 0; }
-EOF
-if { (eval echo configure:26992: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_posix_socket_len_size_t=no
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- cat > conftest.$ac_ext <<EOF
-#line 27003 "configure"
-#include "confdefs.h"
-
-#ifndef ACE_LACKS_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-#include <sys/socket.h>
-
-int main() {
-
- int s;
- struct sockaddr* addr;
- size_t* addrlen;
- accept(s, addr, addrlen);
-
-; return 0; }
-EOF
-if { (eval echo configure:27020: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_posix_socket_len_size_t=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_posix_socket_len_size_t=no
-
-fi
-rm -f conftest*
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_lib_posix_socket_len_size_t" 1>&6
- if test "$ace_cv_lib_posix_socket_len_size_t" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_SIZET_SOCKET_LEN 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- CXXFLAGS="$ace_pre_warning_CXXFLAGS"
-
-
- ace_pre_warning_CXXFLAGS="$CXXFLAGS"
-
- if test -n "$GXX"; then
- CXXFLAGS="$CXXFLAGS -Werror"
- else
- case $target in
- *solaris*)
- if test "$CXX" = CC; then
- CXXFLAGS="$CXXFLAGS -xwe"
- fi
- ;;
- *) ;;
- esac
- fi
-
-
-
- echo $ac_n "checking for (struct sockaddr *) msg_name field""... $ac_c" 1>&6
-echo "configure:27075: checking for (struct sockaddr *) msg_name field" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_sockaddr_msg_name'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 27081 "configure"
-#include "confdefs.h"
-
-#ifndef ACE_LACKS_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-#include <sys/socket.h>
-
-int main() {
-
- msghdr ace_msghdr;
- sockaddr name;
-
- ace_msghdr.msg_name = (struct sockaddr *)name;
-
-; return 0; }
-EOF
-if { (eval echo configure:27098: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_sockaddr_msg_name=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_sockaddr_msg_name=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_lib_sockaddr_msg_name" 1>&6
- if test "$ace_cv_lib_sockaddr_msg_name" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_SOCKADDR_MSG_NAME 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- CXXFLAGS="$ace_pre_warning_CXXFLAGS"
-
-
-
- ace_pre_warning_CXXFLAGS="$CXXFLAGS"
-
- if test -n "$GXX"; then
- CXXFLAGS="$CXXFLAGS -Werror"
- else
- case $target in
- *solaris*)
- if test "$CXX" = CC; then
- CXXFLAGS="$CXXFLAGS -xwe"
- fi
- ;;
- *) ;;
- esac
- fi
-
-
-
- echo $ac_n "checking if setsockopt() takes a char* fourth argument""... $ac_c" 1>&6
-echo "configure:27151: checking if setsockopt() takes a char* fourth argument" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_posix_setsockopt_charp_4'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 27157 "configure"
-#include "confdefs.h"
-
-#ifndef ACE_LACKS_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-#include <sys/socket.h>
-
-int main() {
-
- int s;
- int level;
- int optname;
- char* optval;
-#if defined(ACE_HAS_SIZET_SOCKET_LEN)
- size_t* optlen;
-#else
- int* optlen;
-#endif
- setsockopt(s, level, optname, optval, optlen);
-
-; return 0; }
-EOF
-if { (eval echo configure:27180: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_posix_setsockopt_charp_4=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_posix_setsockopt_charp_4=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_lib_posix_setsockopt_charp_4" 1>&6
- if test "$ace_cv_lib_posix_setsockopt_charp_4" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_CHARPTR_SOCKOPT 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- CXXFLAGS="$ace_pre_warning_CXXFLAGS"
-
-
- ace_pre_warning_CXXFLAGS="$CXXFLAGS"
-
- if test -n "$GXX"; then
- CXXFLAGS="$CXXFLAGS -Werror"
- else
- case $target in
- *solaris*)
- if test "$CXX" = CC; then
- CXXFLAGS="$CXXFLAGS -xwe"
- fi
- ;;
- *) ;;
- esac
- fi
-
-
-
- echo $ac_n "checking if setsockopt() takes a void* fourth argument""... $ac_c" 1>&6
-echo "configure:27232: checking if setsockopt() takes a void* fourth argument" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_posix_setsockopt_voidp_4'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 27238 "configure"
-#include "confdefs.h"
-
-#ifndef ACE_LACKS_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-#include <sys/socket.h>
-
-int main() {
-
- int s;
- int level;
- int optname;
- void* optval;
-#if defined(ACE_HAS_SIZET_SOCKET_LEN)
- size_t* optlen;
-#else
- int* optlen;
-#endif
- setsockopt(s, level, optname, optval, optlen);
-
-; return 0; }
-EOF
-if { (eval echo configure:27261: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_posix_setsockopt_voidp_4=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_posix_setsockopt_voidp_4=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_lib_posix_setsockopt_voidp_4" 1>&6
- if test "$ace_cv_lib_posix_setsockopt_voidp_4" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_VOIDPTR_SOCKOPT 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- CXXFLAGS="$ace_pre_warning_CXXFLAGS"
-
-
- ace_pre_warning_CXXFLAGS="$CXXFLAGS"
-
- if test -n "$GXX"; then
- CXXFLAGS="$CXXFLAGS -Werror"
- else
- case $target in
- *solaris*)
- if test "$CXX" = CC; then
- CXXFLAGS="$CXXFLAGS -xwe"
- fi
- ;;
- *) ;;
- esac
- fi
-
-
-
- echo $ac_n "checking if mmap() takes a void* first argument""... $ac_c" 1>&6
-echo "configure:27313: checking if mmap() takes a void* first argument" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_posix_voidptr_mmap'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 27319 "configure"
-#include "confdefs.h"
-
-#ifndef ACE_LACKS_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-#ifndef ACE_LACKS_UNISTD_H
-# include <unistd.h>
-#endif
-#include <sys/mman.h>
-
-int main() {
-
- void *start;
- size_t length;
- int prot;
- int flags;
- int fd;
- off_t offset;
-
- void *result = 0;
-
- result = (void *)mmap(start, length, prot, flags, fd, offset);
-
-; return 0; }
-EOF
-if { (eval echo configure:27345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_posix_voidptr_mmap=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_posix_voidptr_mmap=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_lib_posix_voidptr_mmap" 1>&6
- if test "$ace_cv_lib_posix_voidptr_mmap" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_VOIDPTR_MMAP 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- CXXFLAGS="$ace_pre_warning_CXXFLAGS"
-
-if test "$ac_cv_func_msync" = yes; then
-
- echo $ac_n "checking if msync accepts a third "sync" argument""... $ac_c" 1>&6
-echo "configure:27381: checking if msync accepts a third "sync" argument" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_broken_msync'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 27387 "configure"
-#include "confdefs.h"
-
-#include <sys/mman.h>
-
-#if defined (ACE_HAS_VOIDPTR_MMAP)
- /* Needed for some odd OS's (e.g., SGI). */
- typedef void *ACE_MMAP_TYPE;
-#else
- typedef char *ACE_MMAP_TYPE;
-#endif /* ACE_HAS_VOIDPTR_MMAP */
-
-int main() {
-
- ACE_MMAP_TYPE start = 0;
- size_t length = 0;
- int flags = MS_SYNC;
-
- int result;
-
- result = msync(start, length, flags);
-
-; return 0; }
-EOF
-if { (eval echo configure:27411: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_broken_msync=no
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- cat > conftest.$ac_ext <<EOF
-#line 27422 "configure"
-#include "confdefs.h"
-
-#include <sys/mman.h>
-
-#if defined (ACE_HAS_VOIDPTR_MMAP)
- /* Needed for some odd OS's (e.g., SGI). */
- typedef void *ACE_MMAP_TYPE;
-#else
- typedef char *ACE_MMAP_TYPE;
-#endif /* ACE_HAS_VOIDPTR_MMAP */
-
-int main() {
-
- ACE_MMAP_TYPE start = 0;
- size_t length = 0;
-
- int result;
-
- result = msync(start, length);
-
-; return 0; }
-EOF
-if { (eval echo configure:27445: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_broken_msync=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_broken_msync=no
-
-fi
-rm -f conftest*
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_lib_broken_msync" 1>&6
- if test "$ace_cv_lib_broken_msync" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_BROKEN_NETBSD_MSYNC 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-fi
-
- echo $ac_n "checking for iostream method ipfx()""... $ac_c" 1>&6
-echo "configure:27480: checking for iostream method ipfx()" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_has_iostream_ipfx'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 27486 "configure"
-#include "confdefs.h"
-
-#include <iostream.h>
-
-int main() {
-
- cin.ipfx();
-
-; return 0; }
-EOF
-if { (eval echo configure:27497: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_feature_has_iostream_ipfx=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_feature_has_iostream_ipfx=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_feature_has_iostream_ipfx" 1>&6
- if test "$ace_cv_feature_has_iostream_ipfx" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_IOSTREAM_FX 1
-EOF
-
-
- fi
-
-
-
- echo $ac_n "checking for line-buffered streambufs""... $ac_c" 1>&6
-echo "configure:27530: checking for line-buffered streambufs" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_has_linebuffered_streambuf'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 27536 "configure"
-#include "confdefs.h"
-
-#include <iostream.h>
-
-int main() {
-
- cin.rdbuf()->linebuffered(1);
-
-; return 0; }
-EOF
-if { (eval echo configure:27547: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_feature_has_linebuffered_streambuf=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_feature_has_linebuffered_streambuf=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_feature_has_linebuffered_streambuf" 1>&6
- if test "$ace_cv_feature_has_linebuffered_streambuf" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_LINEBUFFERED_STREAMBUF 1
-EOF
-
-
- fi
-
-
-
- echo $ac_n "checking for unbuffered streambufs""... $ac_c" 1>&6
-echo "configure:27580: checking for unbuffered streambufs" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_has_unbuffered_streambuf'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 27586 "configure"
-#include "confdefs.h"
-
-#include <iostream.h>
-
-int main() {
-
- cin.rdbuf()->unbuffered(1);
-
-; return 0; }
-EOF
-if { (eval echo configure:27597: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_feature_has_unbuffered_streambuf=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_feature_has_unbuffered_streambuf=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_feature_has_unbuffered_streambuf" 1>&6
- if test "$ace_cv_feature_has_unbuffered_streambuf" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_UNBUFFERED_STREAMBUF 1
-EOF
-
-
- fi
-
-
-echo $ac_n "checking if signal takes a void (*)(int) as second argument""... $ac_c" 1>&6
-echo "configure:27629: checking if signal takes a void (*)(int) as second argument" >&5
-if eval "test \"`echo '$''{'ace_cv_lib_signal_vi1_2'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 27635 "configure"
-#include "confdefs.h"
-
-#include <signal.h>
- typedef void (*SA)(int);
- void handler(int)
- {
- }
-
-int main() {
-
- SA nn = handler;
- signal(SIGINT, nn);
-
-; return 0; }
-EOF
-if { (eval echo configure:27651: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_signal_vi1_2=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_signal_vi1_2=no
-
-fi
-rm -f conftest*
-
-fi
-
-echo "$ac_t""$ace_cv_lib_signal_vi1_2" 1>&6
-
-echo $ac_n "checking if signal takes a void (*)(void) as second argument""... $ac_c" 1>&6
-echo "configure:27671: checking if signal takes a void (*)(void) as second argument" >&5
-if eval "test \"`echo '$''{'ace_cv_lib_signal_vv1_2'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 27677 "configure"
-#include "confdefs.h"
-
-#include <signal.h>
- typedef void (*SA)(void);
- void handler(int) { }
-
-int main() {
-
- SA nn = handler;
- signal(SIGINT, nn);
-
-; return 0; }
-EOF
-if { (eval echo configure:27691: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_signal_vv1_2=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_signal_vv1_2=no
-
-fi
-rm -f conftest*
-
-fi
-
-echo "$ac_t""$ace_cv_lib_signal_vv1_2" 1>&6
-
-echo $ac_n "checking if signal takes a void (*)(int, ...) as second argument""... $ac_c" 1>&6
-echo "configure:27711: checking if signal takes a void (*)(int, ...) as second argument" >&5
-if eval "test \"`echo '$''{'ace_cv_lib_signal_vi1a2_2'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 27717 "configure"
-#include "confdefs.h"
-
-#include <signal.h>
- typedef void (*SA)(int, ...);
- void handler(int, ...) { }
-
-int main() {
-
- SA nn = handler;
- signal(SIGINT, nn);
-
-; return 0; }
-EOF
-if { (eval echo configure:27731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_signal_vi1a2_2=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_signal_vi1a2_2=no
-
-fi
-rm -f conftest*
-
-fi
-
-echo "$ac_t""$ace_cv_lib_signal_vi1a2_2" 1>&6
-
-echo $ac_n "checking if signal takes a void (*)(...) as second argument""... $ac_c" 1>&6
-echo "configure:27751: checking if signal takes a void (*)(...) as second argument" >&5
-if eval "test \"`echo '$''{'ace_cv_lib_signal_va1_2'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 27757 "configure"
-#include "confdefs.h"
-
-#include <signal.h>
- typedef void (*SA)(...);
- void handler(...) { }
-
-int main() {
-
- SA nn = handler;
- signal(SIGINT, nn);
-
-; return 0; }
-EOF
-if { (eval echo configure:27771: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_signal_va1_2=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_signal_va1_2=no
-
-fi
-rm -f conftest*
-
-fi
-
-echo "$ac_t""$ace_cv_lib_signal_va1_2" 1>&6
-
-echo $ac_n "checking if signal returns a void (*)(int)""... $ac_c" 1>&6
-echo "configure:27791: checking if signal returns a void (*)(int)" >&5
-if eval "test \"`echo '$''{'ace_cv_lib_signal_vi1_ret'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 27797 "configure"
-#include "confdefs.h"
-
-#include <signal.h>
- typedef void (*SA)(int);
- void foo(SA nn) { }
-
-int main() {
-
- SA nn = SIG_DFL;
- nn = signal(SIGINT, 0);
- foo(nn);
-
-; return 0; }
-EOF
-if { (eval echo configure:27812: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_signal_vi1_ret=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_signal_vi1_ret=no
-
-fi
-rm -f conftest*
-
-fi
-
-echo "$ac_t""$ace_cv_lib_signal_vi1_ret" 1>&6
-
-echo $ac_n "checking if signal returns a void (*)(void)""... $ac_c" 1>&6
-echo "configure:27832: checking if signal returns a void (*)(void)" >&5
-if eval "test \"`echo '$''{'ace_cv_lib_signal_vv1_ret'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 27838 "configure"
-#include "confdefs.h"
-
-#include <signal.h>
- typedef void (*SA)(void);
- void foo(SA nn) { }
-
-int main() {
-
- SA nn = SIG_DFL;
- nn = signal(SIGINT, 0);
- foo(nn);
-
-; return 0; }
-EOF
-if { (eval echo configure:27853: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_signal_vv1_ret=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_signal_vv1_ret=no
-
-fi
-rm -f conftest*
-
-fi
-
-echo "$ac_t""$ace_cv_lib_signal_vv1_ret" 1>&6
-
-echo $ac_n "checking if signal returns a void (*)(int, ...)""... $ac_c" 1>&6
-echo "configure:27873: checking if signal returns a void (*)(int, ...)" >&5
-if eval "test \"`echo '$''{'ace_cv_lib_signal_vi1a2_ret'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 27879 "configure"
-#include "confdefs.h"
-
-#include <signal.h>
- typedef void (*SA)(int, ...);
-
-int main() {
-
- SA oo = signal(SIGINT, 0);
-
-; return 0; }
-EOF
-if { (eval echo configure:27891: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_signal_vi1a2_ret=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_signal_vi1a2_ret=no
-
-fi
-rm -f conftest*
-
-fi
-
-echo "$ac_t""$ace_cv_lib_signal_vi1a2_ret" 1>&6
-
-echo $ac_n "checking if signal returns a void (*)(...)""... $ac_c" 1>&6
-echo "configure:27911: checking if signal returns a void (*)(...)" >&5
-if eval "test \"`echo '$''{'ace_cv_lib_signal_va1_ret'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 27917 "configure"
-#include "confdefs.h"
-
-#include <signal.h>
- typedef void (*SA)(...);
-
-int main() {
-
- SA oo = signal(SIGINT, 0);
-
-; return 0; }
-EOF
-if { (eval echo configure:27929: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_signal_va1_ret=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_signal_va1_ret=no
-
-fi
-rm -f conftest*
-
-fi
-
-echo "$ac_t""$ace_cv_lib_signal_va1_ret" 1>&6
-
-if test "$ace_cv_struct_sigaction" = yes; then
- echo $ac_n "checking if struct sigaction takes a void (*)(int) handler""... $ac_c" 1>&6
-echo "configure:27950: checking if struct sigaction takes a void (*)(int) handler" >&5
-if eval "test \"`echo '$''{'ace_cv_lib_struct_sigaction_vi1_handler'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 27956 "configure"
-#include "confdefs.h"
-
-#include <signal.h>
- typedef void (*SA)(int);
- void foo(struct sigaction* sa, SA nn) { }
-
-int main() {
-
- struct sigaction sa;
- SA nn = SIG_DFL;
- sa.sa_handler = nn;
- foo(&sa, nn);
-
-; return 0; }
-EOF
-if { (eval echo configure:27972: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_struct_sigaction_vi1_handler=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_struct_sigaction_vi1_handler=no
-
-fi
-rm -f conftest*
-
-fi
-
-echo "$ac_t""$ace_cv_lib_struct_sigaction_vi1_handler" 1>&6
-
- echo $ac_n "checking if struct sigaction takes a void (*)(void) handler""... $ac_c" 1>&6
-echo "configure:27992: checking if struct sigaction takes a void (*)(void) handler" >&5
-if eval "test \"`echo '$''{'ace_cv_lib_struct_sigaction_vv1_handler'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 27998 "configure"
-#include "confdefs.h"
-
-#include <signal.h>
- typedef void (*SA)(void);
- void foo(struct sigaction* sa, SA nn) { }
-
-int main() {
-
- struct sigaction sa;
- SA nn = SIG_DFL;
- sa.sa_handler = nn;
- foo(&sa, nn);
-
-; return 0; }
-EOF
-if { (eval echo configure:28014: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_struct_sigaction_vv1_handler=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_struct_sigaction_vv1_handler=no
-
-fi
-rm -f conftest*
-
-fi
-
-echo "$ac_t""$ace_cv_lib_struct_sigaction_vv1_handler" 1>&6
-
- echo $ac_n "checking if struct sigaction takes a void (*)(int, ...) handler""... $ac_c" 1>&6
-echo "configure:28034: checking if struct sigaction takes a void (*)(int, ...) handler" >&5
-if eval "test \"`echo '$''{'ace_cv_lib_struct_sigaction_vi1a2_handler'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 28040 "configure"
-#include "confdefs.h"
-
-#include <signal.h>
- typedef void (*SA)(int, ...);
- void foo(struct sigaction* sa, SA nn) { }
-
-int main() {
-
- struct sigaction sa;
- SA nn = SIG_DFL;
- sa.sa_handler = nn;
- foo(&sa, nn);
-
-; return 0; }
-EOF
-if { (eval echo configure:28056: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_struct_sigaction_vi1a2_handler=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_struct_sigaction_vi1a2_handler=no
-
-fi
-rm -f conftest*
-
-fi
-
-echo "$ac_t""$ace_cv_lib_struct_sigaction_vi1a2_handler" 1>&6
-
- echo $ac_n "checking if struct sigaction takes a void (*)(...) handler""... $ac_c" 1>&6
-echo "configure:28076: checking if struct sigaction takes a void (*)(...) handler" >&5
-if eval "test \"`echo '$''{'ace_cv_lib_struct_sigaction_va1_handler'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 28082 "configure"
-#include "confdefs.h"
-
-#include <signal.h>
- typedef void (*SA)(...);
- void foo(struct sigaction* sa, SA nn) { }
-
-int main() {
-
- struct sigaction sa;
- SA nn = SIG_DFL;
- sa.sa_handler = nn;
- foo(&sa, nn);
-
-; return 0; }
-EOF
-if { (eval echo configure:28098: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_struct_sigaction_va1_handler=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_struct_sigaction_va1_handler=no
-
-fi
-rm -f conftest*
-
-fi
-
-echo "$ac_t""$ace_cv_lib_struct_sigaction_va1_handler" 1>&6
-fi
-
- ace_pre_warning_CXXFLAGS="$CXXFLAGS"
-
- if test -n "$GXX"; then
- CXXFLAGS="$CXXFLAGS -Werror"
- else
- case $target in
- *solaris*)
- if test "$CXX" = CC; then
- CXXFLAGS="$CXXFLAGS -xwe"
- fi
- ;;
- *) ;;
- esac
- fi
-
-
-
- echo $ac_n "checking if msgsnd() takes a struct msgbuf* second argument""... $ac_c" 1>&6
-echo "configure:28136: checking if msgsnd() takes a struct msgbuf* second argument" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_posix_msgsnd_msgbufp_2'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 28142 "configure"
-#include "confdefs.h"
-
-#ifndef ACE_LACKS_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-# include <sys/ipc.h>
-#ifndef ACE_LACKS_SYSV_MSG_H
-# include <sys/msg.h>
-#endif
-
-int main() {
-
- int msqid;
- struct msgbuf* msgp = 0;
- int msgsz;
- int msgflg;
- msgsnd(msqid, msgp, msgsz, msgflg);
-
-; return 0; }
-EOF
-if { (eval echo configure:28163: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_posix_msgsnd_msgbufp_2=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_posix_msgsnd_msgbufp_2=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_lib_posix_msgsnd_msgbufp_2" 1>&6
- if test "$ace_cv_lib_posix_msgsnd_msgbufp_2" != no; then
- ace_just_a_place_holder=fixme
-
-
- else
- ace_just_a_place_holder=fixme
-
-
- echo $ac_n "checking if msgsnd() takes a const void* second argument""... $ac_c" 1>&6
-echo "configure:28190: checking if msgsnd() takes a const void* second argument" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_posix_msgsnd_cvoidp_2'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 28196 "configure"
-#include "confdefs.h"
-
-#ifndef ACE_LACKS_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-# include <sys/ipc.h>
-#ifndef ACE_LACKS_SYSV_MSG_H
-# include <sys/msg.h>
-#endif
-
-int main() {
-
- int msqid;
- const void* msgp = 0;
- int msgsz;
- int msgflg;
- msgsnd(msqid, msgp, msgsz, msgflg);
-
-; return 0; }
-EOF
-if { (eval echo configure:28217: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_posix_msgsnd_cvoidp_2=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_posix_msgsnd_cvoidp_2=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_lib_posix_msgsnd_cvoidp_2" 1>&6
- if test "$ace_cv_lib_posix_msgsnd_cvoidp_2" != no; then
- ace_just_a_place_holder=fixme
-
-
- else
- ace_just_a_place_holder=fixme
-
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_NONCONST_MSGSND 1
-EOF
-
-
-
- fi
-
-
-
- fi
-
-
-
- CXXFLAGS="$ace_pre_warning_CXXFLAGS"
-
-
- ace_pre_warning_CXXFLAGS="$CXXFLAGS"
-
- if test -n "$GXX"; then
- CXXFLAGS="$CXXFLAGS -Werror"
- else
- case $target in
- *solaris*)
- if test "$CXX" = CC; then
- CXXFLAGS="$CXXFLAGS -xwe"
- fi
- ;;
- *) ;;
- esac
- fi
-
-
-echo $ac_n "checking if msgrcv() takes a void* second argument""... $ac_c" 1>&6
-echo "configure:28276: checking if msgrcv() takes a void* second argument" >&5
-if eval "test \"`echo '$''{'ace_cv_lib_posix_msgrcv_voidp_2'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 28282 "configure"
-#include "confdefs.h"
-
-#ifndef ACE_LACKS_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-# include <sys/ipc.h>
-#ifndef ACE_LACKS_SYSV_MSG_H
-# include <sys/msg.h>
-#endif
-
-int main() {
-
- int msqid;
- void* msgp;
- int msgsz;
- long msgtyp;
- int msgflg;
- msgrcv(msqid, msgp, msgsz, msgtyp, msgflg);
-
-; return 0; }
-EOF
-if { (eval echo configure:28304: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_posix_msgrcv_voidp_2=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_posix_msgrcv_voidp_2=no
-
-fi
-rm -f conftest*
-
-fi
-
-echo "$ac_t""$ace_cv_lib_posix_msgrcv_voidp_2" 1>&6
-
-
- CXXFLAGS="$ace_pre_warning_CXXFLAGS"
-
-
- ace_pre_warning_CXXFLAGS="$CXXFLAGS"
-
- if test -n "$GXX"; then
- CXXFLAGS="$CXXFLAGS -Werror"
- else
- case $target in
- *solaris*)
- if test "$CXX" = CC; then
- CXXFLAGS="$CXXFLAGS -xwe"
- fi
- ;;
- *) ;;
- esac
- fi
-
-
-echo $ac_n "checking if shmat() takes a void* second argument""... $ac_c" 1>&6
-echo "configure:28344: checking if shmat() takes a void* second argument" >&5
-if eval "test \"`echo '$''{'ace_cv_lib_posix_shmat_voidp_2'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 28350 "configure"
-#include "confdefs.h"
-
-#ifndef ACE_LACKS_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-# include <sys/ipc.h>
-# include <sys/shm.h>
-
-int main() {
-int shmid;
- void* shmaddr;
- int shmflg;
- shmat(shmid, shmaddr, shmflg);
-
-; return 0; }
-EOF
-if { (eval echo configure:28367: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_posix_shmat_voidp_2=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_posix_shmat_voidp_2=no
-
-fi
-rm -f conftest*
-
-fi
-
-echo "$ac_t""$ace_cv_lib_posix_shmat_voidp_2" 1>&6
-
-
- CXXFLAGS="$ace_pre_warning_CXXFLAGS"
-
-
- ace_pre_warning_CXXFLAGS="$CXXFLAGS"
-
- if test -n "$GXX"; then
- CXXFLAGS="$CXXFLAGS -Werror"
- else
- case $target in
- *solaris*)
- if test "$CXX" = CC; then
- CXXFLAGS="$CXXFLAGS -xwe"
- fi
- ;;
- *) ;;
- esac
- fi
-
-
-echo $ac_n "checking if sigaction() takes a const* second argument""... $ac_c" 1>&6
-echo "configure:28407: checking if sigaction() takes a const* second argument" >&5
-if eval "test \"`echo '$''{'ace_cv_lib_posix_sigaction_constp_2'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 28413 "configure"
-#include "confdefs.h"
-
-#include <signal.h>
-
-int main() {
-
- int signum;
- const struct sigaction* act = 0;
- struct sigaction* oldact;
- sigaction(signum, act, oldact);
-
-; return 0; }
-EOF
-if { (eval echo configure:28427: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_posix_sigaction_constp_2=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_posix_sigaction_constp_2=no
-
-fi
-rm -f conftest*
-
-fi
-
-echo "$ac_t""$ace_cv_lib_posix_sigaction_constp_2" 1>&6
-
-
- CXXFLAGS="$ace_pre_warning_CXXFLAGS"
-
-
- echo $ac_n "checking if wait() takes a (union wait *) rather than int *""... $ac_c" 1>&6
-echo "configure:28451: checking if wait() takes a (union wait *) rather than int *" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_wait_takes_union_wait_ptr'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 28457 "configure"
-#include "confdefs.h"
-
-#include <sys/wait.h>
-
-int main() {
-
- int* status;
- int result;
- result=wait(status);
-
-; return 0; }
-EOF
-if { (eval echo configure:28470: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_wait_takes_union_wait_ptr=no
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- cat > conftest.$ac_ext <<EOF
-#line 28481 "configure"
-#include "confdefs.h"
-
-#include <sys/wait.h>
-
-int main() {
-
- union wait* status;
- int result;
- result=wait(status);
-
-; return 0; }
-EOF
-if { (eval echo configure:28494: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_wait_takes_union_wait_ptr=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_wait_takes_union_wait_ptr=no
- echo "configure: warning: wait() doesn't seem to take either int* or union wait*" 1>&2
- echo "configure: warning: as an argument. Going to assume that int* will work." 1>&2
-
-fi
-rm -f conftest*
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_lib_wait_takes_union_wait_ptr" 1>&6
- if test "$ace_cv_lib_wait_takes_union_wait_ptr" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_UNION_WAIT 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- ace_pre_warning_CXXFLAGS="$CXXFLAGS"
-
- if test -n "$GXX"; then
- CXXFLAGS="$CXXFLAGS -Werror"
- else
- case $target in
- *solaris*)
- if test "$CXX" = CC; then
- CXXFLAGS="$CXXFLAGS -xwe"
- fi
- ;;
- *) ;;
- esac
- fi
-
-
-echo $ac_n "checking if gettimeofday() takes a void * second argument""... $ac_c" 1>&6
-echo "configure:28547: checking if gettimeofday() takes a void * second argument" >&5
-if eval "test \"`echo '$''{'ace_cv_lib_voidptr_gettimeofday'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 28553 "configure"
-#include "confdefs.h"
-
-#include <sys/time.h>
-#ifndef ACE_LACKS_UNISTD_H
-# include <unistd.h>
-#endif
-
-int main() {
-
- struct timeval *tv = 0;
- void *tzp = 0;
-
- gettimeofday(tv, tzp);
-
-; return 0; }
-EOF
-if { (eval echo configure:28570: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_voidptr_gettimeofday=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_voidptr_gettimeofday=no
-
-fi
-rm -f conftest*
-
-fi
-
-echo "$ac_t""$ace_cv_lib_voidptr_gettimeofday" 1>&6
-
-
- CXXFLAGS="$ace_pre_warning_CXXFLAGS"
-
-if test "$ace_cv_lib_voidptr_gettimeofday" = no; then
-
- ace_pre_warning_CXXFLAGS="$CXXFLAGS"
-
- if test -n "$GXX"; then
- CXXFLAGS="$CXXFLAGS -Werror"
- else
- case $target in
- *solaris*)
- if test "$CXX" = CC; then
- CXXFLAGS="$CXXFLAGS -xwe"
- fi
- ;;
- *) ;;
- esac
- fi
-
-
- echo $ac_n "checking if gettimeofday() takes a timzeone * second argument""... $ac_c" 1>&6
-echo "configure:28611: checking if gettimeofday() takes a timzeone * second argument" >&5
-if eval "test \"`echo '$''{'ace_cv_lib_timezone_gettimeofday'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 28617 "configure"
-#include "confdefs.h"
-
-#include <sys/time.h>
-#ifndef ACE_LACKS_UNISTD_H
-# include <unistd.h>
-#endif
-
-int main() {
-
- struct timeval *tv = 0;
- struct timezone *tzp = 0;
-
- gettimeofday(tv, tzp);
-
-; return 0; }
-EOF
-if { (eval echo configure:28634: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_timezone_gettimeofday=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_timezone_gettimeofday=no
-
-fi
-rm -f conftest*
-
-fi
-
-echo "$ac_t""$ace_cv_lib_timezone_gettimeofday" 1>&6
-
-
- CXXFLAGS="$ace_pre_warning_CXXFLAGS"
- fi
-if test "$ace_cv_lib_voidptr_gettimeofday" = yes ||
- test "$ace_cv_lib_timezone_gettimeofday" = yes; then
-
- echo $ac_n "checking for gettimeofday() protoype""... $ac_c" 1>&6
-echo "configure:28660: checking for gettimeofday() protoype" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_has_gettimeofday_prototype'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 28666 "configure"
-#include "confdefs.h"
-
-#include <time.h>
-
-#ifdef ACE_LACKS_SYSTIME_H
-# include <sys/time.h>
-#endif
-
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "gettimeofday" >/dev/null 2>&1; then
- rm -rf conftest*
-
- ace_cv_lib_has_gettimeofday_prototype=yes
-
-else
- rm -rf conftest*
-
- ace_cv_lib_has_gettimeofday_prototype=no
-
-fi
-rm -f conftest*
-
-
-fi
-
- echo "$ac_t""$ace_cv_lib_has_gettimeofday_prototype" 1>&6
- if test "$ace_cv_lib_has_gettimeofday_prototype" != no; then
- ace_just_a_place_holder=fixme
-
- if test "$ace_cv_lib_voidptr_gettimeofday" = yes; then
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_SUNOS4_GETTIMEOFDAY 1
-EOF
-
- else
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_TIMEZONE_GETTIMEOFDAY 1
-EOF
-
- fi
-
- else
- ace_just_a_place_holder=fixme
-
- if test "$ace_cv_lib_voidptr_gettimeofday" = yes; then
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_SVR4_GETTIMEOFDAY 1
-EOF
-
- else
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_OSF1_GETTIMEOFDAY 1
-EOF
-
- fi
-
-
- fi
-
-fi
-
-if test "$ac_cv_func_ctime_r" = yes; then
-
- echo $ac_n "checking if ctime_r() takes two arguments""... $ac_c" 1>&6
-echo "configure:28732: checking if ctime_r() takes two arguments" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_posix_ctime_r_2_params'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 28738 "configure"
-#include "confdefs.h"
-
-#ifndef _REENTRANT
-# define _REENTRANT
-#endif
-
-#include <time.h>
-
-#if defined(ACE_LACKS_SYSTIME_H)
-# include <sys/time.h>
-#endif
-
-int main() {
-
- const time_t *t ;
- char *buf;
- ctime_r(t, buf);
-
-; return 0; }
-EOF
-if { (eval echo configure:28759: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_posix_ctime_r_2_params=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_posix_ctime_r_2_params=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_lib_posix_ctime_r_2_params" 1>&6
- if test "$ace_cv_lib_posix_ctime_r_2_params" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_2_PARAM_ASCTIME_R_AND_CTIME_R 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-fi
-
-
-if test "$ace_cv_struct_msghdr" = yes; then
-
-
- echo $ac_n "checking if struct msghdr has a msg_accrights member""... $ac_c" 1>&6
-echo "configure:28795: checking if struct msghdr has a msg_accrights member" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_posix_struct_msghdr_has_msg_accrights'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 28801 "configure"
-#include "confdefs.h"
-
-#ifndef ACE_LACKS_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-#include <sys/socket.h>
-
-int main() {
-
- msghdr mh;
- mh.msg_accrights = 0;
-
-; return 0; }
-EOF
-if { (eval echo configure:28816: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_posix_struct_msghdr_has_msg_accrights=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_posix_struct_msghdr_has_msg_accrights=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_lib_posix_struct_msghdr_has_msg_accrights" 1>&6
- if test "$ace_cv_lib_posix_struct_msghdr_has_msg_accrights" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- echo $ac_n "checking if struct msghdr has a msg_accrights_len member""... $ac_c" 1>&6
-echo "configure:28845: checking if struct msghdr has a msg_accrights_len member" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_posix_struct_msghdr_has_msg_accrights_len'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 28851 "configure"
-#include "confdefs.h"
-
-#ifndef ACE_LACKS_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-#include <sys/socket.h>
-
-int main() {
-
- msghdr mh;
- mh.msg_accrightslen = 0;
-
-; return 0; }
-EOF
-if { (eval echo configure:28866: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_posix_struct_msghdr_has_msg_accrights_len=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_lib_posix_struct_msghdr_has_msg_accrights_len=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_lib_posix_struct_msghdr_has_msg_accrights_len" 1>&6
- if test "$ace_cv_lib_posix_struct_msghdr_has_msg_accrights_len" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
- if test "$ace_cv_lib_posix_struct_msghdr_has_msg_accrights" = no &&
- test "$ace_cv_lib_posix_struct_msghdr_has_msg_accrights_len" = no; then
- cat >> confdefs.h <<\EOF
-#define ACE_LACKS_MSG_ACCRIGHTS 1
-EOF
-
-
- echo $ac_n "checking for 4.4 BSD style struct msghdr""... $ac_c" 1>&6
-echo "configure:28901: checking for 4.4 BSD style struct msghdr" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_4_4bsd_msghdr'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 28907 "configure"
-#include "confdefs.h"
-#include <sys/socket.h>
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "msg_control" >/dev/null 2>&1; then
- rm -rf conftest*
-
- ace_cv_lib_4_4bsd_msghdr=yes
-
-else
- rm -rf conftest*
-
- ace_cv_lib_4_4bsd_msghdr=no
-
-fi
-rm -f conftest*
-
-
-fi
-
- echo "$ac_t""$ace_cv_lib_4_4bsd_msghdr" 1>&6
- if test "$ace_cv_lib_4_4bsd_msghdr" != no; then
- ace_just_a_place_holder=fixme
-
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_4_4BSD_SENDMSG_RECVMSG 1
-EOF
-
-
- else
- ace_just_a_place_holder=fixme
-
- echo "configure: warning: No supported msghdr structure was found. ACE may not compile or function properly." 1>&2
-
-
- fi
-
- fi
-
- if test "$ace_cv_lib_4_4bsd_msghdr" = yes; then
-
- echo $ac_n "checking if CMSG_DATA is defined""... $ac_c" 1>&6
-echo "configure:28950: checking if CMSG_DATA is defined" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_cmsg_data'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 28956 "configure"
-#include "confdefs.h"
-
-#ifndef ACE_LACKS_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-#include <sys/socket.h>
-#include <sys/un.h>
-
-#if defined (CMSG_DATA)
- ACE_CMSG_DATA_DEFINED
-#endif
-
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "ACE_CMSG_DATA_DEFINED" >/dev/null 2>&1; then
- rm -rf conftest*
-
- ace_cv_lib_cmsg_data=yes
-
-else
- rm -rf conftest*
-
- ace_cv_lib_cmsg_data=no
- cat > conftest.$ac_ext <<EOF
-#line 28981 "configure"
-#include "confdefs.h"
-
-#ifndef ACE_LACKS_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-#include <sys/socket.h>
-#include <sys/un.h>
-
-int main() {
-
- /* This is sloppy. Oh well. :) */
- unsigned char ace_cmsg_data[0];
-
- cmsghdr ace_cmsg;
- ace_cmsg.cmsg_data = ace_cmsg_data;
-
-; return 0; }
-EOF
-if { (eval echo configure:29000: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- cat > conftest.$ac_ext <<EOF
-#line 29010 "configure"
-#include "confdefs.h"
-
-#ifndef ACE_LACKS_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-#include <sys/socket.h>
-#include <sys/un.h>
-
-int main() {
-
- /* This is sloppy. Oh well. :) */
- unsigned char ace_cmsg_data[0];
-
- cmsghdr ace_cmsg;
- ace_cmsg.__cmsg_data = ace_cmsg_data;
-
-; return 0; }
-EOF
-if { (eval echo configure:29029: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- { echo "configure: error: cmsgmdr member '__cmsg_data0' not supported by ACE's CMSG_DATA macro" 1>&2; exit 1; }
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- cat > conftest.$ac_ext <<EOF
-#line 29040 "configure"
-#include "confdefs.h"
-
-#ifndef ACE_LACKS_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-#include <sys/socket.h>
-#include <sys/un.h>
-
-int main() {
-
- cmsghdr ace_cmsg;
-
-; return 0; }
-EOF
-if { (eval echo configure:29055: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- if eval "test \"`echo '$''{'ace_cv_lib_cmsg_data_member'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- ace_cv_lib_cmsg_data_member=no
-fi
-
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- { echo "configure: error: No supported cmsghdr structure exists. ACE cannot be built without one." 1>&2; exit 1; }
-
-fi
-rm -f conftest*
-
-fi
-rm -f conftest*
-
-fi
-rm -f conftest*
-
-fi
-rm -f conftest*
-
-
-fi
-
- echo "$ac_t""$ace_cv_lib_cmsg_data" 1>&6
- if test "$ace_cv_lib_cmsg_data" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-
- cat >> confdefs.h <<\EOF
-#define ACE_LACKS_CMSG_DATA_MACRO 1
-EOF
-
- if test "$ace_cv_lib_cmsg_data_member"=no; then
- cat >> confdefs.h <<\EOF
-#define ACE_LACKS_CMSG_DATA_MEMBER 1
-EOF
-
- fi
-
-
-
- fi
-
- fi
-fi
-
-if test "$cross_compiling" != yes; then
- echo $ac_n "checking for restartable system calls""... $ac_c" 1>&6
-echo "configure:29114: checking for restartable system calls" >&5
-if eval "test \"`echo '$''{'ac_cv_sys_restartable_syscalls'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test "$cross_compiling" = yes; then
- { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
-else
- cat > conftest.$ac_ext <<EOF
-#line 29122 "configure"
-#include "confdefs.h"
-#ifdef __cplusplus
-extern "C" void exit(int);
-#endif
-/* Exit 0 (true) if wait returns something other than -1,
- i.e. the pid of the child, which means that wait was restarted
- after getting the signal. */
-#include <sys/types.h>
-#include <signal.h>
-ucatch (isig) { }
-main () {
- int i = fork (), status;
- if (i == 0) { sleep (3); kill (getppid (), SIGINT); sleep (3); exit (0); }
- signal (SIGINT, ucatch);
- status = wait(&i);
- if (status == -1) wait(&i);
- exit (status == -1);
-}
-
-EOF
-if { (eval echo configure:29143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-then
- ac_cv_sys_restartable_syscalls=yes
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -fr conftest*
- ac_cv_sys_restartable_syscalls=no
-fi
-rm -fr conftest*
-fi
-
-fi
-
-echo "$ac_t""$ac_cv_sys_restartable_syscalls" 1>&6
-if test $ac_cv_sys_restartable_syscalls = yes; then
- cat >> confdefs.h <<\EOF
-#define HAVE_RESTARTABLE_SYSCALLS 1
-EOF
-
-fi
-
- if test "$ac_cv_sys_restartable_syscalls" = yes; then
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_SIGNAL_SAFE_OS_CALLS 1
-EOF
-
- fi
-fi
-
-
- echo $ac_n "checking for ctime() macro""... $ac_c" 1>&6
-echo "configure:29175: checking for ctime() macro" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_have_ctime_macro'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 29181 "configure"
-#include "confdefs.h"
-
-#include <time.h>
-
-#if defined(ACE_LACKS_SYSTIME_H)
-# include <sys/time.h>
-#endif
-
-#if defined (ctime)
- ACE_CTIME_MACRO
-#endif
-
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "ACE_CTIME_MACRO" >/dev/null 2>&1; then
- rm -rf conftest*
-
- ace_cv_feature_have_ctime_macro=yes
-
-else
- rm -rf conftest*
-
- ace_cv_feature_have_ctime_macro=no
-
-fi
-rm -f conftest*
-
-
-fi
-
- echo "$ac_t""$ace_cv_feature_have_ctime_macro" 1>&6
- if test "$ace_cv_feature_have_ctime_macro" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_BROKEN_CTIME 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- echo $ac_n "checking for reentrant function macros""... $ac_c" 1>&6
-echo "configure:29227: checking for reentrant function macros" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_has_broken_r_routines'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 29233 "configure"
-#include "confdefs.h"
-
-#ifndef _REENTRANT
-# define _REENTRANT
-#endif
-
-#include <time.h>
-
-#if defined(ACE_LACKS_SYSTIME_H)
-# include <sys/time.h>
-#endif
-
-#if defined (HAVE_PWD_H)
-# include <pwd.h>
-#endif
-
-#if defined (ctime_r) || \
- defined (asctime_r) || \
- defined (rand_r) || \
- defined (getpwnam_r)
- ACE_R_MACROS
-#endif
-
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "ACE_R_MACROS" >/dev/null 2>&1; then
- rm -rf conftest*
-
- ace_cv_feature_has_broken_r_routines=yes
-
-else
- rm -rf conftest*
-
- ace_cv_feature_has_broken_r_routines=no
-
-fi
-rm -f conftest*
-
-
-fi
-
- echo "$ac_t""$ace_cv_feature_has_broken_r_routines" 1>&6
- if test "$ace_cv_feature_has_broken_r_routines" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_BROKEN_R_ROUTINES 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- echo $ac_n "checking for sig{empty fill add del}set macros""... $ac_c" 1>&6
-echo "configure:29290: checking for sig{empty fill add del}set macros" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_have_sig_macros'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 29296 "configure"
-#include "confdefs.h"
-
-#ifndef ACE_LACKS_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-#include <signal.h>
-
-#if defined (sigemptyset) && \
- defined (sigfillset) && \
- defined (sigaddset) && \
- defined (sigdelset) && \
- defined (sigismember)
- ACE_SIG_MACROS
-#endif
-
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "ACE_SIG_MACROS" >/dev/null 2>&1; then
- rm -rf conftest*
-
- ace_cv_feature_have_sig_macros=yes
-
-else
- rm -rf conftest*
-
- ace_cv_feature_have_sig_macros=no
-
-fi
-rm -f conftest*
-
-
-fi
-
- echo "$ac_t""$ace_cv_feature_have_sig_macros" 1>&6
- if test "$ace_cv_feature_have_sig_macros" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_SIG_MACROS 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- echo $ac_n "checking for open() mode masks""... $ac_c" 1>&6
-echo "configure:29345: checking for open() mode masks" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_have_open_mode_masks'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 29351 "configure"
-#include "confdefs.h"
-
-#ifndef ACE_LACKS_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-#include <sys/stat.h>
-#include <fcntl.h>
-
- /* These are ORed so that ACE will not redefine
- any of them if any of them exist. */
-#if defined (S_IRWXU) || \
- defined (S_IRUSR) || \
- defined (S_IWUSR) || \
- defined (S_IXUSR) || \
- defined (S_IRWXG) || \
- defined (S_IRGRP) || \
- defined (S_IWGRP) || \
- defined (S_IXGRP) || \
- defined (S_IRWXO) || \
- defined (S_IROTH) || \
- defined (S_IWOTH) || \
- defined (S_IXOTH)
- ACE_OPEN_MODE_MASKS_EXIST
-#endif
-
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "ACE_OPEN_MODE_MASKS_EXIST" >/dev/null 2>&1; then
- rm -rf conftest*
-
- ace_cv_feature_have_open_mode_masks=yes
-
-else
- rm -rf conftest*
-
- ace_cv_feature_have_open_mode_masks=no
-
-fi
-rm -f conftest*
-
-
-fi
-
- echo "$ac_t""$ace_cv_feature_have_open_mode_masks" 1>&6
- if test "$ace_cv_feature_have_open_mode_masks" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_MODE_MASKS 1
-EOF
-
-
- fi
-
-
-
-
- echo $ac_n "checking for POSIX O_NONBLOCK semantics""... $ac_c" 1>&6
-echo "configure:29412: checking for POSIX O_NONBLOCK semantics" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_posix_o_nonblock'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 29418 "configure"
-#include "confdefs.h"
-
-#ifndef ACE_LACKS_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-#include <sys/stat.h>
-#include <fcntl.h>
-
-#if defined (O_NONBLOCK)
- ACE_POSIX_O_NONBLOCK
-#endif
-
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "ACE_POSIX_O_NONBLOCK" >/dev/null 2>&1; then
- rm -rf conftest*
-
- ace_cv_feature_posix_o_nonblock=yes
-
-else
- rm -rf conftest*
-
- ace_cv_feature_posix_o_nonblock=no
-
-fi
-rm -f conftest*
-
-
-fi
-
- echo "$ac_t""$ace_cv_feature_posix_o_nonblock" 1>&6
- if test "$ace_cv_feature_posix_o_nonblock" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_POSIX_NONBLOCK 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- echo $ac_n "checking for MAP_FAILED constant""... $ac_c" 1>&6
-echo "configure:29464: checking for MAP_FAILED constant" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_have_map_failed'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 29470 "configure"
-#include "confdefs.h"
-
-#include <sys/mman.h>
- ACEMAPFAILED MAP_FAILED
-
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "ACEMAPFAILED.+[0-9]" >/dev/null 2>&1; then
- rm -rf conftest*
-
- ace_cv_lib_have_map_failed=yes
-
-else
- rm -rf conftest*
-
- ace_cv_lib_have_map_failed=no
-
-fi
-rm -f conftest*
-
-
-fi
-
- echo "$ac_t""$ace_cv_lib_have_map_failed" 1>&6
- if test "$ace_cv_lib_have_map_failed" != no; then
- ace_just_a_place_holder=fixme
-
-
- echo $ac_n "checking if MAP_FAILED is a long constant""... $ac_c" 1>&6
-echo "configure:29500: checking if MAP_FAILED is a long constant" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_long_map_failed'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 29506 "configure"
-#include "confdefs.h"
-
-#include <sys/mman.h>
- ACEMAPFAILED MAP_FAILED
-
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "ACEMAPFAILED.+[0-9]L" >/dev/null 2>&1; then
- rm -rf conftest*
-
- ace_cv_feature_long_map_failed=yes
-
-else
- rm -rf conftest*
-
- ace_cv_feature_long_map_failed=no
-
-fi
-rm -f conftest*
-
-
-fi
-
- echo "$ac_t""$ace_cv_feature_long_map_failed" 1>&6
- if test "$ace_cv_feature_long_map_failed" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_LONG_MAP_FAILED 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
-
- echo $ac_n "checking if MAP_FAILED is not cast to void *""... $ac_c" 1>&6
-echo "configure:29542: checking if MAP_FAILED is not cast to void *" >&5
- if eval "test \"`echo '$''{'ace_cv_have_broken_map_failed'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 29548 "configure"
-#include "confdefs.h"
-
-#include <sys/mman.h>
-
-int main() {
-
- void * foo = MAP_FAILED;
-
-; return 0; }
-EOF
-if { (eval echo configure:29559: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_have_broken_map_failed=no
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- cat > conftest.$ac_ext <<EOF
-#line 29570 "configure"
-#include "confdefs.h"
-
-#include <sys/mman.h>
-
-int main() {
-
- void * foo = (void *) MAP_FAILED;
-
-; return 0; }
-EOF
-if { (eval echo configure:29581: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_have_broken_map_failed=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_have_broken_map_failed=no
-
-fi
-rm -f conftest*
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_have_broken_map_failed" 1>&6
- if test "$ace_cv_have_broken_map_failed" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_BROKEN_MAP_FAILED 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- fi
-
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- echo $ac_n "checking for TCP_NODELAY support""... $ac_c" 1>&6
-echo "configure:29626: checking for TCP_NODELAY support" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_tcp_nodelay'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 29632 "configure"
-#include "confdefs.h"
-
-#ifndef ACE_LACKS_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-#include <netinet/tcp.h>
-
-#if defined (TCP_NODELAY)
- ACE_TCPNODELAY
-#endif
-
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "ACE_TCPNODELAY" >/dev/null 2>&1; then
- rm -rf conftest*
-
- ace_cv_feature_tcp_nodelay=yes
-
-else
- rm -rf conftest*
-
- ace_cv_feature_tcp_nodelay=no
-
-fi
-rm -f conftest*
-
-
-fi
-
- echo "$ac_t""$ace_cv_feature_tcp_nodelay" 1>&6
- if test "$ace_cv_feature_tcp_nodelay" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_TCP_NODELAY 1
-EOF
-
-
- fi
-
-
-
- echo $ac_n "checking for SO_SNDBUF/SO_RCVBUF socket options""... $ac_c" 1>&6
-echo "configure:29678: checking for SO_SNDBUF/SO_RCVBUF socket options" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_so_sndbuf_rcvbuf'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 29684 "configure"
-#include "confdefs.h"
-
-#ifndef ACE_LACKS_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-#include <sys/socket.h>
-
-#if defined (SO_SNDBUF) && \
- defined (SO_RCVBUF)
- ACE_SO_BUF
-#endif
-
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "ACE_SO_BUF" >/dev/null 2>&1; then
- rm -rf conftest*
-
- ace_cv_feature_so_sndbuf_rcvbuf=yes
-
-else
- rm -rf conftest*
-
- ace_cv_feature_so_sndbuf_rcvbuf=no
-
-fi
-rm -f conftest*
-
-
-fi
-
- echo "$ac_t""$ace_cv_feature_so_sndbuf_rcvbuf" 1>&6
- if test "$ace_cv_feature_so_sndbuf_rcvbuf" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_SOCKET_BUFSIZ 1
-EOF
-
-
- fi
-
-
-if test "$ac_cv_header_dlfcn_h" = yes &&
- test "$ace_has_svr4_dynamic_linking" = yes; then
-
- echo $ac_n "checking for automatic init/fini calls""... $ac_c" 1>&6
-echo "configure:29733: checking for automatic init/fini calls" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_auto_init_fini'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- ace_cv_feature_auto_init_fini=yes
- # TODO: We know how to check for this, but we need to:
- #
- # 1. Compile one file.
- # 2. Compile and link another file.
- # 3. Run file in point (2); it returns what we need.
- #
- # How do we do all that?
-
-fi
-
- echo "$ac_t""$ace_cv_feature_auto_init_fini" 1>&6
- if test "$ace_cv_feature_auto_init_fini" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_AUTOMATIC_INIT_FINI 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-fi
-if test "$ace_user_enable_threads" = yes; then
-
- echo $ac_n "checking for recursive thread exit semantics""... $ac_c" 1>&6
-echo "configure:29765: checking for recursive thread exit semantics" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_recursive_thr_exit'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- ace_cv_feature_recursive_thr_exit=yes
- # TODO: How do we check for recursive thread exit semantics
-
-fi
-
- echo "$ac_t""$ace_cv_feature_recursive_thr_exit" 1>&6
- if test "$ace_cv_feature_recursive_thr_exit" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_RECURSIVE_THR_EXIT_SEMANTICS 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-fi
-
-
- echo $ac_n "checking for UNIX domain sockets""... $ac_c" 1>&6
-echo "configure:29791: checking for UNIX domain sockets" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_unix_sockets'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 29797 "configure"
-#include "confdefs.h"
-
-#include <sys/un.h>
-
-int main() {
-
- sockaddr_un su;
-
-; return 0; }
-EOF
-if { (eval echo configure:29808: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_feature_unix_sockets=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_feature_unix_sockets=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_feature_unix_sockets" 1>&6
- if test "$ace_cv_feature_unix_sockets" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_UNIX_DOMAIN_SOCKETS 1
-EOF
-
-
- fi
-
-
-
- echo $ac_n "checking for ACE_Handle_Set optimized for select()""... $ac_c" 1>&6
-echo "configure:29841: checking for ACE_Handle_Set optimized for select()" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_handle_set_optimized_for_select'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- ace_cv_feature_handle_set_optimized_for_select=yes
- # TODO: We know how to check this. We need to:
- #
- # 1. Compile and link a file.
- # 2. Run nm on that file.
- #
- # How do we do that?
-
-fi
-
- echo "$ac_t""$ace_cv_feature_handle_set_optimized_for_select" 1>&6
- if test "$ace_cv_feature_handle_set_optimized_for_select" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_HANDLE_SET_OPTIMIZED_FOR_SELECT 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- echo $ac_n "checking for IP multicast support""... $ac_c" 1>&6
-echo "configure:29871: checking for IP multicast support" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_ip_multicast'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 29877 "configure"
-#include "confdefs.h"
-
-#ifndef ACE_LACKS_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-#include <netinet/in.h>
-
-int main() {
-
- ip_mreq im;
-
-; return 0; }
-EOF
-if { (eval echo configure:29891: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_feature_ip_multicast=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- cat > conftest.$ac_ext <<EOF
-#line 29902 "configure"
-#include "confdefs.h"
-
-#ifndef ACE_LACKS_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-#include <sys/netinet/in.h>
-
-int main() {
-
- ip_mreq im;
-
-; return 0; }
-EOF
-if { (eval echo configure:29916: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_feature_ip_multicast=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_feature_ip_multicast=no
-
-fi
-rm -f conftest*
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_feature_ip_multicast" 1>&6
- if test "$ace_cv_feature_ip_multicast" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_IP_MULTICAST 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- echo $ac_n "checking if running on an Alpha""... $ac_c" 1>&6
-echo "configure:29951: checking if running on an Alpha" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_alpha'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- case "$target" in
- alpha*)
- ace_cv_feature_alpha=yes
- ;;
- *)
- ace_cv_feature_alpha=no
- ;;
- esac
-
-fi
-
- echo "$ac_t""$ace_cv_feature_alpha" 1>&6
- if test "$ace_cv_feature_alpha" != no; then
- ace_just_a_place_holder=fixme
-
- case "$target" in
- *linux*)
- if test -n "$GXX"; then
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_ALPHA_TIMER 1
-EOF
-
- fi
- ;;
- esac
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- echo $ac_n "checking if running on a Power PC""... $ac_c" 1>&6
-echo "configure:29990: checking if running on a Power PC" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_powerpc'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- case "$target" in
- powerpc*)
- ace_cv_feature_powerpc=yes
- ;;
- *)
- ace_cv_feature_powerpc=no
- ;;
- esac
-
-fi
-
- echo "$ac_t""$ace_cv_feature_powerpc" 1>&6
- if test "$ace_cv_feature_powerpc" != no; then
- ace_just_a_place_holder=fixme
-
- case "$target" in
- *aix*)
- ;;
- *)
- if test -n "$GXX"; then
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_POWERPC_TIMER 1
-EOF
-
- fi
- ;;
- esac
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- echo $ac_n "checking if running on a Pentium(tm) processor""... $ac_c" 1>&6
-echo "configure:30031: checking if running on a Pentium(tm) processor" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_pentium'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- case "$target" in
- i386-* | i486-* |i586-* | i686-*)
- ace_cv_feature_pentium=yes
- ;;
- *)
- ace_cv_feature_pentium=no
- ;;
- esac
-
-fi
-
- echo "$ac_t""$ace_cv_feature_pentium" 1>&6
- if test "$ace_cv_feature_pentium" != no; then
- ace_just_a_place_holder=fixme
-
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_PENTIUM 1
-EOF
-
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
-if test X$ace_cv_feature_pentium = Xyes; then
- ACE_ON_PENTIUM_TRUE=
- ACE_ON_PENTIUM_FALSE='#'
-else
- ACE_ON_PENTIUM_TRUE='#'
- ACE_ON_PENTIUM_FALSE=
-fi
-
-
- ace_pre_warning_CXXFLAGS="$CXXFLAGS"
-
- if test -n "$GXX"; then
- CXXFLAGS="$CXXFLAGS -Werror"
- else
- case $target in
- *solaris*)
- if test "$CXX" = CC; then
- CXXFLAGS="$CXXFLAGS -xwe"
- fi
- ;;
- *) ;;
- esac
- fi
-
-
-
- echo $ac_n "checking if _GNU_SOURCE is needed""... $ac_c" 1>&6
-echo "configure:30090: checking if _GNU_SOURCE is needed" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_gnu_source'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 30096 "configure"
-#include "confdefs.h"
-
-#ifndef ACE_LACKS_UNISTD_H
-# include <unistd.h>
-#endif
-
-int main() {
-
- int id = getpgid(0);
-
-; return 0; }
-EOF
-if { (eval echo configure:30109: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_feature_gnu_source=no
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- cat > conftest.$ac_ext <<EOF
-#line 30120 "configure"
-#include "confdefs.h"
-
-#define _GNU_SOURCE
-/* #define _GNU_SOURCE_EXTENDED */
-#ifndef ACE_LACKS_UNISTD_H
-# include <unistd.h>
-#endif
-
-int main() {
-
- int id = getpgid(0);
-
-; return 0; }
-EOF
-if { (eval echo configure:30135: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_feature_gnu_source=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_feature_gnu_source=no
-
-fi
-rm -f conftest*
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_feature_gnu_source" 1>&6
- if test "$ace_cv_feature_gnu_source" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define _GNU_SOURCE 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- CXXFLAGS="$ace_pre_warning_CXXFLAGS"
-
-
-
-
-if test "$ace_user_enable_reentrant_funcs" = yes &&
- test "$ac_cv_func_rand_r" = yes &&
- test "$ac_cv_func_strtok_r" = yes &&
- test "$ac_cv_func_ctime_r" = yes &&
- test "$ac_cv_func_localtime_r" = yes &&
- test "$ac_cv_func_gmtime_r" = yes &&
- test "$ac_cv_func_asctime_r" = yes; then
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_REENTRANT_FUNCTIONS 1
-EOF
-
-fi
-
-if test "$ace_user_enable_reentrant_funcs" = no ||
- test "$ac_cv_func_getprotobyname_r" = no ||
- test "$ac_cv_func_getprotobynumber_r" = no ||
- test "$ac_cv_func_gethostbyaddr_r" = no ||
- test "$ac_cv_func_gethostbyname_r" = no ||
- test "$ac_cv_func_getservbyname_r" = no; then
- cat >> confdefs.h <<\EOF
-#define ACE_LACKS_NETDB_REENTRANT_FUNCTIONS 1
-EOF
-
-fi
-
-case "$target" in
- *linux*) cat >> confdefs.h <<\EOF
-#define ACE_LACKS_NETDB_REENTRANT_FUNCTIONS 1
-EOF
-;;
- *) ;;
-esac
-
-
-
-if test "$ace_cv_lib_posix_msgsnd_msgbufp_2" = yes ||
- test "$ace_cv_lib_posix_msgrcv_voidp_2" != yes ||
- test "$ace_cv_lib_posix_shmat_voidp_2" != yes ||
- test "$ace_cv_lib_posix_sigaction_constp_2" != yes; then
- cat >> confdefs.h <<\EOF
-#define ACE_LACKS_SOME_POSIX_PROTOTYPES 1
-EOF
-
-fi
-
-if test "$ac_cv_func_msgctl" = yes &&
- test "$ac_cv_func_msgget" = yes &&
- test "$ac_cv_func_msgrcv" = yes &&
- test "$ac_cv_func_semctl" = yes &&
- test "$ac_cv_func_semget" = yes &&
- test "$ac_cv_func_semop" = yes &&
- test "$ac_cv_func_shmat" = yes &&
- test "$ac_cv_func_shmctl" = yes &&
- test "$ac_cv_func_shmdt" = yes &&
- test "$ac_cv_func_shmget" = yes; then
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_SYSV_IPC 1
-EOF
-
-fi
-
-if test "$ac_cv_func_shmat" != yes ||
- test "$ac_cv_func_shmctl" != yes ||
- test "$ac_cv_func_shmdt" != yes ||
- test "$ac_cv_func_shmget" != yes; then
- cat >> confdefs.h <<\EOF
-#define ACE_LACKS_SYSV_SHMEM 1
-EOF
-
-fi
-
-echo $ac_n "checking which POSIX thread library was found""... $ac_c" 1>&6
-echo "configure:30246: checking which POSIX thread library was found" >&5
-
-ace_has_pthreads=no
-
-if test "$ac_cv_func_pthread_mutexattr_create" = yes &&
- test "$ac_cv_func_pthread_mutexattr_delete" = yes &&
- test "$ac_cv_func_pthread_condattr_delete" = yes &&
- test "$ac_cv_func_pthread_condattr_create" = yes &&
- test "$ac_cv_func_pthread_setprio" = yes &&
- test "$ac_cv_func_pthread_getprio" = yes &&
- test "$ac_cv_func_pthread_setcancel" = yes &&
- test "$ac_cv_func_pthread_setasynccancel" = yes &&
- test "$ac_cv_func_pthread_kill" = yes; then
- ace_has_pthreads=yes
- echo "$ac_t""POSIX Threads Draft 4" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_PTHREADS_DRAFT4 1
-EOF
-
-elif test "$ac_cv_func_pthread_mutexattr_init" = yes &&
- test "$ac_cv_func_pthread_mutexattr_destroy" = yes &&
- test "$ac_cv_func_pthread_condattr_destroy" = yes &&
- test "$ac_cv_func_pthread_condattr_init" = yes &&
- test "$ac_cv_func_pthread_attr_setprio" = yes &&
- test "$ac_cv_func_pthread_attr_getprio" = yes &&
- test "$ac_cv_func_pthread_setintr" = yes &&
- test "$ac_cv_func_pthread_setintrtype" = yes; then
- ace_has_pthreads=yes
- echo "$ac_t""POSIX Threads Draft 6" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_PTHREADS_DRAFT6 1
-EOF
-
-elif test "$ac_cv_func_pthread_mutexattr_init" = yes &&
- test "$ac_cv_func_pthread_mutexattr_destroy" = yes &&
- test "$ac_cv_func_pthread_condattr_destroy" = yes &&
- test "$ac_cv_func_pthread_condattr_init" = yes &&
- test "$ac_cv_func_pthread_setschedparam" = yes &&
- test "$ac_cv_func_pthread_getschedparam" = yes &&
- test "$ac_cv_func_pthread_setcancelstate" = yes &&
- test "$ac_cv_func_pthread_setcanceltype" = yes &&
- test "$ace_has_sched_yield" != yes; then
- ace_has_pthreads=yes
- echo "$ac_t""POSIX Threads Draft 7" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_PTHREADS_DRAFT7 1
-EOF
-
-elif test "$ac_cv_func_pthread_mutexattr_init" = yes &&
- test "$ac_cv_func_pthread_mutexattr_destroy" = yes &&
- test "$ac_cv_func_pthread_condattr_destroy" = yes &&
- test "$ac_cv_func_pthread_condattr_init" = yes &&
- test "$ac_cv_func_pthread_setschedparam" = yes &&
- test "$ac_cv_func_pthread_getschedparam" = yes &&
- test "$ac_cv_func_pthread_setcancelstate" = yes &&
- test "$ac_cv_func_pthread_setcanceltype" = yes &&
- test "$ace_has_sched_yield" = yes; then
- ace_has_pthreads=yes
- echo "$ac_t""POSIX Threads Draft Standard" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_PTHREADS_STD 1
-EOF
-
-else
- ace_has_pthreads=no
- echo "$ac_t""none" 1>&6
-fi
-echo $ac_n "checking if a UNIX International thread library was found""... $ac_c" 1>&6
-echo "configure:30314: checking if a UNIX International thread library was found" >&5
-if test "$ace_has_sthreads" = yes; then
- echo "$ac_t""yes" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-
-if test "$ace_user_enable_threads" != yes ||
- test "$ace_has_pthreads" != yes &&
- test "$ace_has_sthreads" != yes; then
- ace_user_enable_threads=no
- echo "configure: warning: It appears that you do NOT have any usable thread libraries" 1>&2
- echo "configure: warning: or thread support was explicitly disabled." 1>&2
- echo "configure: warning: Disabling thread support." 1>&2
- if test "$ac_cv_func_readdir_r" = yes; then
- echo "configure: warning: Disabling support for readdir_r() since thread support" 1>&2
- echo "configure: warning: is being disabled." 1>&2
- cat >> confdefs.h <<\EOF
-#define ACE_LACKS_READDIR_R 1
-EOF
-
- fi fi
-if test "$ace_user_enable_threads" = yes; then
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_THREADS 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_MT_SAFE 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define _REENTRANT 1
-EOF
-
- if test "$ace_has_pthreads" = yes &&
- test "$ace_has_sthreads" != yes; then
- cat >> confdefs.h <<\EOF
-#define _POSIX_THREADS 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define _POSIX_THREAD_SAFE_FUNCTIONS 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define _POSIX_PTHREAD_SEMANTICS 1
-EOF
-
- fi
- if test "$ace_has_pthreads" = yes; then
-
-
- echo $ac_n "checking for pthread_join null status pointer support""... $ac_c" 1>&6
-echo "configure:30368: checking for pthread_join null status pointer support" >&5
- if eval "test \"`echo '$''{'ace_cv_have_null_status_pthread_join'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 30374 "configure"
-#include "confdefs.h"
-
-#if defined (ACE_HAS_PTHREADS) && defined (ACE_HAS_PTHREADS_DRAFT4)
-/* This test is only valid for Pthreads Draft 4 */
-WE_HAVE_PTHREADS_D4
-#endif
-
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "WE_HAVE_PTHREADS_D4" >/dev/null 2>&1; then
- rm -rf conftest*
-
- if test "$cross_compiling" = yes; then
-
- ace_cv_have_null_status_pthread_join=yes
-
-else
- cat > conftest.$ac_ext <<EOF
-#line 30393 "configure"
-#include "confdefs.h"
-#ifdef __cplusplus
-extern "C" void exit(int);
-#endif
-
-#ifndef _REENTRANT
-#define _REENTRANT
-#endif
-
-#ifndef _THREAD_SAFE
-#define _THREAD_SAFE
-#endif
-
-#include <pthread.h>
-#include <stdio.h>
-
-#ifdef __cplusplus
-extern "C"
-#endif
-void *
-nothing (void *unused)
-{
- return (void *) 34;
-};
-
-int
-main (int argc, char *argv[])
-{
- pthread_attr_t attr;
- pthread_t id;
- void *status;
- int retval = 0;
-
- /* ----- */
- /* We return 0 on error for these calls since we only want to
- return an error status if pthread_join fails. If these calls
- fail then we've got other problems! */
- if (pthread_attr_create (&attr) != 0) return 0 /*1*/;
-
- if (pthread_create (&id, attr, &nothing, 0) != 0) return 0 /*2*/;
-
- if (pthread_attr_delete (&attr) != 0) return /*3*/;
- /* ----- */
-
- /* With a second (status) arg of 0, LynxOS 3.0.0 pthread_join ()
- will fail with errno 14 (address fault detected). */
- if (pthread_join (id, 0) == -1) {
- fprintf (stderr, "%s: %d; ", __FILE__, __LINE__);
- perror ("pthread_join");
- retval = 1;
- }
-
- if (pthread_join (id, &status) == -1) {
- fprintf (stderr, "%s: %d; ", __FILE__, __LINE__);
- perror ("pthread_join");
- retval = 2;
- }
-
- return retval;
-}
-
-EOF
-if { (eval echo configure:30456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-then
-
- ace_cv_have_null_status_pthread_join=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -fr conftest*
-
- ace_cv_have_null_status_pthread_join=no
-
-fi
-rm -fr conftest*
-fi
-
-
-else
- rm -rf conftest*
-
- ace_cv_have_null_status_pthread_join=yes
-
-fi
-rm -f conftest*
-
-
-fi
-
- echo "$ac_t""$ace_cv_have_null_status_pthread_join" 1>&6
- if test "$ace_cv_have_null_status_pthread_join" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_NULL_PTHREAD_STATUS 1
-EOF
-
-
- fi
-
-
-
- echo $ac_n "checking if SCHED_OTHER is only scheduling policy""... $ac_c" 1>&6
-echo "configure:30500: checking if SCHED_OTHER is only scheduling policy" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_only_have_sched_other'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 30506 "configure"
-#include "confdefs.h"
-
-#ifdef ACE_HAS_PTHREADS
-# include <pthread.h>
-#endif
-
-#if defined (ACE_NEEDS_SCHED_H)
-# include <sched.h>
-#endif
-
- /* These are ORed so that ACE will not redefine
- any of them if any of them exist. */
-#if !defined (SCHED_FIFO) && \
- !defined (SCHED_RR) && \
- defined (SCHED_OTHER)
- WE_ONLY_HAVE_SCHED_OTHER
-#endif
-
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "WE_ONLY_HAVE_SCHED_OTHER" >/dev/null 2>&1; then
- rm -rf conftest*
-
- ace_cv_feature_only_have_sched_other=yes
-
-else
- rm -rf conftest*
-
- if test "$cross_compiling" = yes; then
-
- ace_cv_feature_only_have_sched_other=no
-
-else
- cat > conftest.$ac_ext <<EOF
-#line 30541 "configure"
-#include "confdefs.h"
-#ifdef __cplusplus
-extern "C" void exit(int);
-#endif
-
-#ifndef _REENTRANT
-#define _REENTRANT
-#endif
-
-#ifndef _THREAD_SAFE
-#define _THREAD_SAFE
-#endif
-
-#include <pthread.h>
-#include <stdio.h>
-#include <errno.h>
-
-int main ()
-{
- pthread_attr_t ace_attr;
-
-#if defined (ACE_HAS_PTHREADS_DRAFT4)
- if (pthread_attr_create (&ace_attr) != 0)
-#else
- if (pthread_attr_init (&ace_attr) != 0)
-#endif
- {
- perror ("pthread_attr_init");
- return 0; /* Return "successfully" since only the policy call
- will return with an error for this test. */
- }
-
-#if defined (ACE_HAS_PTHREADS_DRAFT4)
- if (pthread_attr_setsched (&ace_attr, SCHED_FIFO) != 0)
-#else
- if (pthread_attr_setschedpolicy (&ace_attr, SCHED_FIFO) != 0)
-#endif
- {
- perror ("pthread_attr_setschedpolicy");
- return -1;
- }
-
-#if defined (ACE_HAS_PTHREADS_DRAFT4)
- if (pthread_attr_delete (&ace_attr) != 0)
-#else
- if (pthread_attr_destroy (&ace_attr) != 0)
-#endif
- {
- perror ("pthread_attr_destroy");
- return 0; /* Return "successfully" since only the policy call
- will return with an error for this test. */
- }
-
- return 0;
-}
-
-EOF
-if { (eval echo configure:30599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-then
-
- ace_cv_feature_only_have_sched_other=no
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -fr conftest*
-
- ace_cv_feature_only_have_sched_other=yes
-
-fi
-rm -fr conftest*
-fi
-
-
-fi
-rm -f conftest*
-
-
-fi
-
- echo "$ac_t""$ace_cv_feature_only_have_sched_other" 1>&6
- if test "$ace_cv_feature_only_have_sched_other" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_ONLY_SCHED_OTHER 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
- fi fi
-
-if test "$ac_cv_header_libc_h" != yes ||
- test "$ac_cv_header_osfcn_h" != yes; then
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_CPLUSPLUS_HEADERS 1
-EOF
-
-fi
-
-
-
-if test "$ace_cv_lib_signal_vi1_2" = yes &&
- test "$ace_cv_lib_signal_vi1_ret" = yes &&
- test "$ace_cv_lib_struct_sigaction_vi1_handler" = yes; then
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES 1
-EOF
-
-elif test "$ace_cv_lib_signal_vi1_2" != yes &&
- test "$ace_cv_lib_signal_vv1_2" != yes &&
- test "$ace_cv_lib_signal_vi1a2_2" != yes &&
- test "$ace_cv_lib_signal_va1_2" = yes &&
- test "$ace_cv_lib_signal_vi1_ret" != yes &&
- test "$ace_cv_lib_signal_vv1_ret" != yes &&
- test "$ace_cv_lib_signal_vi1a2_ret" != yes &&
- test "$ace_cv_lib_signal_va1_ret" = yes &&
- test "$ace_cv_lib_struct_sigaction_vi1_handler" != yes &&
- test "$ace_cv_lib_struct_sigaction_vv1_handler" != yes &&
- test "$ace_cv_lib_struct_sigaction_vi1a2_handler" != yes &&
- test "$ace_cv_lib_struct_sigaction_va1_handler" = yes; then
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_LYNXOS_SIGNALS 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_TANDEM_SIGNALS 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_IRIX_53_SIGNALS 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_SUNOS4_SIGNAL_T 1
-EOF
-
-elif test "$ace_cv_lib_signal_vi1a2_2" = yes &&
- test "$ace_cv_lib_signal_vi1a2_ret" = yes &&
- test "$ace_cv_lib_struct_sigaction_vi1a2_handler" = yes; then
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_SPARCWORKS_401_SIGNALS 1
-EOF
-
-elif test "$ace_cv_lib_signal_vi1_2" = yes &&
- test "$ace_cv_lib_signal_vi1_ret" = yes &&
- test "$ace_cv_lib_struct_sigaction_vi1_handler" != yes; then
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_SVR4_SIGNAL_T 1
-EOF
-
-elif test "$ace_cv_lib_signal_vi1_2" = yes &&
- test "$ace_cv_lib_signal_vv1_ret" = yes &&
- test "$ace_cv_lib_struct_sigaction_vv1_handler" = yes; then
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_SVR4_SIGNAL_T 1
-EOF
-
-elif test "$ace_cv_lib_signal_vi1_2" = yes &&
- test "$ace_cv_lib_signal_vi1_ret" != yes &&
- test "$ace_cv_lib_signal_vv1_ret" != yes &&
- test "$ace_cv_lib_signal_vi1a2_ret" != yes &&
- test "$ace_cv_lib_signal_va1_ret" = yes &&
- test "$ace_cv_lib_struct_sigaction_vi1_handler" != yes &&
- test "$ace_cv_lib_struct_sigaction_vv1_handler" != yes &&
- test "$ace_cv_lib_struct_sigaction_vi1a2_handler" != yes &&
- test "$ace_cv_lib_struct_sigaction_va1_handler" = yes; then
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_UNIXWARE_SVR4_SIGNAL_T 1
-EOF
-
-fi
-
-
-
-
-
-case "$target" in
- *aix3*)
- cat >> confdefs.h <<\EOF
-#define ACE_DEFAULT_BASE_ADDR ((char *) 0x80000000)
-EOF
-
- ;;
- *aix4.1*)
- cat >> confdefs.h <<\EOF
-#define AIX 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_DEFAULT_BASE_ADDR ((char *) 0x80000000)
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_AIX_BROKEN_SOCKET_HEADER 1
-EOF
-
- ;;
- *aix4.2*)
- cat >> confdefs.h <<\EOF
-#define AIX 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_DEFAULT_BASE_ADDR ((char *) 0x80000000)
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_TLI_TCP_DEVICE "/dev/xti/tcp"
-EOF
-
- ;;
- *cray*)
- ;;
- *dgux4.11*)
- cat >> confdefs.h <<\EOF
-#define ACE_DGUX 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define IP_ADD_MEMBERSHIP 0x13
-EOF
-
- cat >> confdefs.h <<\EOF
-#define IP_DROP_MEMBERSHIP 0x14
-EOF
-
- ;;
- *dgux4*)
- cat >> confdefs.h <<\EOF
-#define ACE_DGUX 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define IP_ADD_MEMBERSHIP 0x13
-EOF
-
- cat >> confdefs.h <<\EOF
-#define IP_DROP_MEMBERSHIP 0x14
-EOF
-
- ;;
- *freebsd*)
- ;;
- *fsu*)
- cat >> confdefs.h <<\EOF
-#define PTHREAD_STACK_MIN (1024*10)
-EOF
-
- ;;
- *hpux9*)
- cat >> confdefs.h <<\EOF
-#define HPUX 1
-EOF
-
- ;;
- *hpux10*)
- cat >> confdefs.h <<\EOF
-#define HPUX 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define HPUX_10 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_DEFAULT_BASE_ADDR ((char *) 0x80000000)
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_TLI_TCP_DEVICE "/dev/inet_cots"
-EOF
-
- ;;
- *hpux11*)
- cat >> confdefs.h <<\EOF
-#define HPUX 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define HPUX_11 1
-EOF
-
- cat > conftest.$ac_ext <<EOF
-#line 30828 "configure"
-#include "confdefs.h"
-
-#ifdef __LP64__
- ACE_ON_64BIT_HP
-#endif
-
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "ACE_ON_64BIT_HP" >/dev/null 2>&1; then
- rm -rf conftest*
-
- cat >> confdefs.h <<\EOF
-#define ACE_DEFAULT_BASE_ADDR ((char *) 0x0000001100000000)
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_DEFAULT_BASE_ADDRL ((char *) 0x0000001100000000)
-EOF
-
-
-else
- rm -rf conftest*
-
- cat >> confdefs.h <<\EOF
-#define ACE_DEFAULT_BASE_ADDR ((char *) 0x80000000)
-EOF
-
-
-fi
-rm -f conftest*
-
- cat >> confdefs.h <<\EOF
-#define ACE_TIMER_SKEW (1000 * 10)
-EOF
-
- ;;
- *irix5.2*)
- cat >> confdefs.h <<\EOF
-#define IRIX5 1
-EOF
-
- ;;
- *irix5.3*)
- cat >> confdefs.h <<\EOF
-#define IRIX5 1
-EOF
-
- ;;
- *irix6*)
- cat >> confdefs.h <<\EOF
-#define IRIX6 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_IRIX62_THREADS 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_DEFAULT_BASE_ADDR ((char *) (1024U * 1024 * 1024))
-EOF
-
- if test "$ace_user_enable_threads" = yes; then
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_IRIX62_THREADS 1
-EOF
-
- fi
- cat >> confdefs.h <<\EOF
-#define ACE_TIMER_SKEW (1000 * 10)
-EOF
-
- ;;
- *linux*)
- cat >> confdefs.h <<\EOF
-#define ACE_DEFAULT_MAX_SOCKET_BUFSIZ 65535
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_DEFAULT_SELECT_REACTOR_SIZE 256
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_DEFAULT_BASE_ADDR ((char *) 0x80000000)
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_BIG_FD_SET 1
-EOF
- cat >> confdefs.h <<\EOF
-#define ACE_UINT64_FORMAT_SPECIFIER "%Lu"
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_TIMER_SKEW (1000 * 10)
-EOF
-
- ;;
- *lynxos*)
- cat >> confdefs.h <<\EOF
-#define ACE_MALLOC_ALIGN 8
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_MAP_PRIVATE ACE_MAP_SHARED
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_USE_RCSID 0
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_LYNXOS_SIGNALS 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_TIMER_SKEW (1000 * 10)
-EOF
-
- ;;
- *m88k*)
- cat >> confdefs.h <<\EOF
-#define m88k 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define __m88k__ 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define IP_ADD_MEMBERSHIP 0x13
-EOF
-
- cat >> confdefs.h <<\EOF
-#define IP_DROP_MEMBERSHIP 0x14
-EOF
-
- ;;
- *mvs*)
- ;;
- *netbsd*)
- cat >> confdefs.h <<\EOF
-#define ACE_NETBSD 1
-EOF
-
- ;;
- *osf3.2*)
- cat > conftest.$ac_ext <<EOF
-#line 30976 "configure"
-#include "confdefs.h"
-
-#if defined(__DECCXX)
- ACE_DEC_CXX
-#endif
-
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "ACE_DEC_CXX" >/dev/null 2>&1; then
- rm -rf conftest*
-
- cat >> confdefs.h <<\EOF
-#define DEC_CXX 1
-EOF
-
-
-fi
-rm -f conftest*
-
- ;;
- *osf4.0*)
- cat > conftest.$ac_ext <<EOF
-#line 30999 "configure"
-#include "confdefs.h"
-
-#if defined(__DECCXX)
- ACE_DEC_CXX
-#endif
-
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "ACE_DEC_CXX" >/dev/null 2>&1; then
- rm -rf conftest*
-
- cat >> confdefs.h <<\EOF
-#define DEC_CXX 1
-EOF
-
-
-fi
-rm -f conftest*
-
- cat > conftest.$ac_ext <<EOF
-#line 31020 "configure"
-#include "confdefs.h"
-
- /* Include unistd.h to define _POSIX_C_SOURCE. */
-#ifndef ACE_LACKS_UNISTD_H
-# include <unistd.h>
-#endif
-
-#if defined(_POSIX_C_SOURCE) && (_POSIX_C_SOURCE >= 199506L)
- ACE_ON_DEC_WITH_POS_SRC
-#endif
-
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "ACE_ON_DEC_WITH_POS_SRC" >/dev/null 2>&1; then
- rm -rf conftest*
-
- cat >> confdefs.h <<\EOF
-#define DIGITAL_UNIX 1
-EOF
-
-
-fi
-rm -f conftest*
-
- cat >> confdefs.h <<\EOF
-#define ACE_DEFAULT_BASE_ADDR ((char *) 0x80000000)
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_NEEDS_HUGE_THREAD_STACKSIZE (1024 * 1024)
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_TIMER_SKEW (1000 * 10)
-EOF
-
- ;;
- *psos*)
- cat >> confdefs.h <<\EOF
-#define ACE_PSOS 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_PSOSIM 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_PSOSTBD 1
-EOF
-
- cat > conftest.$ac_ext <<EOF
-#line 31072 "configure"
-#include "confdefs.h"
-
-#if defined (ACE_HAS_TSS_EMULATION)
- ACE_TSS_EMULATION
-#endif
-
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "ACE_TSS_EMULATION" >/dev/null 2>&1; then
- rm -rf conftest*
- cat >> confdefs.h <<\EOF
-#define ACE_DEFAULT_THREAD_KEYS 256
-EOF
-
-fi
-rm -f conftest*
-
- cat >> confdefs.h <<\EOF
-#define ACE_MAIN extern "C" void root
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_MALLOC_ALIGN 8
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_USE_RCSID 0
-EOF
-
- ;;
- *sco4.2*)
- cat >> confdefs.h <<\EOF
-#define SCO 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_DEFAULT_CLOSE_ALL_HANDLES 0
-EOF
-
- ;;
- *sco5*)
- cat >> confdefs.h <<\EOF
-#define SCO 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_DEFAULT_CLOSE_ALL_HANDLES 0
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_BIG_FD_SET 1
-EOF
- ;;
- *sunos4*)
- cat >> confdefs.h <<\EOF
-#define ACE_TIMER_SKEW (1000 * 10)
-EOF
-
- ;;
- *solaris2.4*)
- cat >> confdefs.h <<\EOF
-#define ACE_TIMER_SKEW (1000 * 10)
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_NEEDS_LWP_PRIO_SET 1
-EOF
-
- ;;
- *solaris2.5*)
- cat >> confdefs.h <<\EOF
-#define ACE_MALLOC_ALIGN 8
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_TIMER_SKEW (1000 * 10)
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_NEEDS_LWP_PRIO_SET 1
-EOF
-
- ;;
- *solaris2.6*)
- cat >> confdefs.h <<\EOF
-#define ACE_MALLOC_ALIGN 8
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_TIMER_SKEW (1000 * 10)
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_NEEDS_LWP_PRIO_SET 1
-EOF
-
- ;;
- *solaris2.7*)
- cat >> confdefs.h <<\EOF
-#define ACE_MALLOC_ALIGN 8
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_TIMER_SKEW (1000 * 10)
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_NEEDS_LWP_PRIO_SET 1
-EOF
-
- ;;
- *86*solaris*)
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_X86_STAT_MACROS 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_TIMER_SKEW (1000 * 10)
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_NEEDS_LWP_PRIO_SET 1
-EOF
-
- ;;
- *tandem*)
- cat >> confdefs.h <<\EOF
-#define ACE_TIMER_SKEW (1000 * 10)
-EOF
-
- ;;
- *unixware2.0*)
- cat >> confdefs.h <<\EOF
-#define UNIXWARE 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define UNIXWARE_2_0 1
-EOF
-
- ;;
- *unixware2.1*)
- cat >> confdefs.h <<\EOF
-#define UNIXWARE 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define UNIXWARE_2_1 1
-EOF
-
- ;;
- *vxworks*)
- cat >> confdefs.h <<\EOF
-#define VXWORKS 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_MAIN ace_main
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_DEFAULT_MAX_SOCKET_BUFSIZ 32768
-EOF
-
- cat > conftest.$ac_ext <<EOF
-#line 31238 "configure"
-#include "confdefs.h"
-
-#if defined (ACE_HAS_TSS_EMULATION)
- ACE_TSS_EMULATION
-#endif
-
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "ACE_TSS_EMULATION" >/dev/null 2>&1; then
- rm -rf conftest*
- cat >> confdefs.h <<\EOF
-#define ACE_DEFAULT_THREAD_KEYS 16
-EOF
-
-fi
-rm -f conftest*
-
- cat >> confdefs.h <<\EOF
-#define ACE_THR_PRI_FIFO_DEF 101
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_USE_RCSID 0
-EOF
-
- ;;
- *cygwin32*)
- ;;
- *win32*)
- cat >> confdefs.h <<\EOF
-#define ACE_WIN32 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define ACE_UINT64_FORMAT_SPECIFIER "%I64u"
-EOF
-
- if test "$ace_u_long_long_typedef_set" != yes; then
- ACE_UINT64="unsigned __int64"
- ace_u_long_long_typedef_set=yes
- fi ;;
- *)
- ;;
-esac
-
-
-
-if test "$ace_u_long_long_typedef_set" = yes; then
- cat >> confdefs.h <<EOF
-#define ACE_UINT64_TYPEDEF $ACE_UINT64
-EOF
-
-fi
-
-
-if test -n "$GXX"; then
- ACE_CXXFLAGS="$ACE_CXXFLAGS -W -Wall -Wpointer-arith"
- if test "$ace_user_enable_repo" = no; then
- ACE_CXXFLAGS="$ACE_CXXFLAGS -fno-implicit-templates"
- fi
-fi
-
-if test -n "$GCC"; then
- ACE_CFLAGS="$ACE_CFLAGS -W -Wall -Wpointer-arith"
-fi
-
-if test "$ace_user_enable_optimize"; then
- CXXFLAGS="$CXXFLAGS $OCXXFLAGS"
- CFLAGS="$CFLAGS $OCFLAGS"
-fi
-CXXFLAGS="$ACE_CXXFLAGS $X_CFLAGS $CXXFLAGS"
-CFLAGS="$ACE_CFLAGS $X_CFLAGS $CFLAGS"
-CPPFLAGS="$ACE_CPPFLAGS $CPPFLAGS"
-LDFLAGS="$ACE_LDFLAGS $LDFLAGS"
-
-
-
- echo $ac_n "checking for ACE iostream support""... $ac_c" 1>&6
-echo "configure:31317: checking for ACE iostream support" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_ace_iostream'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
-
- if test -f ${srcdir}/ace/config.h; then
- mv ${srcdir}/ace/config.h ${srcdir}/ace/config.h.conf
- fi
-
- touch ${srcdir}/ace/config.h
-
-
-
- ace_pre_try_CXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -I. -I${srcdir}"
-
- ace_pre_try_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS -I. -I${srcdir}"
-
- cat > conftest.$ac_ext <<EOF
-#line 31338 "configure"
-#include "confdefs.h"
-#if defined(ACE_UINT64_TYPEDEF)
- typedef ACE_UINT64_TYPEDEF ACE_UINT64;
-#endif /* ACE_UINT64_TYPEDEF */
-
-#include "ace/IOStream.cpp"
-
-int main() {
-int a=0; a += 1;
-
-; return 0; }
-EOF
-if { (eval echo configure:31351: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- ace_cv_feature_ace_iostream=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- ace_cv_feature_ace_iostream=no
-
-fi
-rm -f conftest*
-
- CXXFLAGS="$ace_pre_try_CXXFLAGS"
- CFLAGS="$ace_pre_try_CFLAGS"
-
-
-
-
- if test -f ${srcdir}/ace/config.h.conf; then
- mv ${srcdir}/ace/config.h.conf ${srcdir}/ace/config.h
- else
- rm ${srcdir}/ace/config.h
- fi
-
-
-fi
-
- echo "$ac_t""$ace_cv_feature_ace_iostream" 1>&6
- if test "$ace_cv_feature_ace_iostream" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_ACE_IOSTREAM 1
-EOF
-
-
- fi
-
-
-
- echo $ac_n "checking if ACE needs minimum iostream header inclusion""... $ac_c" 1>&6
-echo "configure:31395: checking if ACE needs minimum iostream header inclusion" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_minimum_iostream'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
-
- if test -f ${srcdir}/ace/config.h; then
- mv ${srcdir}/ace/config.h ${srcdir}/ace/config.h.conf
- fi
-
- touch ${srcdir}/ace/config.h
-
-
-
- ace_pre_try_CXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -I. -I${srcdir}"
-
- ace_pre_try_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS -I. -I${srcdir}"
-
- cat > conftest.$ac_ext <<EOF
-#line 31416 "configure"
-#include "confdefs.h"
-#if defined(ACE_UINT64_TYPEDEF)
- typedef ACE_UINT64_TYPEDEF ACE_UINT64;
-#endif /* ACE_UINT64_TYPEDEF */
-
-#include "ace/OS.cpp"
-
-int main() {
-int a=0; a += 1;
-
-; return 0; }
-EOF
-if { (eval echo configure:31429: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- ace_cv_lib_minimum_iostream=no
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_pre_try_CXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -I. -I${srcdir}"
-
- ace_pre_try_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS -I. -I${srcdir}"
-
- cat > conftest.$ac_ext <<EOF
-#line 31445 "configure"
-#include "confdefs.h"
-#if defined(ACE_UINT64_TYPEDEF)
- typedef ACE_UINT64_TYPEDEF ACE_UINT64;
-#endif /* ACE_UINT64_TYPEDEF */
-
-#define ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION
-#include "ace/OS.cpp"
-
-int main() {
-int a=0; a += 1;
-
-; return 0; }
-EOF
-if { (eval echo configure:31459: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- ace_cv_lib_minimum_iostream=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- ace_cv_lib_minimum_iostream=no
-
-fi
-rm -f conftest*
-
- CXXFLAGS="$ace_pre_try_CXXFLAGS"
- CFLAGS="$ace_pre_try_CFLAGS"
-
-
-
-fi
-rm -f conftest*
-
- CXXFLAGS="$ace_pre_try_CXXFLAGS"
- CFLAGS="$ace_pre_try_CFLAGS"
-
-
-
-
- if test -f ${srcdir}/ace/config.h.conf; then
- mv ${srcdir}/ace/config.h.conf ${srcdir}/ace/config.h
- else
- rm ${srcdir}/ace/config.h
- fi
-
-
-fi
-
- echo "$ac_t""$ace_cv_lib_minimum_iostream" 1>&6
- if test "$ace_cv_lib_minimum_iostream" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
- echo $ac_n "checking for ACE_addr::sap_any support""... $ac_c" 1>&6
-echo "configure:31510: checking for ACE_addr::sap_any support" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_sap_any_support'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
-
- if test -f ${srcdir}/ace/config.h; then
- mv ${srcdir}/ace/config.h ${srcdir}/ace/config.h.conf
- fi
-
- touch ${srcdir}/ace/config.h
-
-
-
- ace_pre_try_CXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -I. -I${srcdir}"
-
- ace_pre_try_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS -I. -I${srcdir}"
-
- cat > conftest.$ac_ext <<EOF
-#line 31531 "configure"
-#include "confdefs.h"
-#if defined(ACE_UINT64_TYPEDEF)
- typedef ACE_UINT64_TYPEDEF ACE_UINT64;
-#endif /* ACE_UINT64_TYPEDEF */
-
-#include "ace/Addr.cpp"
-
-int main() {
-int a=0; a += 1;
-
-; return 0; }
-EOF
-if { (eval echo configure:31544: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- ace_cv_lib_sap_any_support=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_pre_try_CXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -I. -I${srcdir}"
-
- ace_pre_try_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS -I. -I${srcdir}"
-
- cat > conftest.$ac_ext <<EOF
-#line 31560 "configure"
-#include "confdefs.h"
-#if defined(ACE_UINT64_TYPEDEF)
- typedef ACE_UINT64_TYPEDEF ACE_UINT64;
-#endif /* ACE_UINT64_TYPEDEF */
-
-#define ACE_HAS_BROKEN_SAP_ANY
-#include "ace/Addr.cpp"
-
-int main() {
-int a=0; a += 1;
-
-; return 0; }
-EOF
-if { (eval echo configure:31574: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- ace_cv_lib_sap_any_support=no
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- ace_cv_lib_sap_any_support=yes
-
-fi
-rm -f conftest*
-
- CXXFLAGS="$ace_pre_try_CXXFLAGS"
- CFLAGS="$ace_pre_try_CFLAGS"
-
-
-
-fi
-rm -f conftest*
-
- CXXFLAGS="$ace_pre_try_CXXFLAGS"
- CFLAGS="$ace_pre_try_CFLAGS"
-
-
-
-
- if test -f ${srcdir}/ace/config.h.conf; then
- mv ${srcdir}/ace/config.h.conf ${srcdir}/ace/config.h
- else
- rm ${srcdir}/ace/config.h
- fi
-
-
-fi
-
- echo "$ac_t""$ace_cv_lib_sap_any_support" 1>&6
- if test "$ace_cv_lib_sap_any_support" != no; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_BROKEN_SAP_ANY 1
-EOF
-
-
- fi
-
-
-
- echo $ac_n "checking if ACE needs conversion to pass ACE_TTY_IO to DEV_Connector""... $ac_c" 1>&6
-echo "configure:31626: checking if ACE needs conversion to pass ACE_TTY_IO to DEV_Connector" >&5
- if eval "test \"`echo '$''{'ace_cv_lib_need_dev_io_conv'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
-
- if test -f ${srcdir}/ace/config.h; then
- mv ${srcdir}/ace/config.h ${srcdir}/ace/config.h.conf
- fi
-
- touch ${srcdir}/ace/config.h
-
-
-
- ace_pre_try_CXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -I. -I${srcdir}"
-
- ace_pre_try_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS -I. -I${srcdir}"
-
- cat > conftest.$ac_ext <<EOF
-#line 31647 "configure"
-#include "confdefs.h"
-#if defined(ACE_UINT64_TYPEDEF)
- typedef ACE_UINT64_TYPEDEF ACE_UINT64;
-#endif /* ACE_UINT64_TYPEDEF */
-
-#include "ace/OS.cpp"
-
-int main() {
-int a=0; a += 1;
-
-; return 0; }
-EOF
-if { (eval echo configure:31660: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- ace_cv_lib_need_dev_io_conv=no
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_pre_try_CXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -I. -I${srcdir}"
-
- ace_pre_try_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS -I. -I${srcdir}"
-
- cat > conftest.$ac_ext <<EOF
-#line 31676 "configure"
-#include "confdefs.h"
-#if defined(ACE_UINT64_TYPEDEF)
- typedef ACE_UINT64_TYPEDEF ACE_UINT64;
-#endif /* ACE_UINT64_TYPEDEF */
-
-#define ACE_NEEDS_DEV_IO_CONVERSION
-#include "ace/DEV_Connector.cpp"
-
-int main() {
-int a=0; a += 1;
-
-; return 0; }
-EOF
-if { (eval echo configure:31690: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- ace_cv_lib_need_dev_io_conv=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- ace_cv_lib_need_dev_io_conv=no
-
-fi
-rm -f conftest*
-
- CXXFLAGS="$ace_pre_try_CXXFLAGS"
- CFLAGS="$ace_pre_try_CFLAGS"
-
-
-
-fi
-rm -f conftest*
-
- CXXFLAGS="$ace_pre_try_CXXFLAGS"
- CFLAGS="$ace_pre_try_CFLAGS"
-
-
-
-
- if test -f ${srcdir}/ace/config.h.conf; then
- mv ${srcdir}/ace/config.h.conf ${srcdir}/ace/config.h
- else
- rm ${srcdir}/ace/config.h
- fi
-
-
-fi
-
- echo "$ac_t""$ace_cv_lib_need_dev_io_conv" 1>&6
- if test "$ace_cv_lib_need_dev_io_conv" != no; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_NEEDS_DEV_IO_CONVERSION 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
-
- fi
-
-
-
-
-
-LD="$PURELINK $PRELINK $LD"
-
-
-if test "$no_x" != yes; then
- ACE_LIBDIR="${X_LIBS} -L\${libdir}"
-else
- ACE_LIBDIR='-L${libdir}'
-fi
-ACE_LIBS="${X_PRE_LIBS} ${ACE_XLIBS} ${X_EXTRA_LIBS} ${LIBS}"
-ACE_INCLUDEDIR='-I${includedir}'
-
-
-
-
-
-#TAO_LIBDIR='-L${libdir}'
-#TAO_LIBS="-lACE ${LIBS}"
-#TAO_INCLUDEDIR='-I${includedir}'
-#
-#AC_SUBST(TAO_LIBDIR)
-#AC_SUBST(TAO_LIBS)
-#AC_SUBST(TAO_INCLUDEDIR)
-
-
-
-
-trap '' 1 2 15
-cat > confcache <<\EOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs. It is not useful on other systems.
-# If it contains results you don't want to keep, you may remove or edit it.
-#
-# By default, configure uses ./config.cache as the cache file,
-# creating it if it does not exist already. You can give configure
-# the --cache-file=FILE option to use a different cache file; that is
-# what configure does when it calls configure scripts in
-# subdirectories, so they share the cache.
-# Giving --cache-file=/dev/null disables caching, for debugging configure.
-# config.status only pays attention to the cache file if you give it the
-# --recheck option to rerun configure.
-#
-EOF
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, don't put newlines in cache variables' values.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(set) 2>&1 |
- case `(ac_space=' '; set | grep ac_space) 2>&1` in
- *ac_space=\ *)
- # `set' does not quote correctly, so add quotes (double-quote substitution
- # turns \\\\ into \\, and sed turns \\ into \).
- sed -n \
- -e "s/'/'\\\\''/g" \
- -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
- ;;
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
- ;;
- esac >> confcache
-if cmp -s $cache_file confcache; then
- :
-else
- if test -w $cache_file; then
- echo "updating cache $cache_file"
- cat confcache > $cache_file
- else
- echo "not updating unwritable cache $cache_file"
- fi
-fi
-rm -f confcache
-
-trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Any assignment to VPATH causes Sun make to only execute
-# the first set of double-colon rules, so remove it if not needed.
-# If there is a colon in the path, we need to keep it.
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
-fi
-
-trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
-
-DEFS=-DHAVE_CONFIG_H
-
-# Without the "./", some shells look in PATH for config.status.
-: ${CONFIG_STATUS=./config.status}
-
-echo creating $CONFIG_STATUS
-rm -f $CONFIG_STATUS
-cat > $CONFIG_STATUS <<EOF
-#! /bin/sh
-# Generated automatically by configure.
-# Run this file to recreate the current configuration.
-# This directory was configured as follows,
-# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
-#
-# $0 $ac_configure_args
-#
-# Compiler output produced by configure, useful for debugging
-# configure, is in ./config.log if it exists.
-
-ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
-for ac_option
-do
- case "\$ac_option" in
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
- exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
- -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
- echo "$CONFIG_STATUS generated by autoconf version 2.13"
- exit 0 ;;
- -help | --help | --hel | --he | --h)
- echo "\$ac_cs_usage"; exit 0 ;;
- *) echo "\$ac_cs_usage"; exit 1 ;;
- esac
-done
-
-ac_given_srcdir=$srcdir
-ac_given_INSTALL="$INSTALL"
-
-trap 'rm -fr `echo "
- Makefile
- ace-config
- ace/Makefile
- apps/Makefile
- apps/gperf/Makefile
- apps/gperf/src/Makefile
- man/Makefile
- man/man3/Makefile
- netsvcs/Makefile
- netsvcs/clients/Makefile
- netsvcs/clients/Logger/Makefile
- netsvcs/clients/Naming/Makefile
- netsvcs/clients/Naming/Client/Makefile
- netsvcs/clients/Naming/Dump_Restore/Makefile
- netsvcs/clients/Tokens/Makefile
- netsvcs/clients/Tokens/collection/Makefile
- netsvcs/clients/Tokens/deadlock/Makefile
- netsvcs/clients/Tokens/invariant/Makefile
- netsvcs/clients/Tokens/manual/Makefile
- netsvcs/clients/Tokens/mutex/Makefile
- netsvcs/clients/Tokens/rw_lock/Makefile
- netsvcs/lib/Makefile
- netsvcs/servers/Makefile
- tests/Makefile
- ace/config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
-EOF
-cat >> $CONFIG_STATUS <<EOF
-
-# Protect against being on the right side of a sed subst in config.status.
-sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
- s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
-$ac_vpsub
-$extrasub
-s%@SHELL@%$SHELL%g
-s%@CFLAGS@%$CFLAGS%g
-s%@CPPFLAGS@%$CPPFLAGS%g
-s%@CXXFLAGS@%$CXXFLAGS%g
-s%@FFLAGS@%$FFLAGS%g
-s%@DEFS@%$DEFS%g
-s%@LDFLAGS@%$LDFLAGS%g
-s%@LIBS@%$LIBS%g
-s%@exec_prefix@%$exec_prefix%g
-s%@prefix@%$prefix%g
-s%@program_transform_name@%$program_transform_name%g
-s%@bindir@%$bindir%g
-s%@sbindir@%$sbindir%g
-s%@libexecdir@%$libexecdir%g
-s%@datadir@%$datadir%g
-s%@sysconfdir@%$sysconfdir%g
-s%@sharedstatedir@%$sharedstatedir%g
-s%@localstatedir@%$localstatedir%g
-s%@libdir@%$libdir%g
-s%@includedir@%$includedir%g
-s%@oldincludedir@%$oldincludedir%g
-s%@infodir@%$infodir%g
-s%@mandir@%$mandir%g
-s%@host@%$host%g
-s%@host_alias@%$host_alias%g
-s%@host_cpu@%$host_cpu%g
-s%@host_vendor@%$host_vendor%g
-s%@host_os@%$host_os%g
-s%@target@%$target%g
-s%@target_alias@%$target_alias%g
-s%@target_cpu@%$target_cpu%g
-s%@target_vendor@%$target_vendor%g
-s%@target_os@%$target_os%g
-s%@build@%$build%g
-s%@build_alias@%$build_alias%g
-s%@build_cpu@%$build_cpu%g
-s%@build_vendor@%$build_vendor%g
-s%@build_os@%$build_os%g
-s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
-s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
-s%@INSTALL_DATA@%$INSTALL_DATA%g
-s%@PACKAGE@%$PACKAGE%g
-s%@VERSION@%$VERSION%g
-s%@ACLOCAL@%$ACLOCAL%g
-s%@AUTOCONF@%$AUTOCONF%g
-s%@AUTOMAKE@%$AUTOMAKE%g
-s%@AUTOHEADER@%$AUTOHEADER%g
-s%@MAKEINFO@%$MAKEINFO%g
-s%@SET_MAKE@%$SET_MAKE%g
-s%@CC@%$CC%g
-s%@CPP@%$CPP%g
-s%@CXX@%$CXX%g
-s%@CXXCPP@%$CXXCPP%g
-s%@ACE_CROSS_COMPILED_TRUE@%$ACE_CROSS_COMPILED_TRUE%g
-s%@ACE_CROSS_COMPILED_FALSE@%$ACE_CROSS_COMPILED_FALSE%g
-s%@AWK@%$AWK%g
-s%@ACE_CURRENT@%$ACE_CURRENT%g
-s%@ACE_AGE@%$ACE_AGE%g
-s%@ACE_REVISION@%$ACE_REVISION%g
-s%@LN_S@%$LN_S%g
-s%@LEX@%$LEX%g
-s%@LEXLIB@%$LEXLIB%g
-s%@LEX_OUTPUT_ROOT@%$LEX_OUTPUT_ROOT%g
-s%@YACC@%$YACC%g
-s%@GPERF@%$GPERF%g
-s%@PROF@%$PROF%g
-s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
-s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
-s%@MAINT@%$MAINT%g
-s%@BUILD_OS_FILES_TRUE@%$BUILD_OS_FILES_TRUE%g
-s%@BUILD_OS_FILES_FALSE@%$BUILD_OS_FILES_FALSE%g
-s%@BUILD_UTILS_FILES_TRUE@%$BUILD_UTILS_FILES_TRUE%g
-s%@BUILD_UTILS_FILES_FALSE@%$BUILD_UTILS_FILES_FALSE%g
-s%@BUILD_LOGGING_FILES_TRUE@%$BUILD_LOGGING_FILES_TRUE%g
-s%@BUILD_LOGGING_FILES_FALSE@%$BUILD_LOGGING_FILES_FALSE%g
-s%@BUILD_THREADS_FILES_TRUE@%$BUILD_THREADS_FILES_TRUE%g
-s%@BUILD_THREADS_FILES_FALSE@%$BUILD_THREADS_FILES_FALSE%g
-s%@BUILD_DEMUX_FILES_TRUE@%$BUILD_DEMUX_FILES_TRUE%g
-s%@BUILD_DEMUX_FILES_FALSE@%$BUILD_DEMUX_FILES_FALSE%g
-s%@BUILD_CONNECTION_FILES_TRUE@%$BUILD_CONNECTION_FILES_TRUE%g
-s%@BUILD_CONNECTION_FILES_FALSE@%$BUILD_CONNECTION_FILES_FALSE%g
-s%@BUILD_SOCKETS_FILES_TRUE@%$BUILD_SOCKETS_FILES_TRUE%g
-s%@BUILD_SOCKETS_FILES_FALSE@%$BUILD_SOCKETS_FILES_FALSE%g
-s%@BUILD_IPC_FILES_TRUE@%$BUILD_IPC_FILES_TRUE%g
-s%@BUILD_IPC_FILES_FALSE@%$BUILD_IPC_FILES_FALSE%g
-s%@BUILD_SVCCONF_FILES_TRUE@%$BUILD_SVCCONF_FILES_TRUE%g
-s%@BUILD_SVCCONF_FILES_FALSE@%$BUILD_SVCCONF_FILES_FALSE%g
-s%@BUILD_STREAMS_FILES_TRUE@%$BUILD_STREAMS_FILES_TRUE%g
-s%@BUILD_STREAMS_FILES_FALSE@%$BUILD_STREAMS_FILES_FALSE%g
-s%@BUILD_MEMORY_FILES_TRUE@%$BUILD_MEMORY_FILES_TRUE%g
-s%@BUILD_MEMORY_FILES_FALSE@%$BUILD_MEMORY_FILES_FALSE%g
-s%@BUILD_TOKEN_FILES_TRUE@%$BUILD_TOKEN_FILES_TRUE%g
-s%@BUILD_TOKEN_FILES_FALSE@%$BUILD_TOKEN_FILES_FALSE%g
-s%@BUILD_OTHER_FILES_TRUE@%$BUILD_OTHER_FILES_TRUE%g
-s%@BUILD_OTHER_FILES_FALSE@%$BUILD_OTHER_FILES_FALSE%g
-s%@BUILD_FULL_LIBRARY_TRUE@%$BUILD_FULL_LIBRARY_TRUE%g
-s%@BUILD_FULL_LIBRARY_FALSE@%$BUILD_FULL_LIBRARY_FALSE%g
-s%@PURIFY@%$PURIFY%g
-s%@QUANTIFY@%$QUANTIFY%g
-s%@X_CFLAGS@%$X_CFLAGS%g
-s%@X_PRE_LIBS@%$X_PRE_LIBS%g
-s%@X_LIBS@%$X_LIBS%g
-s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
-s%@COMPILE_GPERF_TRUE@%$COMPILE_GPERF_TRUE%g
-s%@COMPILE_GPERF_FALSE@%$COMPILE_GPERF_FALSE%g
-s%@XTREACTOR_TEST_XLIBS@%$XTREACTOR_TEST_XLIBS%g
-s%@COMPILE_XTREACTOR_TEST_TRUE@%$COMPILE_XTREACTOR_TEST_TRUE%g
-s%@COMPILE_XTREACTOR_TEST_FALSE@%$COMPILE_XTREACTOR_TEST_FALSE%g
-s%@RANLIB@%$RANLIB%g
-s%@LD@%$LD%g
-s%@NM@%$NM%g
-s%@LIBTOOL@%$LIBTOOL%g
-s%@ALLOCA@%$ALLOCA%g
-s%@ACE_ON_PENTIUM_TRUE@%$ACE_ON_PENTIUM_TRUE%g
-s%@ACE_ON_PENTIUM_FALSE@%$ACE_ON_PENTIUM_FALSE%g
-s%@ACE_XLIBS@%$ACE_XLIBS%g
-s%@ACE_LIBDIR@%$ACE_LIBDIR%g
-s%@ACE_LIBS@%$ACE_LIBS%g
-s%@ACE_INCLUDEDIR@%$ACE_INCLUDEDIR%g
-
-CEOF
-EOF
-
-cat >> $CONFIG_STATUS <<\EOF
-
-# Split the substitutions into bite-sized pieces for seds with
-# small command number limits, like on Digital OSF/1 and HP-UX.
-ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
-ac_file=1 # Number of current file.
-ac_beg=1 # First line for current file.
-ac_end=$ac_max_sed_cmds # Line after last line for current file.
-ac_more_lines=:
-ac_sed_cmds=""
-while $ac_more_lines; do
- if test $ac_beg -gt 1; then
- sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
- else
- sed "${ac_end}q" conftest.subs > conftest.s$ac_file
- fi
- if test ! -s conftest.s$ac_file; then
- ac_more_lines=false
- rm -f conftest.s$ac_file
- else
- if test -z "$ac_sed_cmds"; then
- ac_sed_cmds="sed -f conftest.s$ac_file"
- else
- ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
- fi
- ac_file=`expr $ac_file + 1`
- ac_beg=$ac_end
- ac_end=`expr $ac_end + $ac_max_sed_cmds`
- fi
-done
-if test -z "$ac_sed_cmds"; then
- ac_sed_cmds=cat
-fi
-EOF
-
-cat >> $CONFIG_STATUS <<EOF
-
-CONFIG_FILES=\${CONFIG_FILES-"Makefile
- ace-config
- ace/Makefile
- apps/Makefile
- apps/gperf/Makefile
- apps/gperf/src/Makefile
- man/Makefile
- man/man3/Makefile
- netsvcs/Makefile
- netsvcs/clients/Makefile
- netsvcs/clients/Logger/Makefile
- netsvcs/clients/Naming/Makefile
- netsvcs/clients/Naming/Client/Makefile
- netsvcs/clients/Naming/Dump_Restore/Makefile
- netsvcs/clients/Tokens/Makefile
- netsvcs/clients/Tokens/collection/Makefile
- netsvcs/clients/Tokens/deadlock/Makefile
- netsvcs/clients/Tokens/invariant/Makefile
- netsvcs/clients/Tokens/manual/Makefile
- netsvcs/clients/Tokens/mutex/Makefile
- netsvcs/clients/Tokens/rw_lock/Makefile
- netsvcs/lib/Makefile
- netsvcs/servers/Makefile
- tests/Makefile
- "}
-EOF
-cat >> $CONFIG_STATUS <<\EOF
-for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
- # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
- case "$ac_file" in
- *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
- ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
- *) ac_file_in="${ac_file}.in" ;;
- esac
-
- # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
-
- # Remove last slash and all that follows it. Not all systems have dirname.
- ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
- if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
- # The file is in a subdirectory.
- test ! -d "$ac_dir" && mkdir "$ac_dir"
- ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
- # A "../" for each directory in $ac_dir_suffix.
- ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
- else
- ac_dir_suffix= ac_dots=
- fi
-
- case "$ac_given_srcdir" in
- .) srcdir=.
- if test -z "$ac_dots"; then top_srcdir=.
- else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
- /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
- *) # Relative path.
- srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
- top_srcdir="$ac_dots$ac_given_srcdir" ;;
- esac
-
- case "$ac_given_INSTALL" in
- [/$]*) INSTALL="$ac_given_INSTALL" ;;
- *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
- esac
-
- echo creating "$ac_file"
- rm -f "$ac_file"
- configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
- case "$ac_file" in
- *Makefile*) ac_comsub="1i\\
-# $configure_input" ;;
- *) ac_comsub= ;;
- esac
-
- ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
- sed -e "$ac_comsub
-s%@configure_input@%$configure_input%g
-s%@srcdir@%$srcdir%g
-s%@top_srcdir@%$top_srcdir%g
-s%@INSTALL@%$INSTALL%g
-" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
-fi; done
-rm -f conftest.s*
-
-# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
-# NAME is the cpp macro being defined and VALUE is the value it is being given.
-#
-# ac_d sets the value in "#define NAME VALUE" lines.
-ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
-ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
-ac_dC='\3'
-ac_dD='%g'
-# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
-ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
-ac_uB='\([ ]\)%\1#\2define\3'
-ac_uC=' '
-ac_uD='\4%g'
-# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
-ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
-ac_eB='$%\1#\2define\3'
-ac_eC=' '
-ac_eD='%g'
-
-if test "${CONFIG_HEADERS+set}" != set; then
-EOF
-cat >> $CONFIG_STATUS <<EOF
- CONFIG_HEADERS="ace/config.h"
-EOF
-cat >> $CONFIG_STATUS <<\EOF
-fi
-for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
- # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
- case "$ac_file" in
- *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
- ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
- *) ac_file_in="${ac_file}.in" ;;
- esac
-
- echo creating $ac_file
-
- rm -f conftest.frag conftest.in conftest.out
- ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
- cat $ac_file_inputs > conftest.in
-
-EOF
-
-# Transform confdefs.h into a sed script conftest.vals that substitutes
-# the proper values into config.h.in to produce config.h. And first:
-# Protect against being on the right side of a sed subst in config.status.
-# Protect against being in an unquoted here document in config.status.
-rm -f conftest.vals
-cat > conftest.hdr <<\EOF
-s/[\\&%]/\\&/g
-s%[\\$`]%\\&%g
-s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
-s%ac_d%ac_u%gp
-s%ac_u%ac_e%gp
-EOF
-sed -n -f conftest.hdr confdefs.h > conftest.vals
-rm -f conftest.hdr
-
-# This sed command replaces #undef with comments. This is necessary, for
-# example, in the case of _POSIX_SOURCE, which is predefined and required
-# on some systems where configure will not decide to define it.
-cat >> conftest.vals <<\EOF
-s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
-EOF
-
-# Break up conftest.vals because some shells have a limit on
-# the size of here documents, and old seds have small limits too.
-
-rm -f conftest.tail
-while :
-do
- ac_lines=`grep -c . conftest.vals`
- # grep -c gives empty output for an empty file on some AIX systems.
- if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
- # Write a limited-size here document to conftest.frag.
- echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
- sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
- echo 'CEOF
- sed -f conftest.frag conftest.in > conftest.out
- rm -f conftest.in
- mv conftest.out conftest.in
-' >> $CONFIG_STATUS
- sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
- rm -f conftest.vals
- mv conftest.tail conftest.vals
-done
-rm -f conftest.vals
-
-cat >> $CONFIG_STATUS <<\EOF
- rm -f conftest.frag conftest.h
- echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
- cat conftest.in >> conftest.h
- rm -f conftest.in
- if cmp -s $ac_file conftest.h 2>/dev/null; then
- echo "$ac_file is unchanged"
- rm -f conftest.h
- else
- # Remove last slash and all that follows it. Not all systems have dirname.
- ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
- if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
- # The file is in a subdirectory.
- test ! -d "$ac_dir" && mkdir "$ac_dir"
- fi
- rm -f $ac_file
- mv conftest.h $ac_file
- fi
-fi; done
-
-EOF
-cat >> $CONFIG_STATUS <<EOF
-
-
-EOF
-cat >> $CONFIG_STATUS <<\EOF
-test -z "$CONFIG_HEADERS" || echo timestamp > ace/stamp-h
-
- chmod 755 ace-config #TAO/tao-config
- echo ""
- echo "Configuration of ACE is now complete."
- echo ""
-
-exit 0
-EOF
-chmod +x $CONFIG_STATUS
-rm -fr confdefs* $ac_clean_files
-test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
-
-