Displaying 5 results from an estimated 5 matches for "enable_http".
2013 May 08
1
[PATCH] opusfile configury fixes.
...e for releases.
@@ -29,6 +28,10 @@
AC_SUBST(OP_LT_REVISION)
AC_SUBST(OP_LT_AGE)
+AC_CANONICAL_HOST
+AM_PROG_LIBTOOL
+AM_PROG_CC_C_O
+
CC_CHECK_CFLAGS_APPEND(
[-std=c89 -pedantic -Wall -Wextra -Wno-parentheses -Wno-long-long])
@@ -62,15 +65,15 @@
AM_COND_IF(OP_WIN32,
AS_IF([test "x$enable_http" != "xno"],
- AC_CHECK_HEADER([winsock2.h],,
+ AC_CHECK_HEADER([winsock2.h],[],
AC_MSG_WARN([HTTP support requires a Winsock socket library.])
- enable_http=no
+ enable_http=no, []
)
),
AS_IF([test "x$enable_http" != "xno"],
-...
2012 Sep 25
0
[libopusfile PATCH] build: implement autotools build system for libopusfile. (v3)
...-enable-assert], [Enable assertions in code]),,
+ enable_assert=no)
+
+AS_IF([test "x$enable_assert" = "xyes"], [
+ AC_DEFINE([OP_ENABLE_ASSERTIONS], [1], [Enable assertions in code])
+])
+
+AC_ARG_ENABLE([http],
+ AS_HELP_STRING([--disable-http], [Disable HTTP support]),,
+ enable_http=yes)
+
+AS_IF([test "x$enable_http" != "xno"],
+ [openssl="openssl"
+ AC_DEFINE([OP_ENABLE_HTTP], [1], [Enable HTTP support])
+])
+
+PKG_CHECK_MODULES([DEPS], [ogg opus ]${openssl})
+
+AC_ARG_ENABLE([fixed-point],
+ AS_HELP_STRING([--enable-fixed-point], [Enable fi...
2012 Sep 25
3
[libopusfile PATCH] build: implement autotools build system for libopusfile. (v2)
...-enable-assert], [Enable assertions in code]),,
+ enable_assert=no)
+
+AS_IF([test "x$enable_assert" = "xyes"], [
+ AC_DEFINE([OP_ENABLE_ASSERTIONS], [1], [Enable assertions in code])
+])
+
+AC_ARG_ENABLE([http],
+ AS_HELP_STRING([--disable-http], [Disable HTTP support]),,
+ enable_http=yes)
+
+AS_IF([test "x$enable_http" != "xno"],
+ [openssl="openssl"
+ AC_DEFINE([OP_ENABLE_HTTP], [1], [Enable HTTP support])
+])
+
+PKG_CHECK_MODULES([DEPS], [ogg opus ]${openssl})
+
+AC_ARG_ENABLE([fixed-point],
+ AS_HELP_STRING([--enable-fixed-point], [Enable fi...
2012 Sep 29
2
[libopusfile PATCH] build: implement autotools build system for libopusfile. (v4)
...rtions], [Enable assertions in code]),,
+ enable_assertions=no)
+
+AS_IF([test "x$enable_assertions" = "xyes"], [
+ AC_DEFINE([OP_ENABLE_ASSERTIONS], [1], [Enable assertions in code])
+])
+
+AC_ARG_ENABLE([http],
+ AS_HELP_STRING([--disable-http], [Disable HTTP support]),,
+ enable_http=yes)
+
+AS_IF([test "x$enable_http" != "xno"],
+ [openssl="openssl"
+ AC_DEFINE([OP_ENABLE_HTTP], [1], [Enable HTTP support])
+])
+
+PKG_CHECK_MODULES([DEPS], [ogg opus ]${openssl})
+
+AC_ARG_ENABLE([fixed-point],
+ AS_HELP_STRING([--enable-fixed-point], [Enable fi...
2012 Sep 25
2
[libopusfile PATCH] build: implement autotools build system for libopusfile.
...nfigure.ac
new file mode 100644
index 0000000..6113ee6
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,14 @@
+AC_INIT([libopusfile], [0.0])
+
+AM_INIT_AUTOMAKE([1.11 foreign dist-bzip2])
+
+LT_INIT
+
+AC_ARG_ENABLE([http], AS_HELP_STRING([--disable-http], [Disable HTTP support]))
+
+AS_IF([test "x$enable_http" != "xno"], [openssl="openssl"])
+PKG_CHECK_MODULES([DEPS], [ogg opus ]${openssl})
+
+AC_SEARCH_LIBS([lrintf], [m])
+
+AC_OUTPUT([Makefile])
--
1.7.12