config.mak problem
Ken Beesley <[email protected]>
| Newsgroups | gmane.editors.qemacs.devel |
|---|---|
| Message-ID | <[email protected]> |
RE: config.mak problem I invoked J'ai invoqué ./configure --prefix=/opt/gnu/bin and got the following config.mak file: qui a généré le fichier suivant: # Automatically generated by configure - do not modify prefix=/opt/gnu/bin MAKE=make CC=gcc GCC_MAJOR=3 HOST_CC=gcc AR=ar STRIP=strip -s -R .comment -R .note CFLAGS=-O2 LDFLAGS= EXTRALIBS=-lm -n VERSION= 0.3.1 CONFIG_NETWORK=yes CONFIG_X11=yes CONFIG_XV=yes CONFIG_HTML=yes CONFIG_DLL=yes CONFIG_PNG_OUTPUT=yes which has problems at lines 12 and 13. où les lignes 12 et 13 ont des problèmes. Here's the code in 'configure' that generated these lines. Voici le code dans 'configure' qui a généré ces lignes. echo "EXTRALIBS=$extralibs" >> config.mak echo -n "VERSION=" >>config.mak head $source_path/VERSION >>config.mak echo "" >>config.mak The intent of "echo -n "VERSION=" >>config.mak" is obviously to output the line without a newline at the end. But this -n flag is for _csh_ rather than sh. For sh, I think it should be echo "VERSION=\c" >>config.mak There's another example of "echo -n ..." just below this that should also be changed (I think). Ken ********************************************************************** Kenneth R. Beesley [email protected] Xerox Research Centre Europe Tel from France: 04 76 61 50 64 6, chemin de Maupertuis Tel from Abroad: +33 4 76 61 50 64 38240 MEYLAN Fax from France: 04 76 61 50 99 France Fax from Abroad: +33 4 76 61 50 99 XRCE page: http://www.xrce.xerox.com Personal page: http://www.xrce.xerox.com/people/beesley/beesley.html **********************************************************************