bug#3146: ns: mac-fix-env: CFLAGS / needed?

David Reitter <[email protected]>
Newsgroups gmane.emacs.bugs,gmane.emacs.pretest.bugs
Message-ID <[email protected]>
the mac-fix-env program is compiled without the CFLAGS.  See patch  
below.

However, I believe the program is flawed in other ways, given that  
Leopard provides a method (using /etc/paths) to set the environment  
that, I believe, supersedes the former environment.plist technique.

If that is true, we should either fix mac-fix-env or get rid of it.   
(It's also duplicated functionality, given that there is an import  
function in Lisp for this).




diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index 612cc94..ffdeacc 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -451,4 +451,4 @@ update-game-score.o: ${srcdir}/update-game- 
score.c ../src/config.h $(GETOPT_H)
  	  -DHAVE_SHARED_GAME_DIR="\"$(gamedir)\""

  mac-fix-env: ${srcdir}/mac-fix-env.m
-	$(CC) -o mac-fix-env ${srcdir}/mac-fix-env.m -prebind -framework  
Foundation
+	$(CC) ${ALL_CFLAGS} -o mac-fix-env ${srcdir}/mac-fix-env.m -prebind - 
framework Foundation
smime.p7s (application/pkcs7-signature, 2.1 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.