Option to jump with up on keyboard.
[supertux.git] / mk / autoconf / initjamfile.m4
1 #----------------------------------------------------------------------------
2 #  AC_INIT_JAM
3 #    This rule fixes several issues related to autoconf being make centric
4 #----------------------------------------------------------------------------
5 AC_DEFUN([AC_INIT_JAM],
6     [
7      AC_INIT_JAMFILE
8      AC_OUTPUT_INSTALLDIRS
9      AC_FIX_INSTALL])
10
11 #----------------------------------------------------------------------------
12 #  AC_INIT_JAMFILE
13 #    This rule let's config.status create a wrapper Jamfile in case configure
14 #    has been invoked from a directory outside the source directory
15 #----------------------------------------------------------------------------
16 AC_DEFUN([AC_INIT_JAMFILE],
17     [AC_CONFIG_COMMANDS([Jamfile],
18       [AS_IF([test ! -f "${ac_top_builddir}Jamfile"],
19         [echo Installing Jamfile wrapper.
20          echo "# This file was automatically create by config.status" > Jamfile
21          echo "TOP ?= $ac_top_srcdir ;" >> Jamfile
22          echo "top_builddir ?= . ;" >> Jamfile
23          echo "include \$(TOP)/Jamfile ;" >> Jamfile])])])
24