BINDIR=`eval echo $bindir`
AC_SUBST([BINDIR])
+if test "x$datarootdir" = "xNONE" ; then
+ datarootdir="/share"
+fi
+DATAROOTDIR=`eval echo $datarootdir`
+AC_SUBST([DATAROOTDIR])
+
# Checks for libraries.
# wxWidgets
# SFML Audio Library
+PKG_CHECK_MODULES([SFML], [sfml-all >= 2.4.1])
+
AC_CHECK_LIB([sfml-audio], [main], [], [echo "The SFML libraries must be installed on your system.
Please check that this library is installed properly before
running configure again."
# curl Library
+PKG_CHECK_MODULES([CURL], [libcurl >= 7.52.0])
+
AC_CHECK_LIB([curl], [main], [], [echo "The cURL library must be installed on your system.
Please check that this library is installed properly before
running configure again."
[AC_SUBST([GTEST], [" @echo \"Google Test was not found on the system. Unable to build tests.\""])])
AM_COND_IF([GTEST_FOUND], [echo "Google Test found on the system. Enabling Unit Tests."]);
-AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([Makefile tests/Makefile])
AC_OUTPUT