>> Use something like
>> AC_ARG_ENABLE([webcam],
>> [AS_HELP_STRING([--disable-webcam], [disable use of webcam])],
>> [AC_DEFINE([USE_WEBCAM], [1], [enable/disable webcam
broadcaster])])
>>
> Many thanks for your help.
>
> This is almost there, but working in reverse to my expectations,
Hello,
> >> Use something like
> >> AC_ARG_ENABLE([webcam],
> >> [AS_HELP_STRING([--disable-webcam], [disable use of webcam])],
> >> [AC_DEFINE([USE_WEBCAM], [1], [enable/disable webcam broadcaster])])
a modified example:
AC_ARG_ENABLE([webcam],
[AS_HELP_STRING([--disable-webcam], [d
Hello,
On Thu, Sep 14, 2006 at 04:41:30PM +0200, Philipp Marek wrote:
> > Gnulib provides umaxtostr.c, which is a convenient way of printing any
..
> arguments, and if umaxtostr() is not available on solaris etc. I can't use
gnulib is not "GNU Lib C", it's a collection of small C code
snippets,
On Tuesday 19 September 2006 13:17 Stepan Kasal wrote:
> On Thu, Sep 14, 2006 at 04:41:30PM +0200, Philipp Marek wrote:
> > > Gnulib provides umaxtostr.c, which is a convenient way of printing any
> ..
> > arguments, and if umaxtostr() is not available on solaris etc. I can't
> > use
> gnulib is no
Philipp Marek <[EMAIL PROTECTED]> writes:
> But that has to be GNU make?
No.
> Or how would make know that this function is not
> available in libc?
It's not available in libc, or in any other library that I know of, so
that shouldn't be a problem.
> Well, you mean "use this function, if not
I am using the following configure.ac to generate the configure script
for a program whose only dependencies are GNU Bash, and GNU
Libextractor. However on running ./configure, once autoconfig has
generated it, it checks for bison, gawk, gcc, stdlib.h, and whole lot
of other things. Is there a way
On Tuesday 19 September 2006 10:46 am, Stepan Kasal wrote:
> AC_ARG_ENABLE([webcam],
> [AS_HELP_STRING([--disable-webcam], [disable use of webcam])])
> if "$enable_webcam" != no; then
> AC_DEFINE([USE_WEBCAM], [1], [enable/disable webcam broadcaster])
> fi
Well, yes, the logic is correct, but
Hello,
On Tue, Sep 19, 2006 at 08:02:26PM +0100, Keith Marshall wrote:
> On Tuesday 19 September 2006 10:46 am, Stepan Kasal wrote:
> > AC_ARG_ENABLE([webcam],
> > [AS_HELP_STRING([--disable-webcam], [disable use of webcam])])
> > if "$enable_webcam" != no; then
> > AC_DEFINE([USE_WEBCAM], [1]
Hello Debarshi,
* Debarshi 'Rishi' Ray wrote on Tue, Sep 19, 2006 at 07:17:39PM CEST:
> I am using the following configure.ac to generate the configure script
> for a program whose only dependencies are GNU Bash, and GNU
> Libextractor. However on running ./configure, once autoconfig has
> generat