Mac package build


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4017 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/configure.ac b/configure.ac
index 6f2d5ef..4bfb979 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,7 @@
 dnl Process this file with autoconf to produce a configure script.
 AC_PREREQ([2.57])
 AC_INIT([tigervnc], [1.0.90], [http://www.tigervnc.org])
+BUILD=`date +%Y%m%d`
 AC_CONFIG_AUX_DIR([.])
 AM_INIT_AUTOMAKE([-Wall foreign dist-bzip2])
 
@@ -155,6 +156,11 @@
 	         ]])
 AM_CONDITIONAL([BUILD_WINVNC], [ test "x$BUILD_WINVNC" = xyes ])
 
+# Packaging stuff
+AM_CONDITIONAL([X86_64], [test "x$host_cpu" = "xx86_64"])
+
+AC_SUBST(BUILD)
+
 AC_OUTPUT([
 Makefile
 common/Makefile