1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-03 13:20:26 +02:00

fix some problems (not all) with lightningize

2008-03-14  Paolo Bonzini  <bonzini@gnu.org>

	* lightningize.in: Fix some problems (not all).
This commit is contained in:
Paolo Bonzini 2008-03-16 21:13:56 +01:00
parent 15a23d2a7c
commit ec2d8b3092
2 changed files with 14 additions and 8 deletions

View file

@ -1,3 +1,7 @@
2008-03-14 Paolo Bonzini <bonzini@gnu.org>
* lightningize.in: Fix some problems (not all).
2008-03-14 Paolo Bonzini <bonzini@gnu.org>
* lightning/i386/core-32.h: Avoid some "value computed is not used"

View file

@ -32,10 +32,11 @@ PACKAGE=@PACKAGE@
VERSION=@VERSION@
# Directory names.
prefix=@prefix@
datarootdir=@datarootdir@
datadir=@datadir@
includedir=@includedir@
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