Re: shell variables in configure.ac

2009-12-14 Thread Ralf Wildenhues
* Bob Friesenhahn wrote on Tue, Dec 15, 2009 at 03:24:29AM CET: > On Mon, 14 Dec 2009, Martin Kalbfuß wrote: > > > >When I have a look at the config.h I see only empty defines like > > > >#define SKMajor > > > >What's wrong here? > > Shell lines prior to AC_INIT are ignored. This is definitely an

Re: shell variables in configure.ac

2009-12-14 Thread Bob Friesenhahn
On Mon, 14 Dec 2009, Martin Kalbfuß wrote: When I have a look at the config.h I see only empty defines like #define SKMajor What's wrong here? Shell lines prior to AC_INIT are ignored. This is definitely an annoyance. Bob -- Bob Friesenhahn bfrie...@simple.dallas.tx.us, http://www.simple

shell variables in configure.ac

2009-12-14 Thread Martin Kalbfuß
Hi, I have the following lines in configure.ac SKMAJOR=0 SKMINOR=1 SKPATCH=2 SDLMAJOR=1 SDLMINOR=2 SDLPATCH=13 AC_PREREQ([2.64]) AC_INIT([SK], [0.1.0-1.2.13], [ma.kalbf...@web.de]) AC_CONFIG_SRCDIR([src/VideoBase.def]) AM_INIT_AUTOMAKE([]) # config.h AC_DEFINE_UNQUOTED([SKMajor], [$SKMAJOR], [M