aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index d12f2b8..dc05739 100644
--- a/configure.ac
+++ b/configure.ac
@@ -15,7 +15,10 @@ AC_CONFIG_HEADERS([config.h])
AC_CANONICAL_BUILD
AC_CANONICAL_HOST
-chuckdir=$datarootdir/$PACKAGE_TARNAME/chuck
+pkgdatadir=$datadir/$PACKAGE_TARNAME
+AC_SUBST(pkgdatadir)
+
+chuckdir=$pkgdatadir/chuck
AC_SUBST(chuckdir)
# Checks for programs.
@@ -23,6 +26,7 @@ AC_PROG_CXX
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_LIBTOOL
+AC_PROG_SED
# Checks for libraries.
AC_CHECK_PROG(SDL_CONFIG, sdl-config, sdl-config)
@@ -87,5 +91,4 @@ AC_CHECK_FUNCS([atexit strdup])
CXXFLAGS="$CXXFLAGS $CFLAGS"
AC_CONFIG_FILES([Makefile src/Makefile chuck/Makefile])
-AC_CONFIG_FILES([chuck/lib.ck])
AC_OUTPUT