summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure29276
1 files changed, 0 insertions, 29276 deletions
diff --git a/configure b/configure
deleted file mode 100755
index fb363093b32..00000000000
--- a/configure
+++ /dev/null
@@ -1,29276 +0,0 @@
-#! /bin/sh
-
-# From configure.in Revision 0.53
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-# serial 31 AC_PROG_LIBTOOL
-
-
-# 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_DISABLE_STATIC - set the default static flag to --disable-static
-
-
-# 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_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_SYS_NM_PARSE - Check for command ro grab the raw symbol name followed
-# by C symbol name from nm.
-
-
-# AC_SYS_LIBTOOL_CYGWIN32 - find tools needed on cygwin32
-
-
-# AC_SYS_SYMBOL_UNDERSCORE - does the compiler prefix global symbols
-# with an underscore?
-
-
-
-# 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.
-
-
-
-
-
-
-# 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-static[=PKGS] build static libraries [default=no]"
-ac_help="$ac_help
- --enable-shared[=PKGS] build shared libraries [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 force libtool not to do file locking"
-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
- --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]"
-
-# 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 cano
-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:759: 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:780: 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:798: 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:837: 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:890: 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:947: 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
-cat >> confdefs.h <<EOF
-#define PACKAGE "$PACKAGE"
-EOF
-
-cat >> confdefs.h <<EOF
-#define VERSION "$VERSION"
-EOF
-
-
-
-missing_dir=`cd $ac_aux_dir && pwd`
-echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
-echo "configure:993: 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:1006: 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:1019: 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:1032: 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:1045: 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:1067: 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:1091: 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:1121: 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:1172: 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:1204: 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 1215 "configure"
-#include "confdefs.h"
-
-main(){return(0);}
-EOF
-if { (eval echo configure:1220: \"$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:1246: 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:1251: 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 configu
- 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:1279: 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:1311: 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 1326 "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:1332: \"$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 1343 "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:1349: \"$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 1360 "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:1366: \"$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:1392: 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:1395: 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 eho configure:1407: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
- test -f conftest.o && { (eval echo configure:1408: \"$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:1413: \"$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:1415: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
- test -f conftest.o && { (eval echo configure:1416: \"$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:1448: 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:1480: 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 1491 "configure"
-#include "confdefs.h"
-
-int main(){return(0);}
-EOF
-if { (eval echo configure:1496: \"$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:1522: 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:1527: 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:1536: \"$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:1555: 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:1587: 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 1600 "configure"
-#include "confdefs.h"
-#include <stdlib.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1605: \"$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
- acenothinghere=""
- 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
- 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:1660: 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:1711: checking for AIX" >&5
-cat > conftest.$ac_ext <<EOF
-#line 1713 "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:1735: 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:1757: 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 1762 "configure"
-#include "confdefs.h"
-#include <minix/config.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1767: \"$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:1805: 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 1810 "configure"
-#include "confdefs.h"
-
-int main() {
-
-#ifndef __CYGWIN__
-#define __CYGWIN__ __CYGWIN32__
-#endif
-return __CYGWIN__;
-; return 0; }
-EOF
-if { (eval echo configure:1821: \"$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:1850: 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:1877: checking
-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:1910: 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:1944: 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 1952 "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:1966: \"$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:1989: 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:2010: 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 2022 "configure"
-#include "confdefs.h"
-`cat $LEX_OUTPUT_OOT.c`
-int main() {
-
-; return 0; }
-EOF
-if { (eval echo configure:2029: \"$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:2056: 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:2090: 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:2121: 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
-
-
-
-
-
-
-
-
- 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*)
- ;;
- *tandem*)
- ;;
- *unixware*)
- ;;
- *vxworks*)
- ;;
- *)
- CXXFLAGS="$CXXFLAGS"
- ACE_CXXFLAGS="$ACE_CXXFLAGS"
- DCXXFLAGS="-g"
- OCXXFLAGS="-O"
- ;;
- esac
-
-
-save_CC="$CC"
-CC="$CXX"
-
-# 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
-
-
-# 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
-
-# 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:2341: 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:2380: 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]:/*)
- # Canonicalize the path of ld
- re_direlt='/[^/][^/]*/\.\./'
- sub_uncdrive='s%^\([A-Za-z]\):/%//\1/%'
- while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
- ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
- done
- case "$host_os" in
- cygwin*)
- # Convert to a UNC path for cygwin
- test -z "$LD" && LD=`echo X$ac_prog | sed -e "1s/^X//" -e "$sub_uncdrive"`
- ;;
- *)
- test -z "$LD" && LD="$ac_prog"
- ;;
- esac
- ;;
- ##
- ## FIXME: The code fails later on if we try to use an $LD with
- ## '\\' path separators.
- ##
- [A-Za-z]:[\\]*)
- # Canonicalize the path of ld
- re_direlt='\\[^\\][^\\]*\\\.\.\(\\\)'
- sub_uncdrive='s%^\([A-Za-z]\):\\%//\1/%'
- sub_uncdir='s%\\%/%g'
- while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
- ac_prog=`echo $ac_prog| sed "s%$re_direlt%\1%"`
- done
- case "$host_os" in
- cygwin*)
- # Convert to a UNC path for cygwin
- test -z "$LD" && LD=`echo X$ac_prog | sed -e 's%^X%%' -e "$sub_uncdrive" -e "$sub_uncdir"`
- ;;
- *)
- test -z "$LD" && LD="$ac_prog"
- ;;
- esac
- ;;
- "")
- # 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:2434: checking for GNU ld" >&5
-else
- echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
-echo "configure:2437: 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}:"
- for ac_dir in $PATH; do
- test -z "$ac_dir" && ac_dir=.
- if test -f "$ac_dir/$ac_prog"; 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:2473: 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:2489: 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}:"
- for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/nm; 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 command to grab the raw symbol name followe
-echo $ac_n "checking command to parse $NM output""... $ac_c" 1>&6
-echo "configure:2527: checking command to parse $NM output" >&5
-if eval "test \"`echo '$''{'ac_cv_sys_global_symbol_pipe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- # These are sane defaults that work on at least a few old systems.
-# {They come from Ultrix. What could be older than Ultrix?!! ;)}
-
-# Character class describing NM global symbol codes.
-ac_symcode='[BCDEGRST]'
-
-# Regexp to match symbols that can be accessed directly from C.
-ac_sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
-
-# Transform the above into a raw symbol and a C symbol.
-ac_symxfrm='\1 \1'
-
-# Define system-specific variables.
-case "$host_os" in
-aix*)
- ac_symcode='[BCDT]'
- ;;
-cygwin32* | mingw32*)
- ac_symcode='[ABCDGISTW]'
- ;;
-irix*)
- ac_symcode='[BCDEGRST]'
- ;;
-solaris*)
- ac_symcode='[BDT]'
- ;;
-esac
-
-# If we're using GNU nm, then use its standard symbol codes.
-if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
- ac_symcode='[ABCDGISTW]'
-fi
-
-# Try without a prefix undercore, then with it.
-for ac_symprfx in "" "_"; do
-
- # Write the raw and C identifiers.
- # Unlike in ltconfig.in, we need $ac_symprfx before $ac_symxfrm here,
- # otherwise AC_SYS_SYMBOL_UNDERSCORE will always be false
- ac_cv_sys_global_symbol_pipe="sed -n -e 's/^.* $ac_symcode *$ac_symprfx$ac_sympat$/$ac_symprfx$ac_symxfrm/p'"
-
- # Check to see that the pipe works correctly.
- ac_pipe_works=no
- rm -f conftest.$ac_ext
- cat > conftest.$ac_ext <<EOF
-#ifdef __cplusplus
-extern "C" {
-#endif
-char nm_test_var;
-void nm_test_func(){}
-#ifdef __cplusplus
-}
-#endif
-int main(){nm_test_var='a';nm_test_func;return 0;}
-EOF
-
- if { (eval echo configure:2587: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- # Now try to grab the symbols.
- ac_nlist=conftest.nm
-
- if { (eval echo configure:2591: \"$NM conftest.$ac_objext \| $ac_cv_sys_global_symbol_pipe \> $ac_nlist\") 1>&5; (eval $NM conftest.$ac_objext \| $ac_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5; } && test -s "$ac_nlist"; then
-
- # Try sorting and uniquifying the output.
- if sort "$ac_nlist" | uniq > "$ac_nlist"T; then
- mv -f "$ac_nlist"T "$ac_nlist"
- else
- rm -f "$ac_nlist"T
- fi
-
- # Make sure that we snagged all the symbols we need.
- if egrep ' nm_test_var$' "$ac_nlist" >/dev/null; then
- if egrep ' nm_test_func$' "$ac_nlist" >/dev/null; then
- cat <<EOF > conftest.c
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-EOF
- # Now generate the symbol file.
- sed 's/^.* \(.*\)$/extern char \1;/' < "$ac_nlist" >> conftest.c
-
- cat <<EOF >> conftest.c
-#if defined (__STDC__) && __STDC__
-# define lt_ptr_t void *
-#else
-# define lt_ptr_t char *
-# define const
-#endif
-
-/* The mapping between symbol names and symbols. */
-const struct {
- const char *name;
- lt_ptr_t address;
-}
-lt_preloaded_symbols[] =
-{
-EOF
- sed 's/^\(.*\) \(.*\)$/ {"\1", (lt_ptr_t) \&\2},/' < "$ac_nlist" >> conftest.c
- cat <<\EOF >> conftest.c
- {0, (lt_ptr_t) 0}
-};
-
-#ifdef __cplusplus
-}
-#endif
-EOF
- # Now try linking the two files.
- mv conftest.$ac_objext conftestm.$ac_objext
- ac_save_LIBS="$LIBS"
- ac_save_CFLAGS="$CFLAGS"
- LIBS="conftestm.$ac_objext"
- CFLAGS="$CFLAGS$no_builtin_flag"
- if { (eval echo configure:2643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
- ac_pipe_works=yes
- else
- echo "configure: failed program was:" >&5
- cat conftest.c >&5
- fi
- LIBS="$ac_save_LIBS"
- CFLAGS="$ac_save_CFLAGS"
- else
- echo "cannot find nm_test_func in $ac_nlist" >&5
- fi
- else
- echo "cannot find nm_test_var in $ac_nlist" >&5
- fi
- else
- echo "cannot run $ac_cv_sys_global_symbol_pipe" >&5
- fi
- else
- echo "$progname: failed program was:" >&5
- cat conftest.c >&5
- fi
- rm -rf conftest*
-
- # Do not use the global_symbol_pipe unless it works.
- if test "$ac_pipe_works" = yes; then
- if test x"$ac_symprfx" = x"_"; then
- ac_cv_sys_symbol_underscore=yes
- else
- ac_cv_sys_symbol_underscore=no
- fi
- break
- else
- ac_cv_sys_global_symbol_pipe=
- fi
-done
-
-fi
-
-
-ac_result=yes
-if test -z "$ac_cv_sys_global_symbol_pipe"; then
- ac_result=no
-fi
-echo "$ac_t""$ac_result" 1>&6
-
-echo $ac_n "checking for _ prefix in compiled symbols""... $ac_c" 1>&6
-echo "configure:2689: checking for _ prefix in compiled symbols" >&5
-if eval "test \"`echo '$''{'ac_cv_sys_symbol_underscore'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- ac_cv_sys_symbol_underscore=no
-cat > conftest.$ac_ext <<EOF
-void nm_test_func(){}
-int main(){nm_test_func;return 0;}
-EOF
-if { (eval echo configure:2698: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- # Now try to grab the symbols.
- ac_nlist=conftest.nm
- if { (eval echo configure:2701: \"$NM conftest.$ac_objext \| $ac_cv_sys_global_symbol_pipe \> $ac_nlist\") 1>&5; (eval $NM conftest.$ac_objext \| $ac_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5; } && test -s "$ac_nlist"; then
- # See whether the symbols have a leading underscore.
- if egrep '^_nm_test_func' "$ac_nlist" >/dev/null; then
- ac_cv_sys_symbol_underscore=yes
- else
- if egrep '^nm_test_func ' "$ac_nlist" >/dev/null; then
- :
- else
- echo "configure: cannot find nm_test_func in $ac_nlist" >&5
- fi
- fi
- else
- echo "configure: cannot run $ac_cv_sys_global_symbol_pipe" >&5
- fi
-else
- echo "configure: failed program was:" >&5
- cat conftest.c >&5
-fi
-rm -rf conftest*
-
-fi
-
-echo "$ac_t""$ac_cv_sys_symbol_underscore" 1>&6
-USE_SYMBOL_UNDERSCORE=${ac_cv_sys_symbol_underscore=no}
-
-if test $host != $build; then
- ac_tool_prefix=${host_alias}-
-else
- ac_tool_prefix=
-fi
-
-# Always use our own libtool.
-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-
-# Check for any special flags to pass to ltconfig.
-libtool_flags=
-test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
-test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
-test "$silent" = yes && libtool_flags="$libtool_flags --silent"
-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"
-
-# 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 2748 "configure"' > conftest.$ac_ext
- if { (eval echo configure:2749: \"$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:2770: 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 2775 "configure"
-#include "confdefs.h"
-
-int main() {
-
-; return 0; }
-EOF
-if { (eval echo configure:2782: \"$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
- ;;
-
-*-*-cygwin32*)
- # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
-set dummy ${ac_tool_prefix}dlltool; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2805: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test -n "$DLLTOOL"; then
- ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
-else
- IFS="${IFS= }"; ac_save_ifs="$IS"; 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_DLLTOOL="${ac_tool_prefix}dlltool"
- break
- fi
- done
- IFS="$ac_save_ifs"
-fi
-fi
-DLLTOOL="$ac_cv_prog_DLLTOOL"
-if test -n "$DLLTOOL"; then
- echo "$ac_t""$DLLTOOL" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-if test -z "$ac_cv_prog_DLLTOOL"; then
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "dlltool", so it can be a program name with args.
-set dummy dlltool; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2837: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test -n "$DLLTOOL"; then
- ac_cv_prog_DLLTOOL="$DLLTOOL" # 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_DLLTOOL="dlltool"
- break
- fi
- done
- IFS="$ac_save_ifs"
- test -z "$ac_cv_prog_DLLTOOL" && ac_cv_prog_DLLTOOL="false"
-fi
-fi
-DLLTOOL="$ac_cv_prog_DLLTOOL"
-if test -n "$DLLTOOL"; then
- echo "$ac_t""$DLLTOOL" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-
-else
- DLLTOOL="false"
-fi
-fi
-
-# Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
-set dummy ${ac_tool_prefix}as; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2872: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test -n "$AS"; then
- ac_cv_prog_AS="$AS" # 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_AS="${ac_tool_prefix}as"
- break
- fi
- done
- IFS="$ac_save_ifs"
-fi
-fi
-AS="$ac_cv_prog_AS"
-if test -n "$AS"; then
- echo "$ac_t""$AS" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-if test -z "$ac_cv_prog_AS"; then
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "as", so it can be a program name with args.
-set dummy as; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2904: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test -n "$AS"; then
- ac_cv_prog_AS="$AS" # 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_AS="as"
- break
- fi
- done
- IFS="$ac_save_ifs"
- test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="false"
-fi
-fi
-AS="$ac_cv_prog_AS"
-if test -n "$AS"; then
- echo "$ac_t""$AS" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-
-else
- AS="false"
-fi
-fi
-
-
- ;;
-
-esac
-
-# enable the --disable-libtool-lock switch
-
-# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
-if test "${enable_libtool_lock+set}" = set; then
- enableval="$enable_libtool_lock"
- need_locks=$enableval
-else
- need_locks=yes
-fi
-
-
-if test x"$need_locks" = xno; then
- libtool_flags="$libtool_flags --disable-lock"
-fi
-
-
-# Actually configure libtool. ac_aux_dir is where install-sh is found.
-CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
-LD="$LD" NM="$NM" RANLIB="$RANLIB" LN_S="$LN_S" \
-DLLTOOL="$DLLTOOL" AS="$AS" \
-${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; }
-
-# This can be used to rebuild libtool when needed
-LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
-
-# 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"
-
-
-
-# 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
-
- 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:3241: 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:3303: 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_CXXFLAGS="$ACE_CXXFLAGS -features=rtti"
- ;;
- *)
- ;;
- 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:3538: 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 3600 "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:3605: \"$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 l
-
- 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 3674 "configure"
-#include "confdefs.h"
-
-int main() {
-${x_direct_test_function}()
-; return 0; }
-EOF
-if { (eval echo configure:3681: \"$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:3793: 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 3796 "configure"
-#include "confdefs.h"
-
-int main() {
-
-; return 0; }
-EOF
-if { (eval echo configure:3803: \"$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 3819 "configure"
-#include "confdefs.h"
-
-int main() {
-
-; return 0; }
-EOF
-if { (eval echo configure:3826: \"$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:3858: 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 3866 "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:3880: \"$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:3902: 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 3910 "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:3924: \"$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:3953: 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 3958 "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:3984: \"$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:4005: 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 4013 "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:4027: \"$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:4057: 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 4062 "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:4088: \"$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:4109: 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 4117 "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:4131: \"$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:4155: 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 4160 "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:4186: \"$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:4207: 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 > conf
-#line 4215 "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:4229: \"$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:4253: 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 4258 "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:4284: \"$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:4305: 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 4313 "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:4327: \"$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:4360: 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 4368 "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:4382: \"$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 --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
-
-
-# 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
- *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:4710: 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 4718 "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:4732: \"$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:4759: 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 4767 "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:4781: \"$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 dlopen""... $ac_c" 1>&6
-echo "configure:4830: checking for dlopen" >&5
-if eval "test \"`echo '$''{'ac_cv_func_dlopen'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 4835 "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:4861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_dlopen=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_dlopen=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'dlopen`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- ace_has_svr4_dynamic_linking=yes
-else
- echo "$ac_t""no" 1>&6
- echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
-echo "configure:4879: checking for dlopen in -ldl" >&5
-ac_lib_var=`echo dl'_'dlopen | 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="-ldl $LIBS"
-cat > conftest.$ac_ext <<EOF
-#line 4887 "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
-char dlopen();
-
-int main() {
-dlopen()
-; return 0; }
-EOF
-if { (eval echo configure:4901: \"$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_svr4_dynamic_linking=yes
- LIBS="$LIBS -ldl"
-
-else
- echo "$ac_t""no" 1>&6
-echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6
-echo "configure:4923: checking for dlopen in -lsvld" >&5
-ac_lib_var=`echo svld'_'dlopen | 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="-lsvld $LIBS"
-cat > conftest.$ac_ext <<EOF
-#line 4931 "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 dlopen();
-
-int main() {
-dlopen()
-; return 0; }
-EOF
-if { (eval echo configure:4945: \"$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_svr4_dynamic_linking=yes
- LIBS="$LIBS -lsvld"
-
-else
- echo "$ac_t""no" 1>&6
-echo $ac_n "checking for shl_get in -ldld""... $ac_c" 1>&6
-echo "configure:4967: 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 4975 "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:4989: \"$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
-
-fi
-
-fi
-
-
-echo $ac_n "checking for socket""... $ac_c" 1>&6
-echo "configure:5024: checking for socket" >&5
-if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 5029 "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 nme is an alias. */
-#if defined (__stub_socket) || defined (__stub___socket)
-choke me
-#else
-socket();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:5055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_socket=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_socket=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
- echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
-echo "configure:5073: checking for socket in -lsocket" >&5
-ac_lib_var=`echo socket'_'socket | 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 $LIBS"
-cat > conftest.$ac_ext <<EOF
-#line 5081 "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 socket();
-
-int main() {
-socket()
-; return 0; }
-EOF
-if { (eval echo configure:5095: \"$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 socket | sed -e 's/^a-zA-Z0-9_/_/g' \
- -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
- cat >> confdefs.h <<EOF
-#define $ac_tr_lib 1
-EOF
-
- LIBS="-lsocket $LIBS"
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-fi
-
-
-echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
-echo "configure:5126: 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 5131 "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:5157: \"$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
- echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
-echo "configure:5175: 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 5183 "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:5197: \"$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 nsl | sed -e 's/^a-zA-Z0-9_/_/g' \
- -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
- cat >> confdefs.h <<EOF
-#define $ac_tr_lib 1
-EOF
-
- LIBS="-lnsl $LIBS"
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-fi
-
-
-echo $ac_n "checking for getservbyname""... $ac_c" 1>&6
-echo "configure:5228: checking for getservbyname" >&5
-if eval "test \"`echo '$''{'ac_cv_func_getservbyname'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 5233 "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:5259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_getservbyname=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_getservbyname=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'getservbyname`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
- echo $ac_n "checking for getservbyname in -lxnet""... $ac_c" 1>&6
-echo "configure:5277: checking for getservbyname in -lxnet" >&5
-ac_lib_var=`echo xnet'_'getservbyname | 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="-lxnet $LIBS"
-cat > conftest.$ac_ext <<EOF
-#line 5285 "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 getservbyname();
-
-int main() {
-getservbyname()
-; return 0; }
-EOF
-if { (eval echo configure:5299: \"$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 xnet | sed -e 's/^a-zA-Z0-9_/_/g' \
- -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
- cat >> confdefs.h <<EOF
-#define $ac_tr_lib 1
-EOF
-
- LIBS="-lxnet $LIBS"
-
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_GETSERVBYNAME 1
-EOF
-
-fi
-
-fi
-
-
-echo $ac_n "checking for compile""... $ac_c" 1>&6
-echo "configure:5334: checking for compile" >&5
-if eval "test \"`echo '$''{'ac_cv_func_compile'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 5339 "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:5365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_compile=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_compile=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'compile`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
- echo $ac_n "checking for compile in -lgen""... $ac_c" 1>&6
-echo "configure:5383: checking for compile in -lgen" >&5
-ac_lib_var=`echo gen'_'compile | 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="-lgen $LIBS"
-cat > conftest.$ac_ext <<EOF
-#line 5391 "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 compile();
-
-int main() {
-compile()
-; return 0; }
-EOF
-if { (eval echo configure:5405: \"$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 gen | sed -e 's/^a-zA-Z0-9_/_/g' \
- -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
- cat >> confdefs.h <<EOF
-#define $ac_tr_lib 1
-EOF
-
- LIBS="-lgen $LIBS"
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-fi
-
-
-echo $ac_n "checking for exc_continue""... $ac_c" 1>&6
-echo "configure:5436: checking for exc_continue" >&5
-if eval "test \"`echo '$''{'ac_cv_func_exc_continue'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 5441 "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:5467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_exc_continue=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_exc_continue=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'exc_continue`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
- echo $ac_n "checking for exc_continue in -lexc""... $ac_c" 1>&6
-echo "configure:5485: checking for exc_continue in -lexc" >&5
-ac_lib_var=`echo exc'_'exc_continue | sed 'y%./+-%__p_%'`
-if eval "te
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- ac_save_LIBS="$LIBS"
-LIBS="-lexc $LIBS"
-cat > conftest.$ac_ext <<EOF
-#line 5493 "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 exc_continue();
-
-int main() {
-exc_continue()
-; return 0; }
-EOF
-if { (eval echo configure:5507: \"$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 exc | sed -e 's/^a-zA-Z0-9_/_/g' \
- -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
- cat >> confdefs.h <<EOF
-#define $ac_tr_lib 1
-EOF
-
- LIBS="-lexc $LIBS"
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-fi
-
-
-echo $ac_n "checking for ctime_r""... $ac_c" 1>&6
-echo "configure:5538: 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 5543 "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:5569: \"$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
- echo $ac_n "checking for ctime_r in -lc_r""... $ac_c" 1>&6
-echo "configure:5587: checking for ctime_r in -lc_r" >&5
-ac_lib_var=`echo c_r'_'ctime_r | 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="-lc_r $LIBS"
-cat > conftest.$ac_ext <<EOF
-#line 5595 "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 ctime_r();
-
-int main() {
-ctime_r()
-; return 0; }
-EOF
-if { (eval echo configure:5609: \"$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 c_r | sed -e 's/^a-zA-Z0-9_/_/g' \
- -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
- cat >> confdefs.h <<EOF
-#define $ac_tr_lib 1
-EOF
-
- LIBS="-lc_r $LIBS"
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-fi
-
-
-ace_has_tli_funcs=yes
-echo $ac_n "checking for t_accept""... $ac_c" 1>&6
-echo "configure:5641: checking or t_accept" >&5
-if eval "test \"`echo '$''{'ac_cv_func_t_accept'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 5646 "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:5672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_t_accept=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_t_accept=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'t_accept`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
- echo $ac_n "checking for t_accept in -lxti""... $ac_c" 1>&6
-echo "configure:5690: checking for t_accept in -lxti" >&5
-ac_lib_var=`echo xti'_'t_accept | 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="-lxti $LIBS"
-cat > conftest.$ac_ext <<EOF
-#line 5698 "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 t_accept();
-
-int main() {
-t_accept()
-; return 0; }
-EOF
-if { (eval echo configure:5712: \"$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 xti | sed -e 's/^a-zA-Z0-9_/_/g' \
- -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
- cat >> confdefs.h <<EOF
-#define $ac_tr_lib 1
-EOF
-
- LIBS="-lxti $LIBS"
-
-else
- echo "$ac_t""no" 1>&6
-echo $ac_n "checking for t_accept in -ltli_r""... $ac_c" 1>&6
-echo "configure:5738: checking for t_accept in -ltli_r" >&5
-ac_lib_var=`echo tli_r'_'t_accept | 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="-ltli_r $LIBS"
-cat > conftest.$ac_ext <<EOF
-#line 5746 "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 t_accept();
-
-int main() {
-t_accept()
-; return 0; }
-EOF
-if { (eval echo configure:5760: \"$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 tli_r | sed -e 's/^a-zA-Z0-9_/_/g' \
- -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
- cat >> confdefs.h <<EOF
-#define $ac_tr_lib 1
-EOF
-
- LIBS="-ltli_r $LIBS"
-
-else
- echo "$ac_t""no" 1>&6
-echo $ac_n "checking for t_accept in -ltli""... $ac_c" 1>&6
-echo "configure:5786: checking for t_accept in -ltli" >&5
-ac_lib_var=`echo tli'_'t_accept | 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="-ltli $LIBS"
-cat > conftest.$ac_ext <<EOF
-#line 5794 "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 t_accept();
-
-int main() {
-t_accept()
-; return 0; }
-EOF
-if { (eval echo configure:5808: \"$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 tli | sed -e 's/^a-zA-Z0-9_/_/g' \
- -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
- cat >> confdefs.h <<EOF
-#define $ac_tr_lib 1
-EOF
-
- LIBS="-ltli $LIBS"
-
-else
- echo "$ac_t""no" 1>&6
-echo $ac_n "checking for t_accept in -lnsl""... $ac_c" 1>&6
-echo "configure:5834: checking for t_accept in -lnsl" >&5
-ac_lib_var=`echo nsl'_'t_accept | 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 5842 "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 t_accept();
-
-int main() {
-t_accept()
-; return 0; }
-EOF
-if { (eval echo configure:5856: \"$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 nsl | sed -e 's/^a-zA-Z0-9_/_/g' \
- -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
- cat >> confdefs.h <<EOF
-#define $ac_tr_lib 1
-EOF
-
- LIBS="-lnsl $LIBS"
-
-else
- echo "$ac_t""no" 1>&6
-ace_has_tli_funcs=no
-fi
-
-fi
-
-fi
-
-fi
-
-fi
-
-
-ace_has_aio_funcs=yes
-echo $ac_n "checking for aio_read""... $ac_c" 1>&6
-echo "configure:5895: checking for aio_read" >&5
-if eval "test \"`echo '$''{'ac_cv_func_aio_read'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 5900 "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:5926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_aio_read=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_aio_read=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'aio_read`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
- echo $ac_n "checking for aio_read in -laio""... $ac_c" 1>&6
-echo "configure:5944: checking for aio_read in -laio" >&5
-ac_lib_var=`echo aio'_'aio_read | 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="-laio $LIBS"
-cat > conftest.$ac_ext <<EOF
-#line 5952 "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 aio_read();
-
-int main() {
-aio_read()
-; return 0; }
-EOF
-if { (eval echo configure:5966: \"$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 aio | sed -e 's/^a-zA-Z0-9_/_/g' \
- -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
- cat >> confdefs.h <<EOF
-#define $ac_tr_lib 1
-EOF
-
- LIBS="-laio $LIBS"
-
-else
- echo "$ac_t""no" 1>&6
-echo $ac_n "checking for aio_read in -lposix4""... $ac_c" 1>&6
-echo "configure:5992: checking for aio_read in -lposix4" >&5
-ac_lib_var=`echo posix4'_'aio_read | 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="-lposix4 $LIBS"
-cat > conftest.$ac_ext <<EOF
-#line 6000 "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 aio_read();
-
-int main() {
-aio_read()
-; return 0; }
-EOF
-if { (eval echo configure:6014: \"$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 posix4 | sed -e 's/^a-zA-Z0-9_/_/g' \
- -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
- cat >> confdefs.h <<EOF
-#define $ac_tr_lib 1
-EOF
-
- LIBS="-lposix4 $LIBS"
-
-else
- echo "$ac_t""no" 1>&6
-ace_has_aio_funcs=no
-fi
-
-fi
-
-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:6052: 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
-
-
-
- TEMPCXXFLAGS=""
- if test -n "$GXX"; then
- TEMPCXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -Werror"
- fi
-
-
-cat > conftest.$ac_ext <<EOF
-#line 6067 "configure"
-#include "confdefs.h"
-#ifdef __cplusplus
-extern "C"
-#endif
-
-#ifndef _REENTRANT
-#error _REENTRANT was not defined
-THROW ME AN ERROR!
-#endif
-
-char thr_create();
-
-int main() {
-
-thr_create();
-
-; return 0; }
-EOF
-if { (eval echo configure:6086: \"$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 6099 "configure"
-#include "confdefs.h"
-
-#include <pthread.h>
-
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:6106: \"$ac
-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 (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
- ace_real_function="pthread_create"
- fi
-cat > conftest.$ac_ext <<EOF
-#line 6139 "configure"
-#include "confdefs.h"
-#ifdef __cplusplus
-extern "C"
-#endif
-
-#ifndef _REENTRANT
-#error _REENTRANT was not defined
-THROW ME AN ERROR!
-#endif
-
-char $ace_real_function();
-
-int main() {
-
-$ace_real_function();
-
-; return 0; }
-EOF
-if { (eval echo configure:6158: \"$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*
-
-
- if test -n "$TEMPCXXFLAGS"; then
- CXXFLAGS="$TEMPCXXFLAGS"
- fi
-
-
-
-
-fi
-
- echo "$ac_t""$ace_cv_feature_may_need_thread_flag" 1>&6
- if test "$ace_cv_feature_may_need_thread_flag" = yes; then
- ace_just_a_place_holder=fixme
-
- ace_cv_feature_thread_flag_set=no
-
- save_CXXFLAGS="$CXXFLAGS"
- save_CFLAGS="$CFLAGS"
-
- CXXFLAGS="$CXXFLAGS -mt"
- CFLAGS="$CFLAGS -mt"
-
-
- echo $ac_n "checking if compiler can use -mt flag""... $ac_c" 1>&6
-echo "configure:6201: checking if compiler can use -mt flag" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_has_mt_flag'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
-
-
- TEMPCXXFLAGS=""
- if test -n "$GXX"; then
- TEMPCXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -Werror"
- fi
-
-
-cat > conftest.$ac_ext <<EOF
-#line 6216 "configure"
-#include "confdefs.h"
-#ifdef __cplusplus
-extern "C"
-#endif
-
-#ifndef _REENTRANT
-#error _REENTRANT was not defined
-THROW ME AN ERROR!
-#endif
-
-char thr_create();
-
-int main() {
-
-thr_create();
-
-; return 0; }
-EOF
-if { (eval echo configure:6235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
-
- ace_cv_feature_has_mt_flag=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
-
-
- cat > conftest.$ac_ext <<EOF
-#line 6248 "configure"
-#include "confdefs.h"
-
-#include <pthread.h>
-
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:6255: \"$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 (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
- ace_real_function="pthread_create"
- fi
-cat > conftest.$ac_ext <<EOF
-#line 6288 "configure"
-#include "confdefs.h"
-#ifdef __cplusplus
-extern "C"
-#endif
-
-#ifndef _REENTRANT
-#error _REENTRANT was not defined
-THROW ME AN ERROR!
-#endif
-
-char $ace_real_function();
-
-int main() {
-
-$ace_real_function();
-
-; return 0; }
-EOF
-if { (eval echo configure:6307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
-
- ace_cv_feature_has_mt_flag=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_feature_has_mt_flag=no
-
-fi
-rm -f conftest*
-
-
-fi
-rm -f conftest*
-
-
- if test -n "$TEMPCXXFLAGS"; then
- CXXFLAGS="$TEMPCXXFLAGS"
- fi
-
-
-
-
-fi
-
- echo "$ac_t""$ace_cv_feature_has_mt_flag" 1>&6
- if test "$ace_cv_feature_has_mt_flag" = yes; then
- ace_just_a_place_holder=fixme
-
- ace_cv_feature_thread_flag_set=yes
-
- else
- ace_just_a_place_holder=fixme
-
- CXXFLAGS="$save_CXXFLAGS"
- CFLAGS="$save_CFLAGS"
-
- fi
-
-
- if test "$ace_cv_feature_thread_flag_set" = no; then
-
- CXXFLAGS="$CXXFLAGS -pthread"
- CFLAGS="$CFLAGS -pthread"
-
-
- echo $ac_n "checking if compiler can use -pthread flag""... $ac_c" 1>&6
-echo "configure:6358: checking if compiler can use -pthread flag" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_has_pthread_flag'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
-
-
- TEMPCXXFLAGS=""
- if test -n "$GXX"; then
- TEMPCXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -Werror"
- fi
-
-
-cat > conftest.$ac_ext <<EOF
-#line 6373 "configure"
-#include "confdefs.h"
-#ifdef __cplusplus
-extern "C"
-#endif
-
-#ifndef _REENTRANT
-#error _REENTRANT was not defined
-THROW ME AN ERROR!
-#endif
-
-char thr_create();
-
-int main() {
-
-thr_create();
-
-; return 0; }
-EOF
-if { (eval echo configure:6392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
-
- ace_cv_feature_has_pthread_flag=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
-
-
- cat > conftest.$ac_ext <<EOF
-#line 6405 "configure"
-#include "confdefs.h"
-
-#include <pthread.h>
-
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:6412: \"$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 (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
- ace_real_function="pthread_create"
- fi
-cat > conftest.$ac_ext <<EOF
-#line 6445 "configure"
-#include "confdefs.h"
-#ifdef __cplusplus
-extern "C"
-#endif
-
-#ifndef _REENTRANT
-#error _REENTRANT was not defined
-THROW ME AN ERROR!
-#endif
-
-char $ace_real_function();
-
-int main() {
-
-$ace_real_function();
-
-; return 0; }
-EOF
-if { (eval echo configure:6464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
-
- ace_cv_feature_has_pthread_flag=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_feature_has_pthread_flag=no
-
-fi
-rm -f conftest*
-
-
-fi
-rm -f conftest*
-
-
- if test -n "$TEMPCXXFLAGS"; then
- CXXFLAGS="$TEMPCXXFLAGS"
- fi
-
-
-
-
-fi
-
- echo "$ac_t""$ace_cv_feature_has_pthread_flag" 1>&6
- if test "$ace_cv_feature_has_pthread_flag" = yes; then
- ace_just_a_place_holder=fixme
-
- ace_cv_feature_thread_flag_set=yes
-
- else
- ace_just_a_place_holder=fixme
-
- CXXFLAGS="$save_CXXFLAGS"
- CFLAGS="$save_CFLAGS"
-
- fi
-
-
- fi
- if test "$ace_cv_feature_thread_flag_set" = no; then
-
- CXXFLAGS="$CXXFLAGS -pthreads"
- CFLAGS="$CFLAGS -pthreads"
-
-
- echo $ac_n "checking if compiler can use -pthreads flag""... $ac_c" 1>&6
-echo "configure:6516: checking if compiler can use -pthreads flag" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_has_pthreads_flag'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
-
-
- TEMPCXXFLAGS=""
- if test -n "$GXX"; then
- TEMPCXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -Werror"
- fi
-
-
-cat > conftest.$ac_ext <<EOF
-#line 6531 "configure"
-#include "confdefs.h"
-#ifdef __cplusplus
-extern "C"
-#endif
-
-#ifndef _REENTRANT
-#error _REENTRANT was not defined
-THROW ME AN ERROR!
-#endif
-
-char thr_create();
-
-int main() {
-
-thr_create();
-
-; return 0; }
-EOF
-if { (eval echo configure:6550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
-
- ace_cv_feature_has_pthreads_flag=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
-
-
- cat > conftest.$ac_ext <<EOF
-#line 6563 "configure"
-#include "confdefs.h"
-
-#include <pthread.h>
-
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:6570: \"$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 (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
- ace_real_function="pthread_create"
- fi
-cat > conftest.$ac_ext <<EOF
-#line 6603 "configure"
-#include "confdefs.h"
-#ifdef __cplusplus
-extern "C"
-#endif
-
-#ifndef _REENTRANT
-#error _REENTRANT was not defined
-THROW ME AN ERROR!
-#endif
-
-char $ace_real_function();
-
-int main() {
-
-$ace_real_function();
-
-; return 0; }
-EOF
-if { (eval echo configure:6622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
-
- ace_cv_feature_has_pthreads_flag=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_feature_has_pthreads_flag=no
-
-fi
-rm -f conftest*
-
-
-fi
-rm -f conftest*
-
-
- if test -n "$TEMPCXXFLAGS"; then
- CXXFLAGS="$TEMPCXXFLAGS"
- fi
-
-
-
-
-fi
-
- echo "$ac_t""$ace_cv_feature_has_pthreads_flag" 1>&6
- if test "$ace_cv_feature_has_pthreads_flag" = yes; then
- ace_just_a_place_holder=fixme
-
- ace_cv_feature_thread_flag_set=yes
-
- else
- ace_just_a_place_holder=fixme
-
- CXXFLAGS="$save_CXXFLAGS"
- CFLAGS="$save_CFLAGS"
-
- fi
-
-
- fi
- if test "$ace_cv_feature_thread_flag_set" = no; then
-
- CXXFLAGS="$CXXFLAGS -mthreads"
- CFLAGS="$CXXFLAGS -mthreads"
-
-
- echo $ac_n "checking if compiler can use -mthreads flag""... $ac_c" 1>&6
-echo "configure:6674: checking if compiler can use -mthreads flag" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_has_mthreads_flag'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
-
-
- TEMPCXXFLAGS=""
- if test -n "$GXX"; then
- TEMPCXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -Werror"
- fi
-
-
-cat > conftest.$ac_ext <<EOF
-#line 6689 "configure"
-#include "confdefs.h"
-#ifdef __cplusplus
-extern "C"
-#endif
-
-#ifndef _REENTRANT
-#error _REENTRANT was not defined
-THROW ME AN ERROR!
-#endif
-
-char thr_create();
-
-int main() {
-
-thr_create();
-
-; return 0; }
-EOF
-if { (eval echo configure:6708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
-
- ace_cv_feature_has_mthreads_flag=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
-
-
- cat > conftest.$ac_ext <<EOF
-#line 6721 "configure"
-#include "confdefs.h"
-
-#include <pthread.h>
-
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:6728: \"$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 (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
- ace_real_function="pthread_create"
- fi
-cat > conftest.$ac_ext <<EOF
-#line 6761 "configure"
-#include "confdefs.h"
-#ifdef __cplusplus
-extern "C"
-#endif
-
-#ifndef _REENTRANT
-#error _REENTRANT was not defined
-THROW ME AN ERROR!
-#endif
-
-char $ace_real_function();
-
-int main() {
-
-$ace_real_function();
-
-; return 0; }
-EOF
-if { (eval echo configure:6780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
-
- ace_cv_feature_has_mthreads_flag=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_feature_has_mthreads_flag=no
-
-fi
-rm -f conftest*
-
-
-fi
-rm -f conftest*
-
-
- if test -n "$TEMPCXXFLAGS"; then
- CXXFLAGS="$TEMPCXXFLAGS"
- fi
-
-
-
-
-fi
-
- echo "$ac_t""$ace_cv_feature_has_mthreads_flag" 1>&6
- if test "$ace_cv_feature_has_mthreads_flag" = yes; then
- ace_just_a_place_holder=fixme
-
- ace_cv_feature_thread_flag_set=yes
-
- else
- ace_just_a_place_holder=fixme
-
- CXXFLAGS="$save_CXXFLAGS"
- CFLAGS="$save_CFLAGS"
-
- fi
-
-
- fi
- if test "$ace_cv_feature_thread_flag_set" = no; then
-
- CXXFLAGS="$CXXFLAGS -threads"
- CFLAGS="$CXXFLAGS -threads"
-
-
- echo $ac_n "checking if compiler can use -threads flag""... $ac_c" 1>&6
-echo "configure:6832: checking if compiler can use -threads flag" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_has_dash_threads_flag'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
-
-
- TEMPCXXFLAGS=""
- if test -n "$GXX"; then
- TEMPCXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -Werror"
- fi
-
-
-cat > conftest.$ac_ext <<EOF
-#line 6847 "configure"
-#include "confdefs.h"
-#ifdef __cplusplus
-extern "C"
-#endif
-
-#ifndef _REENTRANT
-#error _REENTRANT was not defined
-THROW ME AN ERROR!
-#endif
-
-char thr_create();
-
-int main() {
-
-thr_create();
-
-; return 0; }
-EOF
-if { (eval echo configure:6866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
-
- ace_cv_feature_has_dash_threads_flag=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
-
-
- cat > conftest.$ac_ext <<EOF
-#line 6879 "configure"
-#include "confdefs.h"
-
-#include <pthread.h>
-
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:6886: \"$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 (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
- ace_real_function="pthread_create"
-
-cat > conftest.$ac_ext <<EOF
-#line 6919 "configure"
-#include "confdefs.h"
-#ifdef __cplusplus
-extern "C"
-#endif
-
-#ifndef _REENTRANT
-#error _REENTRANT was not defined
-THROW ME AN ERROR!
-#endif
-
-char $ace_real_function();
-
-int main() {
-
-$ace_real_function();
-
-; return 0; }
-EOF
-if { (eval echo configure:6938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
-
- ace_cv_feature_has_dash_threads_flag=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_feature_has_dash_threads_flag=no
-
-fi
-rm -f conftest*
-
-
-fi
-rm -f conftest*
-
-
- if test -n "$TEMPCXXFLAGS"; then
- CXXFLAGS="$TEMPCXXFLAGS"
- fi
-
-
-
-
-fi
-
- echo "$ac_t""$ace_cv_feature_has_dash_threads_flag" 1>&6
- if test "$ace_cv_feature_has_dash_threads_flag" = yes; then
- ace_just_a_place_holder=fixme
-
- ace_cv_feature_thread_flag_set=yes
-
- else
- ace_just_a_place_holder=fixme
-
- CXXFLAGS="$save_CXXFLAGS"
- CFLAGS="$save_CFLAGS"
-
- fi
-
-
- fi
- else
- ace_just_a_place_holder=fixme
-
-
- fi
-
-
-
- ace_has_sthreads=no
-
- echo $ac_n "checking for thr_create""... $ac_c" 1>&6
-echo "configure:6994: checking for thr_create" >&5
-if eval "test \"`echo '$''{'ac_cv_func_thr_create'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 6999 "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:7025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_thr_create=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_thr_create=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'thr_create`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
- ace_has_sthreads=yes
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_STHREADS 1
-EOF
-
-
-else
- echo "$ac_t""no" 1>&6
-
- echo $ac_n "checking for thr_create in -lthread""... $ac_c" 1>&6
-echo "configure:7050: checking for thr_create in -lthread" >&5
-ac_lib_var=`echo thread'_'thr_create | 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="-lthread $LIBS"
-cat > conftest.$ac_ext <<EOF
-#line 7058 "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 thr_create();
-
-int main() {
-thr_create()
-; return 0; }
-EOF
-if { (eval echo configure:7072: \"$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_sthreads=yes
- LIBS="$LIBS -lthread"
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_STHREADS 1
-EOF
-
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-fi
-
-
-
-
- echo $ac_n "checking for pthreads backward compatibility macros""... $ac_c" 1>&6
-echo "configure:7106: 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 7112 "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
-
- ace_has_pthreads=no
-
-
-
-
- cat > conftest.$ac_ext <<EOF
-#line 7147 "configure"
-#include "confdefs.h"
-
-#include <pthread.h>
-
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:7154: \"$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:7190: 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:7197: 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 7202 "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:7228: \"$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
-echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
-echo "configure:7251: checking for pthread_create in -lpthread" >&5
-ac_lib_var=`echo pthread'_'pthread_create | 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 7259 "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 pthread_create();
-
-int main() {
-pthread_create()
-; return 0; }
-EOF
-if { (eval echo configure:7273: \"$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
-fi
-
-
- if test "$ace_has_pthreads" = no &&
- test "$ace_cv_lib_pthread_compat_macros" = yes; then
-
-
-
- cat > conftest.$ac_ext <<EOF
-#line 7307 "configure"
-#include "confdefs.h"
-
-#include <pthread.h>
-
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:7314: \"$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:7350: 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:7357: 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 7365 "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:7379: \"$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
-fi
-
-
- fi
- if test "$ace_has_pthreads" = no; then
- echo $ac_n "checking for pthread_create in -lpthreads""... $ac_c" 1>&6
-echo "configure:7409: checking for pthread_create in -lpthreads" >&5
-ac_lib_var=`echo pthreads'_'pthread_create | 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="-lpthreads $LIBS"
-cat > conftest.$ac_ext <<EOF
-#line 7417 "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 pthread_create();
-
-int main() {
-pthread_create()
-; return 0; }
-EOF
-if { (eval echo configure:7431: \"$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 -lpthreads"
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_PTHREADS 1
-EOF
-
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
- fi
- if test "$ace_has_pthreads" = no; then
- echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
-echo "configure:7461: checking for pthread_create in -lc_r" >&5
-ac_lib_var=`echo c_r'_'pthread_create | 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="-lc_r $LIBS"
-cat > conftest.$ac_ext <<EOF
-#line 7469 "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 pthread_create();
-
-int main() {
-pthread_create()
-; return 0; }
-EOF
-if { (eval echo configure:7483: \"$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 -lc_r"
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_PTHREADS 1
-EOF
-
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
- fi
- if test "$ace_has_pthreads" = no; then
- echo $ac_n "checking for pthread_create in -lgthreads""... $ac_c" 1>&6
-echo "configure:7513: checking for pthread_create in -lgthreads" >&5
-ac_lib_var=`echo gthreads'_'pthread_create | 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="-lgthreads $LIBS"
-cat > conftest.$ac_ext <<EOF
-#line 7521 "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 pthread_create();
-
-int main() {
-pthread_create()
-; return 0; }
-EOF
-if { (eval echo configure:7535: \"$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 confte
- 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 -lgthreads"
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_PTHREADS 1
-EOF
-
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
- 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 sched_yield""... $ac_c" 1>&6
-echo "configure:7575: checking for sched_yield" >&5
-if eval "test \"`echo '$''{'ac_cv_func_sched_yield'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 7580 "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:7606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_sched_yield=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_sched_yield=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'sched_yield`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- ace_has_sched_yield=yes
-else
- echo "$ac_t""no" 1>&6
- echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
-echo "configure:7624: checking for sched_yield in -lposix4" >&5
-ac_lib_var=`echo posix4'_'sched_yield | 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="-lposix4 $LIBS"
-cat > conftest.$ac_ext <<EOF
-#line 7632 "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 sched_yield();
-
-int main() {
-sched_yield()
-; return 0; }
-EOF
-if { (eval echo configure:7646: \"$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_sched_yield=yes
-else
- echo "$ac_t""no" 1>&6
-fi
-
-fi
-
-
-
-
-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:7676: 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 7681 "configure"
-#include "confdefs.h"
-#include <sys/types.h>
-#include <$ac_hdr>
-int main() {
-DIR *dirp = 0;
-; return 0; }
-EOF
-if { (eval echo configure:7689: \"$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 -r 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:7714: 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 7722 "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:7736: \"$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:7758: 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 7766 "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:7780: \"$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:7814: 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 7819 "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:7835: \"$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 "$am_cv_cygwin32" = 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:7859: 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 7864 "configure"
-#include "confdefs.h"
-#include <cygwin32/socket.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:7869: \"$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:7897: 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 7902 "configure"
-#include "confdefs.h"
-#include <dlfcn.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:7907: \"$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:7938: 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 7943 "configure"
-#include "confdefs.h"
-#include <malloc.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:7948: \"$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:7976: 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 7981 "configure"
-#include "confdefs.h"
-#include <memory.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:7986: \"$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:8014: 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 8019 "configure"
-#include "confdefs.h"
-#include <bytesex.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:8024: \"$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:8052: 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 8057 "configure"
-#include "confdefs.h"
-#include <sys/msg.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:8062: \"$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:8081: 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 8087 "configure"
-#include "confdefs.h"
-
-#include <sys/msg.h>
-
-int main() {
-
- struct msg ace_msg;
-
-; return 0; }
-EOF
-if { (eval echo configure:8098: \"$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 8109 "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:8123: \"$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" = yes; 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:8168: 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 8173 "confi
-#include "confdefs.h"
-#include <sys/param.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:8178: \"$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:8206: 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 8211 "configure"
-#include "confdefs.h"
-#include <sys/priocntl.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:8216: \"$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/procfs.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for sys/procfs.h""... $ac_c" 1>&6
-echo "configure:8240: 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 8245 "configure"
-#include "confdefs.h"
-#include <sys/procfs.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:8250: \"$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_PROC_FS 1
-EOF
-
-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:8277: 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 8282 "configure"
-#include "confdefs.h"
-#include <sys/select.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:8287: \"$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:8314: 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 8319 "configure"
-#include "confdefs.h"
-#include <netinet/tcp.h>
-EOF
-ac_try="$ac_cpp conftest.$acext >/dev/null 2>conftest.out"
-{ (eval echo configure:8324: \"$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:8352: 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 8357 "configure"
-#include "confdefs.h"
-#include <sys/sockio.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:8362: \"$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:8389: 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 8394 "configure"
-#include "confdefs.h"
-#include <sysent.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:8399: \"$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:8426: 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 8431 "configure"
-#include "confdefs.h"
-#include <sys/systeminfo.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:8436: \"$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:8459: 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 8464 "configure"
-#include "confdefs.h"
-#include <sys/filio.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:8469: \"$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:8496: 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 8501 "configure"
-#include "confdefs.h"
-#include <sys/uio.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:8506: \"$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:8529: 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 8534 "configure"
-#include "confdefs.h"
-#include <sys/ioctl.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:8539: \"$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:8566: 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 8571 "configure"
-#include "confdefs.h"
-#include <sys/types.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:8576: \"$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:8604: 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 8609 "configure"
-#include "confdefs.h"
-#include <sys/termios.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:8614: \"$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 8632 "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:8669: 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 8674 "configure"
-#include "confdefs.h"
-#include <xti.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:8679: \"$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:8713: 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 8718 "configure"
-#include "confdefs.h"
-#include <sys/xti.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:8723: \"$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:8761: 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 8766 "configure"
-#include "confdefs.h"
-#include <sys/timod.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:8771: \"$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
-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:8798: 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 8803 "configure"
-#include "confdefs.h"
-#include <tli/timod.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:8808: \"$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:8840: 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 8845 "configure"
-#include "confdefs.h"
-#include <tiuser.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:8850: \"$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:8885: 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 8891 "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" = yes; 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:8927: 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 8932 "configure"
-#include "confdefs.h"
-#include <xliuser.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:8937: \"$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:8973: 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 8979 "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" = yes; 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:9044: 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 9050 "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" = yes; then
- ace_just_a_place_holder=fixme
-
- echo $ac_n "checking for _terrno""... $ac_c" 1>&6
-echo "configure:9110: checking for _terrno" >&5
-if eval "test \"`echo '$''{'ac_cv_func__terrno'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 9115 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char _terrno(); 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 _terrno();
-
-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__terrno) || defined (__stub____terrno)
-choke me
-#else
-_terrno();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:9141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func__terrno=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func__terrno=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'_terrno`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_BROKEN_T_ERRNO 1
-EOF
-
-fi
-
-
- 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:9179: 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 9184 "configure"
-#include "confdefs.h"
-#include <sys/time.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:9189: \"$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 9207 "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:9233: 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 9238 "configure"
-#include "confdefs.h"
-#include <sys/mman.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:9243: \"$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 9261 "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:9293: 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 9298 "configure"
-#include "confdefs.h"
-#include <bstring.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:9303: \"$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 9321 "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:9345: 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 9350 "configure"
-#include "confdefs.h"
-#include <strings.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:9355: \"$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 9373 "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:9397: 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 9402 "configure"
-#include "confdefs.h"
-#include <sys/syscall.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:9407: \"$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:9434: 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 9439 "configure"
-#include "confdefs.h"
-#include <poll.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:9444: \"$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:9473: 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 9478 "configure"
-#include "confdefs.h"
-#include <$ac_hdr
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:9483: \"$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:9511: 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 9516 "configure"
-#include "confdefs.h"
-#include <regexpr.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:9521: \"$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:9548: 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 9553 "configure"
-#include "confdefs.h"
-#include <stropts.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:9558: \"$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:9585: 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 9590 "configure"
-#include "confdefs.h"
-#include <siginfo.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:9595: \"$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:9623: 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 9628 "configure"
-#include "confdefs.h"
-#includ <unistd.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:9633: \"$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 "ucontext.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for ucontext.h""... $ac_c" 1>&6
-echo "configure:9661: 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 9666 "configure"
-#include "confdefs.h"
-#include <ucontext.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:9671: \"$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 "utime.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for utime.h""... $ac_c" 1>&6
-echo "configure:9699: 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 9704 "configure"
-#include "confdefs.h"
-#include <utime.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:9709: \"$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:9737: 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 9742 "configure"
-#include "confdefs.h"
-#include <libc.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:9747: \"$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:9774: 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 9779 "configure"
-#include "confdefs.h"
-#include <osfcn.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:9784: \"$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:9811: 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 9816 "configure"
-#include "confdefs.h"
-#include <new>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:9821: \"$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:9846: 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 9851 "configure"
-#include "confdefs.h"
-#include <new.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:9856: \"$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:9886: 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 9891 "configure"
-#include "confdefs.h"
-#include <stdexcept>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:9896: \"$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:9921: 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 9926 "configure"
-#include "confdefs.h"
-#include <exception.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:9931: \"$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:9961: 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 9966 "configure"
-#include "confdefs.h"
-#include <iomanip>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:9971: \"$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:9998: 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 10003 "configure"
-#include "confdefs.h"
-#include <cstring>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:10008: \"$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 "auto_ptr" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for auto_ptr""... $ac_c" 1>&6
-echo "configure:10035: checking for auto_ptr" >&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 10040 "configure"
-#include "confdefs.h"
-#include <auto_ptr>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:10045: \"$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:10068: 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 10073 "configure"
-#include "confdefs.h"
-#include <map>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:10078: \"$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 conf
- 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:10097: 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 10102 "configure"
-#include "confdefs.h"
-#include <net/if.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:10107: \"$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:10126: 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 10132 "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:10147: \"$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" = yes; 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:10188: 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 10193 "configure"
-#include "confdefs.h"
-#include <queue>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:10198: \"$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:10217: 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 10222 "configure"
-#include "confdefs.h"
-#include <netinet/in.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:10227: \"$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_cvheader_'$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:10246: 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 10252 "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:10267: \"$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" = yes; 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:10310: 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 10315 "configure"
-#include "confdefs.h"
-#include <$ac_hdr>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:10320: \"$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:10353: 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 10358 "configure"
-#include "confdefs.h"
-#include <iostream.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:10363: \"$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:10381: 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 10386 "configure"
-#include "confdefs.h"
-#include <fstream.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:10391: \"$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 if platform needs sched.h for thread scheduling definitions""... $ac_c" 1>&6
-echo "configure:10427: checking if platform needs 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 10433 "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" = yes; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define ACE_LACKS_SCHED_H 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
- fi
-
-
-
- echo $ac_n "checking if platform needs regexpr.h for regular expression support""... $ac_c" 1>&6
-echo "configure:10468: checking if platform needs 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 10474 "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 10492 "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" = yes; 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
-
-
-
- TEMPCXXFLAGS=""
- if test -n "$GXX"; then
- TEMPCXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -Werror"
- fi
-
-
-
- echo $ac_n "checking if sprintf() returns char*""... $ac_c" 1>&6
-echo "configure:10539: 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 10545 "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:10563: \"$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" = yes; 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
-
-
-
- if test -n "$TEMPCXXFLAGS"; then
- CXXFLAGS="$TEMPCXXFLAGS"
- fi
-
-
-
- echo $ac_n "checking for getopt() prototype""... $ac_c" 1>&6
-echo "configure:10600: 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 10606 "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 10620 "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" = yes; 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
-
-
-
- TEMPCXXFLAGS=""
- if test -n "$GXX"; then
- TEMPCXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -Werror"
- fi
-
-
-
- echo $ac_n "checking for old malloc() prototype""... $ac_c" 1>&6
-echo "configure:10668: 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 10674 "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:10689: \"$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" = yes; 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
-
-
-
- if test -n "$TEMPCXXFLAGS"; then
- CXXFLAGS="$TEMPCXXFLAGS"
- fi
-
-
-
- echo $ac_n "checking for *_timedwait() prototypes""... $ac_c" 1>&6
-echo "configure:10726: 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 10732 "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 10746 "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" = yes; 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:10786: 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 10792 "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
-
- 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:10828: 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 10834 "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" = yes; 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:10869: 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 10875 "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 10884 "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" = yes; 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:10929: 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 10935 "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" = yes; 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:10971: 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 10976 "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 fies""... $ac_c" 1>&6
-echo "configure:11005: 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 11010 "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:11018: \"$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 11035 "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 11053 "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 11074 "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:11088: \"$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:11112: 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 11117 "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:11145: 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 11150 "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:11178: 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 11183 "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:11211: 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 11216 "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:11248: 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 11254 "configure"
-#include "confdefs.h"
-
-#include <signal.h>
-
-int main() {
-
- idtype_t ace_idtype_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:11265: \"$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" = yes; 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:11298: 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 11304 "configure"
-#include "confdefs.h"
-
-#include <semaphore.h>
-
-int main() {
-
- sem_t ace_sem_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:11315: \"$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" = yes; 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:11345: 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 11351 "configure"
-#include "confdefs.h"
-
-#include <sys/types.h>
-
-int main() {
-
- key_t ace_key_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:11362: \"$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" = yes; 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:11396: 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 11402 "configure"
-#include "confdefs.h"
-
-#include <sys/types.h>
-
-int main() {
-
- ssize_t ace_ssize_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:11413: \"$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" = yes; 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:11446: 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 11452 "configure"
-#include "confdefs.h"
-
-#include <sys/types.h>
-
-int main() {
-
- u_longlong_t ace_u_longlong_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:11463: \"$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" = yes; 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:11497: 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 11503 "configure"
-#include "confdefs.h"
-
-#include <sys/types.h>
-
-int main() {
-
- pri_t ace_pri_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:11514: \"$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" = yes; 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:11548: 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 11554 "configure"
-#include "confdefs.h"
-
-#include <sys/socket.h>
-
-int main() {
-
- socklen_t ace_socklen_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:11565: \"$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" = yes; 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
-echo "configure:11598: 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 11604 "configure"
-#include "confdefs.h"
-
-#include <ucontext.h>
-
-int main() {
-
- ucontext_t ace_ucontext_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:11615: \"$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" = yes; 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:11648: 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 11654 "configure"
-#include "confdefs.h"
-
-#include <wchar.h>
-
-int main() {
-
- wchar_t ace_wchar_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:11665: \"$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" = yes; 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:11695: 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 11701 "configure"
-#include "confdefs.h"
-
-#include <sys/types.h>
-
-int main() {
-
- wchar_t ace_wchar_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:11712: \"$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" = yes; 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:11749: 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 11755 "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:11769: \"$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" = yes; 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:11804: 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 11812 "configure"
-#include "confdefs.h"
-
-#include <fcntl.h>
-
-int main() {
-
- struct flock ace_flock;
-
-; return 0; }
-EOF
-if { (eval echo configure:11823: \"$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 11836 "configure"
-#include "confdefs.h"
-
-#include <fcntl.h>
-
-int main() {
-
- flock ace_flock;
-
-; return 0; }
-EOF
-if { (eval echo configure:11847: \"$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" = yes; 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:11890: 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 11898 "configure"
-#include "confdefs.h"
-
-#include <synch.h>
-
-int main() {
-
- struct rwlock_t ace_rwlock_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:11909: \"$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 11922 "configure"
-#include "confdefs.h"
-
-#include <synch.h>
-
-int main() {
-
- rwlock_t ace_rwlock_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:11933: \"$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" = yes; 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:11976: 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 11984 "configure"
-#include "confdefs.h"
-
-#include <stropts.h>
-
-int main() {
-
- struct strbuf ace_strbuf;
-
-; return 0; }
-EOF
-if { (eval echo configure:11995: \"$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 12008 "configure"
-#include "confdefs.h"
-
-#include <stropts.h>
-
-int main() {
-
- strbuf ace_strbuf;
-
-; return 0; }
-EOF
-if { (eval echo configure:12019: \"$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" = yes; 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:12061: 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 12069 "configure"
-#include "confdefs.h"
-
-#include <sys/msg.h>
-
-int main() {
-
- struct msgbuf ace_msgbuf;
-
-; return 0; }
-EOF
-if { (eval echo configure:12080: \"$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 12093 "configure"
-#include "confdefs.h"
-
-#include <sys/msg.h>
-
-int main() {
-
- msgbuf ace_msgbuf;
-
-; return 0; }
-EOF
-if { (eval echo configure:12104: \"$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" = yes; 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:12151: 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 12159 "configure"
-#include "confdefs.h"
-
-#include <sys/procfs.h>
-
-int main() {
-
- struct prusage_t ace_prusage_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:12170: \"$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 12183 "configure"
-#include "confdefs.h"
-
-#include <sys/procfs.h>
-
-int main() {
-
- prusage_t ace_prusage_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:12194: \"$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" = yes; 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:12238: 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 12246 "configure"
-#include "confdefs.h"
-
-#include <stropts.h>
-
-int main() {
-
- struct strrecvfd ace_strrecvfd;
-
-; return 0; }
-EOF
-if { (eval echo configure:12257: \"$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 12270 "configure"
-#include "confdefs.h"
-
-#include <stropts.h>
-
-int main() {
-
- strrecvfd ace_strrecvfd;
-
-; return 0; }
-EOF
-if { (eval echo configure:12281: \"$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" = yes; 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:12324: 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 12332 "configure"
-#include "confdefs.h"
-
-#include <sys/sem.h>
-
-int main() {
-
- struct sembuf ace_sembuf;
-
-; return 0; }
-EOF
-if { (eval echo configure:12343: \"$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 12356 "configure"
-#include "confdefs.h"
-
-#include <sys/sem.h>
-
-int main() {
-
- sembuf ace_sembuf;
-
-; return 0; }
-EOF
-if { (eval echo configure:12367: \"$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" = yes; 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:12410: 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 12418 "configure"
-#include "confdefs.h"
-
-#include <signal.h>
-
-int main() {
-
- struct sigaction ace_sigaction;
-
-; return 0; }
-EOF
-if { (eval echo configure:12429: \"$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 12442 "configure"
-#include "confdefs.h"
-
-#include <signal.h>
-
-int main() {
-
- sigaction ace_sigaction;
-
-; return 0; }
-EOF
-if { (eval echo configure:12453: \"$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" = yes; then
- ace_just_a_place_holder=fixme
-:
- else
- ace_just_a_place_holder=fixme
-cat
-#define ACE_LACKS_SIGACTION 1
-EOF
-
- fi
-
-
-
-
-
-
- echo $ac_n "checking for struct sigset_t in signal.h""... $ac_c" 1>&6
-echo "configure:12496: 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 12504 "configure"
-#include "confdefs.h"
-
-#include <signal.h>
-
-int main() {
-
- struct sigset_t ace_sigset_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:12515: \"$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 12528 "configure"
-#include "confdefs.h"
-
-#include <signal.h>
-
-int main() {
-
- sigset_t ace_sigset_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:12539: \"$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" = yes; 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:12582: 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 12590 "configure"
-#include "confdefs.h"
-
-#include <sys/utsname.h>
-
-int main() {
-
- struct utsname ace_utsname;
-
-; return 0; }
-EOF
-if { (eval echo configure:12601: \"$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 12614 "configure"
-#include "confdefs.h"
-
-#include <sys/utsname.h>
-
-int main() {
-
- utsname ace_utsname;
-
-; return 0; }
-EOF
-if { (eval echo configure:12625: \"$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" = yes; 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:12666: 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 12674 "configure"
-#include "confdefs.h"
-
-#include <siginfo.h>
-
-int main() {
-
- struct siginfo_t ace_siginfo_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:12685: \"$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 12698 "configure"
-#include "confdefs.h"
-
-#include <siginfo.h>
-
-int main() {
-
- siginfo_t ace_siginfo_t;
-
-; return 0; }
-EOF
-if { (eval eho configure:12709: \"$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 12725 "configure"
-#include "confdefs.h"
-
-#include <signal.h>
-
-int main() {
-
- struct siginfo_t ace_siginfo_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:12736: \"$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 12749 "configure"
-#include "confdefs.h"
-
-#include <signal.h>
-
-int main() {
-
- siginfo_t ace_siginfo_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:12760: \"$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" = yes; 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:12809: 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 12815 "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:12829: \"$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" = yes; 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:12860: 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 12866 "configure"
-#include "confdefs.h"
-
-#include <pthread.h>
-
-int main() {
-
- pthread_cond_t ace_pthread_cond_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:12877: \"$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 12888 "configure"
-#include "confdefs.h"
-
-#include <synch.h>
-
-int main() {
-
- cond_t ace_cond_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:12899: \"$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" = yes; 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:12934: 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 12940 "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:12955: \"$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 12966 "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:12981: \"$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:12987: 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 12993 "configure"
-#include "confdefs.h"
-
-#include <sys/timers.h>
-
-int main() {
-
- timespec sr;
-
-; return 0; }
-EOF
-if { (eval echo configure:13004: \"$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" = yes; 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" = yes; 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:13068: 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 13074 "configure"
-#include "confdefs.h"
-
-#include <sys/timers.h>
-
-int main() {
-
- timespec sr;
-
-; return 0; }
-EOF
-if { (eval echo configure:13085: \"$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" = yes; 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:13119: 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 13125 "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:13140: \"$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" = yes; 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:13172: 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 13178 "configure"
-#include "confdefs.h"
-
-#ifndef ACE_LACKS_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-#include <sys/sem.h>
-
-int main() {
-
- semun us;
-
-; return 0; }
-EOF
-if { (eval echo configure:13192: \"$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" = yes; 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:13224: 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 13230 "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:13247: \"$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" = yes; 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:13278: 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 13284 "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; }
-EO
-if { (eval echo configure:13303: \"$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" = yes; 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:13335: 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 13341 "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:13356: \"$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" = yes; 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:13388: 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 13394 "configure"
-#include "confdefs.h"
-
-#ifndef ACE_LACKS_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-qQqq#include <netinet/in.h>
-
-int main() {
-
- sockaddr_in ace_sin;
- ace_sin.sin_len = sizeof(ace_sin);
-
-; return 0; }
-EOF
-if { (eval echo configure:13409: \"$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" = yes; 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:13440: 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 13446 "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:13463: \"$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" = yes; 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:13494: 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 13500 "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:13515: \"$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" = yes; 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:13546: 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 13552 "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:13567: \"$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" = yes; 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:13593: 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 13598 "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:13624: \"$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
-
-
-
-
- TEMPCXXFLAGS=""
- if test -n "$GXX"; then
- TEMPCXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -Werror"
- fi
-
-
-
- echo $ac_n "checking if compiler accepts \"pragma once\" directive""... $ac_c" 1>&6
-echo "configure:13662: 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 13668 "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:13679: \"$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" = yes; 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
-
-
-
- if test -n "$TEMPCXXFLAGS"; then
- CXXFLAGS="$TEMPCXXFLAGS"
- fi
-
-
-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:13722: 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 13728 "configure"
-#include "confdefs.h"
-
-int main() {
-int a = 0;
-; return 0; }
-EOF
-if { (eval echo configure:13735: \"$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" = yes; then
- ace_just_a_place_holder=fixme
-
-
- else
- ace_just_a_place_holder=fixme
-
- CXXFLAGS="$PREPIPECXXFLAGS"
- CFLAGS="$PREPIPECFLAGS"
-
- fi
-
-fi
-
-
-echo $ac_n "checking for inline""... $ac_c" 1>&6
-echo "configure:13769: checking for inline" >&5
-if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- ac_cv_c_inline=no
-for ac_kw in inline __inline__ __inline; do
- cat > conftest.$ac_ext <<EOF
-#line 13776 "configure"
-#include "confdefs.h"
-
-int main() {
-} $ac_kw foo() {
-; return 0; }
-EOF
-if { (eval echo configure:13783: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- ac_cv_c_inline=$ac_kw; break
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
-fi
-rm -f conftest*
-done
-
-fi
-
-echo "$ac_t""$ac_cv_c_inline" 1>&6
-case "$ac_cv_c_inline" in
- inline | yes) ;;
- no) cat >> confdefs.h <<\EOF
-#define inline
-EOF
- ;;
- *) cat >> confdefs.h <<EOF
-#define inline $ac_cv_c_inline
-EOF
- ;;
-esac
-
-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:13817: 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 13824 "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:13835: \"$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 13839 "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:13850: \"$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 13870 "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:13886: \"$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:13914: 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 13922 "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:13936: \"$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:13962: 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 13970 "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:13984: \"$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:14010: 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 14018 "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:14032: \"$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:"
- 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:14058: 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 14066 "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:14080: \"$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:14111: 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 14119 "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:14133: \"$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:14159: 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 14167 "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:14181: \"$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:14212: 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 14220 "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:14234: \"$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:14265: 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 14273 "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:14287: \"$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:14325: 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 14333 "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:14347: \"$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 working C++ explicit template destructors""... $ac_c" 1>&6
-echo "configure:14376: 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 14382 "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:14429: \"$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" = yes; 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 C++ \"using\" keyword support""... $ac_c" 1>&6
-echo "configure:14460: 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 14466 "configure"
-#include "confdefs.h"
-
-#include <iostream.h>
-
-int main() {
-
- using namespace std;
-
-; return 0; }
-EOF
-if { (eval echo configure:14477: \"$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" = yes; 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 C++ standard namespace""... $ac_c" 1>&6
-echo "configure:14508: 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 14514 "configure"
-#include "confdefs.h"
-
-#include <vector.h>
-
-int main() {
-
- std::vector< int > iv;
-
-; return 0; }
-EOF
-if { (eval echo configure:14525: \"$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" = yes; 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 new style C++ include file support""... $ac_c" 1>&6
-echo "configure:14556: 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 14564 "configure"
-#include "confdefs.h"
-
-#include <string>
-
-int main() {
-
- std::string str;
-
-; return 0; }
-EOF
-if { (eval echo configure:14575: \"$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 14585 "configure"
-#include "confdefs.h"
-
-#include <string>
-
-int main() {
-
- string str;
-
-; return 0; }
-EOF
-if { (eval echo configure:14596: \"$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" = yes; 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
-
-
-
- echo $ac_n "checking for ANSI C++ cast support""... $ac_c" 1>&6
-echo "configure:14628: 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
-
- cat > conftest.$ac_ext <<EOF
-#line 14634 "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:14659: \"$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 14676 "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:14697: \"$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*
-
-fi
-
- echo "$ac_t""$ace_cv_lib_posix_standard_casts" 1>&6
- if test "$ace_cv_lib_posix_standard_casts" = yes; then
- ace_just_a_place_holder=fixme
-
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_ANSI_CASTS 1
-EOF
-
- if test "$ace_cv_lib_rtti" = no; then
- cat >> confdefs.h <<\EOF
-#define ACE_LACKS_RTTI 1
-EOF
-
- fi
-
- else
- ace_just_a_place_holder=fixme
- fi
-
-
-
- echo $ac_n "checking if platform supports explicit template instantiation""... $ac_c" 1>&6
-echo "configure:14745: checking if platform supports explicit template instantiatio
- 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 14751 "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:14770: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; 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" = yes; 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 if platform supports pragma template instantiation""... $ac_c" 1>&6
-echo "configure:14801: checking if platform supports 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 14807 "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:14826: \"$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" = yes; 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 on platform""... $ac_c" 1>&6
-echo "configure:14860: checking if templates require source on platform" >&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.$ac_ext <<EOF
-#line 14866 "configure"
-#include "confdefs.h"
-
-/*
-#include "config/trs.h"
-*/
-
-int main() {
-
- Foo<int> foo(15);
-
-; return 0; }
-EOF
-if { (eval echo configure:14879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
-
- ace_cv_feature_templates_require_source=no
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_feature_templates_require_source=yes
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_feature_templates_require_source" 1>&6
- if test "$ace_cv_feature_templates_require_source" = yes; then
- ace_just_a_place_holder=fixme
-
- cat >> confdefs.h <<\EOF
-#define ACE_TEMPLATES_REQUIRE_SOURCE 1
-EOF
-
-
- else
- ace_jus_a_place_holder=fixme
- fi
-
-
-
-if test X$ace_cv_feature_templates_require_source = Xyes; then
- TEMPLATES_REQUIRE_SOURCE_TRUE=
- TEMPLATES_REQUIRE_SOURCE_FALSE='#'
-else
- TEMPLATES_REQUIRE_SOURCE_TRUE='#'
- TEMPLATES_REQUIRE_SOURCE_FALSE=
-fi
-
-
- echo $ac_n "checking if platform supports template specialization""... $ac_c" 1>&6
-echo "configure:14921: checking if platform supports template specialization" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_posix_template_specialization'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 14927 "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:14952: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_feature_posix_template_specialization=yes
-
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
-
- ace_cv_feature_posix_template_specialization=no
-
-fi
-rm -f conftest*
-
-fi
-
- echo "$ac_t""$ace_cv_feature_posix_template_specialization" 1>&6
- if test "$ace_cv_feature_posix_template_specialization" = yes; 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 if platform supports typename keyword""... $ac_c" 1>&6
-echo "configure:14983: checking if platform supports 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 14989 "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:15025: \"$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" = yes; 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 platform supports template typedefs""... $ac_c" 1>&6
-echo "configure:15056: checking if platform supports 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 15062 "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:15105: \"$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" = yes; 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 if platform supports static data member templates""... $ac_c" 1>&6
-echo "configure:15136: checking if platform supports 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 15142 "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:15159: \"$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" = yes; 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
-
-
-if test "$ace_user_enable_exceptions" = yes; then
-
- echo $ac_n "checking if platform supports C++ exceptions""... $ac_c" 1>&6
-echo "configure:15192: checking if platform supports 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 15198 "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:15216: \"$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" = yes; 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
-
-if test "$ac_cv_header_new" = yes &&
- test "$ac_cv_header_iomanip" = yes &&
- test "$ac_cv_header_auto_ptr" = yes; then
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_STANDARD_CPP_LIBRARY 1
-EOF
-
-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:15262: 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 15267 "configure"
-#include "confdefs.h"
-#include <alloca.h>
-int main() {
-char *p = alloca(2 * sizeof(int));
-; return 0; }
-EOF
-if { (eval echo configure:15274: \"$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:15295: 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 15300 "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:15328: \"$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:15360: 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 15365 "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 -
-
-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:15390: 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 15395 "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:15421: \"$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:15448: 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 15456 "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:15478: \"$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:15514: 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 15522 "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:15531: \"$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
-EF
-
-fi
-
-
-echo $ac_n "checking for getpwnam""... $ac_c" 1>&6
-echo "configure:15555: 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 15560 "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:15586: \"$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:15605: 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 15610 "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:15636: \"$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:15655: 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 15660 "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:15686: \"$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:15705: 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 15710 "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:15736: \"$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:15766: 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 15771 "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:15797: \"$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:15819: 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 15827 "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:15841: \"$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:15871: 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 15876 "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:15902: \"$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:15926: 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 15931 "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:15957: \"$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:15981: checking for TryEnterCriticalSection" >&5
-if eval "test \"`echo '$''{'ac_cv_func_TryEnterCriticalSection'+set}'`\" = set";
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 15986 "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:16012: \"$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:16040: 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 16045 "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:16071: \"$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:16096: 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 16101 "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:16127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -sconftest${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:16152: 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 16157 "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:16183: \"$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:16210: 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 16215 "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:16241: \"$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:16271: 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 16276 "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:16302: \"$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:16327: 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 16332 "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:16358: \"$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:16383: 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 16388 "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:16414: \"$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:16438: 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 16443 "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:16469: \"$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:16490: 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 16495 "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:16521: \"$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 bind""... $ac_c" 1>&6
-echo "configure:16546: 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 16551 "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:16577: \"$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
-
- 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:16594: 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 16605 "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:16635: \"$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" = yes; 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:16673: 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 16678 "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:16704: \"$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:16721: 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 16732 "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:16772: \"$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" = yes; 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
-cat >> confdefs.h <<\EOF
-#define ACE_USE_POLL 1
-EOF
-
- fi
-
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-echo $ac_n "checking for gethrtime""... $ac_c" 1>&6
-echo "configure:16813: 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 16818 "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:16844: \"$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:16863: 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 16869 "configure"
-#include "confdefs.h"
-
-#include <sys/time.h>
-
-int main() {
-
- hrtime_t ace_hrtime_t;
-
-; return 0; }
-EOF
-if { (eval echo configure:16880: \"$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" = yes; 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:16916: 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 16921 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char pread(); beow. */
-#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:16947: \"$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:16962: 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 16967 "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:16993: \"$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:17021: 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 17026 "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:17052: \"$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:17076: 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 17081 "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:17107: \"$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:17131: 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 17136 "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:17162: \"$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 socketpair""... $ac_c" 1>&6
-echo "configure:17185: 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 17190 "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:17216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; the
- 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:17241: 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 17246 "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:17272: \"$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:17297: 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 17302 "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:17328: \"$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:17353: 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 17358 "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:17384: \"$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 syscall""... $ac_c" 1>&6
-echo "configure:17409: 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 17414 "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:17440: \"$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:17465: 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 17470 "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:17496: \"$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:17520: 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 17525 "cnfigure"
-#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:17551: \"$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:17570: 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 17575 "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:17601: \"$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 clock_gettime""... $ac_c" 1>&6
-echo "configure:17629: checking for clock_gettime" >&5
-if eval "test \"`echo '$''{'ac_cv_func_clock_gettime'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 17634 "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:17660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_clock_gettime=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_clock_gettime=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'clock_gettime`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_CLOCK_GETTIME 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-echo $ac_n "checking for fork""... $ac_c" 1>&6
-echo "configure:17684: 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 17689 "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:17715: \"$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:17740: 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 17745 "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:17771: \"$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:17787: 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 17792 "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) || define
-choke me
-#else
-setrlimit();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:17818: \"$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:17854: 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 17859 "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:17885: \"$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:17913: 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 17918 "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:17944: \"$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:17968: 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 17973 "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:17999: \"$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:18024: 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 18029 "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:18055: \"$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 recvmsg""... $ac_c" 1>&6
-echo "configure:18080: 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 18085 "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:18111: \"$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
- ech "$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:18136: 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 18141 "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:18167: \"$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:18193: 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 18198 "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:18224: \"$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:18249: 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 18254 "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:18280: \"$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:18304: 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 18309 "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:18335: \"$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 getpagesize""... $ac_c" 1>&6
-echo "configure:18360: 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 18365 "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:18391: \"$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:18419: 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 18424 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char msync(); bel
-#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:18450: \"$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:18475: 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 18480 "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:18506: \"$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:18531: 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 18536 "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:18562: \"$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:18587: 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 18592 "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:18618: \"$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:18643: 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 18648 "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:18674: \"$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:18700: 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 18705 "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:18731: \"$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 if platform defines priocntl as a macro""... $ac_c" 1>&6
-echo "configure:18757: checking if platform defines priocntl as a 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 18763 "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" = yes; 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:18803: 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 18808 "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:18834: \"$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:18859: 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 18864 "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:18890: \"$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:18911: 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 18916 "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:18942: \"$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:18963: 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 18968 "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:18994: \"$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:19015: 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 19020 "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 alia
-#if defined (__stub_semctl) || defined (__stub___semctl)
-choke me
-#else
-semctl();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:19046: \"$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:19067: 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 19072 "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:19098: \"$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:19119: 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 19124 "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:19150: \"$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:19171: 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 19176 "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:19202: \"$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:19223: 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 19228 "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:19254: \"$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:19275: 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 19280 "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:19306: \"$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:19327: 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 19332 "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:19358: \"$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:19379: 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 19384 "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:19410: \"$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:19434: 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 19439 "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:19465: \"$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:19489: 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 19494 "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:19520: \"$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:19545: 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 19550 "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:19576: \"$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:19601: 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 19606 "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___r
-choke me
-#else
-recv_timedwait();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:19632: \"$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:19656: 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 19661 "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:19687: \"$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:19711: 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 19716 "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:19742: \"$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:19766: 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 > contest.$ac_ext <<EOF
-#line 19771 "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:19797: \"$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:19821: 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 19826 "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:19852: \"$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:19876: 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 19881 "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:19907: \"$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:19931: 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 19936 "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:19962: \"$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:19986: 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 19991 "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:20017: \"$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:20041: 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 20046 "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:20072: \"$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:20096: 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 20101 "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:20127: \"$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:20151: 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 20156 "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:20182: \"$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:20201: 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 20206 "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:20232: \"$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:20251: 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 20256 "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:20282: \"$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:20301: 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 20306 "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();
-#endi
-
-; return 0; }
-EOF
-if { (eval echo configure:20332: \"$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:20374: 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 20379 "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:20405: \"$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
- cat >> confdefs.h <<\EOF
-#define ACE_HAS_PTHREAD_SIGMASK 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
- echo $ac_n "checking for pthread_key_create""... $ac_c" 1>&6
-echo "configure:20429: 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 20434 "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:20460: \"$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_setpshared""... $ac_c" 1>&6
-echo "configure:20488: 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 20493 "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:20519: \"$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:20544: 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 20549 "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:20575: \"$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 20603 "configure"
-#include "confdefs.h"
-
-#include <pthread.h>
-
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:20610: \"$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:20646: 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:20653: 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 20658 "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:20684: \"$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 20713 "configure"
-#include "confdefs.h"
-
-#include <pthread.h>
-
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:20720: \"$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:20756: 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:20763: checking for
-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 20768 "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:20794: \"$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:20820: 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 20825 "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:20851: \"$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:20876: 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 20881 "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:20907: \"$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:20932: 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 20937 "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:20963: \"$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:20988: 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 20993 "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:21019: \"$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_setschedplicy""... $ac_c" 1>&6
-echo "configure:21037: 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 21042 "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:21068: \"$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:21095: 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 21100 "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:21126: \"$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:21151: 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 21156 "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:21182: \"$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:21207: 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 21212 "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:21238: \"$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:21257: 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 21262 "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:21288: \"$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_p
-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:21307: 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 21312 "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:21338: \"$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:21357: 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 21362 "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:21388: \"$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:21407: 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 21412 "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 agument 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:21438: \"$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:21457: 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 21462 "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:21488: \"$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:21507: 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 21512 "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:21538: \"$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:21557: 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 21562 "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:21588: \"$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:21607: 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 21612 "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:21638: \"$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:21657: 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 21662 "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:21688: \"$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:21707: 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 21712 "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:21738: \"$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:21757: 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 21762 "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:21788: \"$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:21807: 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 21812 "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>
-
-#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:21838: \"$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:21857: 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 21862 "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:21888: \"$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:21907: 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 21912 "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:21938: \"$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:21957: 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 21962 "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:21988: \"$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:22007: 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 22012 "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:22038: \"$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:22057: 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 22062 "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:22088: \"$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:22107: 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 22112 "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:22138: \"$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:22157: 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 22162 "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:22188: \"$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:22207: 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 22212 "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:22238: \"$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 22261 "configure"
-#include "confdefs.h"
-
-#include <pthread.h>
-
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:22268: \"$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:22304: 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:22311: 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 22316 "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_func
-choke me
-#else
-$ace_real_function();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:22342: \"$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:22360: 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 22365 "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:22391: \"$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 if platform defines a minimum thread priority""... $ac_c" 1>&6
-echo "configure:22422: checking if platform defines a 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 22429 "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 22441 "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 if platform defines a maximum thread priority""... $ac_c" 1>&6
-echo "configure:22462: checking if platform defines a 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 22479 "configure"
-#include "confdefs.h"
-#include <pthread.h>
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "PTHREA_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 22491 "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:22514: 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 22519 "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:22545: \"$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:22573: 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 22578 "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:22604: \"$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:22628: 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 22633 "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:22659: \"$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:22683: 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 22688 "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:22714: \"$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:22733: 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 22738 "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:22764: \"$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:22794: 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 22799 "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:22825: \"$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:22851: 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 22856 "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:22882: \"$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:22903: 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 22908 "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 f
- 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:22934: \"$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:22955: 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 22960 "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:22986: \"$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:23011: 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 23016 "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:23042: \"$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:23063: 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 23068 "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:23094: \"$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:23115: 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 23120 "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:23146: \"$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:23167: 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 23172 "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:23198: \"$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:23219: 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 23224 "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:23250: \"$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:23271: 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 23276 "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:23302: \"$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:23323: 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 23328 "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:23354: \"$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:23375: 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 23380 "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:23406: \"$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:23427: 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 23432 "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:23458: \"$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:23479: 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 23484 "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 us
- 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:23510: \"$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:23535: 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 23540 "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:23566: \"$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:23591: 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 23596 "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:23622: \"$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
-
-
-
-
-
- TEMPCXXFLAGS=""
- if test -n "$GXX"; then
- TEMPCXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -error"
- 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:23659: 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 23665 "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:23678: \"$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 23689 "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:23702: \"$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" = yes; 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
-
- if test -n "$TEMPCXXFLAGS"; then
- CXXFLAGS="$TEMPCXXFLAGS"
- fi
-
-
-
- TEMPCXXFLAGS=""
- if test -n "$GXX"; then
- TEMPCXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -Werror"
- 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:23751: 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 23757 "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:23773: \"$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" = yes; 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
-
- if test -n "$TEMPCXXFLAGS"; then
- CXXFLAGS="$TEMPCXXFLAGS"
- fi
-
-
-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:23811: 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 23822 "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:23859: \"$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" = yes; 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:23893: 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 23904 "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:23941: \"$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" = yes; 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
-
- TEMPCXXFLAGS=""
- if test -n "$GXX"; then
- TEMPCXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -Werror"
- 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:23984: 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 23990 "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:24006: \"$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" = yes; 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
-
- if test -n "$TEMPCXXFLAGS"; then
- CXXFLAGS="$TEMPCXXFLAGS"
- fi
-
-
-
- TEMPCXXFLAGS=""
- if test -n "$GXX"; then
- TEMPCXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -Werror"
- fi
-
-
-
- echo $ac_n "checking if select takes int instead of fd_set""... $ac_c" 1>&6
-echo "configure:24052: 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 24058 "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;
- 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:24085: \"$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 24096 "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;
- 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:24123: \"$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" = yes; 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
-
-
-
- if test -n "$TEMPCXXFLAGS"; then
- CXXFLAGS="$TEMPCXXFLAGS"
- fi
-
-
-
-echo $ac_n "checking if setrlimit() takes an enum as 1st parameter (a)""... $ac_c" 1>&6
-echo "configure:24163: checking if setrlimit() takes an enum as 1st parameter (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 24170 "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:24179: \"$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 parameter (b)""... $ac_c" 1>&6
-echo "configure:24193: checking if setrlimit() takes an enum as 1st parameter (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 24200 "configure"
-#include "confdefs.h"
-#include <sys/resource.h>
-int main() {
-enum __rlimit_resource rsrc;
- struct rlimit* rlp;
- setr
-; return 0; }
-EOF
-if { (eval echo configure:24209: \"$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
-
-
-
- TEMPCXXFLAGS=""
- if test -n "$GXX"; then
- TEMPCXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -Werror"
- fi
-
-
-echo $ac_n "checking if setrlimit() takes a const pointer as 2nd parameter (a)""... $ac_c" 1>&6
-echo "configure:24240: checking if setrlimit() takes a const pointer as 2nd parameter (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 24246 "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:24259: \"$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 parameter (b)""... $ac_c" 1>&6
-echo "configure:24279: checking if setrlimit() takes a const pointer as 2nd parameter (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 24286 "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:24295: \"$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
-
-
- if test -n "$TEMPCXXFLAGS"; then
- CXXFLAGS="$TEMPCXXFLAGS"
- fi
-
-
-if test "$ac_cv_func_getrusage" = yes; then
-
- echo $ac_n "checking if getrusage() takes an enum as 1st parameter""... $ac_c" 1>&6
-echo "configure:24325: checking if getrusage() takes an enum as 1st parameter" >&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 24331 "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:24344: \"$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" = yes; 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
-
-
- TEMPCXXFLAGS=""
- if test -n "$GXX"; then
- TEMPCXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -Werror"
- fi
-
-
-
- echo $ac_n "checking if select takes a const fifth parameter""... $ac_c" 1>&6
-echo "configure:24384: checking if select takes a const fifth parameter" >&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 24390 "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;
- 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:24415: \"$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" = yes; 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
-
-
-
- if test -n "$TEMPCXXFLAGS"; then
- CXXFLAGS="$TEMPCXXFLAGS"
- fi
-
-
-if test "$ace_cv_struct_msghdr" = yes &&
- test "$ac_cv_func_sendmsg" = yes; then
-
- TEMPCXXFLAGS=""
- if test -n "$GXX"; then
- TEMPCXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -Werror"
- fi
-
-
-
- echo $ac_n "checking if sendmsg omits the const from the second parameter""... $ac_c" 1>&6
-echo "configure:24463: checking if sendmsg omits the const from the second parameter" >&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 24469 "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:24489: \"$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" = yes; 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
-
-
-
- if test -n "$TEMPCXXFLAGS"; then
- CXXFLAGS="$TEMPCXXFLAGS"
- fi
-
- fi
-if test "$ac_cv_header_sys_uio_h" = yes &&
- test "$ac_cv_func_writev" = yes; then
-
- TEMPCXXFLAGS=""
- if test -n "$GXX"; then
- TEMPCXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -Werror"
- fi
-
-
-
- echo $ac_n "checking if writev omits the const from the iovec parameter""... $ac_c" 1>&6
-echo "configure:24536: checking if writev omits the const from the iovec parameter" >&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 24542 "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:24563: \"$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" = yes; 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
-
-
-
- if test -n "$TEMPCXXFLAGS"; then
- CXXFLAGS="$TEMPCXXFLAGS"
- fi
-
- fi
-
-
- TEMPCXXFLAGS=""
- if test -n "$GXX"; then
- TEMPCXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -Werror"
- fi
-
-
-
- echo $ac_n "checking if socket size is denoted by size_t""... $ac_c" 1>&6
-echo "configure:24609: 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 24615 "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:24632: \"$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 24643 "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:24660: \"$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" = yes; 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
-
-
-
- if test -n "$TEMPCXXFLAGS"; then
- CXXFLAGS="$TEMPCXXFLAGS"
- fi
-
-
-
- TEMPCXXFLAGS=""
- if test -n "$GXX"; then
- TEMPCXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -Werror"
- fi
-
-
-
- echo $ac_n "checking for (struct sockaddr *) msg_name field""... $ac_c" 1>&6
-echo "configure:24708: 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 24714 "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:24731: \"$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" = yes; 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
-
-
-
- if test -n "$TEMPCXXFLAGS"; then
- CXXFLAGS="$TEMPCXXFLAGS"
- fi
-
-
-
-
- TEMPCXXFLAGS=""
- if test -n "$GXX"; then
- TEMPCXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -Werror"
- fi
-
-
-
- echo $ac_n "checking if setsockopt() takes a char* fourth parameter""... $ac_c" 1>&6
-echo "configure:24777: checking if setsockopt() takes a char* fourth parameter" >&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 24783 "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:24806: \"$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" = yes; 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
-
-
-
- if test -n "$TEMPCXXFLAGS"; then
- CXXFLAGS="$TEMPCXXFLAGS"
- fi
-
-
-
- TEMPCXXFLAGS=""
- if test -n "$GXX"; then
- TEMPCXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -Werror"
- fi
-
-
-
- echo $ac_n "checking if setsockopt() takes a void* fourth parameter""... $ac_c" 1>&6
-echo "configure:24851: checking if setsockopt() takes a void* fourth parameter" >&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 24857 "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:24880: \"$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" = yes; 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
-
-
-
- if test -n "$TEMPCXXFLAGS"; then
- CXXFLAGS="$TEMPCXXFLAGS"
- fi
-
-
-
- TEMPCXXFLAGS=""
- if test -n "$GXX"; then
- TEMPCXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -Werror"
- fi
-
-
-
- echo $ac_n "checking if mmap() takes a void* first argument""... $ac_c" 1>&6
-echo "configure:24925: 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 24931 "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:24957: \"$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" = yes; then
- ace_just_a_
-cat >> confdefs.h <<\EOF
-#define ACE_HAS_VOIDPTR_MMAP 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
- fi
-
-
-
- if test -n "$TEMPCXXFLAGS"; then
- CXXFLAGS="$TEMPCXXFLAGS"
- fi
-
-
-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:24995: 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 25001 "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:25025: \"$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 25036 "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:25059: \"$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" = yes; 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 if platform has iostream method ipfx()""... $ac_c" 1>&6
-echo "configure:25093: checking if platform has 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 25099 "configure"
-#include "confdefs.h"
-
-#include <iostream.h>
-
-int main() {
-
- cin.ipfx();
-
-; return 0; }
-EOF
-if { (eval echo configure:25110: \"$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" = yes; 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 if platform has line-buffered streambufs""... $ac_c" 1>&6
-echo "configure:25142: checking if platform has 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 25148 "configure"
-#include "confdefs.h"
-
-#include <iostream.h>
-
-int main() {
-
- cin.rdbuf()->linebuffered(1);
-
-; return 0; }
-EOF
-if { (eval echo configure:25159: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_feature_has_linebuffered_streambuf=yes
-
-else
- echo "configure: faile 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" = yes; 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 if platform has unbuffered streambufs""... $ac_c" 1>&6
-echo "configure:25191: checking if platform has 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 25197 "configure"
-#include "confdefs.h"
-
-#include <iostream.h>
-
-int main() {
-
- cin.rdbuf()->unbuffered(1);
-
-; return 0; }
-EOF
-if { (eval echo configure:25208: \"$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" = yes; 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 parameter""... $ac_c" 1>&6
-echo "configure:25239: checking if signal takes a void (*)(int) as second parameter" >&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 25245 "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:25261: \"$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 parameter""... $ac_c" 1>&6
-echo "configure:25281: checking if signal takes a void (*)(void) as second parameter" >&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 25287 "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:25301: \"$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 parameter""... $ac_c" 1>&6
-echo "configure:25321: checking if signal takes a void (*)(int, ...) as second parameter" >&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 25327 "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:25341: \"$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 parameter""... $ac_c" 1>&6
-echo "configure:25361: checking if signal takes a void (*)(...) as second parameter" >&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 25367 "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:25381: \"$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:25401: 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 25407 "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:25422: \"$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:25442: 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 25448 "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:25463: \"$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:25483: 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 25489 "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:25501: \"$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:25521: 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 25527 "configure"
-#include "confdefs.h"
-
-#include <signal.h>
- typedef void (*SA)(...);
-
-int main() {
-
- SA oo = signal(SIGINT, 0);
-
-; return 0; }
-EOF
-if { (eval echo configure:25539: \"$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:25560: 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 25566 "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:25582: \"$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:25602: 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 25608 "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:25624: \"$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:25644: 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 25650 "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:25666: \"$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:25686: checking if struct sigaction takes a void (*)(...) handler" >&5
-if eval "test
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 25692 "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:25708: \"$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
-
- TEMPCXXFLAGS=""
- if test -n "$GXX"; then
- TEMPCXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -Werror"
- fi
-
-
-
- echo $ac_n "checking if msgsnd() takes a struct msgbuf* second parameter""... $ac_c" 1>&6
-echo "configure:25737: checking if msgsnd() takes a struct msgbuf* second parameter" >&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 25743 "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:25764: \"$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" = yes; 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 parameter""... $ac_c" 1>&6
-echo "configure:25791: checking if msgsnd() takes a const void* second parameter" >&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 25797 "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:25818: \"$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" = yes; 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
-
-
-
- if test -n "$TEMPCXXFLAGS"; then
- CXXFLAGS="$TEMPCXXFLAGS"
- fi
-
-
-
- TEMPCXXFLAGS=""
- if test -n "$GXX"; then
- TEMPCXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -Werror"
- fi
-
-
-echo $ac_n "checking if msgrcv() takes a void* second parameter""... $ac_c" 1>&6
-echo "configure:25869: checking if msgrcv() takes a void* second parameter" >&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 25875 "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:25897: \"$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
-
-
- if test -n "$TEMPCXXFLAGS"; then
- CXXFLAGS="$TEMPCXXFLAGS"
- fi
-
-
-
- TEMPCXXFLAGS=""
- if test -n "$GXX"; then
- TEMPCXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -Werror"
- fi
-
-
-echo $ac_n "checking if shmat() takes a void* second parameter""... $ac_c" 1>&6
-echo "configure:25931: checking if shmat() takes a void* second parameter" >&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 25937 "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:25954: \"$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
-
-
- if test -n "$TEMPCXXFLAGS"; then
- CXXFLAGS="$TEMPCXXFLAGS"
- fi
-
-
-
- TEMPCXXFLAGS=""
- if test -n "$GXX"; then
- TEMPCXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -Werror"
- fi
-
-
-echo $ac_n "checking if sigaction() takes a const* second parameter""... $ac_c" 1>&6
-echo "configure:25988: checking if sigaction() takes a const* second parameter" >&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 25994 "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:26008: \"$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
-
-
- if test -n "$TEMPCXXFLAGS"; then
- CXXFLAGS="$TEMPCXXFLAGS"
- fi
-
-
-
- echo $ac_n "checking if wait() takes a (union wait *) rather than int *""... $ac_c" 1>&6
-echo "configure:26035: 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 26041 "configure"
-#include "confdefs.h"
-
-#include <sys/wait.h>
-
-int main() {
-
- int* status;
- int result;
- result=wait(status);
-
-; return 0; }
-EOF
-if { (eval echo configure:26054: \"$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 26065 "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:26078: \"$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" = yes; 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
-
-
-
- TEMPCXXFLAGS=""
- if test -n "$GXX"; then
- TEMPCXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -Werror"
- fi
-
-
-echo $ac_n "checking if gettimeofday() takes a void * second argument""... $ac_c" 1>&6
-echo "configure:26121: 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 26127 "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:26144: \"$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
-
-
- if test -n "$TEMPCXXFLAGS"; then
- CXXFLAGS="$TEMPCXXFLAGS"
- fi
-
-
-if test "$ace_cv_lib_voidptr_gettimeofday" = no; then
-
- TEMPCXXFLAGS=""
- if test -n "$GXX"; then
- TEMPCXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -Werror"
- fi
-
-
- echo $ac_n "checking if gettimeofday() takes a timzeone * second argument""... $ac_c" 1>&6
-echo "configure:26179: 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 26185 "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:26202: \"$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
-
-
- if test -n "$TEMPCXXFLAGS"; then
- CXXFLAGS="$TEMPCXXFLAGS"
- fi
-
- 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:26231: 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 26237 "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" = yes; 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 parameters""... $ac_c" 1>&6
-echo "configure:26302: checking if ctime_r() takes two parameters" >&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 26308 "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:26329: \"$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" = yes; 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:26364: 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 26370 "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:26385: \"$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" = yes; 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:26413: 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 26419 "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:26434: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
-
- ace_cv_lib_posix_st
-
-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" = yes; 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:26468: 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 26474 "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" = yes; 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:26516: 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 26522 "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 26547 "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:26566: \"$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 26576 "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:26595: \"$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 26606 "configure"
-#include "confdefs.h"
-
-#ifdef 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:26621: \"$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" = yes; 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:26679: 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 26687 "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:26708: \"$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 if platform defines ctime() as a macro""... $ac_c" 1>&6
-echo "configure:26740: checking if platform defines ctime() as a 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 26746 "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" = yes; 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 if platform defines some reentrant functions as macros""... $ac_c" 1>&6
-echo "configure:26791: checking if platform defines some reentrant functions as 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 26797 "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" = yes; 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 if platform defines sig{empty fill add del}set as macros""... $ac_c" 1>&6
-echo "configure:26853: checking if platform defines sig{empty fill add del}set as 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 26859 "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" = yes; 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:26907: 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 26913 "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" = yes; 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:26973: 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 26979 "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" = yes; 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 if platform defines MAP_FAILED as a long constant""... $ac_c" 1>&6
-echo "configure:27024: checking if platform defines MAP_FAILED as 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 27030 "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" = yes; 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
- fi
-
-
-
- echo $ac_n "checking if platform supports SO_SNDBUF/SO_RCVBUF socket options""... $ac_c" 1>&6
-echo "configure:27068: checking if platform supports 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 27074 "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" = yes; 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 if platform calls init/fini automatically""... $ac_c" 1>&6
-echo "configure:27122: checking if platform calls init/fini automatically" >&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" = yes; 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:27153: checking for recursive thread exit semantics" >&5
- if eval "test \"`echo '$''{
- 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" = yes; 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
-
-if test "$ace_has_aio_funcs" = yes; then
-
- echo $ac_n "checking for asynchronous IO calls""... $ac_c" 1>&6
-echo "configure:27179: checking for asynchronous IO calls" >&5
- if eval "test \"`echo '$''{'ace_cv_feature_aio_calls'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 27185 "configure"
-#include "confdefs.h"
-
-#include <aio.h>
-
-int main() {
-
- aiocb* aiocb_ptr (void);
-
-; return 0; }
-EOF
-if { (eval echo configure:27196: \"$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*
-
-fi
-
- echo "$ac_t""$ace_cv_feature_aio_calls" 1>&6
- if test "$ace_cv_feature_aio_calls" = yes; 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
- fi
-
-fi
-
- echo $ac_n "checking for UNIX domain sockets""... $ac_c" 1>&6
-echo "configure:27227: 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 27233 "configure"
-#include "confdefs.h"
-
-#include <sys/un.h>
-
-int main() {
-
- sockaddr_un su;
-
-; return 0; }
-EOF
-if { (eval echo configure:27244: \"$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" = yes; 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:27276: 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" = yes; 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:27305: 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 27311 "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:27325: \"$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 -r conftest*
-
- cat > conftest.$ac_ext <<EOF
-#line 27336 "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:27350: \"$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" = yes; 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 platform runs on an Alpha""... $ac_c" 1>&6
-echo "configure:27384: checking if platform runs 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" = yes; 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 platform runs on a Power PC""... $ac_c" 1>&6
-echo "configure:27422: checking if platform runs 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" = yes; 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 platform runs on a Pentium(tm) processor""... $ac_c" 1>&6
-echo "configure:27462: checking if platform runs 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" = yes; 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
-
-
- TEMPCXXFLAGS=""
- if test -n "$GXX"; then
- TEMPCXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -Werror"
- fi
-
-
-
- echo $ac_n "checking if platform requires _GNU_SOURCE for getpgid definition""... $ac_c" 1>&6
-echo "configure:27511: checking if platform requires _GNU_SOURCE for getpgid definition" >&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 27517 "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:27530: \"$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 27541 "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:27556: \"$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" = yes; then
- ace_just_a_place_holder=fixme
-cat >> confdefs.h <<\EOF
-#define _GNU_SOURCE 1
-EOF
-
- else
- ace_just_a_place_holder=fixme
- fi
-
-
-
- if test -n "$TEMPCXXFLAGS"; then
- CXXFLAGS="$TEMPCXXFLAGS"
- fi
-
-
-
- echo $ac_n "checking if platform only supports SCHED_OTHER scheduling policy""... $ac_c" 1>&6
-echo "configure:27596: checking if platform only supports SCHED_OTHER 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 27602 "configure"
-#include "confdefs.h"
-
-#ifdef ACE_HAS_PTHREADS
-# include <pthread.h>
-#elif defined (ACE_HAS_STHREADS)
-# include <thread.h>
-#endif
-
-#if defined (ACE_LACKS_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)
- 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*
-
- ace_cv_feature_only_have_sched_other=no
-
-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" = yes; 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
-
-
-
-
-
-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:27727: 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:27795: 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
-
-EOF
-
- 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 >> condefs.h <<\EOF
-#define HPUX_11 1
-EOF
-
- cat > conftest.$ac_ext <<EOF
-#line 28035 "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 28183 "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 28206 "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 28227 "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 28279 "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 28445 "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 -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 -Wall -Wpointer-arith"
-fi
-
-if test "$ace_user_enable_optimize"; then
- CXXFLAGS="$CXXFLAGS $OCXXFLAGS"
- CFLAGS="$CFLAGS $OCFLAGS"
-fi
-CXXFLAGS="$ACE_CXXFLAGS $X_CFLAGS $CXXFLAGS"
-CXXCPPFLAGS="$ACE_CXXCPPFLAGS $CXXCPPFLAGS"
-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:28523: 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
-
-
-
- save_CXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -I. -I${srcdir}"
-
- save_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS -I. -I${srcdir}"
-
- cat > conftest.$ac_ext <<EOF
-#line 28544 "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:28557: \"$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="$save_CXXFLAGS"
- CFLAGS="$save_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" = yes; 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:28600: 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
-
-
-
- save_CXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -I. -I${srcdir}"
-
- save_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS -I. -I${srcdir}"
-
- cat > conftest.$ac_ext <<EOF
-#line 28621 "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:28634: \"$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*
-
- save_CXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -I. -I${srcdir}"
-
- save_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS -I. -I${srcdir}"
-
- cat > conftest.$ac_ext <<EOF
-#line 28650 "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:28664: \"$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="$save_CXXFLAGS"
- CFLAGS="$save_CFLAGS"
-
-
-
-fi
-rm -f conftest*
-
- CXXFLAGS="$save_CXXFLAGS"
- CFLAGS="$save_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" = yes; 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
-ech
- 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
-
-
-
- save_CXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -I. -I${srcdir}"
-
- save_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS -I. -I${srcdir}"
-
- cat > conftest.$ac_ext <<EOF
-#line 28735 "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:28748: \"$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*
-
- save_CXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -I. -I${srcdir}"
-
- save_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS -I. -I${srcdir}"
-
- cat > conftest.$ac_ext <<EOF
-#line 28764 "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:28778: \"$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="$save_CXXFLAGS"
- CFLAGS="$save_CFLAGS"
-
-
-
-fi
-rm -f conftest*
-
- CXXFLAGS="$save_CXXFLAGS"
- CFLAGS="$save_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" = yes; 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
-
-
-
-
-
-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}'
-
-
-
-
-
-
-
-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 ad 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 "
- ace-config
- ace-diff-config
- 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%@RANLIB@%$RANLIB%g
-s%@LD@%$LD%g
-s%@NM@%$NM%g
-s%@USE_SYMBOL_UNDERSCORE@%$USE_SYMBOL_UNDERSCORE%g
-s%@LIBTOOL@%$LIBTOOL%g
-s%@DLLTOOL@%$DLLTOOL%g
-s%@AS@%$AS%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%@TEMPLATES_REQUIRE_SOURCE_TRUE@%$TEMPLATES_REQUIRE_SOURCE_TRUE%g
-s%@TEMPLATES_REQUIRE_SOURCE_FALSE@%$TEMPLATES_REQUIRE_SOURCE_FALSE%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-" ace-config
- ace-diff-config
- "}
-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
-
-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
-
-
-
-echo ""
-echo "Configuration of ACE is now complete."
-echo ""