$OpenBSD: patch-src_configure_in,v 1.7 2005/10/21 18:07:10 naddy Exp $ --- src/configure.in.orig Mon Oct 3 23:11:56 2005 +++ src/configure.in Mon Oct 3 23:14:21 2005 @@ -39,7 +39,7 @@ case "$target" in ;; *-*-*openbsd*) CFLAGS="$CFLAGS -D__LINUX__ -D__FreeBSD__" - NFLAGS="$NFLAGS -D__LINUX__ -D__FreeBSD__ -D__OpenBSD__ -f aoutb" + NFLAGS="$NFLAGS -D__LINUX__ -D__FreeBSD__ -D__OpenBSD__ -DELF -f elf" ;; *-*-*bsd*) CFLAGS="$CFLAGS -D__LINUX__ -D__FreeBSD__" @@ -118,34 +118,9 @@ if test x$debug = xyes; then else 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" NFLAGS="$NFLAGS -O1" ZSNESEXE="zsnes" -fi - -AC_MSG_CHECKING(which processor class to optimize for) -if test x$debug != xyes; then - case "$target" in - i486-*-*) - CFLAGS="$CFLAGS -march=i486" - AC_MSG_RESULT(486) - ;; - i586-*-*) - CFLAGS="$CFLAGS -march=pentium" - AC_MSG_RESULT(586) - ;; - i686-*-*) - CFLAGS="$CFLAGS -march=pentiumpro" - dnl CFLAGS="$CFLAGS -march=pentium3 -mmmx -msse -mfpmath=sse,387" - AC_MSG_RESULT(686) - ;; - *) - AC_MSG_RESULT(386) - AC_MSG_WARN(*** This is probably not what you want use --target) - ;; - esac -else - AC_MSG_RESULT(no optimization because debug enabled) fi dnl Checks for header files.