Support for building static lib:

This commit is contained in:
Olof hagsand 2020-11-29 17:00:35 +01:00
parent 542c0495b3
commit 19fb063f82
8 changed files with 148 additions and 44 deletions

View file

@ -43,6 +43,7 @@ AC_INIT(lib/clixon/clixon.h.in)
# Default CFLAGS and INSTALLFLAGS unless set by environment
: ${CFLAGS="-O2 -Wall"}
: ${INSTALLFLAGS="-s"}
: ${LINKAGE=dynamic}
# where autotool scripts are: install-sh, config.sub, config.guess
AC_CONFIG_AUX_DIR(aux)
@ -93,6 +94,7 @@ AC_SUBST(INSTALLFLAGS)
AC_SUBST(CLIXON_DEFAULT_CONFIG)
AC_SUBST(LIBS)
AC_SUBST(SH_SUFFIX)
AC_SUBST(LINKAGE)
AC_SUBST(with_restconf) # Set to evhtp or fcgi -> compile apps/restconf
AC_SUBST(with_libxml2)
AC_SUBST(enable_optyangs)