summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compiler.h8
-rw-r--r--configure.in6
2 files changed, 4 insertions, 10 deletions
diff --git a/compiler.h b/compiler.h
index 0f7261c8..5f35490e 100644
--- a/compiler.h
+++ b/compiler.h
@@ -24,14 +24,6 @@
# include "config.h"
#endif
-/* Request as many features as we can */
-#define _GNU_SOURCE
-#define _ISO99_SOURCE
-#define _POSIX_SOURCE
-#define _POSIX_C_SOURCE 200112L
-#define _XOPEN_SOURCE 600
-#define _XOPEN_SOURCE_EXTENDED
-
#ifdef __GNUC__
# if __GNUC__ >= 4
# define HAVE_GNUC_4
diff --git a/configure.in b/configure.in
index 009720a2..c43d39ca 100644
--- a/configure.in
+++ b/configure.in
@@ -1,6 +1,6 @@
-dnl Process this file with autoconf 2.53 or later to produce
+dnl Process this file with autoconf 2.59 or later to produce
dnl a configure script.
-AC_PREREQ(2.53)
+AC_PREREQ(2.59)
AC_INIT(config.h.in)
AC_CONFIG_HEADERS(config.h)
@@ -47,6 +47,8 @@ fi
AC_PREFIX_PROGRAM(nasm)
dnl Checks for programs.
+AC_USE_SYSTEM_EXTENSIONS
+AC_ISC_POSIX
AC_PROG_CC
AC_PROG_LN_S
AC_PROG_MAKE_SET