Permalink
Browse files

add --disable options for x extensions

so we can test compiling without them present
  • Loading branch information...
danakj committed Jan 24, 2011
1 parent 118a4fe commit 2f38d883eaf9121964bc8d5c2dc697ef1eb9bec4
Showing with 222 additions and 183 deletions.
  1. +6 −8 configure.ac
  2. +216 −175 m4/x11.m4
View
@@ -87,11 +87,9 @@ AC_PROG_INSTALL
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
@@ -118,7 +116,7 @@ AC_SUBST(XML_LIBS)
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]
@@ -143,7 +141,7 @@ fi
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]
@@ -168,7 +166,7 @@ fi
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=yes]
Oops, something went wrong.

0 comments on commit 2f38d88

Please sign in to comment.