Skip to content
Browse files

add autogen to dist, and improve the workaround.

  • Loading branch information...
1 parent b348ca5 commit 6565265ca658ed571728d5cb69ce30c9d0bfcbf2 @novas0x2a novas0x2a committed Apr 7, 2010
Showing with 4 additions and 3 deletions.
  1. +1 −1 Makefile.am
  2. +3 −2 autogen
View
2 Makefile.am
@@ -17,7 +17,7 @@ EXTRA_DIST = config/rules.mak config.options.example docs \
scripts/relicense.pl scripts/templates.js thirdparty/m4/.keep \
scripts/create-test.sh thirdparty/gtest/src/* thirdparty/gtest/include/* \
thirdparty/gtest/COPYING thirdparty/gtest/CONTRIBUTORS thirdparty/gtest/README \
- scripts/python/vw/*.py scripts/python/vw/gdb/*.py
+ scripts/python/vw/*.py scripts/python/vw/gdb/*.py autogen
########################################################################
# special top-level rules
View
5 autogen
@@ -9,10 +9,11 @@ ugly_version() {
am_version=$(automake --version | head -n1 | cut -d ' ' -f 4)
+# It's actually fixed in 1.9.5b, but my version comparison strips the b
+am_working=$(ugly_version "1.9.6")
am_v2=$(ugly_version "$am_version")
-am_broken=$(ugly_version "1.9.5b")
-if test "$am_v2" \< "$am_broken" ; then
+if test "$am_v2" \< "$am_working" ; then
topdir="$(cd `dirname $0` && pwd)"
echo "WARNING: automake < 1.9.5b doesn't know how to handle relative"

0 comments on commit 6565265

Please sign in to comment.
Something went wrong with that request. Please try again.