bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

--disable-warnings is broken


From: Mike Frysinger
Subject: --disable-warnings is broken
Date: Sat, 25 Aug 2007 13:25:27 -0400
User-agent: KMail/1.9.7

the configure script sets with_warnings to $enableval (great!) but then turns 
around and simply does test -n "$with_warnings" (wtf!)

simple patch attached
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

--- configure
+++ configure
@@ -9122,7 +9122,7 @@
 echo "$as_me:9122: result: $with_warnings" >&5
 echo "${ECHO_T}$with_warnings" >&6
 
-if test -n "$with_warnings"; then
+if test "x$with_warnings" = "xyes"; then
        ADAFLAGS="$ADAFLAGS -gnatg"
 
 INTEL_COMPILER=no

reply via email to

[Prev in Thread] Current Thread [Next in Thread]