# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ(2.59) # BEGIN modified/added by jos (all else written by autoscan) AC_INIT([resample],[1.8.1],[resample-bugs@w3k.org]) AM_INIT_AUTOMAKE(resample,1.8.1) # (also removed testdir for now) # END modified/added by jos AC_CONFIG_SRCDIR([src/smallfilter.h]) AC_CONFIG_HEADER([config.h]) # Checks for programs. AC_PROG_CC AC_PROG_RANLIB AC_PROG_INSTALL # Checks for libraries. # FIXME: Replace `main' with a function in `-lm': AC_CHECK_LIB([m], [main]) # Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS([fcntl.h limits.h stddef.h stdint.h stdlib.h string.h sys/ioctl.h unistd.h]) # Checks for typedefs, structures, and compiler characteristics. AC_HEADER_STDBOOL AC_C_CONST AC_TYPE_MODE_T AC_TYPE_OFF_T AC_TYPE_PID_T AC_TYPE_SIZE_T # Checks for library functions. AC_FUNC_ALLOCA AC_PROG_GCC_TRADITIONAL AC_FUNC_MALLOC AC_FUNC_REALLOC AC_FUNC_STAT AC_FUNC_STRFTIME AC_FUNC_VPRINTF AC_CHECK_FUNCS([atexit floor getcwd memmove memset pathconf pow sqrt strdup strerror strtol]) AC_CONFIG_FILES([Makefile man/Makefile sndlib-20/makefile sndlib-20/sndins/Makefile src/Makefile]) AC_OUTPUT AM_INIT_AUTOMAKE