1
0
mirror of https://gitlab.xiph.org/xiph/ezstream.git synced 2024-09-15 04:08:07 -04:00

Start to incrementally merge configure.in changes by simply shuffling code

around a bit. No functional change, yet.


git-svn-id: https://svn.xiph.org/trunk/ezstream@12534 0101bb08-14d6-0310-b084-bc0e0c8e3800
This commit is contained in:
moritz 2007-02-24 21:29:27 +00:00
parent a4bac0230f
commit dbf12f4c16

View File

@ -1,19 +1,19 @@
AC_INIT([ezstream], [0.3.0], [grmo@users.sourceforge.net])
dnl INITIALIZATION
AC_INIT([ezstream], [0.3.0], [grmo@users.sourceforge.net])
AC_PREREQ(2.54)
AC_CONFIG_SRCDIR(src/ezstream.c)
dnl Process this file with autoconf to produce a configure script.
AM_INIT_AUTOMAKE
AM_CONFIG_HEADER(config.h)
AM_MAINTAINER_MODE
dnl SETUP
AC_PROG_CC
AC_CANONICAL_HOST
AM_PROG_LIBTOOL
dnl Set some options based on environment
DEBUG="-g"
if test -z "$GCC"; then
XIPH_CPPFLAGS="-D_REENTRANT"
@ -46,20 +46,13 @@ else
AC_DEFINE([_GNU_SOURCE], 1, [Define to include GNU extensions to POSIX])
fi
dnl Checks for programs.
dnl Checks for libraries.
dnl USEFUL HEADERS
dnl Checks for header files.
AC_HEADER_STDC
dnl Checks for typedefs, structures, and compiler characteristics.
dnl Check for types
dnl Checks for library functions.
dnl -- configure options --
dnl CONFIGURE OPTIONS
XIPH_PATH_SHOUT(, AC_MSG_ERROR([must have libshout installed!]))
if test "$SHOUT_THREADSAFE" != "yes"
@ -80,7 +73,8 @@ XIPH_PATH_VORBIS(, AC_MSG_ERROR([must have Ogg Vorbis v1.0 installed!]))
XIPH_VAR_APPEND([XIPH_CPPFLAGS],[$VORBIS_CFLAGS $VORBISFILE_CFLAGS])
XIPH_VAR_PREPEND([XIPH_LIBS],[$VORBIS_LIBS $VORBISFILE_LIBS])
dnl Make substitutions
dnl OUTPUT
AC_SUBST(XIPH_CPPFLAGS)
AC_SUBST(XIPH_CFLAGS)