Jean-Marc Lasgouttes wrote:
>
>
> Also, Rob, you do not need to change anything in acconfig.h. Use the
> optional third argument of AC_DEFINE to give the description.
>
Done; new patch attached.
lyx-devel/configure.in : version output added
lyx-devel/src/lyx_main.C : "-version flag" described and added
lyx-devel/lyx.man : "-version" described
with this, "lyx -version" (and also "lyx --version) produces:
LyX 1.2.0cvs of Thu, Jan 11, 2001
FreeBSD 4.3-RELEASE i386
Compilers:
| C CFlags: gcc (2.95.3) -g -O2
| C++ Flags: g++ (2.95.3) -g -O -fno-exceptions -W -Wall
| Special flags: frontend-xforms warnings included-libsigc assertions
| LD Flags:
| Build time: Jul 21 2001 12:04:44
FrontEnd:
| GUI lib : xforms/libxforms.la
| LD flags:
| Includes:
| Libs:
I agree that this info is still of a rudimentary form, but its a setup for
adding more useful stuff into configure.in by someone who is familiar
with the structure of configure.in files.
For exmaple I don't know how to extract the right Front-end information.
Regards,
Rob.
versionAddPatch.gz