1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 11:40:18 +02:00

Use AC_USE_SYSTEM_EXTENSIONS' instead of the obsolete AC_AIX', etc.

This commit is contained in:
Ludovic Courtès 2008-08-20 19:02:41 +02:00
parent f4833b3906
commit e210266510
11 changed files with 20 additions and 24 deletions

View file

@ -1,3 +1,11 @@
2008-08-20 Ludovic Courtès <ludo@gnu.org>
* configure.in: Use `AC_USE_SYSTEM_EXTENSIONS' instead of the
obsolete `AC_AIX', `AC_ISC_POSIX' and `AC_MINIX'. As a side
effect, this will define `_POSIX_PTHREAD_SEMANTICS' on Solaris,
which provides a standard-conforming version of `readdir_r ()'
for instance; it also allows the use of Autoconf 2.62.
2008-08-14 Ludovic Courtès <ludo@gnu.org> 2008-08-14 Ludovic Courtès <ludo@gnu.org>
* configure.in: Remove incorrect and pointless * configure.in: Remove incorrect and pointless

View file

@ -73,9 +73,7 @@ AC_PROG_CC
AC_PROG_CPP AC_PROG_CPP
AC_PROG_AWK AC_PROG_AWK
AC_AIX AC_USE_SYSTEM_EXTENSIONS
AC_ISC_POSIX
AC_MINIX
AC_PROG_CC_C89 AC_PROG_CC_C89

View file

@ -1,3 +1,10 @@
2008-08-20 Ludovic Courtès <ludo@gnu.org>
* eval.c, filesys.c, gc.c, numbers.c, posix.c, srfi-14.c,
stime.c, threads.c: Don't define `_GNU_SOURCE' explicitly as
it's now defined in <config.h> thanks to
`AC_USE_SYSTEM_EXTENSIONS'.
2008-08-19 Han-Wen Nienhuys <hanwen@lilypond.org> 2008-08-19 Han-Wen Nienhuys <hanwen@lilypond.org>
Ludovic Courtès <ludo@gnu.org> Ludovic Courtès <ludo@gnu.org>

View file

@ -18,8 +18,6 @@
#define _GNU_SOURCE
/* This file is read twice in order to produce debugging versions of ceval and /* This file is read twice in order to produce debugging versions of ceval and
* scm_apply. These functions, deval and scm_dapply, are produced when we * scm_apply. These functions, deval and scm_dapply, are produced when we
* define the preprocessor macro DEVAL. The file is divided into sections * define the preprocessor macro DEVAL. The file is divided into sections

View file

@ -19,7 +19,6 @@
/* See stime.c for comments on why _POSIX_C_SOURCE is not always defined. */ /* See stime.c for comments on why _POSIX_C_SOURCE is not always defined. */
#define _GNU_SOURCE /* ask glibc for everything */
#define _LARGEFILE64_SOURCE /* ask for stat64 etc */ #define _LARGEFILE64_SOURCE /* ask for stat64 etc */
#ifdef __hpux #ifdef __hpux
#define _POSIX_C_SOURCE 199506L /* for readdir_r */ #define _POSIX_C_SOURCE 199506L /* for readdir_r */

View file

@ -15,8 +15,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#define _GNU_SOURCE
/* #define DEBUGINFO */ /* #define DEBUGINFO */
#if HAVE_CONFIG_H #if HAVE_CONFIG_H

View file

@ -40,9 +40,6 @@
*/ */
/* tell glibc (2.3) to give prototype for C99 trunc(), csqrt(), etc */
#define _GNU_SOURCE
#if HAVE_CONFIG_H #if HAVE_CONFIG_H
# include <config.h> # include <config.h>
#endif #endif

View file

@ -1,4 +1,4 @@
/* Copyright (C) 1995,1996,1997,1998,1999,2000,2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. /* Copyright (C) 1995,1996,1997,1998,1999,2000,2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
@ -21,9 +21,6 @@
# include <config.h> # include <config.h>
#endif #endif
/* Make GNU/Linux libc declare everything it has. */
#define _GNU_SOURCE
#include <stdio.h> #include <stdio.h>
#include <errno.h> #include <errno.h>

View file

@ -1,6 +1,6 @@
/* srfi-14.c --- SRFI-14 procedures for Guile /* srfi-14.c --- SRFI-14 procedures for Guile
* *
* Copyright (C) 2001, 2004, 2006 Free Software Foundation, Inc. * Copyright (C) 2001, 2004, 2006, 2008 Free Software Foundation, Inc.
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
@ -21,9 +21,6 @@
# include <config.h> # include <config.h>
#endif #endif
#define _GNU_SOURCE /* Ask for `isblank ()'. */
#include <string.h> #include <string.h>
#include <ctype.h> #include <ctype.h>

View file

@ -1,4 +1,4 @@
/* Copyright (C) 1995,1996,1997,1998,1999,2000,2001, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. /* Copyright (C) 1995,1996,1997,1998,1999,2000,2001, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
@ -31,7 +31,6 @@
what it takes away, and decide from that whether to use it, instead of what it takes away, and decide from that whether to use it, instead of
hard coding __hpux. */ hard coding __hpux. */
#define _GNU_SOURCE /* ask glibc for everything, in particular strptime */
#ifndef _REENTRANT #ifndef _REENTRANT
# define _REENTRANT /* ask solaris for gmtime_r prototype */ # define _REENTRANT /* ask solaris for gmtime_r prototype */
#endif #endif

View file

@ -1,4 +1,4 @@
/* Copyright (C) 1995,1996,1997,1998,2000,2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. /* Copyright (C) 1995,1996,1997,1998,2000,2001, 2002, 2003, 2004, 2005, 2006, 2008 Free Software Foundation, Inc.
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
@ -18,8 +18,6 @@
#define _GNU_SOURCE
#include "libguile/_scm.h" #include "libguile/_scm.h"
#if HAVE_UNISTD_H #if HAVE_UNISTD_H