aboutsummaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-08-01 02:48:00 +0000
committerYang Tse <yangsita@gmail.com>2008-08-01 02:48:00 +0000
commit90e2510e2fa3c7bad44285aee71208dfc206849b (patch)
tree8577a777f3aca49c7998e71e67ea520b400f71b5 /m4
parent9251dd7b2412214d3b25da666f7755a7ab207d39 (diff)
Rename reentrant.m4 to avoid filename clash.
Diffstat (limited to 'm4')
-rw-r--r--m4/curl-reentrant.m4 (renamed from m4/reentrant.m4)16
1 files changed, 11 insertions, 5 deletions
diff --git a/m4/reentrant.m4 b/m4/curl-reentrant.m4
index 5ec0de076..aa299432d 100644
--- a/m4/reentrant.m4
+++ b/m4/curl-reentrant.m4
@@ -21,8 +21,14 @@
# $Id$
#***************************************************************************
+# File version for 'aclocal' use.
+# serial 1.1
-# serial 1.12
+dnl Note 1
+dnl ------
+dnl None of the CURL_CHECK_NEED_REENTRANT_* macros shall use HAVE_FOO_H to
+dnl conditionally include header files. These macros are used early in the
+dnl configure process much before header file availability is known.
dnl CURL_CHECK_NEED_REENTRANT_GMTIME_R
@@ -376,13 +382,13 @@ dnl and that in turn setup.h will define _REENTRANT.
dnl Internal macro for CURL_CONFIGURE_REENTRANT.
AC_DEFUN([CURL_CONFIGURE_FROM_NOW_ON_WITH_REENTRANT], [
-AC_DEFINE([NEED_REENTRANT], [1],
+AC_DEFINE(NEED_REENTRANT, 1,
[Define to 1 if _REENTRANT preprocessor symbol must be defined.])
-cat >>confdefs.h <<_ACEOF
+cat >>confdefs.h <<_EOF
#ifndef _REENTRANT
-#define _REENTRANT
+# define _REENTRANT
#endif
-_ACEOF
+_EOF
])