AC_PREREQ([2.54])
AC_INIT([openbox], [3.5.0], [http://bugzilla.icculus.org])
-AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR([openbox/openbox.c])
+AM_INIT_AUTOMAKE([foreign])
+AM_SILENT_RULES([yes])
+
OB_VERSION=$PACKAGE_VERSION
AC_SUBST(OB_VERSION)
AM_GNU_GETTEXT_VERSION(0.15)
AM_GNU_GETTEXT([external])
-AC_CHECK_HEADERS(ctype.h fcntl.h grp.h locale.h pwd.h signal.h string.h)
-AC_CHECK_HEADERS(stdio.h stdlib.h unistd.h sys/stat.h sys/select.h)
-AC_CHECK_HEADERS(sys/socket.h sys/time.h sys/wait.h)
-# AC_HEADER_TIME
-# AC_TYPE_SIGNAL
+AC_CHECK_HEADERS(ctype.h dirent.h errno.h fcntl.h grp.h locale.h pwd.h)
+AC_CHECK_HEADERS(signal.h string.h stdio.h stdlib.h unistd.h sys/stat.h)
+AC_CHECK_HEADERS(sys/select.h sys/socket.h sys/time.h sys/types.h sys/wait.h)
AC_PATH_PROG([SED], [sed], [no])
if test "$SED" = "no"; then
AC_ARG_ENABLE(startup-notification,
AC_HELP_STRING(
[--disable-startup-notification],
- [disable the startup notification library. [[default=enabled]]]
+ [disable the startup notification library. [default=enabled]]
),
[enable_sn=$enableval],
[enable_sn=yes]
AC_ARG_ENABLE(xcursor,
AC_HELP_STRING(
[--disable-xcursor],
- [disable use of the X Cursor library. [[default=enabled]]]
+ [disable use of the X Cursor library. [default=enabled]]
),
[enable_xcursor=$enableval],
[enable_xcursor=yes]
AC_ARG_ENABLE(imlib2,
AC_HELP_STRING(
[--disable-imlib2],
- [disable use of Imlib2 image library for loading icons. [[default=enabled]]]
+ [disable use of Imlib2 image library for loading icons. [default=enabled]]
),
- [enable_imlib2=$enableeval],
+ [enable_imlib2=$enableval],
[enable_imlib2=yes]
)
X11_EXT_SHAPE
X11_EXT_XINERAMA
X11_EXT_SYNC
+X11_EXT_AUTH
AC_CONFIG_FILES([
Makefile