1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
|
dnl Process this file with autoconf to produce a configure script.
AC_INIT(tagcoll, 0.99, [enrico@debian.org])
AC_CONFIG_SRCDIR([configure.ac])
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE
AC_LANG([C++])
dnl Add options for local configuration
dnl Ti use subdirs
AC_PROG_MAKE_SET
AC_ISC_POSIX
AC_PROG_CXX()
AC_PROG_CXXCPP
AM_PROG_CC_STDC
AC_HEADER_STDC
dnl AC_PROG_RANLIB
dnl AM_PROG_LIBTOOL
LIBTAGCOLL_DEFS
dnl Add the languages which your application supports here.
dnl ALL_LINGUAS="fr da es no it"
dnl ALL_LINGUAS="it"
dnl ALL_LINGUAS=""
dnl AM_GNU_GETTEXT
dnl Controlla se c'e' libpthread
dnl AC_CHECK_HEADERS(pthread.h)
dnl AC_CHECK_LIB(pthread, pthread_create)
dnl Look for tail and #define TAIL_BIN
dnl AC_PATH_PROG(TAIL_BIN, "tail")
dnl AC_DEFINE_UNQUOTED(TAIL_BIN, "${TAIL_BIN}")
dnl Look for perl
dnl AC_PATH_PROG(PERL, "perl")
dnl AC_SUBST(PERL)
CXXFLAGS="$CXXFLAGS -Wall"
AC_CONFIG_FILES([
Makefile
src/Makefile
])
AC_OUTPUT
|