Add #define _XOPEN_SOURCE (for Solaris)

Create "make autoconf" target
This commit is contained in:
hpa 2001-11-12 20:02:23 +00:00
parent b46e220d49
commit 403b4a48ff
2 changed files with 5 additions and 2 deletions

View file

@ -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

View file

@ -23,6 +23,7 @@
/* This is necessary on Solaris */
#define _XPG4_2
#define _XOPEN_SOURCE
/* Standard includes */