summaryrefslogtreecommitdiff
path: root/engine/voice_codecs/speex/source/configure.in
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /engine/voice_codecs/speex/source/configure.in
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'engine/voice_codecs/speex/source/configure.in')
-rw-r--r--engine/voice_codecs/speex/source/configure.in69
1 files changed, 69 insertions, 0 deletions
diff --git a/engine/voice_codecs/speex/source/configure.in b/engine/voice_codecs/speex/source/configure.in
new file mode 100644
index 0000000..77d6374
--- /dev/null
+++ b/engine/voice_codecs/speex/source/configure.in
@@ -0,0 +1,69 @@
+dnl Process this file with autoconf to produce a configure script. -*-m4-*-
+
+AC_INIT(libspeex/speex.h)
+
+SPEEX_MAJOR_VERSION=1
+SPEEX_MINOR_VERSION=0
+SPEEX_MICRO_VERSION=1
+SPEEX_VERSION=1.0.1
+
+SPEEX_LT_CURRENT=2
+SPEEX_LT_REVISION=0
+SPEEX_LT_AGE=1
+
+AC_SUBST(SPEEX_LT_CURRENT)
+AC_SUBST(SPEEX_LT_REVISION)
+AC_SUBST(SPEEX_LT_AGE)
+
+# For automake.
+VERSION=$SPEEX_VERSION
+PACKAGE=speex
+
+AM_INIT_AUTOMAKE($PACKAGE, $VERSION, no-define)
+AM_MAINTAINER_MODE
+
+AC_CANONICAL_HOST
+AM_PROG_LIBTOOL
+
+AC_C_BIGENDIAN
+AC_CHECK_HEADERS(sys/soundcard.h)
+
+AC_ARG_ENABLE(ogg,
+ [ --enable-ogg=[yes/no] Turn on or off the use of ogg
+libraries [default=yes]],
+ [case "${enableval}" in
+ yes) useogg=true ;;
+ no) useogg=false ;;
+ *) AC_MSG_ERROR(bad value ${enableval} for --enable-ogg) ;;
+ esac],[useogg=true])
+
+if test x$useogg = xtrue; then
+AC_PATH_LIBOGG
+fi
+
+if test "$have_libogg" = yes; then
+ src=src
+else
+ src=
+fi
+AC_SUBST(src)
+
+AC_CHECK_LIB(m, sin)
+AC_CHECK_LIB(gnugetopt, getopt_long)
+
+AC_DEFINE_UNQUOTED(VERSION, "${VERSION}")
+
+AC_ARG_ENABLE(sse, [ --enable-sse enable SSE support], [if test "$enableval" = yes; then AC_DEFINE(_USE_SSE) fi])
+
+dnl Output the makefiles and version.h.
+
+AC_OUTPUT([Makefile libspeex/Makefile src/Makefile doc/Makefile Speex.spec
+ win32/Makefile win32/libspeex/Makefile win32/speexenc/Makefile
+ win32/speexdec/Makefile ])
+
+if test "x$src" = "x"; then
+echo "You don't seem to have libogg installed. Only the Speex library (libspeex) will be built (no encoder/decoder executable)"
+echo "You can download libogg from http://www.ogg.org/ogg/index.html"
+fi
+
+echo "Type \"make; make install\" to compile and install Speex";