# Process this file with autoconf to produce a configure script. AC_INIT(src/anx_import_mpeg.c) AC_CONFIG_AUX_DIR(config) AM_INIT_AUTOMAKE(libanxmpeg, 0.6, Andre.Pang@csiro.au) # Checks for programs. AC_PROG_CC AC_PROG_LIBTOOL # Version information -- keep in sync with AM_INIT_AUTOMAKE? SHARED_VERSION_INFO="0:1:0" SHLIB_VERSION_ARG="" # Checks for libraries. # FIXME: Replace `main' with a function in `-lanxmediampeg': #AC_CHECK_LIB([anxmediampeg], [anx_media_handler_init]) # Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS(stdlib.h string.h) # detect libannodex PKG_CHECK_MODULES(ANNODEX, annodex >= 0.5.0, HAVE_LIBANNODEX="yes", HAVE_LIBANNODEX="no") if test "x$HAVE_LIBANNODEX" = "xyes" ; then AC_SUBST(ANNODEX_LIBS) ANNODEX_IMPORTERS_DIR=`$PKG_CONFIG --variable ANNODEX_IMPORTERS_DIR annodex` AC_SUBST(ANNODEX_IMPORTERS_DIR) fi # Checks for typedefs, structures, and compiler characteristics. AC_C_INLINE # Checks for library functions. AC_CHECK_FUNCS(malloc stat strstr strtol) # Substitutions AC_SUBST(SHLIB_VERSION_ARG) AC_SUBST(SHARED_VERSION_INFO) #AC_CONFIG_FILES([Makefile]) #AC_OUTPUT(Makefile src/Makefile test/Makefile) AC_OUTPUT(Makefile src/Makefile)