Make unitwaittime block exploding a nuke in place.
[freeciv.git] / m4 / locale.m4
blob9c26f9270159380754d79835a776e182656f49de
1 #serial 0
3 AC_DEFUN([AM_LIBCHARSET],
5   AC_CACHE_CHECK([for libcharset], am_cv_libcharset,
6     [lc_save_LIBS="$LIBS"
7      LIBS="$LIBS $LIBICONV"
8      AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <libcharset.h>]], [[locale_charset()]])],[am_cv_libcharset=yes],[am_cv_libcharset=no]) 
9       LIBS="$lc_save_LIBS" 
10     ])
11   if test $am_cv_libcharset = yes; then
12     AC_DEFINE([HAVE_LIBCHARSET], [1],
13       [Define if you have <libcharset.h> and locale_charset().])
14   fi