All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] [PATCH] build system: Fix shared libs generation
@ 2009-10-29 10:40 Jan Kiszka
  2009-10-29 11:33 ` [Xenomai-core] [PATCH v2] " Jan Kiszka
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Kiszka @ 2009-10-29 10:40 UTC (permalink / raw)
  To: Philippe Gerum; +Cc: xenomai-core, Gernot Hillier

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. Autotools are great, aren't they?

Signed-off-by: Jan Kiszka <jan.kiszka@domain.hid>
---
 configure.in |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/configure.in b/configure.in
index 71bad26..50f390e 100644
--- a/configure.in
+++ b/configure.in
@@ -110,7 +110,6 @@ case "$build_for" in
 	XENO_TARGET_ARCH=nios2
         XENO_LINUX_ARCH=nios2
 	XENO_LINUX_INSTALL_TARGET=install
-	AC_DISABLE_SHARED
         ;;
  *) echo ""
    echo "*******************************************"
@@ -121,9 +120,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
-- 
1.6.0.2


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-10-29 14:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-29 10:40 [Xenomai-core] [PATCH] build system: Fix shared libs generation Jan Kiszka
2009-10-29 11:33 ` [Xenomai-core] [PATCH v2] " Jan Kiszka
2009-10-29 13:59   ` Philippe Gerum
2009-10-29 14:05     ` Jan Kiszka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.