From fbab97f4ca86b780d8351e063672dda8cf84bd04 Mon Sep 17 00:00:00 2001 From: Chusslove Illich Date: Tue, 21 Mar 2006 21:47:55 +0000 Subject: Messages for Gettext configure check more in line with others. svn path=/trunk/KDE/kdelibs/; revision=521204 --- modules/FindGettext.cmake | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/modules/FindGettext.cmake b/modules/FindGettext.cmake index 2244b742..cc29f0c1 100644 --- a/modules/FindGettext.cmake +++ b/modules/FindGettext.cmake @@ -18,18 +18,17 @@ set(GETTEXT_LIBRARIES) if (HAVE_LIBINTL_H) set(GETTEXT_FOUND TRUE) - set(GETTEXT_SOURCE "libintl.h") + set(GETTEXT_SOURCE "built in libc (libintl.h present)") endif (HAVE_LIBINTL_H) if (GETTEXT_FOUND) if (NOT Gettext_FIND_QUIETLY) - message(STATUS "Gettext functionality present (${GETTEXT_SOURCE})") + message(STATUS "Found Gettext: ${GETTEXT_SOURCE}") endif (NOT Gettext_FIND_QUIETLY) else (GETTEXT_FOUND) - if (NOT Gettext_FIND_QUIETLY) - message(STATUS "Gettext functionality NOT present, " - "translations will not be available") - endif (NOT Gettext_FIND_QUIETLY) + if (Gettext_FIND_REQUIRED) + message(STATUS "Could NOT find Gettext") + endif (Gettext_FIND_REQUIRED) endif (GETTEXT_FOUND) MARK_AS_ADVANCED(GETTEXT_INCLUDE_DIR GETTEXT_LIBRARIES) -- cgit v1.2.1