[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Autoconf and optional arguments for the configure script
From: |
Andre Caldas |
Subject: |
Re: Autoconf and optional arguments for the configure script |
Date: |
Wed, 29 Jun 2005 10:33:10 +0900 |
User-agent: |
Debian Thunderbird 1.0.2 (X11/20050602) |
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.