ossp-pkg/str/configure.ac
dnl ##
dnl ## Autoconf specification for STR library
dnl ##
AC_PREREQ(2.53)
AC_INIT
AC_HEADLINE(dnl
OSSP str, String Handling, dnl
STR_VERSION, str_version.c, dnl
[Copyright (c) 1999-2005 Ralf S. Engelschall <rse@engelschall.com>
Copyright (c) 1999-2005 The OSSP Project <http://www.ossp.org>])
AC_PLATFORM(PLATFORM)
AC_PROG_MAKE_SET
AC_PROG_CC
AC_PROG_CPP
AC_CHECK_DEBUGGING
sinclude(libtool.m4)
AC_PROG_LIBTOOL
AC_CHECK_SIZEOF(char, 1)
AC_CHECK_SIZEOF(short, 2)
AC_CHECK_SIZEOF(int, 4)
AC_CHECK_SIZEOF(long, 4)
AC_CHECK_SIZEOF(long long, 8)
AC_CHECK_SIZEOF(void *, 4)
AC_CHECK_VA_COPY
AC_HAVE_FUNCS(memmove memset memcmp memchr)
AC_HAVE_FUNCS(isnan isinf)
AC_CHECK_EXTLIB([Dmalloc], dmalloc, dmalloc_debug, dmalloc.h,
[AC_DEFINE(WITH_DMALLOC, 1, [Define to 1 if building with Dmalloc])])
AC_CONFIG_HEADERS(config.h)
AC_CONFIG_FILES([Makefile str.h str-config])
AC_CONFIG_COMMANDS([adjustment], [chmod a+x str-config])
AC_OUTPUT