[xiph-commits] r12534 - trunk/ezstream
moritz at svn.xiph.org
moritz at svn.xiph.org
Sat Feb 24 13:29:29 PST 2007
Author: moritz
Date: 2007-02-24 13:29:27 -0800 (Sat, 24 Feb 2007)
New Revision: 12534
Modified:
trunk/ezstream/configure.in
Log:
Start to incrementally merge configure.in changes by simply shuffling code
around a bit. No functional change, yet.
Modified: trunk/ezstream/configure.in
===================================================================
--- trunk/ezstream/configure.in 2007-02-24 21:19:20 UTC (rev 12533)
+++ trunk/ezstream/configure.in 2007-02-24 21:29:27 UTC (rev 12534)
@@ -1,19 +1,19 @@
-AC_INIT([ezstream], [0.3.0], [grmo at users.sourceforge.net])
+dnl INITIALIZATION
+AC_INIT([ezstream], [0.3.0], [grmo at 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,21 +46,14 @@
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 CONFIGURE OPTIONS
-dnl Checks for library functions.
-
-dnl -- configure options --
-
XIPH_PATH_SHOUT(, AC_MSG_ERROR([must have libshout installed!]))
if test "$SHOUT_THREADSAFE" != "yes"
then
@@ -80,8 +73,9 @@
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)
AC_SUBST(XIPH_LIBS)
More information about the commits
mailing list