This is the mail archive of the
cgen@sourceware.org
mailing list for the CGEN project.
Re: make: ERROR: Unable to find file "./../cgen/cgen-opc.scm" in load path
- From: Martin Walter <martin dot walter at gmail dot com>
- To: cgen at sourceware dot org
- Date: Fri, 3 Apr 2009 00:02:38 +0200
- Subject: Re: make: ERROR: Unable to find file "./../cgen/cgen-opc.scm" in load path
> ...
> ERROR: In procedure primitive-load-path:
> ERROR: Unable to find file "./../cgen/cgen-opc.scm" in load path
> ...
This patch to opcodes/configure.in should help:
#
--- configure.in 2009-04-01 23:46:30.000000000 +0200
+++ configure.in 2009-04-01 23:47:11.000000000 +0200
@@ -76,7 +76,7 @@
AC_CHECK_DECLS(basename)
cgen_maint=no
-cgendir='$(srcdir)/../cgen'
+cgendir='$(shell pwd)/../cgen'
AC_ARG_ENABLE(cgen-maint,
[ --enable-cgen-maint[=dir] build cgen generated files],
Martin