freebsd-skq/tools/build/langinfo.h
imp b0693a4cbc Migrate to a new way of dealing with building from old revisions of
FreeBSD.  This method attempts to centralize all the necessary hacks
or work arounds in one of two places in the tree (src/Makefile.inc1
and src/tools/build).  We build a small compatibility library
(libbuild.a) as well as selectively installing necessary include
files.  We then include this directory when building host binaries.

This removes all the past release compatibilty hacks from various
places in the tree.  We still build on tip of stable and current.  I
will work with those that want to support more, although I anticipate
it will just work.

Many thanks to ru@, obrien@ and jhb@ for providing valuable input at
various stage of implementation, as well as for working together to
positively effect a change for the better.
2003-04-05 20:30:30 +00:00

18 lines
277 B
C

/* $FreeBSD$ */
#ifndef LANGINFO_H
#define LANGINFO_H
#include <sys/cdefs.h>
#define YESEXPR 1
/* xargs only needs yesexpr, so that's all we implement, for english */
static inline const char *
nl_langinfo(int type __unused)
{
return ("^[yY]");
}
#endif /* LANGINFO_H */