[xiph-commits] r7481 - in trunk/vorbis: . lib
thomasvs at motherfish-iii.xiph.org
thomasvs
Thu Aug 5 19:11:03 PDT 2004
Author: thomasvs
Date: Thu Aug 5 19:11:03 2004
New Revision: 7481
Added:
trunk/vorbis/ChangeLog
Modified:
trunk/vorbis/autogen.sh
trunk/vorbis/configure.in
trunk/vorbis/lib/os.h
Log:
using autoheader to generate config.h so we get rid of the long compile
lines filled with defines.
I also added a ChangeLog, if people don't like that feel free to flame me down
and I'll remove it.
Added: trunk/vorbis/ChangeLog
===================================================================
--- trunk/vorbis/ChangeLog 2004-08-05 01:43:58 UTC (rev 7480)
+++ trunk/vorbis/ChangeLog 2004-08-05 10:04:51 UTC (rev 7481)
@@ -0,0 +1,8 @@
+2004-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
+
+ * autogen.sh:
+ activate autoheader
+ * configure.in:
+ generate config.h
+ * lib/os.h:
+ include config.h because we use a define from it
Modified: trunk/vorbis/autogen.sh
===================================================================
--- trunk/vorbis/autogen.sh 2004-08-05 01:43:58 UTC (rev 7480)
+++ trunk/vorbis/autogen.sh 2004-08-05 10:04:51 UTC (rev 7481)
@@ -62,8 +62,8 @@
echo " aclocal $ACLOCAL_FLAGS"
aclocal $ACLOCAL_FLAGS || exit 1
-#echo " autoheader"
-#autoheader
+echo " autoheader"
+autoheader || exit 1
echo " $LIBTOOLIZE --automake"
$LIBTOOLIZE --automake || exit 1
echo " automake --add-missing $AUTOMAKE_FLAGS"
Modified: trunk/vorbis/configure.in
===================================================================
--- trunk/vorbis/configure.in 2004-08-05 01:43:58 UTC (rev 7480)
+++ trunk/vorbis/configure.in 2004-08-05 10:04:51 UTC (rev 7481)
@@ -9,6 +9,8 @@
AC_CANONICAL_HOST
AC_CANONICAL_TARGET
+AM_CONFIG_HEADER([config.h])
+
AM_INIT_AUTOMAKE(libvorbis,1.0.1)
AM_MAINTAINER_MODE
Modified: trunk/vorbis/lib/os.h
===================================================================
--- trunk/vorbis/lib/os.h 2004-08-05 01:43:58 UTC (rev 7480)
+++ trunk/vorbis/lib/os.h 2004-08-05 10:04:51 UTC (rev 7481)
@@ -13,10 +13,14 @@
********************************************************************
function: #ifdef jail to whip a few platforms into the UNIX ideal.
- last mod: $Id: os.h,v 1.33 2003/09/02 05:11:53 xiphmont Exp $
+ last mod: $Id$
********************************************************************/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <math.h>
#include <ogg/os_types.h>
More information about the commits
mailing list