From 7df993f367de8021f90db8ba07e24bc2291de13a Mon Sep 17 00:00:00 2001 From: Karl Heyes Date: Wed, 3 Oct 2007 19:50:10 +0000 Subject: [PATCH] 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 svn path=/icecast/trunk/icecast/; revision=13927 --- configure.in | 26 ++------------------------ 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/configure.in b/configure.in index 231d139b..f98189bb 100644 --- a/configure.in +++ b/configure.in @@ -1,4 +1,4 @@ -AC_INIT([Icecast], [2.3.1], [icecast@xiph.org]) +AC_INIT([Icecast], [trunk], [icecast@xiph.org]) AC_PREREQ(2.54) AC_CONFIG_SRCDIR(src/main.c) @@ -18,29 +18,7 @@ dnl Set some options based on environment 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"