unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* -DVERSION for emacsclient
@ 2006-11-23  2:02 Juanma Barranquero
  2006-11-23  4:27 ` Eli Zaretskii
  0 siblings, 1 reply; 15+ messages in thread
From: Juanma Barranquero @ 2006-11-23  2:02 UTC (permalink / raw)


emacsclient.c includes

 #ifndef VERSION
 #define VERSION "unspecified"
 #endif

and, on non-Windows environments, it is compiled with -DVERSION="\"${version}\""

Is there any portable way to extract the version number from
lisp/version.el when executing lib-src/makefile (or when running
nt/configure.bat)?

The other option is hardcoding the version number in configure.bat or
lib-src/Makefile.w32-in, as it is hardcoded now on nt/emacs.rc. But
then admin/admin.el should have to be modified, shouldn't it?

                    /L/e/k/t/u

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2006-11-25 14:01 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-23  2:02 -DVERSION for emacsclient Juanma Barranquero
2006-11-23  4:27 ` Eli Zaretskii
2006-11-23  4:46   ` Lennart Borgman
2006-11-24 18:20     ` Eli Zaretskii
2006-11-23  9:17   ` Juanma Barranquero
2006-11-24 17:10   ` Benjamin Riefenstahl
2006-11-24 18:21   ` Eli Zaretskii
2006-11-24 19:28     ` Juanma Barranquero
2006-11-24 21:13       ` Eli Zaretskii
2006-11-24 23:55         ` Juanma Barranquero
2006-11-25 10:32           ` Eli Zaretskii
2006-11-25 13:01             ` Juanma Barranquero
2006-11-25 13:14               ` Eli Zaretskii
2006-11-25 13:25                 ` Juanma Barranquero
2006-11-25 14:01                   ` Eli Zaretskii

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).