Answer the question
In order to leave comments, you need to log in
How to add a key to configure and include additional packages?
How to correctly add a key to configure and include additional packages?
I do it something like this:
in the configure.ac file I add the following:
AC_ARG_WITH([foo],
[AS_HELP_STRING([--with-foo],
[enable foo (default=no)])],
[enable_foo=$withval],
[enable_foo=no])
#-----
AM_CONDITIONAL([ENABLE_FOO],[test x$enable_foo = xyes])
if ENABLE_FOO
include Makefile.foo.include
endif
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question