0 AC_INIT(karmen, 0.15, [veenhuizen@users.sourceforge.net])

1 AM_INIT_AUTOMAKE([foreign])

2

3 AC_PROG_CC

4

5 AC_PATH_XTRA

6

7 AC_ARG_ENABLE(ewmh,

8 [ --disable-ewmh disable support for Extended Window Manager Hints],

9 [case "${enableval}" in

10 yes) ewmh=yes ;;

11 no) ewmh=no ;;

12 *) AC_MSG_ERROR(bad value ${enableval} for --enable-ewmh) ;;

13 esac],[ewmh=yes])

14 AM_CONDITIONAL(CONFIG_EWMH, test x$ewmh = xyes)

15

16 AC_CONFIG_FILES([Makefile src/Makefile])

17 AC_OUTPUT

18