stub out AM_ICONV if it is not available

If we're building on a system w/out gettext, just stub out the AM_ICONV
macro.  This is useful for embedded systems which don't have i18n support
as the current code will auto-disable itself anyways.
master
Mike Frysinger 2013-04-16 17:47:09 -04:00
parent 85a57d915d
commit 4f470ed763
1 changed files with 2 additions and 0 deletions

View File

@ -75,6 +75,8 @@ fi
AC_HEADER_STDC
AC_CHECK_HEADERS([errno.h limits.h stddef.h stdlib.h string.h unistd.h])
dnl if we're configuring on a system w/out gettext, don't fall over
m4_ifndef([AM_ICONV],[m4_define([AM_ICONV],[:])])
AM_ICONV
# if test -n "$LIBICONV" ; then
# LIBS="$LIBS $LIBICONV"