mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
30aaff1192
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.
18 lines
277 B
C
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 */
|