--- xqf-xqf-1.0.6.2/configure.in +++ xqf-xqf-1.0.6.2/configure.in @@ -3,15 +3,17 @@ # Initially written by Markus Fischer # -AC_INIT([XQF],[1.0.6.2],[xqf-developer@lists.sourceforge.net], [xqf]) +AC_INIT([XQF],[1.0.6.2],[xqf-developer@lists.sourceforge.net],[xqf]) AC_CONFIG_SRCDIR([src/xqf.c]) -AC_PREREQ(2.52) +AC_PREREQ([2.69]) AM_INIT_AUTOMAKE dnl AM_CONFIG_HEADER(src/gnuconfig.h:src/gnuconfig.h.in) AM_CONFIG_HEADER(src/gnuconfig.h) -AM_GLIB_GNU_GETTEXT +AC_CONFIG_MACRO_DIR([m4]) +AM_GNU_GETTEXT(external) +AM_GNU_GETTEXT_VERSION(0.22) IT_PROG_INTLTOOL([0.40.0]) GETTEXT_PACKAGE=xqf @@ -20,14 +22,11 @@ dnl Checks for programs. AC_PROG_CC -AC_ISC_POSIX +AC_SEARCH_LIBS([strerror],[cposix]) AC_PROG_LN_S AC_PROG_RANLIB AM_PROG_AR -dnl Checks for header files. -AC_HEADER_STDC - #The Release stuff for the spec file. RELEASE="1" AC_ARG_WITH(rpm_release,[ --with-rpm-release=VAL RPM Release (e.g. 1mdk)]) @@ -73,7 +72,7 @@ dnl determine if we should include readline support... dnl ripped from physfs package dnl AC_ARG_ENABLE(readline, -dnl AC_HELP_STRING([--enable-externalrcon],[compile external rcon program (default=yes)]) +dnl AS_HELP_STRING([--enable-externalrcon],[compile external rcon program (default=yes)]) dnl , ,enable_rcon=yes) XQFRCON_LIBS= AC_ARG_ENABLE(externalrcon,[ --enable-externalrcon compile external rcon program (default=no)])