mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2026-05-06 02:18:06 +02:00
Use AC_MSG_RESULT to print the few configuration options
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
This commit is contained in:
parent
c8b5f6a08f
commit
3a4706796e
1 changed files with 10 additions and 1 deletions
11
configure.ac
11
configure.ac
|
|
@ -73,8 +73,11 @@ AC_SUBST([GCC_CFLAGS], $with_cflags)
|
||||||
AC_PATH_PROG(DOXYGEN, [doxygen])
|
AC_PATH_PROG(DOXYGEN, [doxygen])
|
||||||
if test "x$DOXYGEN" = "x"; then
|
if test "x$DOXYGEN" = "x"; then
|
||||||
AC_MSG_WARN([doxygen not found - required for documentation])
|
AC_MSG_WARN([doxygen not found - required for documentation])
|
||||||
|
have_doxygen="no"
|
||||||
|
else
|
||||||
|
have_doxygen="yes"
|
||||||
fi
|
fi
|
||||||
AM_CONDITIONAL([HAVE_DOXYGEN], [test -n "$DOXYGEN"])
|
AM_CONDITIONAL([HAVE_DOXYGEN], [test "x$have_doxygen" = "xyes"])
|
||||||
|
|
||||||
AC_MSG_CHECKING([whether to build with gcov])
|
AC_MSG_CHECKING([whether to build with gcov])
|
||||||
AC_ARG_ENABLE([gcov],
|
AC_ARG_ENABLE([gcov],
|
||||||
|
|
@ -104,3 +107,9 @@ AC_CONFIG_FILES([Makefile
|
||||||
test/Makefile
|
test/Makefile
|
||||||
libevdev.pc])
|
libevdev.pc])
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|
||||||
|
AC_MSG_RESULT([
|
||||||
|
Build documentation ${have_doxygen}
|
||||||
|
Build unit-tests ${HAVE_CHECK}
|
||||||
|
Enable profiling ${enable_gcov}
|
||||||
|
])
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue