From a7ab71ae6c9b133b6ba3bf4cb38c32cdfba2f8bd Mon Sep 17 00:00:00 2001 From: Bradley Bell Date: Sat, 20 Jan 2001 13:56:48 +0000 Subject: [PATCH] Turned -Werror back off by default --- configure | 31 ++++++++++++++++--------------- configure.in | 3 ++- 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/configure b/configure index d0c4550d9..622d82cce 100644 --- a/configure +++ b/configure @@ -1554,7 +1554,8 @@ echo "$ac_t""$ac_cv_mingw32" 1>&6 MINGW32= test "$ac_cv_mingw32" = yes && MINGW32=yes -CFLAGS="-g -O2 -Wall -Werror" +CFLAGS="-g -O2 -Wall" +#CFLAGS="-g -O2 -Wall -Werror" # Test for DJGPP 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. set dummy nasmw; ac_word=$2 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 echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1629,7 +1630,7 @@ EOF 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_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1637,7 +1638,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lSDL -ldl -lpthread $LIBS" cat > conftest.$ac_ext <&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* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -1673,17 +1674,17 @@ fi do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 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 echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF 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}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -1728,7 +1729,7 @@ fi if test x$opengl = xtrue; then 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_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1736,14 +1737,14 @@ else ac_save_LIBS="$LIBS" LIBS="-lGL -L/usr/X11R6/lib -lX11 -lXext -lm $LIBS" cat > conftest.$ac_ext <&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* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -1766,7 +1767,7 @@ else fi 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_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1774,14 +1775,14 @@ else ac_save_LIBS="$LIBS" LIBS="-lGLU -lGL -L/usr/X11R6/lib -lX11 -lXext -lm $LIBS" cat > conftest.$ac_ext <&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* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -1827,7 +1828,7 @@ fi # Extract the first word of "nasm", so it can be a program name with args. set dummy nasm; ac_word=$2 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 echo $ac_n "(cached) $ac_c" 1>&6 else diff --git a/configure.in b/configure.in index 2121e1f31..01fee4a38 100644 --- a/configure.in +++ b/configure.in @@ -13,7 +13,8 @@ AC_STDC_HEADERS AC_CYGWIN AC_MINGW32 -CFLAGS="-g -O2 -Wall -Werror" +CFLAGS="-g -O2 -Wall" +#CFLAGS="-g -O2 -Wall -Werror" # Test for DJGPP if test "$OSTYPE" = "MSDOS"; then