From ee08f41b89a36d13dfabb071fccdb532c58f69bf Mon Sep 17 00:00:00 2001 From: Laurent Monin Date: Sat, 7 Jun 2008 10:18:30 +0000 Subject: [PATCH] Display Lirc state in config log. Re-organize the config log a bit. --- configure.in | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/configure.in b/configure.in index 0f93b31f..c1a891bb 100644 --- a/configure.in +++ b/configure.in @@ -219,10 +219,12 @@ for dir in `echo "$withval" | tr : ' '`; do done ]) +HAVE_LIRC=no if test "x${lirc}" != "xno" ; then AC_CHECK_HEADER(lirc/lirc_client.h, - [AC_CHECK_LIB(lirc_client,lirc_init,[LIBS=-llirc_client $LIBS;AC_DEFINE([HAVE_LIRC],[],[Define to 1 if LIRC must be used])],,)],) + [AC_CHECK_LIB(lirc_client,lirc_init,[HAVE_LIRC=yes;LIBS=-llirc_client $LIBS;AC_DEFINE([HAVE_LIRC],[],[Define to 1 if LIRC must be used])],,)],) fi +AM_CONDITIONAL(HAVE_LIRC, [test "x$HAVE_LIRC" = xyes]) # LCMS support @@ -354,11 +356,6 @@ Architecture: UNIX: $os_unix Win32: $platform_win32 (native: $os_win32) -Settings: - Developer: $__IS_DEVELOPER - Debug: $__IS_DEBUG - Deprecated: $__IS_DEPRECATED - Flags: Geeqie: $GQ_CFLAGS DEFS: $DEFS @@ -370,13 +367,20 @@ Flags: Thread: $LIBPTHREAD Others: $LCMS_LIBS $EXIV2_LIBS -Support: - LCMS: $HAVE_LCMS - Exiv2: $HAVE_EXIV2 Localization: NLS support: $USE_NLS LINGUAS: $LINGUAS +Settings: + Developer: $__IS_DEVELOPER + Debug: $__IS_DEBUG + Deprecated: $__IS_DEPRECATED + +Support: + LCMS: $HAVE_LCMS + Exiv2: $HAVE_EXIV2 + Lirc: $HAVE_LIRC + Documentation: Doxygen: $DOXYGEN Formats: $doxy_formats_report -- 2.20.1