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

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

 



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


_______________________________________________
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