Sha256: aea53e3d1cff1a5db60bb3d4ba6d23a28658c9fec18f65dcb1b9839a58ab2021
Contents?: true
Size: 1.3 KB
Versions: 5
Compression:
Stored size: 1.3 KB
Contents
AC_PREREQ(2.54) AC_INIT( swfmill, 0.3.1 ) AM_INIT_AUTOMAKE( AC_PACKAGE_NAME, AC_PACKAGE_VERSION ) # Checks for programs. AC_PROG_GREP AC_PROG_CXX AC_PROG_CC AC_PROG_LIBTOOL PKG_PROG_PKG_CONFIG # cross-compile specifics echo $host_os | $GREP mingw > /dev/null && IS_WINDOWS=yes echo $host_os | $GREP darwin > /dev/null && IS_OSX=yes AM_CONDITIONAL(IS_WINDOWS, [ test $IS_WINDOWS ]) AM_CONDITIONAL(IS_OSX, [ test $IS_OSX ]) AM_PROG_CC_C_O # Checks for libraries. if test $IS_OSX; then test $XML_CFLAGS || XML_CFLAGS=-I/usr/include/libxml2 test $XML_LIBS || XML_LIBS=-lxml2 else PKG_CHECK_MODULES(XML, libxml-2.0) fi AC_SUBST(XML_CFLAGS) AC_SUBST(XML_LIBS) if test $IS_OSX; then test $XSLT_CFLAGS || XSLT_CFLAGS=-I/usr/include/libxml2 test $XSLT_LIBS || XSLT_LIBS="-lxslt -lxml2" else PKG_CHECK_MODULES(XSLT, libxslt) fi AC_SUBST(XSLT_CFLAGS) AC_SUBST(XSLT_LIBS) if test $IS_OSX; then test $EXSLT_CFLAGS || EXSLT_CFLAGS=-I/usr/include/libxml2 test $EXSLT_LIBS || EXSLT_LIBS="-lexslt -lxslt -lxml2" else PKG_CHECK_MODULES(EXSLT, libexslt) fi AC_SUBST(EXSLT_CFLAGS) AC_SUBST(EXSLT_LIBS) PKG_CHECK_MODULES(FREETYPE, freetype2) AC_SUBST(FREETYPE_CFLAGS) AC_SUBST(FREETYPE_LIBS) PKG_CHECK_MODULES(PNG, libpng) AC_SUBST(PNG_CFLAGS) AC_SUBST(PNG_LIBS) AC_OUTPUT([ Makefile src/Makefile test/Makefile test/xml/Makefile ])
Version data entries
5 entries across 5 versions & 1 rubygems