summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2003-02-01 20:24:58 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2003-02-01 20:24:58 +0000
commit0ca2af8f77e381479057b895634543810e991b63 (patch)
tree38df20e73d813e5f46e10c7a1d63b8bca445c9e4
parentd5dc6c74f41a52ebdd0242c631fa5e0c3d345d33 (diff)
downloadATCD-0ca2af8f77e381479057b895634543810e991b63.tar.gz
ChangeLogTag:Sat Feb 1 12:24:11 2003 Ossama Othman <ossama@uci.edu>
-rw-r--r--ChangeLog26
-rw-r--r--ChangeLogs/ChangeLog-03a26
-rw-r--r--configure.ac2
-rw-r--r--m4/config_h.m479
4 files changed, 86 insertions, 47 deletions
diff --git a/ChangeLog b/ChangeLog
index 2aa01bbdd2f..16670a311f3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,29 @@
+Sat Feb 1 12:24:11 2003 Ossama Othman <ossama@uci.edu>
+
+ * configure.ac:
+
+ Do not define the _POSIX_THREADS and
+ _POSIX_THREAD_SAFE_FUNCTIONS preprocessor macros. They are
+ feature test macros defined by the platform, and are not meant
+ to be defined by anything other than the platform itself.
+
+ * m4/config_h.m4 (ACE_PREP_CONFIG_HEADER):
+
+ Fixed autoheader templates for the ACE_UINT64_TYPEDEF and
+ _POSIX_PTHREAD_SEMANTICS macros so that they include a "#undef
+ ..." in the template. Without the "#undef" the value of the
+ macro will not be substituted by `configure' script. That led
+ to build failures. Those failures have been corrected by this
+ fix.
+
+ Removed autoheader templates for the _POSIX_THREADS and
+ _POSIX_THREAD_SAFE_FUNCTIONS preprocessor macros. They are
+ feature test macros defined by the platform, and are not meant
+ to be defined by anything other than the platform itself.
+
+ Added descriptions for many preprocessor macros potentially
+ defined/substituted by the `configure' script.
+
Sat Feb 1 10:20:45 2003 Ossama Othman <ossama@uci.edu>
* Makefile.am:
diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a
index 2aa01bbdd2f..16670a311f3 100644
--- a/ChangeLogs/ChangeLog-03a
+++ b/ChangeLogs/ChangeLog-03a
@@ -1,3 +1,29 @@
+Sat Feb 1 12:24:11 2003 Ossama Othman <ossama@uci.edu>
+
+ * configure.ac:
+
+ Do not define the _POSIX_THREADS and
+ _POSIX_THREAD_SAFE_FUNCTIONS preprocessor macros. They are
+ feature test macros defined by the platform, and are not meant
+ to be defined by anything other than the platform itself.
+
+ * m4/config_h.m4 (ACE_PREP_CONFIG_HEADER):
+
+ Fixed autoheader templates for the ACE_UINT64_TYPEDEF and
+ _POSIX_PTHREAD_SEMANTICS macros so that they include a "#undef
+ ..." in the template. Without the "#undef" the value of the
+ macro will not be substituted by `configure' script. That led
+ to build failures. Those failures have been corrected by this
+ fix.
+
+ Removed autoheader templates for the _POSIX_THREADS and
+ _POSIX_THREAD_SAFE_FUNCTIONS preprocessor macros. They are
+ feature test macros defined by the platform, and are not meant
+ to be defined by anything other than the platform itself.
+
+ Added descriptions for many preprocessor macros potentially
+ defined/substituted by the `configure' script.
+
Sat Feb 1 10:20:45 2003 Ossama Othman <ossama@uci.edu>
* Makefile.am:
diff --git a/configure.ac b/configure.ac
index eae92ccee19..4f4dfbc370b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6537,8 +6537,6 @@ dnl the UNIX International threads library was detected.
ACE_CPPFLAGS="$ACE_CPPFLAGS $ACE_THR_CPPFLAGS"
if test "$ace_has_pthreads" = yes &&
test "$ace_has_sthreads" != yes; then
- AC_DEFINE([_POSIX_THREADS])
- AC_DEFINE([_POSIX_THREAD_SAFE_FUNCTIONS])
AC_DEFINE([_POSIX_PTHREAD_SEMANTICS])
fi dnl test "$ace_has_pthreads" = yes
diff --git a/m4/config_h.m4 b/m4/config_h.m4
index cec5ee65614..dab952edd46 100644
--- a/m4/config_h.m4
+++ b/m4/config_h.m4
@@ -45,37 +45,25 @@ AH_BOTTOM([
])
-AH_VERBATIM([_POSIX_THREADS],
-[
-#ifndef _POSIX_THREADS
-# undef _POSIX_THREADS
-#endif
-])
-
-AH_VERBATIM([_POSIX_THREAD_SAFE_FUNCTIONS],
-[#ifndef _POSIX_THREAD_SAFE_FUNCTIONS
-# undef _POSIX_THREAD_SAFE_FUNCTIONS
-#endif
-])
-
AH_VERBATIM([_POSIX_PTHREAD_SEMANTICS],
[/* Some platforms need _POSIX_PTHREAD_SEMANTICS to make some functions work */
+#undef _POSIX_PTHREAD_SEMANTICS
#ifndef _POSIX_PTHREAD_SEMANTICS
# undef _POSIX_PTHREAD_SEMANTICS
#endif
])
dnl ACE currently doesn't use these; however the configure script does
-AH_TEMPLATE([ACE_LACKS_SYSTIMES_H],[])
+AH_TEMPLATE([ACE_LACKS_SYSTIMES_H],[The `sys/times.h' header is unavailable])
AH_TEMPLATE([ACE_LACKS_UNBUFFERED_STREAMBUF],[])
AH_TEMPLATE([ACE_HAS_STDCPP_STL_INCLUDES],[])
AH_TEMPLATE([ACE_HAS_LIBC_H],[])
AH_TEMPLATE([ACE_HAS_OSFCN_H],[])
-AH_TEMPLATE([ACE_HAS_NEW_NO_H],[])
-AH_TEMPLATE([ACE_HAS_NEW_H],[])
-AH_TEMPLATE([ACE_HAS_STDEXCEPT_NO_H],[])
-AH_TEMPLATE([ACE_HAS_EXCEPTION_H],[])
+AH_TEMPLATE([ACE_HAS_NEW_NO_H],[Platform provides new style C++ <new> header])
+AH_TEMPLATE([ACE_HAS_NEW_H],[Platform provides C++ <new.h> header])
+AH_TEMPLATE([ACE_HAS_STDEXCEPT_NO_H],[Platform provides C++ <stdexcept> header])
+AH_TEMPLATE([ACE_HAS_EXCEPTION_H],[Platform provides C++ <exception.h> header])
AH_TEMPLATE([ACE_HAS_SYS_IOCTL_H],[Platform provides <sys/ioctl.h> header.])
@@ -104,7 +92,7 @@ dnl /* results from checks for library functions */
dnl /* results from checks for system services */
dnl AIX specific configuration parameters
-AH_TEMPLATE([AIX],[])
+AH_TEMPLATE([AIX],[Configure for use on AIX])
AH_TEMPLATE([_BSD],[])
AH_TEMPLATE([_BSD_INCLUDES],[])
@@ -147,19 +135,19 @@ dnl FreeBSD specific configuration parameters
dnl Nothing yet
dnl HP/UX specific configuration parameters
-AH_TEMPLATE([HPUX],[])
-AH_TEMPLATE([HPUX_10],[])
-AH_TEMPLATE([HPUX_11],[])
-AH_TEMPLATE([_HPUX_SOURCE],[])
+AH_TEMPLATE([HPUX],[Configure for use on HP-UX])
+AH_TEMPLATE([HPUX_10],[Configure for use on HP-UX 10])
+AH_TEMPLATE([HPUX_11],[Configure for use on HP-UX 11])
+AH_TEMPLATE([_HPUX_SOURCE],[Enable HP-UX specific features in platform headers])
AH_TEMPLATE([ACE_HAS_BROKEN_HPUX_TEMPLATES],
[Earlier versions of HP/UX C++ are damned...])
dnl Irix specific configuration parameters
-AH_TEMPLATE([IRIX5],[])
-AH_TEMPLATE([IRIX6],[])
+AH_TEMPLATE([IRIX5],[Configure for use on Irix 5])
+AH_TEMPLATE([IRIX6],[Configure for use on Irix 6])
AH_TEMPLATE([_BSD_TYPES],[])
AH_TEMPLATE([_SGI_MP_SOURCE],[])
-AH_TEMPLATE([_MODERN_C_],[])
+AH_TEMPLATE([_MODERN_C_],[Enable modern features in SGI C++ compiler])
AH_TEMPLATE([ACE_HAS_IRIX62_THREADS],
[Platform supports the very odd IRIX 6.2 threads...])
@@ -178,14 +166,14 @@ dnl MVS specific configuration parameters
dnl Nothing yet
dnl NetBSD specific configuration parameters
-AH_TEMPLATE([ACE_NETBSD],[])
+AH_TEMPLATE([ACE_NETBSD],[Configure for use on NetBSD])
dnl OSF/1 and Digital Unix specific configuration parameters
AH_TEMPLATE([DEC_CXX],[])
-AH_TEMPLATE([DIGITAL_UNIX],[])
+AH_TEMPLATE([DIGITAL_UNIX],[Configure for use on Digital Unix])
dnl pSOS specific configuration parameters
-AH_TEMPLATE([ACE_PSOS],[])
+AH_TEMPLATE([ACE_PSOS],[Configure for use on pSoS])
AH_TEMPLATE([ACE_PSOSIM],[])
AH_TEMPLATE([ACE_PSOSTBD],[])
@@ -200,15 +188,15 @@ dnl Tandem specific configuration parameters
dnl Nothing yet
dnl UnixWare specific configuration parameters
-AH_TEMPLATE([UNIXWARE],[])
+AH_TEMPLATE([UNIXWARE],[Configure for use on UnixWare])
AH_TEMPLATE([UNIXWARE_2_0],[])
AH_TEMPLATE([UNIXWARE_2_1],[])
dnl VXWorks specific configuration parameters
-AH_TEMPLATE([VXWORKS],[])
+AH_TEMPLATE([VXWORKS],[Configure for use on VxWorks])
dnl Win32 specific configuration parameters
-AH_TEMPLATE([ACE_WIN32],[])
+AH_TEMPLATE([ACE_WIN32],[Configure for use on Win32])
AH_TEMPLATE([ACE_DISABLE_DEBUG_DLL_CHECK],
[Define this if you don't want debug version ACE search for debug version
@@ -243,7 +231,7 @@ AH_TEMPLATE([ACE_HAS_DLL],[Build ACE using the frigging PC DLL nonsense...])
AH_TEMPLATE([ACE_HAS_STRICT],[Use the STRICT compilation mode on Win32.])
-AH_TEMPLATE([CYGWIN32], [], [GNU Win32 environement])
+AH_TEMPLATE([CYGWIN32], [GNU Win32 environement])
AH_TEMPLATE([ACE_HAS_CYGWIN32_SOCKET_H],[Platform has cygwin32 socket.h.])
@@ -252,28 +240,28 @@ AH_TEMPLATE([ACE_DEFAULT_BASE_ADDR],[])
AH_TEMPLATE([ACE_DEFAULT_BASE_ADDRL],[])
AH_TEMPLATE([ACE_DEFAULT_CLOSE_ALL_HANDLES],[])
AH_TEMPLATE([ACE_DEFAULT_MAX_SOCKET_BUFSIZ],[])
-AH_TEMPLATE([ACE_DEFAULT_SELECT_REACTOR_SIZE],[])
+AH_TEMPLATE([ACE_DEFAULT_SELECT_REACTOR_SIZE],[The default number of handles the select()-based reactor should handle])
AH_TEMPLATE([ACE_MALLOC_ALIGN],[])
AH_TEMPLATE([ACE_MAP_PRIVATE],[])
AH_TEMPLATE([ACE_THR_PRI_FIFO_DEF],[])
AH_TEMPLATE([ACE_TIMER_SKEW],[])
-AH_TEMPLATE([ACE_UINT64_FORMAT_SPECIFIER],[])
-AH_TEMPLATE([ACE_USE_RCSID],[])
+AH_TEMPLATE([ACE_UINT64_FORMAT_SPECIFIER],[The format specifier (e.g. "%Lu") for the 64 bit unsigned integer type])
+AH_TEMPLATE([ACE_USE_RCSID],[Enable embedding of global RCS ID strings into compiled object file])
AH_TEMPLATE([IP_ADD_MEMBERSHIP],[])
AH_TEMPLATE([IP_DROP_MEMBERSHIP],[])
dnl Specify sizes of given built-in types. If a size isn't defined here,
dnl then ace/Basic_Types.h will attempt to deduce the size.
-dnl AH_TEMPLATE([ACE_SIZEOF_CHAR],[])
-AH_TEMPLATE([ACE_SIZEOF_SHORT],[])
-AH_TEMPLATE([ACE_SIZEOF_INT],[])
-AH_TEMPLATE([ACE_SIZEOF_LONG],[])
-AH_TEMPLATE([ACE_SIZEOF_LONG_LONG],[])
-AH_TEMPLATE([ACE_SIZEOF_VOID_P],[])
-AH_TEMPLATE([ACE_SIZEOF_FLOAT],[])
-AH_TEMPLATE([ACE_SIZEOF_DOUBLE],[])
-AH_TEMPLATE([ACE_SIZEOF_LONG_DOUBLE],[])
+dnl AH_TEMPLATE([ACE_SIZEOF_CHAR],[Size of native "char" type])
+AH_TEMPLATE([ACE_SIZEOF_SHORT],[Size of the native "short" type])
+AH_TEMPLATE([ACE_SIZEOF_INT],[Size of the native "int" type])
+AH_TEMPLATE([ACE_SIZEOF_LONG],[Size of the native "long" type])
+AH_TEMPLATE([ACE_SIZEOF_LONG_LONG],[Size of the native "long long" type])
+AH_TEMPLATE([ACE_SIZEOF_VOID_P],[Size of the native "pointer to void" type])
+AH_TEMPLATE([ACE_SIZEOF_FLOAT],[Size of the native "float" type])
+AH_TEMPLATE([ACE_SIZEOF_DOUBLE],[Size of the native "double" type])
+AH_TEMPLATE([ACE_SIZEOF_LONG_DOUBLE],[Size of the native "long double" type])
AH_VERBATIM([ACE_UINT64_TYPEDEF],
@@ -284,6 +272,7 @@ AH_VERBATIM([ACE_UINT64_TYPEDEF],
We only make the typedef if ACE_UINT64_TYPEDEF is defined. Otherwise,
let ace/Basic_Types.h do the work for us.
*/
+#undef ACE_UINT64_TYPEDEF
#ifdef ACE_UINT64_TYPEDEF
typedef ACE_UINT64_TYPEDEF ACE_UINT64;
#endif /* ACE_UINT64_TYPEDEF */