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