# Process this file with autoconf to produce a configure script. AC_INIT(diffmark, 0.05, vbar@comp.cz) AC_CONFIG_SRCDIR(cmd/dm.cc) AM_INIT_AUTOMAKE(diffmark, 0.05) AM_CONFIG_HEADER(config.h) # Checks for programs. AC_PROG_CXX AM_PROG_LIBTOOL # Checks for libraries. AC_CHECK_LIB([xml2], [xmlCleanupParser]) # Checks for header files. AC_HEADER_STDC AC_CHECK_FILE(/usr/include/libxml2/libxml/tree.h, LIBXML2_INCL_DIR_DEFAULT=/usr/include/libxml2, LIBXML2_INCL_DIR_DEFAULT=/usr/local/include/libxml2) AC_ARG_WITH(libxml2-incldir, [ --with-libxml2-incldir libxml2 library include files], LIBXML2_INCL_DIR=$with_libxml2_incldir, LIBXML2_INCL_DIR=$LIBXML2_INCL_DIR_DEFAULT) AC_SUBST(LIBXML2_INCL_DIR) # Checks for library functions. AC_CONFIG_FILES([Makefile lib/Makefile cmd/Makefile doc/Makefile diffmark.test/Makefile testdata/Makefile testdata/diff/Makefile testdata/merge/Makefile testdata/roundup/Makefile testdata/faildiff/Makefile testdata/failmerge/Makefile]) AC_OUTPUT