From 6e31aea3cd1292515d94f42d6b62e6313fff9269 Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Sat, 29 Jul 2000 00:33:34 +0000 Subject: 2000-07-28 Ben Elliston * Makefile.am (CGEN, CGENDEPS, CGENDIR, CGENFLAGS): New. (run-cgen, stamp-m32r, stamp-fr30): New targets. * Makefile.in: Regenerate. * configure.in: Add --enable-cgen-maint option. * configure: Regenerate. --- opcodes/configure.in | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'opcodes/configure.in') diff --git a/opcodes/configure.in b/opcodes/configure.in index fdd8b37..e955a8b 100644 --- a/opcodes/configure.in +++ b/opcodes/configure.in @@ -88,6 +88,24 @@ AC_PROG_INSTALL AC_CHECK_HEADERS(string.h strings.h stdlib.h) +cgen_maint=no +cgendir='$(srcdir)/../cgen' + +AC_ARG_ENABLE(cgen-maint, +[ --enable-cgen-maint[=dir] build cgen generated files], +[case "${enableval}" in + yes) cgen_maint=yes ;; + no) cgen_maint=no ;; + *) + # argument is cgen install directory (not implemented yet). + # Having a `share' directory might be more appropriate for the .scm, + # .cpu, etc. files. + cgen_maint=yes + cgendir=${cgen_maint}/lib/cgen + ;; +esac])dnl +AM_CONDITIONAL(CGEN_MAINT, test x${cgen_maint} = xyes) +AC_SUBST(cgendir) using_cgen=no -- cgit v1.1