From: benjamin.poirier@polymtl.ca (Benjamin Poirier)
Subject: [ltt-dev] [PATCH 3/4] lttv: Fix configure arguments
Date: Mon, 10 Aug 2009 16:38:20 -0400 [thread overview]
Message-ID: <4A80853C.6090806@polymtl.ca> (raw)
Remove the unused maintainer mode switch.
Fix argument processing for static link mode. Note that it has little effect
on the actual build process since the modules are still dlopen()'ned.
Signed-off-by: Benjamin Poirier <benjamin.poirier at polymtl.ca>
---
autogen.sh | 3 ---
configure.in | 7 ++++++-
lttv/lttv/Makefile.am | 2 +-
3 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/autogen.sh b/autogen.sh
index 87b034b..c630e6b 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -148,9 +148,6 @@ do
fi
done
-conf_flags="--enable-maintainer-mode"
-
-
#if [ -a "$srcdir/include" ]; then
# echo -n Removing old system include behavior emulation...
# rm -rf $srcdir/include
diff --git a/configure.in b/configure.in
index 926c014..67da0ca 100644
--- a/configure.in
+++ b/configure.in
@@ -87,7 +87,12 @@ AC_CHECK_FUNCS([select])
#CPPFLAGS="$CPPFLAGS -I"
-AM_CONDITIONAL(LTTVSTATIC, test "$enable_lttvstatic" = yes)
+AC_ARG_ENABLE(lttvstatic,
+ AC_HELP_STRING( [--enable-lttvstatic],
+ [Build a statically linked executable @<:@default=no@:>@]),
+ [with_lttvstatic="yes"],
+ [with_lttvstatic="no"])
+AM_CONDITIONAL(LTTVSTATIC, test "x$with_lttvstatic" = "xyes")
lttvlibdir="${libdir}/lttv"
lttvplugindir="${lttvlibdir}/plugins"
#lttlibdir="${libdir}/ltt"
diff --git a/lttv/lttv/Makefile.am b/lttv/lttv/Makefile.am
index 944d598..b0bc52f 100644
--- a/lttv/lttv/Makefile.am
+++ b/lttv/lttv/Makefile.am
@@ -45,6 +45,6 @@ lttv_real_SOURCES = batchtest.c main.c module.c option.c \
lttv_real_LDFLAGS = -export-dynamic
if LTTVSTATIC
- lttv_real_LDFLAGS += -profile -static
+ lttv_real_LDFLAGS += -static
endif
--
1.6.3.3
reply other threads:[~2009-08-10 20:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4A80853C.6090806@polymtl.ca \
--to=benjamin.poirier@polymtl.ca \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox