diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-07-27 14:15:15 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-07-27 17:05:32 +0200 |
commit | 6be72cc21cd59e6cb3c4dcda9416d1ab362f0a14 (patch) | |
tree | d3515bc183ed886afccbffece7d5040b775b30c7 /configure.ac | |
parent | e19d1afd7e6ef75b994e436aff57bd94efbb5acb (diff) |
configure: make --enable-selective-debuginfo less errorprone
Change-Id: I6b7379323a86242b42a8a5137807c535bf1d7c46
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 2d36f0c388c7..8d3b906721e7 100644 --- a/configure.ac +++ b/configure.ac @@ -3919,6 +3919,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 |