dnl dnl Check for static dnl AC_ARG_ENABLE([static], AC_HELP_STRING([--enable-static],[make a static build of the applications (no)]), [], [enable_static=no]) LINK_STATICALLY="" if test x"$enable_static" = xyes ; then LINK_STATICALLY=" -lpthread -static " opt_features_yes="$opt_features_yes\n * make a static build of the applications" else opt_features_no="$opt_features_no\n * make a static build of the applications" fi AC_SUBST(LINK_STATICALLY)