fix build failure on MacOS X
Christian Ebert <[email protected]> Thu, 7 Aug 2008 15:22:31 +0200
| Newsgroups | gmane.comp.gnu.screen |
|---|---|
| Organization | Black Trash Productions <http://www.blacktrash.org/> |
| Message-ID | <20080807132231.GA18733__49579.8920900144$1238089049$gmane$org@krille.blacktrash.org> |
Hi, Latest git source fail to compile here (MacOS 10.4.11). I fixed it like so: diff -r 186c11906163 src/acconfig.h --- a/src/acconfig.h Thu Aug 07 02:34:28 2008 -0700 +++ b/src/acconfig.h Thu Aug 07 15:16:43 2008 +0200 @@ -564,7 +564,6 @@ * If you are on a SYS V machine that restricts filename length to 14 * characters, you may need to enforce that by setting NAME_MAX to 14 */ -#undef NAME_MAX /* KEEP_UNDEF_HERE override system value */ #undef NAME_MAX /* BTW, I see there was a switch from config.h in to acconfig.h; I now get the following warning: autoheader-2.62: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' autoheader-2.62: WARNING: and `config.h.top', to define templates for `config.h.in' autoheader-2.62: WARNING: is deprecated and discouraged. autoheader-2.62: autoheader-2.62: WARNING: Using the third argument of `AC_DEFINE' and autoheader-2.62: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without autoheader-2.62: WARNING: `acconfig.h': autoheader-2.62: autoheader-2.62: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader-2.62: [Define if a function `main' is needed.]) autoheader-2.62: autoheader-2.62: WARNING: More sophisticated templates can also be produced, see the autoheader-2.62: WARNING: documentation. c -- Was heiÃt hier Dogma, ich bin Underdogma! [ What the hell do you mean dogma, I am underdogma. ] _F R E E_ _V I D E O S_ -->> http://www.blacktrash.org/underdogma/