summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Moffitt <jack@xiph.org>2000-09-12 22:48:56 +0000
committerJack Moffitt <jack@xiph.org>2000-09-12 22:48:56 +0000
commitee641139c148bdecbec954e51ca1aaf297fad4cb (patch)
treebd6968c964e858ff0b13782adef8dfc727d318c7
parentf2d5112995368dd66212ad728e1061d0a2d1699f (diff)
downloadlibvorbis-git-ee641139c148bdecbec954e51ca1aaf297fad4cb.tar.gz
FreeBSD build fixes
svn path=/branches/branch_jackoggsvorbis/vorbis/; revision=684
-rw-r--r--configure.in2
-rw-r--r--lib/os.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index db54a1a2..47e8ded9 100644
--- a/configure.in
+++ b/configure.in
@@ -119,7 +119,6 @@ dnl --------------------------------------------------
dnl Check for headers
dnl --------------------------------------------------
-AC_CHECK_HEADER(alloca.h,CFLAGS="$CFLAGS -DUSE_ALLOCA_H",:)
AC_CHECK_HEADER(memory.h,CFLAGS="$CFLAGS -DUSE_MEMORY_H",:)
dnl --------------------------------------------------
@@ -145,6 +144,7 @@ dnl --------------------------------------------------
dnl Check for library functions
dnl --------------------------------------------------
+AC_FUNC_ALLOCA
AC_FUNC_MEMCMP
dnl --------------------------------------------------
diff --git a/lib/os.h b/lib/os.h
index 8448e0c8..d8eb24cc 100644
--- a/lib/os.h
+++ b/lib/os.h
@@ -14,7 +14,7 @@
********************************************************************
function: #ifdef jail to whip a few platforms into the UNIX ideal.
- last mod: $Id: os.h,v 1.9.4.1 2000/09/07 07:42:57 jack Exp $
+ last mod: $Id: os.h,v 1.9.4.2 2000/09/12 22:48:56 jack Exp $
********************************************************************/
@@ -41,7 +41,7 @@
#endif
-#ifdef USE_ALLOCA_H
+#ifdef HAVE_ALLOCA_H
#include <alloca.h>
#endif