Clean up file

This commit is contained in:
pagefault
2003-05-11 18:12:29 +00:00
parent 51455e6562
commit a0849402d2

View File

@@ -25,7 +25,7 @@ AC_CHECK_TOOL(NASMPATH,nasm,"no",$nasm_prefix:$PATH)
if test x$NASMPATH = xno; then
AC_MSG_ERROR(You need NASM installed to compile ZSNES)
fi
NFLAGS="$NFLAGS -O1 -w-orphan-labels"
NFLAGS="$NFLAGS -w-orphan-labels"
AC_PROG_INSTALL
case "$target" in
*-*-linux*)
@@ -108,12 +108,13 @@ if test x$debug = xyes; then
dnl enabled.
CFLAGS="$CFLAGS -DDEBUG -O0 -fno-omit-frame-pointer -ggdb3"
NFLAGS="$NFLAGS -DDEBUG -g -s"
NFLAGS="$NFLAGS -DDEBUG -g -s -O1" dnl -O0 doesnt work
ZSNESEXE="zsnesd"
else
AC_MSG_RESULT(no)
CFLAGS="$CFLAGS -O3 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -s"
NFLAGS="$NFLAGS -O1"
ZSNESEXE="zsnes"
fi
@@ -130,6 +131,7 @@ if test x$debug != xyes; then
;;
i686-*-*)
CFLAGS="$CFLAGS -march=pentiumpro"
dnl CFLAGS="$CFLAGS -march=pentium3 -mmmx -msse -mfpmath=sse,387"
AC_MSG_RESULT(686)
;;
*)
@@ -137,7 +139,6 @@ if test x$debug != xyes; then
AC_MSG_WARN(*** This is probably not what you want use --target)
;;
esac
else
AC_MSG_RESULT(no optimization because debug enabled)
fi