# # mod-xslt -- Copyright (C) 2002, 2003 # Carlo Contavalli # # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # # Process this file with helpers/release to produce a configure script. AC_PREREQ(2.57) AC_COPYRIGHT( [Copyright (C) 2002,2003 Carlo Contavalli ] [mod-xslt and this configure script are free software; you can ] [redistribute them and/or modify them under the terms of the GNU ] [General Public License. Read the provided documentation to know ] [more about this license and usage terms.]) AC_INIT(mod-xslt, 1.1.21, [ccontavalli at masobit.net]) # Check we really are using the correct directory AC_CONFIG_SRCDIR(scripts/test.in) AC_CONFIG_HEADER(include/system.h) AC_CONFIG_AUX_DIR([../helpers]) # Check for programs AC_PROG_CC AC_PROG_INSTALL AC_PROG_MAKE_SET AC_CACHE_SAVE AC_PROG_LIBTOOL AC_CACHE_SAVE # Check for basic functions AC_CHECK_FUNCS([malloc memcmp memset realloc stat vprintf memset strdup],, [ AC_MSG_ERROR([Necessary function is missing. Can't continue])]) AC_FUNC_MMAP AC_FUNC_MEMCMP # Check for C compiler/library features AC_ISC_POSIX AC_C_CONST AC_C_INLINE AC_C_PROTOTYPES AC_TYPE_SIZE_T AC_CACHE_SAVE # Check for standard headers AC_STDC_HEADERS AC_CHECK_HEADERS([stdlib.h fcntl.h string.h unistd.h],, AC_MSG_ERROR([Missing needed header file ])) AC_SUBST(CC) AC_SUBST(LD) AC_SUBST(LIBS) AC_SUBST(CFLAGS) AC_SUBST(LDFLAGS) AC_SUBST(CPPFLAGS) AC_CONFIG_FILES([scripts/cleanup scripts/configure scripts/issue scripts/make scripts/test], [chmod 0755 scripts/*]) AC_OUTPUT