fix ruby prefix to work for distcheck
authorFrank Mori Hess <fmhess@speakeasy.net>
Sat, 19 Jun 2004 23:12:30 +0000 (23:12 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Sat, 19 Jun 2004 23:12:30 +0000 (23:12 +0000)
Makefile.am
configure.ac

index 67c057847cfa2fe0b84fff679e1b343739f36416..82273118cf446e26ae2b8f6d837d15ac6a8019d5 100644 (file)
@@ -9,6 +9,8 @@ EXTRA_DIST = debian m4 comedilib.spec
 
 ACLOCAL_AMFLAGS = -I m4
 
+DISTCHECK_CONFIGURE_FLAGS = RUBY_PREFIX='$${prefix}'
+
 dist-hook:
        rm -rf `find $(distdir) -name CVS`
 
index 3fe449996c11403a98ec81d8c8a6bddd51ae195e..302fac850b69de06fc07c7936a4c64c73f87131d 100644 (file)
@@ -55,7 +55,7 @@ else
        ENABLE_RUBY="no"
 fi
 AM_CONDITIONAL(HAVE_RUBY, [test "$ENABLE_RUBY" == "yes"])
-AC_ARG_VAR(RUBY_PREFIX,[path prefix for Ruby binding [PREFIX/]])
+AC_ARG_VAR(RUBY_PREFIX,[path prefix for Ruby binding])
 AC_ARG_VAR(RUBY_SO_DIR,[path for Ruby extensions])
 if test "$RUBY_PREFIX" != "" ; then
        RUBY_CONFIG_OPTIONS="$RUBY_CONFIG_OPTIONS --prefix=\$(RUBY_PREFIX)"