Add configure option to skip subdirectories
If you pass --enable-skip-subdirectories then configure will skip configuring or reconfiguring libraries and simply configure the FS core itself.
This commit is contained in:
parent
59d3823ed2
commit
2dc709981b
|
@ -330,6 +330,11 @@ if test "x${enable_visibility}" != "xno" ; then
|
|||
fi
|
||||
fi
|
||||
|
||||
# Option to skip configuration of subdirectories
|
||||
AC_ARG_ENABLE(skip-subdirectories,
|
||||
[AC_HELP_STRING([--enable-skip-subdirectories],[skip configuration of subdirectories])],
|
||||
[enable_skip_subdirectories="$enableval"],[enable_skip_subdirectories="no"])
|
||||
|
||||
# Enable ClueCon nag banner (default: on)
|
||||
AC_ARG_ENABLE(huge-cluecon-nag,
|
||||
[AC_HELP_STRING([--disable-huge-cluecon-nag],[build without huge ClueCon banners])],
|
||||
|
@ -1089,12 +1094,12 @@ ac_configure_args="$ac_configure_args CONFIGURE_CFLAGS='$CFLAGS' CONFIGURE_CXXFL
|
|||
# --localstatedir='$localstatedir' --datadir='$datadir'"
|
||||
|
||||
# Run configure in all the subdirs
|
||||
if ! test "${enable_skip_subdirectories}" = "yes"; then
|
||||
AC_CONFIG_SUBDIRS([libs/srtp])
|
||||
AC_CONFIG_SUBDIRS([libs/sqlite])
|
||||
if test "$enable_core_libedit_support" = "yes" ; then
|
||||
AC_CONFIG_SUBDIRS([libs/libedit])
|
||||
fi
|
||||
|
||||
AC_CONFIG_SUBDIRS([libs/pcre])
|
||||
AC_CONFIG_SUBDIRS([libs/apr])
|
||||
AC_CONFIG_SUBDIRS([libs/apr-util])
|
||||
|
@ -1121,6 +1126,7 @@ if test "x${enable_zrtp}" = "xyes"; then
|
|||
AC_CONFIG_SUBDIRS([libs/libzrtp/projects/gnu])
|
||||
fi
|
||||
AC_CONFIG_SUBDIRS([libs/libwebsockets])
|
||||
fi
|
||||
|
||||
case $host in
|
||||
*-openbsd*)
|
||||
|
|
Loading…
Reference in New Issue