From f05d8c99e7e199dfdf427022cd0f6895518a2312 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 16 Feb 2006 14:33:16 +0000 Subject: [PATCH] Build host specs only if --host was given --- contrib/crossrpms/configure.ac | 6 ++++-- 1 file 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])