summaryrefslogtreecommitdiff
path: root/gnu/classpath/Configuration.java.in
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2005-02-08 18:59:05 +0000
committerMichael Koch <konqueror@gmx.de>2005-02-08 18:59:05 +0000
commitff1ba1077ef532584789dcf5d284b08102741da0 (patch)
tree3d3b078ae6ef9a34c21e6ba4ade76d1f4bb1e2c1 /gnu/classpath/Configuration.java.in
parentec556a8d0140450c979d39088d63b7f3d71e4eac (diff)
downloadclasspath-ff1ba1077ef532584789dcf5d284b08102741da0.tar.gz
2005-02-08 Michael Koch <konqueror@gmx.de>
* configure.ac: Define substition variable GTK_CAIRO_ENABLED. Fix handling of GTK_CAIRO conditional. * gnu/classpath/Configuration.java.in (GTK_CAIRO_ENABLED): New constant. * gnu/java/awt/peer/gtk/GdkGraphics2D.java (static): Throw error when Cairo support was not enabled during configure time.
Diffstat (limited to 'gnu/classpath/Configuration.java.in')
-rw-r--r--gnu/classpath/Configuration.java.in11
1 files changed, 8 insertions, 3 deletions
diff --git a/gnu/classpath/Configuration.java.in b/gnu/classpath/Configuration.java.in
index 9bbff6532..e769ca3df 100644
--- a/gnu/classpath/Configuration.java.in
+++ b/gnu/classpath/Configuration.java.in
@@ -1,6 +1,5 @@
-/* -*-java-*- */
-/* gnu.classpath.Configuration
- Copyright (C) 1998, 2001, 2003 Free Software Foundation, Inc.
+/* Configuration.java --
+ Copyright (C) 1998, 2001, 2003, 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -123,4 +122,10 @@ public interface Configuration
*/
boolean JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION =
@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@;
+
+ /**
+ * Set to true if Cairo was found and enabled during configure,
+ * false otherwise.
+ */
+ boolean GTK_CAIRO_ENABLED = @GTK_CAIRO_ENABLED@;
}