# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ(2.50) AC_INIT(iiimf-lib-csconv, 12.2, openi18n-im@openi18n.org) IM_INIT(../..) AM_INIT_AUTOMAKE() AC_CONFIG_SRCDIR([csconv.c]) AM_CONFIG_HEADER([config.h]) dnl disable static module AC_DISABLE_STATIC AC_LIBTOOL_WIN32_DLL AC_LIBTOOL_DLOPEN AC_PROG_LIBTOOL # Checks for programs. AC_PROG_CC # Checks for libraries. AC_CHECK_FUNCS(strdup) dnl this macro is definded by iconv.m4(from gettext) AM_ICONV # Checks for header files. AC_CHECK_HEADERS(ctype.h errno.h locale.h) # Checks for typedefs, structures, and compiler characteristics. AC_C_CONST AC_TYPE_SIZE_T CSC_BASE_DIR_DEFAULT="\"${IMDIR}/csconv\"" CSC_PATH="\"${IMDIR}/csconv/csconv.so\"" AC_SUBST(CSC_BASE_DIR_DEFAULT) AC_SUBST(CSC_PATH) IM_SUBST AC_CONFIG_FILES([csconv.h]) AC_CONFIG_FILES(Makefile) AC_CONFIG_FILES(test/Makefile) # Checks for library functions. AC_OUTPUT