summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2004-10-05 19:35:37 +0000
committerSimon Josefsson <simon@josefsson.org>2004-10-05 19:35:37 +0000
commitb31740f68d835a539333880735ce299b98edf5a0 (patch)
tree4c031b9acea2dd4eb3944f8c77efcde4be69d6dc
parentc108498f15557d7f9ffead66d58d095d2526ae73 (diff)
downloadgnutls-b31740f68d835a539333880735ce299b98edf5a0.tar.gz
Update Gnulib.
-rw-r--r--gl/exit.h32
-rw-r--r--gl/m4/extensions.m429
-rw-r--r--gl/m4/gnulib.m41
-rw-r--r--gl/m4/unlocked-io.m422
4 files changed, 0 insertions, 84 deletions
diff --git a/gl/exit.h b/gl/exit.h
deleted file mode 100644
index 4e8d465165..0000000000
--- a/gl/exit.h
+++ /dev/null
@@ -1,32 +0,0 @@
-/* exit() function.
- Copyright (C) 1995, 2001 Free Software Foundation, Inc.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-
-#ifndef _EXIT_H
-#define _EXIT_H
-
-/* Get exit() declaration. */
-#include <stdlib.h>
-
-/* Some systems do not define EXIT_*, even with STDC_HEADERS. */
-#ifndef EXIT_SUCCESS
-# define EXIT_SUCCESS 0
-#endif
-#ifndef EXIT_FAILURE
-# define EXIT_FAILURE 1
-#endif
-
-#endif /* _EXIT_H */
diff --git a/gl/m4/extensions.m4 b/gl/m4/extensions.m4
deleted file mode 100644
index 58bc0beb6d..0000000000
--- a/gl/m4/extensions.m4
+++ /dev/null
@@ -1,29 +0,0 @@
-# Enable extensions on systems that normally disable them.
-
-# Copyright (C) 2003 Free Software Foundation, Inc.
-
-# This file is free software, distributed under the terms of the GNU
-# General Public License. As a special exception to the GNU General
-# Public License, this file may be distributed as part of a program
-# that contains a configuration script generated by Autoconf, under
-# the same distribution terms as the rest of that program.
-
-# gl_USE_SYSTEM_EXTENSIONS
-# ------------------------
-# Enable extensions on systems that normally disable them,
-# typically due to standards-conformance issues.
-AC_DEFUN([gl_USE_SYSTEM_EXTENSIONS], [
- AC_BEFORE([$0], [AC_COMPILE_IFELSE])
- AC_BEFORE([$0], [AC_RUN_IFELSE])
-
- AC_REQUIRE([AC_GNU_SOURCE])
- AC_REQUIRE([AC_AIX])
- AC_REQUIRE([AC_MINIX])
-
- AH_VERBATIM([__EXTENSIONS__],
-[/* Enable extensions on Solaris. */
-#ifndef __EXTENSIONS__
-# undef __EXTENSIONS__
-#endif])
- AC_DEFINE([__EXTENSIONS__])
-])
diff --git a/gl/m4/gnulib.m4 b/gl/m4/gnulib.m4
index 027f1d1214..bb09880146 100644
--- a/gl/m4/gnulib.m4
+++ b/gl/m4/gnulib.m4
@@ -13,7 +13,6 @@
AC_DEFUN([gl_EARLY],
[
AC_GNU_SOURCE
- gl_USE_SYSTEM_EXTENSIONS
])
AC_DEFUN([gl_INIT],
diff --git a/gl/m4/unlocked-io.m4 b/gl/m4/unlocked-io.m4
deleted file mode 100644
index cd1c5f4ef7..0000000000
--- a/gl/m4/unlocked-io.m4
+++ /dev/null
@@ -1,22 +0,0 @@
-#serial 9
-
-dnl From Jim Meyering.
-dnl
-dnl See if the glibc *_unlocked I/O macros or functions are available.
-dnl Use only those *_unlocked macros or functions that are declared
-dnl (because some of them were declared in Solaris 2.5.1 but were removed
-dnl in Solaris 2.6, whereas we want binaries built on Solaris 2.5.1 to run
-dnl on Solaris 2.6).
-
-AC_DEFUN([gl_FUNC_GLIBC_UNLOCKED_IO],
-[
- dnl Persuade glibc and Solaris <stdio.h> to declare
- dnl fgets_unlocked(), fputs_unlocked() etc.
- AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
-
- AC_CHECK_DECLS_ONCE(
- [clearerr_unlocked feof_unlocked ferror_unlocked
- fflush_unlocked fgets_unlocked fputc_unlocked fputs_unlocked
- fread_unlocked fwrite_unlocked getc_unlocked
- getchar_unlocked putc_unlocked putchar_unlocked])
-])