summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--acconfig.h10
-rw-r--r--configure.in23
2 files changed, 32 insertions, 1 deletions
diff --git a/acconfig.h b/acconfig.h
index 51d5b84cc84..28969dfc40b 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -410,6 +410,10 @@
prototype. */
#undef ACE_HAS_BROKEN_SETRLIMIT
+/* Compiler/platform has the wrong prototype for t_error(), i.e.,
+ t_error(char *) rather than t_error(const char *). */
+#undef ACE_HAS_BROKEN_T_ERROR
+
/* platform define struct timespec members as ts_sec and ts_nsec instead of
tv_sec and tv_nsec. This is highly non-portable. Currently only
FreeBSD 2.1.x uses it. */
@@ -466,6 +470,9 @@
/* Compiler supports C++ exception handling */
#undef ACE_HAS_EXCEPTIONS
+/* Platform has Fast-Light (FL) toolkit installed */
+#undef ACE_HAS_FL
+
/* Platform supports getpagesize() call (otherwise, ACE_PAGE_SIZE must be
defined, except on Win32) */
#undef ACE_HAS_GETPAGESIZE
@@ -532,6 +539,9 @@
/* Enabled malloc statistics collection. */
#undef ACE_HAS_MALLOC_STATS
+/* Use native implementation of memchr(). */
+#undef ACE_HAS_MEMCHR
+
/* Avoid #including ace/streams.h in OS.h. Users must include ace/streams.h,
<iostream>, or <iostream.h> explicitly in their code. Some platforms, such
as g++/VxWorks, have trouble compiling templates and iostreams header
diff --git a/configure.in b/configure.in
index bdc03b11319..02b6b27f610 100644
--- a/configure.in
+++ b/configure.in
@@ -1,7 +1,7 @@
dnl
dnl $Id$
-AC_REVISION($Revision 0.60 $)dnl
+AC_REVISION($Revision 0.61 $)dnl
dnl
dnl An autoconf script to automatically configure ACE.
@@ -631,6 +631,24 @@ dnl line, then "no_x" is set to "yes."
esac
],)
+AC_ARG_ENABLE(fl-reactor,
+ [ --enable-fl-reactor build support for the FlReactor [default=no]],
+ [
+ case "${enableval}" in
+ yes)
+ AC_MSG_ERROR(--enable-fl-reactor currently unimplemented)
+ ace_user_enable_fl_reactor=yes
+ ;;
+ no)
+ AC_MSG_ERROR(--enable-fl-reactor currently unimplemented)
+ ace_user_enable_fl_reactor=no
+ ;;
+ *)
+ AC_MSG_ERROR(bad value ${enableval} for --enable-fl-reactor)
+ ;;
+ esac
+ ],)
+
AC_ARG_WITH(gperf,
[ --with-gperf compile the gperf program [default=yes]],
[
@@ -3267,6 +3285,9 @@ AC_CHECK_FUNC(strrchr, dnl
,
AC_DEFINE(ACE_LACKS_STRRCHR))
+AC_CHECK_FUNC(memchr, dnl
+ AC_DEFINE(ACE_HAS_MEMCHR),)
+
AC_CHECK_FUNC(syscall, dnl
,
AC_DEFINE(ACE_LACKS_SYSCALL))