Patches from Diego Elio 'Flameeyes' Pettenò.
authorthurston <thurston@052ea7fc-9027-0410-9066-f65837a77df0>
Fri, 23 Oct 2009 01:34:22 +0000 (01:34 +0000)
committerthurston <thurston@052ea7fc-9027-0410-9066-f65837a77df0>
Fri, 23 Oct 2009 01:34:22 +0000 (01:34 +0000)
git-svn-id: http://svn.complang.org/ragel/trunk@1130 052ea7fc-9027-0410-9066-f65837a77df0

configure.in
contrib/ragel.m4
ragel/Makefile.am

index c5c40bf..a50b3cf 100644 (file)
@@ -21,7 +21,7 @@ dnl   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 AC_INIT(ragel, 6.5)
 PUBDATE="May 2009"
 
-AM_INIT_AUTOMAKE
+AM_INIT_AUTOMAKE([foreign])
 AC_SUBST(PUBDATE)
 AC_CONFIG_HEADER(ragel/config.h)
 
index 8b9b913..c5cb9e9 100644 (file)
@@ -30,7 +30,7 @@ AC_DEFUN([CHECK_RAGEL], [
 
     AS_IF([test x"$ragel_needed" = x"yes"],
       [AC_MSG_ERROR([dnl
-You need Ragel to build from GIT checkouts.
+You need Ragel to build from development sources.
 You can find Ragel at http://www.complang.org/ragel/dnl
       ])])
   ])
index beb1f9d..db3610c 100644 (file)
@@ -47,6 +47,6 @@ rlparse.cpp: rlparse.kl rlparse.kh
 rlscan.cpp: rlparse.h
 
 rlscan.cpp: rlscan.rl
-       ragel -G2 -o $@ $<
+       ragel -G2 -I$(builddir) -o $@ $<
 
 endif