diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-07-27 14:15:15 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2015-08-06 12:56:58 +0200 |
commit | b6531f79068f2415142c2dec99ceb1acfd7b11af (patch) | |
tree | bd3d1432f2ad15b82b317109acb29cc8307727f3 /configure.ac | |
parent | 9b42271514a549ec267a1ae1fb43bf2b1fffe49b (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>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
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 |