summaryrefslogtreecommitdiff
path: root/include/X11
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-09-16 21:41:41 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-09-19 17:30:15 -0700
commit334dc4f4df69d780f312f23b860df11bee5e9009 (patch)
tree659b0cf8ac0703a3a56bc908aaaf64ef8a4bdc61 /include/X11
parente086eb1bf49f2a8c270eaebd5beb595c1dc2973e (diff)
Set Xcursor.h version numbers from configure.ac
Based on similar commit dac73a519816 to libXft Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'include/X11')
-rw-r--r--include/X11/Xcursor/Xcursor.h.in (renamed from include/X11/Xcursor/Xcursor.h)11
1 files changed, 5 insertions, 6 deletions
diff --git a/include/X11/Xcursor/Xcursor.h b/include/X11/Xcursor/Xcursor.h.in
index a2c0488..1a14386 100644
--- a/include/X11/Xcursor/Xcursor.h
+++ b/include/X11/Xcursor/Xcursor.h.in
@@ -69,14 +69,13 @@ typedef XcursorUInt XcursorPixel;
#define XCURSOR_MAGIC 0x72756358 /* "Xcur" LSBFirst */
/*
- * Current Xcursor version number. This same number
- * must appear in the Xcursor configure.ac file. Yes,
- * it'a a pain to synchronize version numbers like this.
+ * Current Xcursor version number. Will be substituted by configure
+ * from the version in the libXcursor configure.ac file.
*/
-#define XCURSOR_LIB_MAJOR 1
-#define XCURSOR_LIB_MINOR 1
-#define XCURSOR_LIB_REVISION 9
+#undef XCURSOR_LIB_MAJOR
+#undef XCURSOR_LIB_MINOR
+#undef XCURSOR_LIB_REVISION
#define XCURSOR_LIB_VERSION ((XCURSOR_LIB_MAJOR * 10000) + \
(XCURSOR_LIB_MINOR * 100) + \
(XCURSOR_LIB_REVISION))