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: Micah Cowan
Subject: Re: [screen-devel] fix build failure on MacOS X
Date: Fri, 08 Aug 2008 01:50:44 -0700
User-agent: Thunderbird 2.0.0.16 (X11/20080724)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Christian Ebert wrote:
> 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"

Yeah, I've also been experiencing this. The usage above with the eval,
is in direct defiance of the autoconf manual's recommendations (though
screen is old, and may predate the warning found there), which has now
come back to bite it. I'll replace it with something better when I get
the chance.

- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer.
GNU Maintainer: wget, screen, teseq
http://micah.cowan.name/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFInAjk7M8hyUobTrERAnqPAJ9PnXMkwvfjO37PIIyE4W8x8pe56ACfWmFE
Of1EcUpq8Jqwa8nMPLtTBoo=
=xhdv
-----END PGP SIGNATURE-----




reply via email to

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