2002-02-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>

* aclocal/subdirs.m4: Propagate the current $prefix to the
	sub-configures.
This commit is contained in:
Joel Sherrill
2002-02-06 16:41:37 +00:00
parent 5bca94b86e
commit 9b116329db
2 changed files with 10 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2002-02-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/subdirs.m4: Propagate the current $prefix to the
sub-configures.
2002-02-05 Joel Sherrill <joel@OARcorp.com>
* VERSION: Updated to rtems-ss-20020205.

View File

@@ -194,10 +194,14 @@ if test "$no_recursion" != yes; then
esac
done
# Always prepend --prefix to ensure using the same prefix
# in subdir configurations.
ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
case "$$1_subdir" in
"." ) ;;
* )
ac_sub_configure_args="$ac_sub_configure_args --with-target-subdir=$$1_subdir --exec-prefix=\${prefix}/$$1_subdir"
ac_sub_configure_args="$ac_sub_configure_args --with-target-subdir=$$1_subdir --exec-prefix=${prefix}/$$1_subdir"
;;
esac