diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2006-02-16 14:33:16 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2006-02-16 14:33:16 +0000 |
commit | f05d8c99e7e199dfdf427022cd0f6895518a2312 (patch) | |
tree | 7526d5e8575a317faada909e512b5c83314b5bb7 /contrib/crossrpms/configure.ac | |
parent | Unify @PATCH handling. (diff) | |
download | rtems-f05d8c99e7e199dfdf427022cd0f6895518a2312.tar.bz2 |
Build host specs only if --host was given
Diffstat (limited to 'contrib/crossrpms/configure.ac')
-rw-r--r-- | contrib/crossrpms/configure.ac | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/crossrpms/configure.ac b/contrib/crossrpms/configure.ac index f4f2cf5d5c..955eb1a46d 100644 --- a/contrib/crossrpms/configure.ac +++ b/contrib/crossrpms/configure.ac @@ -5,12 +5,13 @@ AC_INIT([crossbuild],[0.20060211.0],[rtems-bugs@rtems.com]) AC_CONFIG_SRCDIR([binutils/binutils.add]) AC_CONFIG_AUX_DIR(.) -AM_INIT_AUTOMAKE([no-define foreign 1.9]) - AC_CANONICAL_HOST +AM_INIT_AUTOMAKE([no-define foreign 1.9]) + RTEMS_ENABLE_RPMPREFIX +AS_IF([test "${host}" != "${build}"],[ AC_MSG_CHECKING(for RPM OS) case "$host" in i?86-*cygwin*) RPM_OS=cygwin ;; @@ -23,6 +24,7 @@ case "$host" in ;; esac AC_MSG_RESULT($RPM_OS) +]) AC_SUBST(RPM_OS) AC_CONFIG_FILES([Makefile]) |