[xiph-commits] r13927 - icecast/trunk/icecast

karl at svn.xiph.org karl at svn.xiph.org
Wed Oct 3 12:50:11 PDT 2007


Author: karl
Date: 2007-10-03 12:50:10 -0700 (Wed, 03 Oct 2007)
New Revision: 13927

Modified:
   icecast/trunk/icecast/configure.in
Log:
Don't define special flags for non-gcc builds, they can vary, allow them to be defined
by the builder. Also drop the SUS define as too many non-gnu headers break. Any system
required defines/flags can be added via CFLAGS/CPPFLAGS



Modified: icecast/trunk/icecast/configure.in
===================================================================
--- icecast/trunk/icecast/configure.in	2007-10-03 18:56:42 UTC (rev 13926)
+++ icecast/trunk/icecast/configure.in	2007-10-03 19:50:10 UTC (rev 13927)
@@ -1,4 +1,4 @@
-AC_INIT([Icecast], [2.3.1], [icecast at xiph.org])
+AC_INIT([Icecast], [trunk], [icecast at xiph.org])
 
 AC_PREREQ(2.54)
 AC_CONFIG_SRCDIR(src/main.c)
@@ -18,29 +18,7 @@
 DEBUG="-g"
 if test -z "$GCC"; then
     XIPH_CPPFLAGS="-D_REENTRANT"
-    case $host in 
-        *-*-irix*)
-                XIPH_CPPFLAGS="$XIPH_CPPFLAGS -w -signed"
-                PROFILE="-p -g3 -O2 -signed -D_REENTRANT"
-                ;;
-        *-*-solaris*)
-                XIPH_CFLAGS="-xO4 -xcg92"
-                XIPH_CPPFLAGS="$XIPH_CPPFLAGS -v -w -fsimple -fast"
-                PROFILE="-xpg -g -Dsuncc"
-                ;;
-        *)
-                XIPH_CFLAGS="-O"
-                PROFILE="-g -p"
-                ;;
-    esac
-
-    case "$host" in
-        *openbsd* | *irix*)
-        ;;
-        *) AC_DEFINE([_XOPEN_SOURCE], 600, [Define if you have POSIX and XPG specifications])
-        ;;
-    esac
-
+    PROFILE="-g -p"
 else
     XIPH_CPPFLAGS="-Wall -ffast-math -fsigned-char"
     PROFILE="-pg -g"



More information about the commits mailing list