AC_INIT(acinclude.m4) dnl a source file from your sub dir dnl This is so we can use kde-common AC_CONFIG_AUX_DIR(admin) AC_CANONICAL_SYSTEM dnl Automake doc recommends to do this only here. (Janos) AM_INIT_AUTOMAKE(spacehulk,1.5-beta1) dnl KDE_SET_PREFIX AC_PREFIX_DEFAULT(/usr/local) if test "x$prefix" = "xNONE"; then dnl prefix=$ac_default_prefix dnl bindir=$ac_default_prefix/games dnl datadir=$ac_default_prefix/share/games dnl ac_configure_args="$ac_configure_args --prefix $prefix --bindir $bindir --datadir $datadir" ac_configure_args="$ac_configure_args --prefix $prefix" fi dnl generate the config header AM_CONFIG_HEADER(config.h) dnl at the distribution this done dnl Checks for programs. AC_CHECK_COMPILERS AC_ENABLE_SHARED(yes) AC_ENABLE_STATIC(no) KDE_PROG_LIBTOOL all_libraries="$all_libraries $USER_LDFLAGS" all_includes="$all_includes $USER_INCLUDES" AC_SUBST(all_includes) AC_SUBST(all_libraries) dnl Check for QT KDE_USE_QT AC_PATH_QT dnl add here all your Makefiles. This are created by configure AC_OUTPUT(Makefile \ src/Makefile \ doc/Makefile \ data/Makefile \ data/levels/Makefile \ data/sounds/Makefile \ data/themes/Makefile \ data/themes/Deathwing/Makefile)