[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS shishi/gl/m4
From: |
shishi-commit |
Subject: |
CVS shishi/gl/m4 |
Date: |
Tue, 7 Feb 2006 12:20:22 +0100 |
Update of /home/cvs/shishi/gl/m4
In directory dopio:/tmp/cvs-serv24939/gl/m4
Modified Files:
extensions.m4
Log Message:
Update.
--- /home/cvs/shishi/gl/m4/extensions.m4 2005/06/15 19:25:55 1.5
+++ /home/cvs/shishi/gl/m4/extensions.m4 2006/02/07 11:20:21 1.6
@@ -1,6 +1,6 @@
# Enable extensions on systems that normally disable them.
-# Copyright (C) 2003 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2006 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
@@ -25,6 +25,15 @@
#ifndef _POSIX_PTHREAD_SEMANTICS
# undef _POSIX_PTHREAD_SEMANTICS
#endif])
- AC_DEFINE([__EXTENSIONS__])
+ AC_CACHE_CHECK([whether it is safe to define __EXTENSIONS__],
+ [ac_cv_safe_to_define___extensions__],
+ [AC_COMPILE_IFELSE(
+ [AC_LANG_PROGRAM([
+ #define __EXTENSIONS__ 1
+ AC_INCLUDES_DEFAULT])],
+ [ac_cv_safe_to_define___extensions__=yes],
+ [ac_cv_safe_to_define___extensions__=no])])
+ test $ac_cv_safe_to_define___extensions__ == yes &&
+ AC_DEFINE([__EXTENSIONS__])
AC_DEFINE([_POSIX_PTHREAD_SEMANTICS])
])
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- CVS shishi/gl/m4,
shishi-commit <=