1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 04:46:37 +02:00

re-introduce ELSEIF check since it breaks libintl check on other plateforms.

This commit is contained in:
Julien Louis
2007-06-11 19:24:02 +00:00
parent 894cda91c9
commit 83db899ce7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ IF(HAVE_LIBINTL_H)
IF(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
SET(CMAKE_REQUIRED_LIBRARIES "iconv")
CHECK_LIBRARY_EXISTS(${LIBINTL_LIBRARY} "libintl_dgettext" "" LIBINTL_HAS_DGETTEXT)
ELSE(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
ELSEIF(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
CHECK_LIBRARY_EXISTS(${LIBINTL_LIBRARY} "dgettext" "" LIBINTL_HAS_DGETTEXT)
ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
+1 -1
View File
@@ -46,7 +46,7 @@ IF(HAVE_LIBINTL_H)
IF(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
SET(CMAKE_REQUIRED_LIBRARIES "iconv")
CHECK_LIBRARY_EXISTS(${LIBINTL_LIBRARY} "libintl_dgettext" "" LIBINTL_HAS_DGETTEXT)
ELSE(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
ELSEIF(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
CHECK_LIBRARY_EXISTS(${LIBINTL_LIBRARY} "dgettext" "" LIBINTL_HAS_DGETTEXT)
ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")