blob: ba35578637fb1d451c10c3fa709a08d60588246f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
From 112917b0acf923ffa3632fc19a1fbde71d676baf Mon Sep 17 00:00:00 2001
From: Solomon Peachy <pizza@shaftnet.org>
Date: Sun, 25 Sep 2016 15:13:06 -0400
Subject: build: Fix inverted tests that broke module loads.
---
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 5919a71..a9e4291 100644
--- a/configure.ac
+++ b/configure.ac
@@ -878,7 +878,7 @@ fi
# define what module system is to be used
AC_MSG_CHECKING([which module system will be used])
if test x$USE_LTDL = xtrue; then
- if test -n "$WITH_MODULES" ; then
+ if test -z "$WITH_MODULES" ; then
MODULE="false"
else
MODULE="true"
@@ -890,7 +890,7 @@ if test x$USE_LTDL = xtrue; then
AC_DEFINE(USE_LTDL, "1", [Use GNU libltdl as module loader])
AC_MSG_RESULT([ltdl])
elif test x$USE_DLOPEN = xtrue; then
- if test -n "$WITH_MODULES" ; then
+ if test -z "$WITH_MODULES" ; then
MODULE="false"
else
MODULE="true"
|