Subject: bug#507: compilation problem under Solaris

From: "Langella Raphael" <[email-masked]>
Date: Mon, 30 Jun 2008 14:41:03 +0200

I'm compiling Emacs 22.2 under Sparc/Solaris 9. I've got librairies
under non-standard directories, so I've set LDFLAGS and CPPFLAGS with -I
and -L options to include these directories. The path to those
directories has the string "sparc" within. In src/Makefile, "sparc" has
been replaced by "1 " on the lines defining ALL_CFLAGS and LIBW. I've
corrected it manually and it compiles fine.
Here's an example if my explanation isn't clear. I set :
LDFLAGS="-L/Produits/publics/sparc.SunOS.5.8/tiff/3.8.2/lib"

in src/Makefile :
LIBW="-L/Produits/publics/1 .SunOS.5.8/tiff/3.8.2/lib"