autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Autoconf and optional arguments for the configure script


From: Bernd Lachner
Subject: Re: Autoconf and optional arguments for the configure script
Date: Sat, 25 Jun 2005 21:35:08 +0200
User-agent: KMail/1.8.1

> > 2)
> > --devicexresoluton=x
> > --deviceyresolution=y
> >
> > or even better
> >
> > --deviceres=x*y
> >
> > where x and y is an integer value. This should lead for example to a
> > #define xres 320 and #define yres 240 in config.h.
>
> Are you really sure that it's best to define these at configure
> time?  These seem more specific to a particular run of a program
> than to a particular build.  What if, for example, your program
> were packaged by a GNU/Linux distribution?  Would they want to
> make these values modifiable at runtime?

No I'm not really sure for this yet. Maybe I can autodetect this at runtime.  
But I thought, if I ask at this list, I ask all my questions. ;-)

What I really need is the device option or better a option to set the kind of 
the embedded Linux system. Something like this:

--with-embedded-extensions=opie
--with-embedded-extensions=gpe

and so on.

After I get some tips on this list, now I will try to write a configure.ac 
script for the above options first. The resolution option I only will add if 
necessary.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]