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>
-conf_flags="--enable-maintainer-mode"
-
-
#if [ -a "$srcdir/include" ]; then
# echo -n Removing old system include behavior emulation...
# rm -rf $srcdir/include
#if [ -a "$srcdir/include" ]; then
# echo -n Removing old system include behavior emulation...
# rm -rf $srcdir/include
-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"
lttvlibdir="${libdir}/lttv"
lttvplugindir="${lttvlibdir}/plugins"
#lttlibdir="${libdir}/ltt"
lttv_real_LDFLAGS = -export-dynamic
if LTTVSTATIC
lttv_real_LDFLAGS = -export-dynamic
if LTTVSTATIC
- lttv_real_LDFLAGS += -profile -static
+ lttv_real_LDFLAGS += -static