c8b30f1d86
change WWW PR: 28554 Submitted by: pat@databits.net
37 lines
948 B
Text
37 lines
948 B
Text
--- configure.in.orig Sat Jun 30 16:38:55 2001
|
|
+++ configure.in Sat Jun 30 16:42:42 2001
|
|
@@ -79,12 +79,12 @@
|
|
if test "$with_sdl" != "no" ; then
|
|
AC_CHECK_PROG(SDL_CONFIG, sdl-config, yes)
|
|
if test "$SDL_CONFIG" ; then
|
|
-SDL_LIBS="`sdl-config --libs`"
|
|
-SDL_CFLAGS="`sdl-config --cflags`"
|
|
+SDL_LIBS="`$SDL_CONFIG --libs`"
|
|
+SDL_CFLAGS="`$SDL_CONFIG --cflags`"
|
|
old_incs="$INCS"
|
|
INCS="$INCS $SDL_CFLAGS"
|
|
-AC_CHECK_LIB(SDL, SDL_Init, [
|
|
-AC_CHECK_HEADERS(SDL/SDL.h, ,[
|
|
+AC_CHECK_LIB(SDL-1.1, SDL_Init, [
|
|
+AC_CHECK_HEADERS(SDL11/SDL.h, ,[
|
|
AC_MSG_WARN(SDL found but headers are missing!!)
|
|
with_sdl=no
|
|
])], [with_sdl=no], $SDL_LIBS)
|
|
@@ -189,7 +189,7 @@
|
|
yes|full)
|
|
AC_MSG_RESULT(producing heavily optimized code)
|
|
|
|
-CFLAGS="$CFLAGS -O3"
|
|
+CFLAGS="$CFLAGS"
|
|
|
|
case `uname -m` in
|
|
i?86) CFLAGS="$CFLAGS -DALLOW_UNALIGNED_IO" ;;
|
|
@@ -214,7 +214,7 @@
|
|
low)
|
|
|
|
AC_MSG_RESULT(using minimal optimizations)
|
|
-CFLAGS="$CFLAGS -O3" ;;
|
|
+CFLAGS="$CFLAGS" ;;
|
|
|
|
esac
|
|
|