X-Git-Url: http://Server1/repobrowser/?p=xestiaab%2F.git;a=blobdiff_plain;f=source%2Fconfigure.ac;h=5834f8b7cd5e86f9e268e4f97e0050074d38cf3b;hp=3b75ca2ad54b761ea9d599011ff861f10e19a21d;hb=f69e09d827e06435ea94bb73aa71ab5f9d5c035b;hpb=0a572071e9c08cfaa3e5d4f1beec9241d03d36a0 diff --git a/source/configure.ac b/source/configure.ac index 3b75ca2..5834f8b 100644 --- a/source/configure.ac +++ b/source/configure.ac @@ -32,6 +32,12 @@ fi 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 @@ -73,6 +79,8 @@ LIBS="$LIBS $WX_LIBS" # 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." @@ -89,6 +97,8 @@ AC_LANG_POP([C++]) # curl Library +PKG_CHECK_MODULES([CURL], [libcurl >= 7.54.1]) + 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."