Re: Autoconf and optional arguments for the configure script

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

 



Hello!

Probably you want: --devicers=AxB


Yes AxB is Ok for this too. But that means that I must define any possible resolution in configure.ac, right?

No.

You can just parse the value using a script. Then you put your XRES and YRES in environment vars. Then you use AC_DEFINE.


And the resoultution is not give like this to config.h

#define XRES 320
#define YRES 240

It is given exaclty like this!


but like this

#define RES320X240
or
#define RES640X480

No, because you will parse the input before calling AC_DEFINE.

Good luck,
Andre Caldas.


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux