From: Arran Cudbard-Bell Date: Sat, 3 Nov 2012 21:43:50 +0000 (+0000) Subject: Enable experimental module build on --enable-developer X-Git-Tag: release_3_0_0_beta1~1603 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41caeb7bf827c1e96e0653016e3977d307fbf0a9;p=thirdparty%2Ffreeradius-server.git Enable experimental module build on --enable-developer --- diff --git a/configure b/configure index 1b4b1e2de2b..42d0ed5f5c6 100755 --- a/configure +++ b/configure @@ -1443,7 +1443,7 @@ Optional Packages: --with-dhcp Compile in DHCP support. (default=yes) --with-static-modules=QUOTED-MODULE-LIST --with-modules=QUOTED-MODULE-LIST - --with-experimental-modules Use experimental and unstable modules. (default=no) + --with-experimental-modules Use experimental and unstable modules. (default=no, unless --enable-developer=yes) --with-openssl Use OpenSSL. (default=yes) --with-openssl-includes=DIR Directory to look for OpenSSL include files --with-openssl-libraries=DIR Directory to look for OpenSSL library files @@ -15461,6 +15461,9 @@ if test "${with_experimental_modules+set}" = set; then : yes) EXPERIMENTAL=yes ;; + no) + EXPERIMENTAL=no + ;; *) esac @@ -17975,6 +17978,10 @@ if test "x$developer" = "xyes"; then $as_echo "yes. Using $devflags" >&6; } fi + if test "x$EXPERIMENTAL" != "xno"; then + EXPERIMENTAL = yes + fi + if test "x$GIT" = "xyes"; then RADIUSD_VERSION_COMMIT=`git log --pretty=format:'%h' -n 1` fi diff --git a/configure.in b/configure.in index d878714cca2..8306ef9f7fd 100644 --- a/configure.in +++ b/configure.in @@ -346,11 +346,14 @@ AC_ARG_WITH(modules, dnl extra argument: --with-experimental-modules EXPERIMENTAL= AC_ARG_WITH(experimental-modules, -[ --with-experimental-modules Use experimental and unstable modules. (default=no) ], +[ --with-experimental-modules Use experimental and unstable modules. (default=no, unless --enable-developer=yes) ], [ case "$withval" in yes) EXPERIMENTAL=yes ;; + no) + EXPERIMENTAL=no + ;; *) esac ] ) @@ -985,6 +988,10 @@ if test "x$developer" = "xyes"; then INSTALLSTRIP="" AC_MSG_RESULT(yes. Using $devflags) fi + + if test "x$EXPERIMENTAL" != "xno"; then + EXPERIMENTAL = yes + fi dnl append the current git hash onto the version string if test "x$GIT" = "xyes"; then