lttv: Fix configure arguments
authorBenjamin Poirier <benjamin.poirier@polymtl.ca>
Mon, 10 Aug 2009 20:38:20 +0000 (16:38 -0400)
committerPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Wed, 12 Aug 2009 02:16:55 +0000 (22:16 -0400)
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@polymtl.ca>
autogen.sh
configure.in
lttv/lttv/Makefile.am

index 87b034b3933b496f31cac2497a1e7b9aee010f5a..c630e6b042e09606e7852ec43d778e97c7d01e16 100755 (executable)
@@ -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
index 926c0142d22f07d39df373558a919c2f09cafa9e..67da0ca478ca02e28f91993b01e966cc88af7a3f 100644 (file)
@@ -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"
index 944d5988132eb518284a88040c5806bef5fd9cc0..b0bc52f4c1d0ed2ccd78ad4e289fbf82b520f2b5 100644 (file)
@@ -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
 
This page took 0.025691 seconds and 4 git commands to generate.