X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fconfigure.ac;h=a3f68568f5ba7a4833c308cbb1c421b518c4a26f;hb=202a753a3225784909977a63022e0f64672e97e6;hp=ed9cdaf08d806c8a542b457bfc6ede7529457d18;hpb=7e76a9be80e8d4b7e7c1e30716fbed6eb1e44c7e;p=xestiaab%2F.git diff --git a/source/configure.ac b/source/configure.ac index ed9cdaf..a3f6856 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 @@ -192,5 +198,5 @@ AM_COND_IF([GTEST_FOUND], [AC_SUBST([GTEST], [`cat tests/test.commands`])], [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