forked from mirrors/tftp-hpa-google
Add #define _XOPEN_SOURCE (for Solaris)
Create "make autoconf" target
This commit is contained in:
parent
b46e220d49
commit
403b4a48ff
2 changed files with 5 additions and 2 deletions
6
Makefile
6
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
|
||||
|
|
1
config.h
1
config.h
|
@ -23,6 +23,7 @@
|
|||
|
||||
/* This is necessary on Solaris */
|
||||
#define _XPG4_2
|
||||
#define _XOPEN_SOURCE
|
||||
|
||||
/* Standard includes */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue