commit:     38507cc25cebe228d72cb75a2ab4acfaacf2a5fe
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 21 15:04:23 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Aug  5 04:32:44 2023 +0000
URL:        https://gitweb.gentoo.org/proj/sandbox.git/commit/?id=38507cc2

configure.ac: cleanup error messages

Signed-off-by: Sam James <sam <AT> gentoo.org>
(cherry picked from commit 4f42e1984227012797030839b5e757a6da147141)

 configure.ac | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/configure.ac b/configure.ac
index 8eb60a4..847bc4c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -293,18 +293,18 @@ if test x"$va_copy" != xva_copy ; then
   )
 fi
 
-dnl Verify people aren't doing stupid shit
+dnl Avoid footguns.
 if test x"$enable_static" != xno ; then
-  AC_MSG_ERROR([dont be a Kumba, building a libsandbox.a is stupid])
+  AC_MSG_ERROR([Building a static libsandbox.a is not supported])
 fi
 if test x"$enable_shared" != xyes ; then
-  AC_MSG_ERROR([dont be a Kumba, omitting a libsandbox.so is stupid])
+  AC_MSG_ERROR([Omitting a libsandbox.so is not supported])
 fi
 if echo " $CFLAGS " | $EGREP ' -static ' >/dev/null 2>&1; then
-  AC_MSG_ERROR([dont be a Kumba, using -static in CFLAGS is stupid])
+  AC_MSG_ERROR([Using -static in CFLAGS is not supported])
 fi
 if echo " $LDFLAGS " | $EGREP ' -static ' >/dev/null 2>&1; then
-  AC_MSG_ERROR([dont be a Kumba, using -static in LDFLAGS is stupid])
+  AC_MSG_ERROR([Using -static in LDFLAGS is not supported])
 fi
 
 dnl Some libc's like those on bsd have dlopen() in libc, and not libdl

Reply via email to