Autoconf and optional arguments for the configure script

2005-06-24 Thread Bernd Lachner
Hi, I need some optional arguments for a configure script. I have seen the macros AC_ARG_WITH and AC_ARG_ENABLE in the autoconf manual. As far I can see, I can add arguments like this to the configure script: --enable-option=yes --with-option But I want more this two types of arguments for the

Re: Autoconf and optional arguments for the configure script

2005-06-24 Thread Bernd Lachner
Hi, thank you for your help, but now I have some more questions. > > > > I need some optional arguments for a configure script. I have seen the > > macros AC_ARG_WITH and AC_ARG_ENABLE in the autoconf manual. As far I can > > see, I can add arguments like this to the configure script: > > > > --

Re: Autoconf and optional arguments for the configure script

2005-06-25 Thread Bernd Lachner
> > 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 conf