From 403b4a48ff830d31e268bcaaff0361d1caf085c0 Mon Sep 17 00:00:00 2001 From: hpa Date: Mon, 12 Nov 2001 20:02:23 +0000 Subject: [PATCH] Add #define _XOPEN_SOURCE (for Solaris) Create "make autoconf" target --- Makefile | 6 ++++-- config.h | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 3218aef..a14f083 100644 --- a/Makefile +++ b/Makefile @@ -29,10 +29,12 @@ distclean: $(patsubst %, %.distclean, $(SUB)) spotless: distclean rm -f configure acconfig.h.in -config: MCONFIG +autoconf: configure acconfig.h.in + +config: MCONFIG acconfig.h release: - $(MAKE) configure acconfig.h.in + $(MAKE) autoconf $(MAKE) distclean MCONFIG: configure MCONFIG.in acconfig.h.in diff --git a/config.h b/config.h index dafd3b3..d0c95bb 100644 --- a/config.h +++ b/config.h @@ -23,6 +23,7 @@ /* This is necessary on Solaris */ #define _XPG4_2 +#define _XOPEN_SOURCE /* Standard includes */