autoconf
[Top][All Lists]
Advanced

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

Re: making part of package optional at ./configure time


From: Keith Marshall
Subject: Re: making part of package optional at ./configure time
Date: Tue, 19 Sep 2006 20:02:26 +0100

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 I think you've made a typo; should 
that not be `if test "$enable_webcam" != no; then'?

Cheers,
Keith




reply via email to

[Prev in Thread] Current Thread [Next in Thread]