AM_CONFIG_HEADER(src/autoconf.h)
-AM_INIT_AUTOMAKE(hengband, 1.0.9)
+AM_INIT_AUTOMAKE(hengband, 1.1.0b)
AC_ARG_WITH(setgid,
[ --with-setgid=NAME install hengband as group NAME],
if test "$use_japanese" != no; then
if test "$use_fontset" = yes; then
AC_DEFINE(USE_FONTSET)
+ else
+ AC_DEFINE(_JP)
fi
if test "$use_xim" = yes; then
AC_DEFINE(USE_XIM)
fi
- if test "$use_fontset" = yes || "$use_xim" = yes; then
+ if test "$use_fontset" = yes || test "$use_xim" = yes; then
AC_DEFINE(USE_LOCALE)
AC_DEFINE(DEFAULT_LOCALE, "ja_JP.eucJP", Default Japanese Locale)
AC_CHECK_LIB(X11, _Xsetlocale, AC_DEFINE(X_LOCALE))
AC_CHECK_LIB(xpg4, setlocale, LIBS="$LIBS -lxpg4")
- else
- AC_DEFINE(_JP)
fi
fi
fi
AC_TYPE_SIGNAL
AC_FUNC_STRFTIME
AC_FUNC_VPRINTF
-AC_CHECK_FUNCS(gethostname mkdir select socket strstr strtol vasprintf vsnprintf mkstemp)
+AC_CHECK_FUNCS(gethostname mkdir select socket strstr strtol vasprintf vsnprintf mkstemp usleep)
AC_OUTPUT(Makefile src/Makefile lib/Makefile lib/apex/Makefile lib/bone/Makefile lib/data/Makefile lib/edit/Makefile lib/file/Makefile lib/help/Makefile lib/info/Makefile lib/pref/Makefile lib/save/Makefile lib/script/Makefile lib/user/Makefile lib/xtra/Makefile lib/xtra/font/Makefile lib/xtra/graf/Makefile lib/xtra/music/Makefile lib/xtra/sound/Makefile)