Don't define ENABLE_NLS if HOSTTOOL is defined
Link in xexit.c xmalloc.c xstrdup.c
This commit is contained in:
parent
127df52413
commit
d455051090
@ -11,7 +11,9 @@
|
||||
|
||||
/* Define to 1 if translation of program messages to the user's native
|
||||
language is requested. */
|
||||
#ifndef HOSTTOOL
|
||||
#define ENABLE_NLS 1
|
||||
#endif
|
||||
|
||||
/* Define to 1 if `TIOCGWINSZ' requires <sys/ioctl.h>. */
|
||||
/* #undef GWINSZ_IN_SYS_IOCTL */
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.3 2008/09/03 09:55:23 dogcow Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2008/09/09 06:31:33 lukem Exp $
|
||||
|
||||
NOMAN=
|
||||
MAKEDOC=
|
||||
@ -6,10 +6,10 @@ MAKEDOC=
|
||||
.include "../Makefile.inc"
|
||||
|
||||
HOSTPROG= makedoc
|
||||
SRCS= makedoc.c xexit.c xmalloc.c xstrdup.c
|
||||
|
||||
.PATH: ${IDIST}/info
|
||||
.PATH: ${IDIST}/info ${IDIST}/lib
|
||||
HOST_CPPFLAGS+= -I${IDIST}/info -I${IDIST}/lib -I${.CURDIR}/../common
|
||||
HOST_CPPFLAGS+= -Dxstrdup=strdup -Dxmalloc=malloc -Dxfree=free
|
||||
HOST_CPPFLAGS+= -Dxexit=exit -Dxrealloc=realloc -DHOSTTOOL
|
||||
HOST_CPPFLAGS+= -DHOSTTOOL
|
||||
|
||||
.include <bsd.hostprog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user