From: Jan Kiszka <jan.kiszka@domain.hid>
To: Philippe Gerum <rpm@xenomai.org>
Cc: xenomai-core <xenomai@xenomai.org>,
Gernot Hillier <gernot.hillier@domain.hid>
Subject: [Xenomai-core] [PATCH] build system: Fix shared libs generation
Date: Thu, 29 Oct 2009 11:40:26 +0100 [thread overview]
Message-ID: <4AE9711A.6030904@domain.hid> (raw)
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
next reply other threads:[~2009-10-29 10:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-29 10:40 Jan Kiszka [this message]
2009-10-29 11:33 ` [Xenomai-core] [PATCH v2] build system: Fix shared libs generation Jan Kiszka
2009-10-29 13:59 ` Philippe Gerum
2009-10-29 14:05 ` Jan Kiszka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4AE9711A.6030904@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=gernot.hillier@domain.hid \
--cc=rpm@xenomai.org \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.