[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 65/437: fix some problems (not all) with lightningize
From: |
Andy Wingo |
Subject: |
[Guile-commits] 65/437: fix some problems (not all) with lightningize |
Date: |
Mon, 2 Jul 2018 05:13:47 -0400 (EDT) |
wingo pushed a commit to branch lightning
in repository guile.
commit ec2d8b3092ca49a0e955b769bbcc8b43b49d026e
Author: Paolo Bonzini <address@hidden>
Date: Sun Mar 16 21:13:56 2008 +0100
fix some problems (not all) with lightningize
2008-03-14 Paolo Bonzini <address@hidden>
* lightningize.in: Fix some problems (not all).
---
ChangeLog | 4 ++++
lightningize.in | 18 ++++++++++--------
2 files changed, 14 insertions(+), 8 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index c4e2001..868d0eb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2008-03-14 Paolo Bonzini <address@hidden>
+ * lightningize.in: Fix some problems (not all).
+
+2008-03-14 Paolo Bonzini <address@hidden>
+
* lightning/i386/core-32.h: Avoid some "value computed is not used"
warnings; reported by Sam Steingold.
diff --git a/lightningize.in b/lightningize.in
index 830b103..8abff21 100644
--- a/lightningize.in
+++ b/lightningize.in
@@ -32,10 +32,11 @@ address@hidden@
address@hidden@
# Directory names.
address@hidden@
address@hidden@
address@hidden@
address@hidden@
+prefix="@prefix@"
+datarootdir="@datarootdir@"
+datadir="@datadir@"
+includedir="@includedir@"
+pkgincludedir=$includedir/$PACKAGE
aclocaldir=${datadir}/aclocal
BACKENDS="@BACKENDS@"
@@ -190,16 +191,17 @@ for i in $file_base_names; do
files="$files lightning:$pkgincludedir/$i-common.h"
done
for j in $BACKENDS; do
- dir=`expr $j : '\([^:]*\)' `
- suffix=`expr $j : '.*:\(.*\)' `
+ dir=`echo $j | sed -e 's,:.*,,' `
+ suffix=`echo $j | sed -ne 's,.*:,,p' `
dirs="$dirs lightning/$dir"
for i in $file_base_names; do
- files="$files lightning/$j:$pkgincludedir/$j/$i$suffix.h"
+ files="$files lightning/$dir:$pkgincludedir/$dir/$i$suffix.h"
done
done
for dir in $dirs; do
- if $mkdir $dir; then :
+ if test -d $dir; then :
+ elif $mkdir $dir; then :
else
echo "$progname: cannot create \`$dir'" 1>&2
status=1
- [Guile-commits] 55/437: add Matthew Flatt to THANKS file, (continued)
- [Guile-commits] 55/437: add Matthew Flatt to THANKS file, Andy Wingo, 2018/07/02
- [Guile-commits] 39/437: merge 64-bit cleanliness changes from mzscheme, Andy Wingo, 2018/07/02
- [Guile-commits] 49/437: add clean-local target to lightning/Makefile.am, Andy Wingo, 2018/07/02
- [Guile-commits] 56/437: fix i386 floating-point sub(a,0,a), Andy Wingo, 2018/07/02
- [Guile-commits] 54/437: add 3to2 test and fix bug, Andy Wingo, 2018/07/02
- [Guile-commits] 52/437: improve set* encoding for i386, add testcase, Andy Wingo, 2018/07/02
- [Guile-commits] 57/437: don't truncate function pointers on amd64, Andy Wingo, 2018/07/02
- [Guile-commits] 68/437: cast memory address to long for JCCim, Andy Wingo, 2018/07/02
- [Guile-commits] 59/437: add --with-lightning-prefix option to lightning.m4, Andy Wingo, 2018/07/02
- [Guile-commits] 67/437: add underscores around __unused__ attribute, Andy Wingo, 2018/07/02
- [Guile-commits] 65/437: fix some problems (not all) with lightningize,
Andy Wingo <=
- [Guile-commits] 63/437: Fix stxr_c(_EAX, _EBX, _ESI)., Andy Wingo, 2018/07/02
- [Guile-commits] 64/437: avoid "value computed is not used" in jit_allocai, Andy Wingo, 2018/07/02
- [Guile-commits] 66/437: warning patrol (allocai.c, ppc), Andy Wingo, 2018/07/02
- [Guile-commits] 75/437: fix uses of jit_qop_ with 4 parameters, Andy Wingo, 2018/07/02
- [Guile-commits] 61/437: avoid redefinition of _r1, Andy Wingo, 2018/07/02
- [Guile-commits] 73/437: add LEAQmr for x86-64, Andy Wingo, 2018/07/02
- [Guile-commits] 82/437: use MOVLir directly to implement i386 32-bit jit_movi_p, Andy Wingo, 2018/07/02
- [Guile-commits] 72/437: misc. x86-64 bugfixes, Andy Wingo, 2018/07/02
- [Guile-commits] 78/437: avoid CRLF issues on mingw, Andy Wingo, 2018/07/02
- [Guile-commits] 62/437: commit source files for separate using/porting manuals, Andy Wingo, 2018/07/02