summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <ssp@redhat.com>2011-01-21 14:47:33 -0500
committerSøren Sandmann Pedersen <ssp@redhat.com>2011-01-26 17:07:35 -0500
commited781df1cc30748c8193be9b9a497def0b768b6b (patch)
tree476ed65c19690183db357f71971e647c3a431dcf
parentfead9eb82a7fc78a4927fff960d4cacea799bd9b (diff)
Print a warning when a development snapshot is being configured.
It seems to be relatively common for people to use development snapshots of pixman thinking they are ordinary releases. This patch makes it such that if the current minor version is odd, configure will print a banner explaining the version number scheme plus information about where to report bugs.
-rw-r--r--configure.ac23
1 files changed, 23 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index e2f73dc0..ab2ecde1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -795,3 +795,26 @@ AC_OUTPUT([pixman-1.pc
pixman/Makefile
pixman/pixman-version.h
test/Makefile])
+
+m4_if(m4_eval(pixman_minor % 2), [1], [
+ echo
+ echo "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@"
+ echo
+ echo " Thanks for testing this development snapshot of pixman. Please"
+ echo " report any problems you find, either by sending email to "
+ echo
+ echo " pixman@lists.freedesktop.org"
+ echo
+ echo " or by filing a bug at "
+ echo
+ echo " https://bugs.freedesktop.org/enter_bug.cgi?product=pixman "
+ echo
+ echo " If you are looking for a stable release of pixman, please note "
+ echo " that stable releases have _even_ minor version numbers. Ie., "
+ echo " pixman-0.]m4_eval(pixman_minor & ~1)[.x are stable releases, whereas pixman-$PIXMAN_VERSION_MAJOR.$PIXMAN_VERSION_MINOR.$PIXMAN_VERSION_MICRO is a "
+ echo " development snapshot that may contain bugs and experimental "
+ echo " features. "
+ echo
+ echo "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@"
+ echo
+])