screen-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [screen-devel] fix build failure on MacOS X


From: Christian Ebert
Subject: Re: [screen-devel] fix build failure on MacOS X
Date: Fri, 8 Aug 2008 10:06:42 +0200
User-agent: Mutt/1.5.18 (2008-07-21)

* Micah Cowan on Thursday, August 07, 2008 at 17:44:04 -0700
> Christian Ebert wrote:
>> * Micah Cowan on Thursday, August 07, 2008 at 12:07:46 -0700
>>> Christian Ebert wrote:
>>>> 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
>>>> 
>>>> /*
>>> Hm. Strange that it didn't affect you before, when it was present in
>>> config.h.in (acconfig.h was simply "git mv"ed from config.h.in).
>> 
>> Yes. Strange.
> 
> Or perhaps not so very strange: the culprit appears to be a behavioral
> change (bug) in autoconf-2.62 (not present in 2.61):
> 
>  http://bugs.gentoo.org/217311
> 
> Thanks to Emanuele Giaquinta for pointing that out on IRC.

Ah, I see. Well, I don't have the time to downgrade the
autotools, so I'm gonna use my workaround.

Speaking of which, and perhaps related, I also have to do:

diff --git a/src/configure.in b/src/configure.in
--- a/src/configure.in
+++ b/src/configure.in
@@ -1305,7 +1305,7 @@

 SCREENENCODINGS="\"/usr/local/lib/screen/utf8encodings\""
 if test -n "$datadir"; then
-eval SCREENENCODINGS="$datadir/screen/utf8encodings"
+eval SCREENENCODINGS="$prefix/share/screen/utf8encodings"
 SCREENENCODINGS="\"$SCREENENCODINGS\""
 fi
 AC_MSG_CHECKING(for the utf8-encodings location)


Because $datadir doesn't seem to be evaluated correctly (here)
otherwise:

$ tail config.log
#define HAVE_UTIMES 1
#define HAVE_VSNPRINTF 1
#define HAVE_GETCWD 1
#define HAVE_SETLOCALE 1
#define HAVE_STRFTIME 1
#define COLORS256 1
#define ETCSCREENRC "/usr/local/etc/screenrc"
#define SCREENENCODINGS "${prefix}/share/screen/utf8encodings"

configure: exit 0


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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]