X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=configure.in;h=67da0ca478ca02e28f91993b01e966cc88af7a3f;hb=7d3dcbe0d57bd780a3c392a9aa555eb1d52c6cca;hp=926c0142d22f07d39df373558a919c2f09cafa9e;hpb=3d55af6e55e4f5e15f3417c952b3ae49a42991c2;p=lttv.git diff --git a/configure.in b/configure.in index 926c0142..67da0ca4 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"