[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - configure.ac

Michael Stahl mstahl at redhat.com
Tue Jul 28 01:23:21 PDT 2015


 configure.ac |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit d4d394731f23dfdde2d37f7ed6effae67df2e2bd
Author: Michael Stahl <mstahl at redhat.com>
Date:   Mon Jul 27 14:15:15 2015 +0200

    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 at libreoffice.org>
    Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>

diff --git a/configure.ac b/configure.ac
index cf63d27..601a3cf 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


More information about the Libreoffice-commits mailing list