mirror of
https://github.com/lbonn/rofi
synced 2024-11-10 22:34:34 +00:00
Use AS_HELP_STRING.
This commit is contained in:
parent
c27921f99a
commit
a5a9473046
1 changed files with 7 additions and 5 deletions
12
configure.ac
12
configure.ac
|
@ -54,10 +54,12 @@ dnl ---------------------------------------------------------------------
|
||||||
dnl Enable source code coverage reporting for GCC
|
dnl Enable source code coverage reporting for GCC
|
||||||
dnl ---------------------------------------------------------------------
|
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"])
|
[AM_CFLAGS="${AM_CFLAGS} -coverage"])
|
||||||
AS_IF([test "x${enable_gcov}" = "xyes" ], [AC_DEFINE([ENABLE_GCOV], [1], [Enable gcov profiling])])
|
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"])
|
[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])])
|
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 --------------------------------------------------------------------
|
||||||
dnl DRun dialog
|
dnl DRun dialog
|
||||||
dnl --------------------------------------------------------------------
|
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])])
|
AS_IF([test "x${enable_drun}" != "xno"], [AC_DEFINE([ENABLE_DRUN], [1], [Enable desktop file run dialog])])
|
||||||
|
|
||||||
dnl ---------------------------------------------------------------------
|
dnl ---------------------------------------------------------------------
|
||||||
dnl Disable window mode
|
dnl Disable window mode
|
||||||
dnl ---------------------------------------------------------------------
|
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])])
|
AS_IF([ test "x$enable_windowmode" != "xno"], [AC_DEFINE([WINDOW_MODE],[1],[Enable the window mode])])
|
||||||
|
|
||||||
dnl ---------------------------------------------------------------------
|
dnl ---------------------------------------------------------------------
|
||||||
dnl Output timing information
|
dnl Output timing information
|
||||||
dnl ---------------------------------------------------------------------
|
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])])
|
AS_IF( [ test "x$enable_timings" = "xyes"], [AC_DEFINE([TIMINGS],[1], [Enable timings output])])
|
||||||
|
|
||||||
dnl ---------------------------------------------------------------------
|
dnl ---------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue