Mirror of eathena's sourceforge SVN repository.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

29 lines
828 B

AC_INIT([liberag],[0.1],[abs@emancipe.se])
AC_CONFIG_HEADERS([src/common/config.h])
AC_CONFIG_SRCDIR([src/common/cbasetypes.h])
AC_CONFIG_FILES([Makefile src/common/Makefile])
AC_CONFIG_FILES([3rdparty/mt19937ar/Makefile])
AC_CONFIG_FILES([src/char/Makefile src/login/Makefile])
AC_CONFIG_FILES([src/map/Makefile src/plugins/Makefile])
AC_PROG_MAKE_SET
AC_PROG_CC
AC_LANG([C])
CFLAGS="-Wall"
SOFLAGS="-shared -fPIC"
DLLEXT=".so"
LIBS="$LIBS -ldl -lm"
PCRE_LIBS="-lpcre"
AC_CHECK_LIB([z], [inflateEnd], [],[AC_MSG_ERROR([zlib library not found... stopping])])
AC_CHECK_HEADER([zlib.h], [], [AC_MSG_ERROR([zlib header not found... stopping])])
AC_CHECK_LIB([pcre], [pcre_study], [HAVE_PCRE="yes"], [AC_MSG_ERROR([pcre library not found... stopping])])
AC_SUBST([PCRE_LIBS])
AC_SUBST([DLLEXT])
AC_SUBST([SOFLAGS])
AC_OUTPUT