[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NSK(OSS) compilation problem
From: |
Paul Eggert |
Subject: |
Re: NSK(OSS) compilation problem |
Date: |
Wed, 11 Oct 2006 15:41:01 -0700 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
mwoehlke <address@hidden> writes:
> I would prefer that autoconf know that if it is on NSK/OSS ('#ifdef
> __TANDEM'), that _TANDEM_SOURCE needs to be defined.
Makes sense, though I wish this stuff were better-documented on the
web. Might as well do it unconditionally, as that's what we do for
other symbols like that.
I installed this into Autoconf. gnulib patch will follow.
2006-10-11 Paul Eggert <address@hidden>
* NEWS: AC_USE_SYSTEM_EXTENSIONS now defines _TANDEM_SOURCE for
the NonStop platform.
* doc/autoconf.texi (Posix Variants): Likewise.
* lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Likewise.
Index: NEWS
===================================================================
RCS file: /cvsroot/autoconf/autoconf/NEWS,v
retrieving revision 1.403
diff -u -r1.403 NEWS
--- NEWS 11 Oct 2006 19:35:57 -0000 1.403
+++ NEWS 11 Oct 2006 22:38:07 -0000
@@ -21,6 +21,8 @@
** AC_CHECK_DECL now also works with aggregate objects.
+** AC_USE_SYSTEM_EXTENSIONS now defines _TANDEM_SOURCE for the NonStop
platform.
+
** GNU M4 1.4.7 or later is now recommended.
* Major changes in Autoconf 2.60a (2006-08-25)
Index: doc/autoconf.texi
===================================================================
RCS file: /cvsroot/autoconf/autoconf/doc/autoconf.texi,v
retrieving revision 1.1092
diff -u -r1.1092 autoconf.texi
--- doc/autoconf.texi 11 Oct 2006 19:35:57 -0000 1.1092
+++ doc/autoconf.texi 11 Oct 2006 22:38:08 -0000
@@ -7291,12 +7291,14 @@
@cvindex _POSIX_1_SOURCE
@cvindex _POSIX_PTHREAD_SEMANTICS
@cvindex _POSIX_SOURCE
address@hidden _TANDEM_SOURCE
@cvindex __EXTENSIONS__
If possible, enable extensions to Posix on hosts that normally disable
the extensions, typically due to standards-conformance namespace issues.
This may involve defining @code{__EXTENSIONS__} and
address@hidden, which are macros used by Solaris. This
-macro also has the combined effects of @code{AC_GNU_SOURCE},
address@hidden, which are macros used by Solaris.
+It also defines @code{_TANDEM_SOURCE} for the @acronym{HP} NonStop platform.
+This macro also has the combined effects of @code{AC_GNU_SOURCE},
@code{AC_AIX}, and @code{AC_MINIX}.
@end defmac
Index: lib/autoconf/specific.m4
===================================================================
RCS file: /cvsroot/autoconf/autoconf/lib/autoconf/specific.m4,v
retrieving revision 1.371
diff -u -r1.371 specific.m4
--- lib/autoconf/specific.m4 26 Sep 2006 20:57:16 -0000 1.371
+++ lib/autoconf/specific.m4 11 Oct 2006 22:38:08 -0000
@@ -400,6 +400,9 @@
#endif
#ifndef _POSIX_PTHREAD_SEMANTICS
# undef _POSIX_PTHREAD_SEMANTICS
+#endif
+#ifndef _TANDEM_SOURCE
+# undef _TANDEM_SOURCE
#endif])
AC_CACHE_CHECK([whether it is safe to define __EXTENSIONS__],
[ac_cv_safe_to_define___extensions__],
@@ -412,6 +415,7 @@
test $ac_cv_safe_to_define___extensions__ = yes &&
AC_DEFINE([__EXTENSIONS__])
AC_DEFINE([_POSIX_PTHREAD_SEMANTICS])
+ AC_DEFINE([_TANDEM_SOURCE])
])
- NSK(OSS) compilation problem, mwoehlke, 2006/10/04
- Re: NSK(OSS) compilation problem, Paul Eggert, 2006/10/05
- Re: NSK(OSS) compilation problem, mwoehlke, 2006/10/06
- Re: NSK(OSS) compilation problem, Paul Eggert, 2006/10/06
- Re: NSK(OSS) compilation problem, mwoehlke, 2006/10/09
- Re: NSK(OSS) compilation problem, Paul Eggert, 2006/10/11
- Re: NSK(OSS) compilation problem, mwoehlke, 2006/10/11
- Re: NSK(OSS) compilation problem,
Paul Eggert <=
- Re: NSK(OSS) compilation problem (change to m4/extensions.m4), Paul Eggert, 2006/10/11
- Message not available
- Re: NSK(OSS) compilation problem (change to m4/extensions.m4), Ralf Wildenhues, 2006/10/12
- Re: NSK(OSS) compilation problem, Paul Eggert, 2006/10/11
- Re: NSK(OSS) compilation problem, Paul Eggert, 2006/10/11
- proposed patch to allocsa, vasnprintf for Tandem NSK (OSS), Paul Eggert, 2006/10/11
- Re: [bug-gnulib] proposed patch to allocsa, vasnprintf for Tandem NSK (OSS), Bruno Haible, 2006/10/11
- Re: [bug-gnulib] proposed patch to allocsa, vasnprintf for Tandem NSK (OSS), Bruno Haible, 2006/10/11
- Re: [bug-gnulib] proposed patch to allocsa, vasnprintf for Tandem NSK (OSS), mwoehlke, 2006/10/11
- Message not available
- Re: proposed patch to allocsa, vasnprintf for Tandem NSK (OSS), Paul Eggert, 2006/10/11
- Re: proposed patch to allocsa, vasnprintf for Tandem NSK (OSS), Matthew Woehlke, 2006/10/11