summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4')
-rw-r--r--m4/openbox.m46
-rw-r--r--m4/x11.m43
2 files changed, 5 insertions, 4 deletions
diff --git a/m4/openbox.m4 b/m4/openbox.m4
index db592e91..dcc5927a 100644
--- a/m4/openbox.m4
+++ b/m4/openbox.m4
@@ -8,14 +8,14 @@ AC_DEFUN([OB_DEBUG],
AC_MSG_CHECKING([build type])
AC_ARG_ENABLE([strict-ansi],
- [ --enable-strict-ansi Enable strict ANSI compliance build default=no],
+ AC_HELP_STRING([--enable-strict-ansi],[Enable strict ANSI compliance build [[default=no]]]),
[STRICT=$enableval], [STRICT="no"])
if test "$GCC" = "yes" && test "$STRICT" = "yes"; then
CFLAGS="$CFLAGS -ansi -pedantic -D_XOPEN_SOURCE"
fi
AC_ARG_ENABLE([debug],
- [ --enable-debug build a debug version default=no],
+ AC_HELP_STRING([--enable-debug],[build a debug version [[default=no]]]),
[DEBUG=$enableval], [DEBUG="no"])
# these special builds are always debug
@@ -90,7 +90,7 @@ AC_DEFUN([OB_COMPILER_FLAGS],
AC_DEFUN([OB_NLS],
[
AC_ARG_ENABLE([nls],
- [ --enable-nls Enable NLS translations default=yes],
+ AC_HELP_STRING([--enable-nls],[Enable NLS translations [[default=yes]]]),
[NLS=$enableval], [NLS="yes"])
if test "$NLS" = yes; then
diff --git a/m4/x11.m4 b/m4/x11.m4
index 56b39b21..e57efa39 100644
--- a/m4/x11.m4
+++ b/m4/x11.m4
@@ -462,7 +462,8 @@ AC_DEFUN([X11_SM],
AC_REQUIRE([X11_DEVEL])
AC_ARG_ENABLE([session-management],
- [ --disable-session-management build without support for session managers],
+ AC_HELP_STRING(
+ [--disable-session-management], [build without support for session managers [[default=yes]]]),
[SM=$enableval], [SM="yes"])
if test "$SM" = "yes"; then