diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-03-19 18:03:48 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-03-19 18:03:48 +0100 |
commit | a5a94730462e877374aa9f110954341ef24f3381 (patch) | |
tree | 36ff44323d0a93e056527e3da4aff03f9dce4132 /configure.ac | |
parent | c27921f99a793952c6f0c2d269de17689b687cb1 (diff) |
Use AS_HELP_STRING.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index 37eb7c9c..7d982ef2 100644 --- a/configure.ac +++ b/configure.ac @@ -54,10 +54,12 @@ dnl --------------------------------------------------------------------- dnl Enable source code coverage reporting for GCC dnl --------------------------------------------------------------------- -AC_ARG_ENABLE(gcov, [ --enable-gcov Enable source code coverage testing using gcov], +AC_ARG_ENABLE([gcov], + [AS_HELP_STRING ([--enable-gcov],[Enable source code coverage testing using gcov])], [AM_CFLAGS="${AM_CFLAGS} -coverage"]) AS_IF([test "x${enable_gcov}" = "xyes" ], [AC_DEFINE([ENABLE_GCOV], [1], [Enable gcov profiling])]) -AC_ARG_ENABLE(asan, [ --enable-asan asan], +AC_ARG_ENABLE([asan], + [AS_HELP_STRING ([--enable-asan],[Enable asan support])], [AM_CFLAGS="${AM_CFLAGS} -fsanitize=address -fno-omit-frame-pointer -g3"]) AS_IF([test "x${enable_asan}" = "xyes" ], [AC_DEFINE([ENABLE_ASAN], [1], [Enable libasan])]) @@ -65,19 +67,19 @@ AS_IF([test "x${enable_asan}" = "xyes" ], [AC_DEFINE([ENABLE_ASAN], [1], [Enable dnl -------------------------------------------------------------------- dnl DRun dialog dnl -------------------------------------------------------------------- -AC_ARG_ENABLE([drun], AC_HELP_STRING([--disable-drun],[Disable desktop file run dialog])) +AC_ARG_ENABLE([drun], AS_HELP_STRING([--disable-drun],[Disable desktop file run dialog])) AS_IF([test "x${enable_drun}" != "xno"], [AC_DEFINE([ENABLE_DRUN], [1], [Enable desktop file run dialog])]) dnl --------------------------------------------------------------------- dnl Disable window mode dnl --------------------------------------------------------------------- -AC_ARG_ENABLE([windowmode], AC_HELP_STRING([--disable-windowmode],[Disable window mode])) +AC_ARG_ENABLE([windowmode], AS_HELP_STRING([--disable-windowmode],[Disable window mode])) AS_IF([ test "x$enable_windowmode" != "xno"], [AC_DEFINE([WINDOW_MODE],[1],[Enable the window mode])]) dnl --------------------------------------------------------------------- dnl Output timing information dnl --------------------------------------------------------------------- -AC_ARG_ENABLE([timings], AC_HELP_STRING([--enable-timings],[Enable timing output])) +AC_ARG_ENABLE([timings], AS_HELP_STRING([--enable-timings],[Enable timing output])) AS_IF( [ test "x$enable_timings" = "xyes"], [AC_DEFINE([TIMINGS],[1], [Enable timings output])]) dnl --------------------------------------------------------------------- |