X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=configure.ac;h=119f002bc27993b190e397e250eed630ba1c971e;hb=4ee59290014c82e30c7bcee46f34298488bbe43e;hp=4f35feea0550141fd0423a9cd91067724e884595;hpb=2d0fb98e10ba964a18ff63ea67f5abd04c6df585;p=xboard.git diff --git a/configure.ac b/configure.ac index 4f35fee..119f002 100644 --- a/configure.ac +++ b/configure.ac @@ -28,7 +28,7 @@ dnl| to regenerate configure. Then submit your changes to be folded into dnl| the standard version of xboard. dnl| define second argument as VERSION.PATCHLEVEL. e.g. 4.4.0j -AC_INIT([xboard],[4.6.0.20120212],[bug-xboard@gnu.org]) +AC_INIT([xboard],[master-20120410],[bug-xboard@gnu.org]) dnl| need this to be able to compile some files in a subdir (filebrowser) AM_INIT_AUTOMAKE([subdir-objects]) @@ -110,6 +110,15 @@ AC_CHECK_FUNC(setlocale, [], AC_CHECK_LIB(seq, getpseudotty) +dnl | add compiler warnings only if compiler understands them +AC_MSG_CHECKING(whether compiler understands -Wall -Wno-parentheses) +SAVE_CFLAGS="$CFLAGS" +CFLAGS="$CFLAGS -Wall -Wno-parentheses" +AC_TRY_COMPILE([],[], + AC_MSG_RESULT(yes), + AC_MSG_RESULT(no) + CFLAGS="$SAVE_CFLAGS") + dnl | check for X-libraries AC_PATH_XTRA