From b68103e7018957e6fd25610da1d65deedd825497 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Wed, 27 Jun 2007 09:17:03 +0000 Subject: ISO-8859-1 support - Try to detect genuine ISO-8859-1 encoding --- configure.in | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 1ad8cd6..15d197f 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,6 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT(src/librcd.c) +AC_CONFIG_HEADERS(config.h) PACKAGE=librcd LIBRCD_VERSION_MAJOR=`cat VERSION | sed -e s/CVS// | cut -d . -f 1 | sed -e s/^$/0/` @@ -17,6 +18,14 @@ AC_SUBST(LIBRCD_VERSION_INFO) AM_INIT_AUTOMAKE($PACKAGE, $VERSION) +AC_ARG_ENABLE( latin, + [ --disable-latin disable detection of ISO-8859-1],, + disable_latin="yes") + +if test "x$disable_latin" == "xyes"; then + AC_DEFINE(DETECT_LATIN,1,[Defines if ISO-8859-1 detection is enabled]) +fi + AC_PROG_CC AC_PROG_INSTALL AM_PROG_LIBTOOL -- cgit v1.2.3