From 7ed9df9da4464b5000962ba9b2f1b4068f39912f Mon Sep 17 00:00:00 2001 From: grinvader <> Date: Fri, 18 Feb 2005 01:49:02 +0000 Subject: [PATCH] Configure script fix for Gentoo users, and debug builds now use -O0, because we can. --- zsnes/src/configure.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zsnes/src/configure.in b/zsnes/src/configure.in index ea28fa94..8860e46d 100644 --- a/zsnes/src/configure.in +++ b/zsnes/src/configure.in @@ -84,7 +84,9 @@ if test x$opengl_prefix != x; then CFLAGS="$CFLAGS -I$opengl_prefix/include" LDFLAGS-"$LDFLAGS -L$opengl_prefix/lib" fi +if test x$x_libraries != x; then LDFLAGS="$LDFLAGS -L$x_libraries" +fi AC_CHECK_LIB(GL, glGetError,found_opengl="yes",,) if test x$found_opengl = xyes; then echo checking for OpenGL... yes @@ -113,7 +115,7 @@ if test x$debug = xyes; then dnl enabled. CFLAGS="$CFLAGS -DDEBUG -O0 -fno-omit-frame-pointer -ggdb3" - NFLAGS="$NFLAGS -DDEBUG -g -s -O1" dnl -O0 doesnt work + NFLAGS="$NFLAGS -DDEBUG -g -s -O0" dnl it works now ZSNESEXE="zsnesd" else AC_MSG_RESULT(no)