# Process this file with autoconf to produce a configure script. AC_INIT(src/spc.c) AM_INIT_AUTOMAKE(xmms-OpenSPC, 0.0.3) AM_CONFIG_HEADER(config.h) AM_DISABLE_STATIC AM_PROG_LIBTOOL # Checks for programs. AC_PROG_CC AC_PROG_INSTALL AC_PATH_PROG([NASM],[nasm],[missing]) if test "$NASM" = "missing"; then AC_MSG_ERROR([unable to find nasm]) fi # Checks for libraries. AC_CHECK_LIB([z],[gzopen],,AC_MSG_ERROR([xmms-OpenSPC requires zlib])) AM_PATH_XMMS(1.2.0,,AC_MSG_ERROR([xmms-OpenSPC requires xmms >= 1.2.0])) # Checks for header files. AC_HEADER_STDC # Checks for typedefs, structures, and compiler characteristics. AC_C_CONST AC_TYPE_OFF_T AC_TYPE_SIZE_T # Checks for library functions. AC_FUNC_MALLOC AC_FUNC_MEMCMP AC_CHECK_FUNCS([atexit memset strcasecmp strrchr strtol]) AC_OUTPUT([ Makefile openspc/Makefile src/Makefile ])