Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/celt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <Jean-Marc.Valin@csiro.au>2008-02-01 08:27:38 +0300
committerJean-Marc Valin <Jean-Marc.Valin@csiro.au>2008-02-01 08:27:38 +0300
commite623312fda7d203dcb7b03eacde30d32ade61596 (patch)
treedcbebc0c47560c342a7614dc8fd82a4ab2f1ab71 /configure.ac
parent1e98cc5ad14e8408910ab2e570aebef5c4f6433d (diff)
Got the Ogg encoder and decoder to (barely) work.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac9
1 files changed, 5 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index db2e233..41c0782 100644
--- a/configure.ac
+++ b/configure.ac
@@ -47,6 +47,7 @@ has_var_arrays=no
)
AC_MSG_RESULT($has_var_arrays)
+AC_CHECK_HEADERS([alloca.h getopt.h])
AC_MSG_CHECKING(for alloca)
AC_TRY_COMPILE( [#include <alloca.h>], [
int foo=10;
@@ -65,8 +66,8 @@ AC_MSG_RESULT($has_alloca)
AC_CHECK_HEADERS(sys/soundcard.h sys/audioio.h)
-XIPH_PATH_OGG([src="src"], [src=""])
-AC_SUBST(src)
+XIPH_PATH_OGG([tools="tools"], [tools=""])
+AC_SUBST(tools)
AC_CHECK_LIB(m, sin)
@@ -121,9 +122,9 @@ fi
AC_SUBST(SIZE16)
AC_SUBST(SIZE32)
-AC_OUTPUT([Makefile libcelt/Makefile tests/Makefile celt.pc])
+AC_OUTPUT([Makefile libcelt/Makefile tests/Makefile celt.pc tools/Makefile])
-if test "x$src" = "x"; then
+if test "x$tools" = "x"; then
echo "**IMPORTANT**"
echo "You don't seem to have the development package for libogg (libogg-devel) installed. Only the library will be built (no encoder/decoder executable)"
echo "You can download libogg from http://www.vorbis.com/download.psp"