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
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:
> >
> > --
> > 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