From da78eff618e4d9c37fecde1aaaced3ff485b0ea1 Mon Sep 17 00:00:00 2001 From: epg Date: Fri, 10 Mar 2006 06:10:44 +0000 Subject: Add -DHAVE_CONFIG_H to CPPFLAGS so xstrdup.c will include and get the correct prototypes for strcpy and strlen. Fixes build on Ubuntu Linux, and likely others. --- pkgtools/pkg_install-info/files/Makefile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pkgtools') diff --git a/pkgtools/pkg_install-info/files/Makefile.in b/pkgtools/pkg_install-info/files/Makefile.in index 8f9b95cad13..1b04a3b335f 100644 --- a/pkgtools/pkg_install-info/files/Makefile.in +++ b/pkgtools/pkg_install-info/files/Makefile.in @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.in,v 1.2 2003/06/10 07:02:12 seb Exp $ +# $NetBSD: Makefile.in,v 1.3 2006/03/10 06:10:44 epg Exp $ .if defined(PREFIX) BINDIR?= ${PREFIX}/bin @@ -9,6 +9,7 @@ BINDIR?= /usr/bin PROG= pkg_install-info SRCS= getopt.c getopt1.c install-info.c xexit.c xstrdup.c +CPPFLAGS+= -DHAVE_CONFIG_H CPPFLAGS+= -I. CPPFLAGS+= -DENABLE_NLS=0 CPPFLAGS+= -DLOCALEDIR=\"\" -- cgit v1.2.3