version 1.243, 2008/11/24 15:53:39
|
version 1.244, 2008/11/24 16:53:11
|
Line 473 CEXTRACT_FLAGS="+O"
|
Line 473 CEXTRACT_FLAGS="+O"
|
|
|
# Check if debug is enable |
# Check if debug is enable |
AC_ARG_WITH(debug, [ --with-debug compiles Amaya with debuging options (-g) ]) |
AC_ARG_WITH(debug, [ --with-debug compiles Amaya with debuging options (-g) ]) |
|
if test "$with_debug" = "yes" ; then |
|
with_debug="yes" |
|
CFLAGS="-g" |
|
CXXFLAGS="-g" |
|
else |
|
with_debug="no" |
|
CFLAGS="-O2" |
|
CXXFLAGS="-O2" |
|
fi |
|
|
if test "${CC}" = "gcc" ; then |
if test "${CC}" = "gcc" ; then |
CFLAGS="${CFLAGS} -Wall" |
CFLAGS="${CFLAGS} -Wall" |