Skip to content

Commit 6175d5d

Browse files
kobboimurraycu
authored andcommitted
Make --disable-benchmark work
Currently, when calling ./configure, the possible outcomes of the enable_benchmark variable are: ./configure -> "" ./configure --enable-benchmark -> "yes" ./configure --enable-benchmark=yes -> "yes" ./configure --enable-benchmark=no -> "yes" ./configure --enable-benchmark=hello -> "yes" ./configure --disable-benchmark -> "yes" With this commit, those values become ./configure -> "" ./configure --enable-benchmark -> "yes" ./configure --enable-benchmark=yes -> "yes" ./configure --enable-benchmark=no -> "no" ./configure --enable-benchmark=hello -> "hello" ./configure --disable-benchmark -> "no" Note that enable_benchmark is currently only being checked for being "yes" or not. Bug #774732
1 parent b71b38c commit 6175d5d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

configure.ac

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@ MM_ARG_ENABLE_WARNINGS([SIGC_WXXFLAGS],
5959
MM_ARG_DISABLE_DEPRECATED_API([SIGCXX])
6060

6161
AC_ARG_ENABLE(benchmark,
62-
AS_HELP_STRING([--enable-benchmark=yes|no]),
63-
[enable_benchmark=yes]
62+
AS_HELP_STRING([--enable-benchmark=yes|no])
6463
)
6564

6665
AM_CONDITIONAL([SIGC_BUILD_BENCHMARK], [test "x$enable_benchmark" = xyes])

0 commit comments

Comments
 (0)