Skip to content

Commit

Permalink
build: attempt to pass --enable-repobuild automatically to submodules
Browse files Browse the repository at this point in the history
This patch is related to issues:
#15
CESNET/Nemea-Modules#96

Argument "--enable-repobuild" is added now by default to configure in
subdirs.
  • Loading branch information
cejkato2 committed Oct 3, 2018
1 parent f06c921 commit 3efe49d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ AC_ARG_ENABLE([detectors], AC_HELP_STRING([--disable-detectors], [Disable NEMEA
AC_CONFIG_FILES([Makefile
nemea.spec])
AC_CONFIG_SUBDIRS([nemea-framework nemea-supervisor modules detectors])

# By default, users expects "repobuild" behavior, i.e., use relative path to NEMEA framework.
# If there is some "repobuild" arg of configure, do not add "--enable-repobuild".
if test -z "$ac_configure_args" || echo "$ac_configure_args" | grep -q -v -e 'repobuild'; then
ac_configure_args="$ac_configure_args --enable-repobuild"
fi

AC_OUTPUT

echo "Components:"
Expand Down

0 comments on commit 3efe49d

Please sign in to comment.