summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2007-12-07 15:39:13 -0800
committerAlan Coopersmith <alan.coopersmith@sun.com>2007-12-07 15:42:48 -0800
commit37fe15843fd892c529e554f24a937ed712ea129c (patch)
tree142c491e69c4b38ee6e4f76c6e6abd86048e5fe7
parent285deb33da14fb5476b18cb1071b41070cf3ae99 (diff)
Allow overriding the SOREV in configure.ac
-rw-r--r--configure.ac6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 6cd40f0..ade0502 100644
--- a/configure.ac
+++ b/configure.ac
@@ -21,11 +21,13 @@ XORG_MACROS_VERSION(1.1)
# Determine .so library version per platform
# based on SharedXextRev in monolith xc/config/cf/*Lib.tmpl
AC_CANONICAL_HOST
-case $host_os in
+if test "x$XEXT_SOREV" = "x" ; then
+ case $host_os in
openbsd*) XEXT_SOREV=8:0 ;;
solaris*) XEXT_SOREV=0 ;;
*) XEXT_SOREV=6:4:0 ;;
-esac
+ esac
+fi
AC_SUBST(XEXT_SOREV)
# Checks for programs.