unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#3146: ns: mac-fix-env: CFLAGS / needed?
@ 2009-04-28 15:03 David Reitter
  0 siblings, 0 replies; only message in thread
From: David Reitter @ 2009-04-28 15:03 UTC (permalink / raw)
  To: emacs-pretest-bug

[-- Attachment #1: Type: text/plain, Size: 955 bytes --]

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


[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2193 bytes --]

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-04-28 15:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-28 15:03 bug#3146: ns: mac-fix-env: CFLAGS / needed? David Reitter

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).