automake
[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: mick
Subject: Re: making part of package optional at ./configure time
Date: Tue, 19 Sep 2006 15:20:07 +1000
User-agent: KMail/1.7.2

On Mon, 18 Sep 2006 17:34, Ralf Wildenhues wrote:
> Hello Mick,
>
> * mick wrote on Sun, Sep 17, 2006 at 08:36:15AM CEST:
> > I am trying to make the inclusion of a module of my program an option
> > configurable in ./configure but can't get it right.
> >
> 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,
 ./configure --disable-webcam 
enables inclusion and 
 ./configure
DISABLES it
I have yet to explore the remaining tips 
/]/]ik




reply via email to

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