[Patch] Added --with-examples option to configure

Jef Driesen jef at libdivecomputer.org
Mon Jun 30 05:37:19 PDT 2014


On 2014-06-27 22:34, Venkatesh Shukla wrote:
> Example scripts may not be needed always. It might be a helpful option 
> to
> disable its compilation.
> Added option of disabling using --with-examples=no option in for 
> autoconf.

Out of curiosity, why do you want to disable the example applications?

If it's just annoying (or time consuming) that all applications have to 
be re-linked after every change to the libdivecomputer code, then you 
can easily avoid that by running make in the src directory only:

make -C src/

I do this all the time.

Note that in the near future, all those silly example applications will 
get removed. Only an enhanced version of the universal example 
application will remain. But that's still a work in progress.

Jef


More information about the devel mailing list