From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kalle Olavi Niemitalo To: guile-emacs@sourceware.cygnus.com Subject: Makefile preprocessing trouble (was %load-path) Date: Sun, 09 Apr 2000 12:46:00 -0000 Message-id: <87hfdb83cq.fsf@PC486.Niemitalo.LAN> References: <87og81zwk3.fsf@PC486.Niemitalo.LAN> X-SW-Source: 2000-q2/msg00001.html I have implemented points 1-4 of my %load-path plan at home. However, I haven't been able to test the code because I hit some trouble with GUILE_LDFLAGS. I have the Guile libraries at /home/kalle/i386-pc-linux-gnu/lib/, and when that goes through the C preprocessor (which Emacs uses for some makefiles), the "i386" turns to " 1 " which the linker doesn't like at all. It seems Emacs has had this problem before (with other variables), and configure.in contains code to add -U options on the preprocessor command line to get rid of predefined symbols. (Search for "the horror".) I tried adding $GUILE_CFLAGS and $GUILE_LDFLAGS in the list of protected variables, but that didn't work out because the commands are run in config.status and the variables are not defined there. Any suggestions how to tackle this problem?