[xiph-commits] r12537 - trunk/ezstream

moritz at svn.xiph.org moritz at svn.xiph.org
Sat Feb 24 13:44:37 PST 2007


Author: moritz
Date: 2007-02-24 13:44:35 -0800 (Sat, 24 Feb 2007)
New Revision: 12537

Modified:
   trunk/ezstream/configure.in
Log:
Autoconf 2.61 has a nice macro AC_USE_SYSTEM_EXTENSIONS. Use it, depend on
autoconf-2.61 for it and remove the annoying _GNU_SOURCE and _XOPEN_SOURCE ...
dung. Autoconf takes care of this, and even checks for more useful stuff for
us.


Modified: trunk/ezstream/configure.in
===================================================================
--- trunk/ezstream/configure.in	2007-02-24 21:37:06 UTC (rev 12536)
+++ trunk/ezstream/configure.in	2007-02-24 21:44:35 UTC (rev 12537)
@@ -1,11 +1,12 @@
 dnl INITIALIZATION
 
 AC_INIT([ezstream], [0.3.0], [grmo at users.sourceforge.net])
-AC_PREREQ(2.54)
+AC_PREREQ(2.61)
 AC_CONFIG_SRCDIR(src/ezstream.c)
 AM_INIT_AUTOMAKE
 AM_CONFIG_HEADER(config.h)
 AM_MAINTAINER_MODE
+AC_USE_SYSTEM_EXTENSIONS
 
 
 dnl SETUP
@@ -30,18 +31,9 @@
                 PROFILE="-g -p"
                 ;;
     esac
-
-    case "$host" in
-        *openbsd* | *irix*)
-        ;;
-        *) AC_DEFINE([_XOPEN_SOURCE], 600, [Define if you have POSIX and XPG specifications])
-        ;;
-    esac
-
 else
     XIPH_CPPFLAGS="-Wall -ffast-math -fsigned-char"
     PROFILE="-pg -g"
-    AC_DEFINE([_GNU_SOURCE], 1, [Define to include GNU extensions to POSIX])
 fi
 
 



More information about the commits mailing list