summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEgbert Eich <eich@suse.de>2004-08-30 14:26:53 +0000
committerEgbert Eich <eich@suse.de>2004-08-30 14:26:53 +0000
commit2d6cf1a76fc5767946de6b0a502aa9eb83d218c4 (patch)
treea1d09a2b20506ba8dd4b77ca6a1455442470ce76
parent4c4afd6b695ba36ab4f80ebdab9f50eb4293c203 (diff)
Make handling of XtransFailSoft Imake variable more consistent. It needs to
receive a boolean value now (Alexander Gottwald).
-rw-r--r--X11.rules6
1 files changed, 5 insertions, 1 deletions
diff --git a/X11.rules b/X11.rules
index 176d477..8a176c7 100644
--- a/X11.rules
+++ b/X11.rules
@@ -125,7 +125,11 @@ XCOMM $XFree86: xc/config/cf/X11.rules,v 1.6 2001/01/17 16:22:31 dawes Exp $
#endif
#define CplusplusProjectDefines X11CplusplusProjectDefines
-#ifdef XtransFailSoft
+#ifndef XtransFailSoft
+# define XtransFailSoft NO
+#endif
+
+#if XtransFailSoft
# define XtransFailDefine /**/
#else
# define XtransFailDefine -DFAIL_HARD