summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-07-27 14:15:15 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-07-28 08:22:47 +0000
commitd4d394731f23dfdde2d37f7ed6effae67df2e2bd (patch)
tree73132ad2e3bbd3da3c644a0b99bcd8d3f027a30b
parentba1b1a8a1a2def94b7a0d1cbb16792fc17de4f94 (diff)
configure: make --enable-selective-debuginfo less errorprone
Change-Id: I6b7379323a86242b42a8a5137807c535bf1d7c46 (cherry picked from commit 6be72cc21cd59e6cb3c4dcda9416d1ab362f0a14) Reviewed-on: https://gerrit.libreoffice.org/17374 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index cf63d276560c..601a3cf07ce5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3847,6 +3847,9 @@ ENABLE_DEBUGINFO_FOR=
if test -n "$ENABLE_DEBUG"; then
AC_MSG_CHECKING([whether to use selective debuginfo])
if test -n "$enable_selective_debuginfo" -a "$enable_selective_debuginfo" != "no"; then
+ if test "$enable_selective_debuginfo" = "yes"; then
+ AC_MSG_ERROR([--enable-selective-debuginfo requires a parameter])
+ fi
ENABLE_DEBUGINFO_FOR="$enable_selective_debuginfo"
AC_MSG_RESULT([for "$enable_selective_debuginfo"])
else