diff options
author | Manuel Bachmann <manuel.bachmann@open.eurogiciel.org> | 2014-09-04 08:46:03 +0200 |
---|---|---|
committer | Manuel Bachmann <manuel.bachmann@open.eurogiciel.org> | 2014-09-04 15:02:37 +0200 |
commit | efc67409227c21b8368a7d76aaca0b9999f9a23a (patch) | |
tree | ac04f173f5173044bb76824186cdf664ce47a6d6 | |
parent | 00e1a7194120feba9ec063cce2d08adc48784664 (diff) | |
download | libwlmessage-efc67409227c21b8368a7d76aaca0b9999f9a23a.tar.gz libwlmessage-efc67409227c21b8368a7d76aaca0b9999f9a23a.tar.bz2 libwlmessage-efc67409227c21b8368a7d76aaca0b9999f9a23a.zip |
Improve autoconf help messages
Create a help string for "--enable-xdg-shell" and "--disable-egl",
and have some syntax and position improvements.
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
-rw-r--r-- | configure.ac | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac index 4522190..3d51f31 100644 --- a/configure.ac +++ b/configure.ac @@ -34,15 +34,19 @@ AC_SUBST(DLOPEN_LIBS) AC_CHECK_FUNCS([mkostemp strchrnul initgroups posix_fallocate]) -AC_ARG_ENABLE(xdg-shell, [ --enable-xdg-shell],, - enable_xdg_shell=no) +AC_ARG_ENABLE(xdg-shell, + AS_HELP_STRING([--enable-xdg-shell], + [build with XDG-Shell support (Weston 1.5.0)]), + [],[enable_xdg_shell=no]) AM_CONDITIONAL(ENABLE_XDG_SHELL, test x$enable_xdg_shell = xyes) if test x$enable_xdg_shell = xyes; then AC_DEFINE([ENABLE_XDG_SHELL], [1], [Build with XDG-Shell support]) fi -AC_ARG_ENABLE(egl, [ --disable-egl],, - enable_egl=yes) +AC_ARG_ENABLE(egl, + AS_HELP_STRING([--disable-egl], + [do not build with EGL support]), + [],[enable_egl=yes]) AM_CONDITIONAL(ENABLE_EGL, test x$enable_egl = xyes) if test x$enable_egl = xyes; then AC_DEFINE([ENABLE_EGL], [1], [Build with EGL support]) @@ -51,7 +55,7 @@ fi AC_ARG_WITH(cairo, AS_HELP_STRING([--with-cairo=@<:@image|glesv2@:>@] - [Which Cairo renderer to use for the clients]), + [which Cairo renderer to use for the clients]), [],[with_cairo="image"]) if test "x$with_cairo" = "ximage"; then @@ -67,7 +71,7 @@ fi # Included for legacy compat AC_ARG_WITH(cairo-glesv2, AS_HELP_STRING([--with-cairo-glesv2], - [Use GLESv2 cairo])) + [use GLESv2 cairo])) if test "x$with_cairo_glesv2" = "xyes"; then cairo_modules="cairo-glesv2" with_cairo="glesv2" |