[Libreoffice-commits] core.git: configure.ac

Michael Stahl mstahl at redhat.com
Fri Aug 7 10:38:02 PDT 2015


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

New commits:
commit 2d76030d985b53779e2363b559f441613f5c677c
Author: Michael Stahl <mstahl at redhat.com>
Date:   Fri Aug 7 19:29:04 2015 +0200

    configure: *another* --enable-selective-debuginfo pitfall
    
    Change-Id: I5f04b71d01c163edde55f01becfe2e460f4bc9c7

diff --git a/configure.ac b/configure.ac
index 274ff7f..0d45455 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3927,6 +3927,10 @@ if test -n "$ENABLE_DEBUG"; then
         ENABLE_DEBUGINFO_FOR=all
         AC_MSG_RESULT([no, for all])
     fi
+else
+    if test -n "$enable_selective_debuginfo"; then
+        AC_MSG_ERROR([--enable-selective-debuginfo must be used together with either --enable-debug or --enable-dbgutil])
+    fi
 fi
 AC_SUBST(ENABLE_DEBUGINFO_FOR)
 


More information about the Libreoffice-commits mailing list