then
WARNINGS="-Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic"
CEXTRAFLAGS="-fsigned-char -funroll-loops"
-# For profiling targets:
-CEXTRAFLAGS2="-fsigned-char -pg -fprofile-arcs -ftest-coverage"
else
# Who knows what warnings your compiler uses?
WARNINGS=
AC_SUBST(WARNINGS)
AC_SUBST(CEXTRAFLAGS)
-AC_SUBST(CEXTRAFLAGS2)
##########
AC_MSG_NOTICE([header files])
AC_FUNC_FORK
AC_PROG_GCC_TRADITIONAL
AC_FUNC_MALLOC
-AC_FUNC_SETVBUF_REVERSED
AC_TYPE_SIGNAL
AC_CHECK_FUNCS([dup2 gethostname gettimeofday memset pow strcasecmp])
AC_CHECK_FUNCS([strchr strerror strrchr strstr strtol])
AC_CHECK_FUNCS([memcpy bcopy])
-AC_CHECK_FUNCS([setlinebuf setvbuf])
+AC_CHECK_FUNCS([setvbuf setlinebuf])
#
##########
AC_CONFIG_FILES([Makefile
gnushogi/Makefile
- gnushogi/Makefile.profile
doc/Makefile
xshogi/Makefile])
AC_OUTPUT