Search
lxdream.org :: lxdream :: r746:3a574a68e793
lxdream 0.9.1
released Jun 29
Download Now
changeset746:3a574a68e793
parent745:fd9785b15068
child747:c2d22fd75c95
authornkeynes
dateFri Jul 18 12:54:59 2008 +0000 (11 years ago)
Fix make check for out-of-tree build
configure
configure.in
test/Makefile.in
1.1 --- a/configure Fri Jul 18 12:14:27 2008 +0000
1.2 +++ b/configure Fri Jul 18 12:54:59 2008 +0000
1.3 @@ -13015,6 +13015,47 @@
1.4 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
1.5 fi
1.6
1.7 +{ as_dir=test/sh4
1.8 + case $as_dir in #(
1.9 + -*) as_dir=./$as_dir;;
1.10 + esac
1.11 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
1.12 + as_dirs=
1.13 + while :; do
1.14 + case $as_dir in #(
1.15 + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
1.16 + *) as_qdir=$as_dir;;
1.17 + esac
1.18 + as_dirs="'$as_qdir' $as_dirs"
1.19 + as_dir=`$as_dirname -- "$as_dir" ||
1.20 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.21 + X"$as_dir" : 'X\(//\)[^/]' \| \
1.22 + X"$as_dir" : 'X\(//\)$' \| \
1.23 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
1.24 +$as_echo X"$as_dir" |
1.25 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1.26 + s//\1/
1.27 + q
1.28 + }
1.29 + /^X\(\/\/\)[^/].*/{
1.30 + s//\1/
1.31 + q
1.32 + }
1.33 + /^X\(\/\/\)$/{
1.34 + s//\1/
1.35 + q
1.36 + }
1.37 + /^X\(\/\).*/{
1.38 + s//\1/
1.39 + q
1.40 + }
1.41 + s/.*/./; q'`
1.42 + test -d "$as_dir" && break
1.43 + done
1.44 + test -z "$as_dirs" || eval "mkdir $as_dirs"
1.45 + } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
1.46 +$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
1.47 + { (exit 1); exit 1; }; }; }
1.48
1.49
1.50 echo
2.1 --- a/configure.in Fri Jul 18 12:14:27 2008 +0000
2.2 +++ b/configure.in Fri Jul 18 12:54:59 2008 +0000
2.3 @@ -266,6 +266,7 @@
2.4 po/Makefile.in
2.5 test/Makefile
2.6 ])
2.7 +AS_MKDIR_P(test/sh4)
2.8
2.9 dnl ------------------------- Print out a summary ----------------------
2.10
3.1 --- a/test/Makefile.in Fri Jul 18 12:14:27 2008 +0000
3.2 +++ b/test/Makefile.in Fri Jul 18 12:54:59 2008 +0000
3.3 @@ -38,7 +38,7 @@
3.4 $(SH4CC) $(SH4CFLAGS) -o $@ -c $<
3.5
3.6 %.so: %.s
3.7 - $(SH4CC) $(SH4CFLAGS) -o $@ -c $<
3.8 + $(SH4CC) $(SH4CFLAGS) -o $@ -c $< -Wa,-I$(srcdir)
3.9
3.10 %.so: %.S
3.11 $(SH4CC) $(SH4CFLAGS) -o $@ -c $<
.