ldnl Process this file with
autoconf to produce a configure script.
ldnl Written by Jimmy
Pritts.
l
ldnl initialize autoconf and
automake
lAC_INIT([clucene], [1])
lAC_PREREQ([2.54])
lAC_CONFIG_SRCDIR([src/CLucene.h])
lAC_CONFIG_AUX_DIR([./build/gcc/config])
lAC_CONFIG_HEADERS([config.h])
lAM_INIT_AUTOMAKE
l
ldnl Check for existence of a C and
C++ compilers.
lAC_PROG_CC
lAC_PROG_CXX
l
ldnl Check for headers
lAC_HEADER_DIRENT
l
ldnl Configure libtool.
lAC_PROG_LIBTOOL
l
ldnl option to use UTF-8 as internal
8-bit charset to support characters in Unicodeā
l
¢
lAC_ARG_ENABLE(utf8,
lAC_HELP_STRING([--enable-utf8],[UTF-8
as internal 8-bit charset to support characters in Unicodeā
l ¢ (default=no)]),
l [AC_DEFINE([UTF8],[],[use UTF-8 as
internal 8-bit charset to support characters in Unicodeā
l ¢])],enable_utf8=no)
l
lAM_CONDITIONAL(USEUTF8, test
x$enable_utf8 = xyes)
l
lAC_CONFIG_FILES([Makefile
src/Makefile examples/Makefile examples/demo/Makefile examples/tests/Makefile
examples/util/Makefile wrappers/Makefile
wrappers/dll/Makefile wrappers/dll/dlltest/Makefile])
lAC_OUTPUT
l