summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2013-10-02 09:55:08 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2013-10-02 09:55:08 +1000
commit3a4706796e62cb81885e228a8c3de41fd133f8ef (patch)
treefe1e0d366fcef53fb64dcb0228efac6f44bcc669
parentc8b5f6a08f2e0c5043293508fcf8ad0440b9d4ca (diff)
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>
-rw-r--r--configure.ac11
1 files changed, 10 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 81ccd0b..a21a51b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -73,8 +73,11 @@ AC_SUBST([GCC_CFLAGS], $with_cflags)
AC_PATH_PROG(DOXYGEN, [doxygen])
if test "x$DOXYGEN" = "x"; then
AC_MSG_WARN([doxygen not found - required for documentation])
+ have_doxygen="no"
+else
+ have_doxygen="yes"
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_ARG_ENABLE([gcov],
@@ -104,3 +107,9 @@ AC_CONFIG_FILES([Makefile
test/Makefile
libevdev.pc])
AC_OUTPUT
+
+AC_MSG_RESULT([
+ Build documentation ${have_doxygen}
+ Build unit-tests ${HAVE_CHECK}
+ Enable profiling ${enable_gcov}
+ ])