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:
Travis Cross 2012-09-23 00:01:29 +00:00
parent 59d3823ed2
commit 2dc709981b
1 changed files with 37 additions and 31 deletions

View File

@ -330,6 +330,11 @@ if test "x${enable_visibility}" != "xno" ; then
fi fi
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) # Enable ClueCon nag banner (default: on)
AC_ARG_ENABLE(huge-cluecon-nag, AC_ARG_ENABLE(huge-cluecon-nag,
[AC_HELP_STRING([--disable-huge-cluecon-nag],[build without huge ClueCon banners])], [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'" # --localstatedir='$localstatedir' --datadir='$datadir'"
# Run configure in all the subdirs # Run configure in all the subdirs
if ! test "${enable_skip_subdirectories}" = "yes"; then
AC_CONFIG_SUBDIRS([libs/srtp]) AC_CONFIG_SUBDIRS([libs/srtp])
AC_CONFIG_SUBDIRS([libs/sqlite]) AC_CONFIG_SUBDIRS([libs/sqlite])
if test "$enable_core_libedit_support" = "yes" ; then if test "$enable_core_libedit_support" = "yes" ; then
AC_CONFIG_SUBDIRS([libs/libedit]) AC_CONFIG_SUBDIRS([libs/libedit])
fi fi
AC_CONFIG_SUBDIRS([libs/pcre]) AC_CONFIG_SUBDIRS([libs/pcre])
AC_CONFIG_SUBDIRS([libs/apr]) AC_CONFIG_SUBDIRS([libs/apr])
AC_CONFIG_SUBDIRS([libs/apr-util]) AC_CONFIG_SUBDIRS([libs/apr-util])
@ -1121,6 +1126,7 @@ if test "x${enable_zrtp}" = "xyes"; then
AC_CONFIG_SUBDIRS([libs/libzrtp/projects/gnu]) AC_CONFIG_SUBDIRS([libs/libzrtp/projects/gnu])
fi fi
AC_CONFIG_SUBDIRS([libs/libwebsockets]) AC_CONFIG_SUBDIRS([libs/libwebsockets])
fi
case $host in case $host in
*-openbsd*) *-openbsd*)