Makefile stuff, partly from Tom, which uses the SVN-externall'd VEX
tree a bit better. Also, fixes to make 'make dist' include into the
final tarball a minimal but workable subset of the stuff in the VEX
directory.
Note, you must do 'make' or 'make install' before 'make dist' since
otherwise VEX/priv/main/vex_svnversion.h will not exist.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4266 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/configure.in b/configure.in
index e2d4b1a..9880707 100644
--- a/configure.in
+++ b/configure.in
@@ -10,17 +10,17 @@
# Nb: For the 2nd arg, the help string, AS_HELP_STRING is the proper way, but
# older autoconfs don't support it... here's what it would say:
#
-# AS_HELP_STRING([--with-vex], [Vex directory (must be specified!)]),
+# AS_HELP_STRING([--with-vex], [Vex directory]),
#
AC_ARG_WITH(vex,
- [ --with-vex=/path/to/vex/dir Vex directory (must be specified!)],
+ [ --with-vex=/path/to/vex/dir Vex directory],
[
AC_CHECK_FILE($withval/pub/libvex.h,
[VEX_DIR=$withval],
[AC_MSG_ERROR([Directory '$withval' does not exist, or does not contain Vex])])
],
[
- AC_MSG_ERROR([You must specify --with-vex=/path/to/vex/dir])
+ VEX_DIR=`pwd`/VEX
])
AC_SUBST(VEX_DIR)