Turned -Werror back off by default
This commit is contained in:
parent
7b99b55504
commit
a7ab71ae6c
31
configure
vendored
31
configure
vendored
|
@ -1554,7 +1554,8 @@ echo "$ac_t""$ac_cv_mingw32" 1>&6
|
||||||
MINGW32=
|
MINGW32=
|
||||||
test "$ac_cv_mingw32" = yes && MINGW32=yes
|
test "$ac_cv_mingw32" = yes && MINGW32=yes
|
||||||
|
|
||||||
CFLAGS="-g -O2 -Wall -Werror"
|
CFLAGS="-g -O2 -Wall"
|
||||||
|
#CFLAGS="-g -O2 -Wall -Werror"
|
||||||
|
|
||||||
# Test for DJGPP
|
# Test for DJGPP
|
||||||
if test "$OSTYPE" = "MSDOS"; then
|
if test "$OSTYPE" = "MSDOS"; then
|
||||||
|
@ -1576,7 +1577,7 @@ EOF
|
||||||
# Extract the first word of "nasmw", so it can be a program name with args.
|
# Extract the first word of "nasmw", so it can be a program name with args.
|
||||||
set dummy nasmw; ac_word=$2
|
set dummy nasmw; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:1580: checking for $ac_word" >&5
|
echo "configure:1581: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_path_NASM'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_path_NASM'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
|
@ -1629,7 +1630,7 @@ EOF
|
||||||
|
|
||||||
|
|
||||||
echo $ac_n "checking for SDL_Init in -lSDL""... $ac_c" 1>&6
|
echo $ac_n "checking for SDL_Init in -lSDL""... $ac_c" 1>&6
|
||||||
echo "configure:1633: checking for SDL_Init in -lSDL" >&5
|
echo "configure:1634: checking for SDL_Init in -lSDL" >&5
|
||||||
ac_lib_var=`echo SDL'_'SDL_Init | sed 'y%./+-%__p_%'`
|
ac_lib_var=`echo SDL'_'SDL_Init | sed 'y%./+-%__p_%'`
|
||||||
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
|
@ -1637,7 +1638,7 @@ else
|
||||||
ac_save_LIBS="$LIBS"
|
ac_save_LIBS="$LIBS"
|
||||||
LIBS="-lSDL -ldl -lpthread $LIBS"
|
LIBS="-lSDL -ldl -lpthread $LIBS"
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 1641 "configure"
|
#line 1642 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
/* Override any gcc2 internal prototype to avoid an error. */
|
/* Override any gcc2 internal prototype to avoid an error. */
|
||||||
/* We use char because int might match the return type of a gcc2
|
/* We use char because int might match the return type of a gcc2
|
||||||
|
@ -1648,7 +1649,7 @@ int main() {
|
||||||
SDL_Init()
|
SDL_Init()
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:1652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:1653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
eval "ac_cv_lib_$ac_lib_var=yes"
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
||||||
else
|
else
|
||||||
|
@ -1673,17 +1674,17 @@ fi
|
||||||
do
|
do
|
||||||
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
||||||
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
||||||
echo "configure:1677: checking for $ac_hdr" >&5
|
echo "configure:1678: checking for $ac_hdr" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 1682 "configure"
|
#line 1683 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <$ac_hdr>
|
#include <$ac_hdr>
|
||||||
EOF
|
EOF
|
||||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||||
{ (eval echo configure:1687: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
{ (eval echo configure:1688: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||||
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
||||||
if test -z "$ac_err"; then
|
if test -z "$ac_err"; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
|
@ -1728,7 +1729,7 @@ fi
|
||||||
|
|
||||||
if test x$opengl = xtrue; then
|
if test x$opengl = xtrue; then
|
||||||
echo $ac_n "checking for main in -lGL""... $ac_c" 1>&6
|
echo $ac_n "checking for main in -lGL""... $ac_c" 1>&6
|
||||||
echo "configure:1732: checking for main in -lGL" >&5
|
echo "configure:1733: checking for main in -lGL" >&5
|
||||||
ac_lib_var=`echo GL'_'main | sed 'y%./+-%__p_%'`
|
ac_lib_var=`echo GL'_'main | sed 'y%./+-%__p_%'`
|
||||||
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
|
@ -1736,14 +1737,14 @@ else
|
||||||
ac_save_LIBS="$LIBS"
|
ac_save_LIBS="$LIBS"
|
||||||
LIBS="-lGL -L/usr/X11R6/lib -lX11 -lXext -lm $LIBS"
|
LIBS="-lGL -L/usr/X11R6/lib -lX11 -lXext -lm $LIBS"
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 1740 "configure"
|
#line 1741 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
main()
|
main()
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:1747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:1748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
eval "ac_cv_lib_$ac_lib_var=yes"
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
||||||
else
|
else
|
||||||
|
@ -1766,7 +1767,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo $ac_n "checking for main in -lGLU""... $ac_c" 1>&6
|
echo $ac_n "checking for main in -lGLU""... $ac_c" 1>&6
|
||||||
echo "configure:1770: checking for main in -lGLU" >&5
|
echo "configure:1771: checking for main in -lGLU" >&5
|
||||||
ac_lib_var=`echo GLU'_'main | sed 'y%./+-%__p_%'`
|
ac_lib_var=`echo GLU'_'main | sed 'y%./+-%__p_%'`
|
||||||
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
|
@ -1774,14 +1775,14 @@ else
|
||||||
ac_save_LIBS="$LIBS"
|
ac_save_LIBS="$LIBS"
|
||||||
LIBS="-lGLU -lGL -L/usr/X11R6/lib -lX11 -lXext -lm $LIBS"
|
LIBS="-lGLU -lGL -L/usr/X11R6/lib -lX11 -lXext -lm $LIBS"
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 1778 "configure"
|
#line 1779 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
main()
|
main()
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:1785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:1786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
eval "ac_cv_lib_$ac_lib_var=yes"
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
||||||
else
|
else
|
||||||
|
@ -1827,7 +1828,7 @@ fi
|
||||||
# Extract the first word of "nasm", so it can be a program name with args.
|
# Extract the first word of "nasm", so it can be a program name with args.
|
||||||
set dummy nasm; ac_word=$2
|
set dummy nasm; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:1831: checking for $ac_word" >&5
|
echo "configure:1832: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_path_NASM'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_path_NASM'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
|
|
|
@ -13,7 +13,8 @@ AC_STDC_HEADERS
|
||||||
AC_CYGWIN
|
AC_CYGWIN
|
||||||
AC_MINGW32
|
AC_MINGW32
|
||||||
|
|
||||||
CFLAGS="-g -O2 -Wall -Werror"
|
CFLAGS="-g -O2 -Wall"
|
||||||
|
#CFLAGS="-g -O2 -Wall -Werror"
|
||||||
|
|
||||||
# Test for DJGPP
|
# Test for DJGPP
|
||||||
if test "$OSTYPE" = "MSDOS"; then
|
if test "$OSTYPE" = "MSDOS"; then
|
||||||
|
|
Loading…
Reference in a new issue