From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4AE9A118.5010005@domain.hid> Date: Thu, 29 Oct 2009 15:05:12 +0100 From: Jan Kiszka MIME-Version: 1.0 References: <4AE9711A.6030904@domain.hid> <4AE97D76.4080804@domain.hid> <1256824785.2065.200.camel@domain.hid> In-Reply-To: <1256824785.2065.200.camel@domain.hid> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-core] [PATCH v2] build system: Fix shared libs generation List-Id: Xenomai life and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Philippe Gerum Cc: xenomai-core , "Hillier, Gernot" Philippe Gerum wrote: > On Thu, 2009-10-29 at 12:33 +0100, Jan Kiszka wrote: >> This fixes a regression of dbbd33f50d: There must be no >> AC_DISABLE_SHARED without AS_ENABLE_SHARED for the cases where it shall >> remain enabled. >> > > Makes sense. Will you queue this in your tree? Done, it's ready to be pulled. Jan > >> Signed-off-by: Jan Kiszka >> --- >> configure.in | 12 ++++++++++-- >> 1 files changed, 10 insertions(+), 2 deletions(-) >> >> v2: properly rebased against head >> >> diff --git a/configure.in b/configure.in >> index 40683fe..9cce885 100644 >> --- a/configure.in >> +++ b/configure.in >> @@ -117,7 +117,6 @@ case "$build_for" in >> XENO_LINUX_ARCH=nios2 >> XENO_LINUX_INSTALL_TARGET=install >> CONFIG_XENO_DEFAULT_PERIOD=10000000 >> - AC_DISABLE_SHARED >> ;; >> *) echo "" >> echo "*******************************************" >> @@ -128,9 +127,18 @@ case "$build_for" in >> esac >> >> AC_MSG_RESULT([$XENO_TARGET_ARCH]) >> -AC_PROG_LIBTOOL >> AM_CONDITIONAL(XENO_LINUX_ARCH_I386,[test $XENO_LINUX_ARCH = i386]) >> >> +case "$XENO_TARGET_ARCH" in >> + nios2) >> + AC_DISABLE_SHARED >> + ;; >> + *) >> + AC_ENABLE_SHARED >> + ;; >> +esac >> +AC_PROG_LIBTOOL >> + >> dnl >> dnl Parse options >> dnl > > -- Siemens AG, Corporate Technology, CT SE 2 Corporate Competence Center Embedded Linux