From an idea by Jack Mitchell <ml@communistcode.co.uk>
Use --without-testapps at configure time to suppress building them
Signed-off-by: Andy Green <andy.green@linaro.org>
+if NO_TESTAPPS
+SUBDIRS=lib
+else
SUBDIRS=lib test-server
+endif
EXTRA_DIST=scripts/kernel-doc
implementation into the library. By default your libc
one is used.
+--without-testapps Just build the library not the test apps
+
Externally configurable important constants
-------------------------------------------
fi
AM_CONDITIONAL(EXT_GOOGLE_MUX, test x$x_google_mux = xyes)
-#
+#
+#
+#
+AC_ARG_WITH(testapps,
+ [ --without-testapps dont build the libwebsocket-test- apps],
+ [ no_testapps=yes
+ ])
+
+AM_CONDITIONAL(NO_TESTAPPS, test x$no_testapps = xyes)
+
+
#
#
AC_ARG_ENABLE(mingw,