X-Git-Url: http://git.jankratochvil.net/?p=mdsms.git;a=blobdiff_plain;f=configure.in;fp=configure.in;h=4f4b2e786d9e1f66db4ad93e32e90f6f30d8c6cf;hp=d750ae6c9e4080c6ace4901ca0c92434f46be371;hb=f6eb34fe532a8392a1aa3a0f2d93e16896b8eba5;hpb=105a34a1ed2524b6f305d3f701a4e0f5f7df8141 diff --git a/configure.in b/configure.in index d750ae6..4f4b2e7 100644 --- a/configure.in +++ b/configure.in @@ -26,6 +26,10 @@ AC_ARG_WITH(lock-directory, with_lock_directory=$withval, with_lock_directory=) AC_MSG_RESULT($with_lock_directory) +AC_ARG_WITH(efence, +[ --without-efence disable use of Electric Fence in maintainer-mode], + efence=$withval, efence=yes) + dnl Checks for programs. AC_PROG_CC if test "$USE_MAINTAINER_MODE" = yes;then @@ -44,6 +48,10 @@ AC_PROG_CPP dnl Checks for pathnames. +ALL_LINGUAS="cs" +AM_GNU_GETTEXT +AC_CHECK_HEADERS(libintl.h) + AC_MSG_CHECKING([for modem lock directory]) dirx="" if test "$with_lock_directory" = no;then @@ -254,4 +262,6 @@ fi AC_SUBST(LIBOBJS) -AC_OUTPUT(Makefile) +AC_OUTPUT([Makefile +po/Makefile.in +intl/Makefile],[sed -e "/POTFILES =/r po/POTFILES" -e "s/ ChangeLog / /" po/Makefile.in > po/Makefile])