summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2000-09-07 19:07:57 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2000-09-07 19:07:57 +0000
commit3d51a79e3de6fd0a836ff9a0f3a9bc794e1fb1e8 (patch)
tree527efe0f824907b5ddea041006f0e27489acba93 /m4
parent2702a8d17e4a809054bc3084de3f547cb8a1af3e (diff)
downloadATCD-3d51a79e3de6fd0a836ff9a0f3a9bc794e1fb1e8.tar.gz
ChangeLogTag:Thu Sep 7 12:07:14 2000 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'm4')
-rw-r--r--m4/acinclude.m42
-rw-r--r--m4/platform.m47
-rw-r--r--m4/threads.m42
3 files changed, 6 insertions, 5 deletions
diff --git a/m4/acinclude.m4 b/m4/acinclude.m4
index 0fb7b8999a8..fa5a6e11faf 100644
--- a/m4/acinclude.m4
+++ b/m4/acinclude.m4
@@ -9,7 +9,7 @@ dnl general enough for general use.
dnl
dnl -------------------------------------------------------------------------
-dnl Copyright (C) 1998, 1999 Ossama Othman
+dnl Copyright (C) 1998, 1999, 2000 Ossama Othman
dnl
dnl All Rights Reserved
dnl
diff --git a/m4/platform.m4 b/m4/platform.m4
index df60421b200..8d97cbb55cf 100644
--- a/m4/platform.m4
+++ b/m4/platform.m4
@@ -32,7 +32,7 @@ dnl things going with the auto{conf,make}/libtool integration into the
dnl ACE source tree.
dnl Platform specific flags
-case "$target" in
+case "$host" in
*aix3*)
AC_DEFINE(AIX)
AC_DEFINE(ACE_DEFAULT_BASE_ADDR, ((char *) 0x80000000))
@@ -129,7 +129,7 @@ dnl FIXME: "FSU" isn't a platform! We need to move this somewhere.
AC_DEFINE(ACE_TIMER_SKEW, (1000 * 10))
ACE_CPPFLAGS="$ACE_CPPFLAGS -D_SGI_MP_SOURCE -D_MODERN_C_"
- case "$target" in
+ case "$host" in
*irix6.2*)
dnl Recent versions of IRIX do not appear to require this macro.
if test "$ace_user_enable_threads" = yes; then
@@ -285,6 +285,7 @@ dnl Check for _POSIX_C_SOURCE macro
AC_DEFINE(ACE_USE_RCSID, 0)
;;
*cygwin32*)
+ AC_DEFINE(CYGWIN32)
;;
*win32*)
AC_DEFINE(ACE_WIN32)
@@ -302,7 +303,7 @@ dnl AC_DEFINE(ACE_USE_SELECT_REACTOR_FOR_REACTOR_IMPL)
# filename
ACE_CPPFLAGS="$ACE_CPPFLAGS -D_POSIX_PATH_MAX=256" # Num. bytes in
# pathname (excl. NULL)
- case "$target" in
+ case "$host" in
changequote(, )dnl
i[3456]86*)
changequote([, ])dnl
diff --git a/m4/threads.m4 b/m4/threads.m4
index 40f1968721c..e652000a96c 100644
--- a/m4/threads.m4
+++ b/m4/threads.m4
@@ -101,7 +101,7 @@ dnl AC_REQUIRE([AC_LANG_CPLUSPLUS])
[
dnl Add thread preprocessor flags, if any.
ace_save_CPPFLAGS="$CPPFLAGS"
- CPPFLAGS="$CPPFLAGS $ACE_THR_CPPFLAGS"
+ CPPFLAGS="$ACE_THR_CPPFLAGS $CPPFLAGS" dnl User's CPPFLAGS go last
AC_EGREP_CPP(ACE_PTHREAD_MACROS,
[