From 86a756c0d888220b6c4e667642e0ee0ddb737d83 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Thu, 26 Apr 2018 16:44:26 +0800 Subject: skip libintl.h checks --- CMakeLists.txt | 1 - configure.ac | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1174af8..78761aa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -43,7 +43,6 @@ set (VERSION ${LIBPINYIN_VERSION}) include(CheckIncludeFileCXX) check_include_file_cxx(locale.h HAVE_LOCALE_H) -check_include_file_cxx(libintl.h HAVE_LIBINTL_H) check_include_file_cxx(stdlib.h HAVE_STDLIB_H) check_include_file_cxx(string.h HAVE_STRING_H) check_include_file_cxx(sys/time.h HAVE_SYS_TIME_H) diff --git a/configure.ac b/configure.ac index 727ccc5..a2a0e19 100644 --- a/configure.ac +++ b/configure.ac @@ -80,7 +80,7 @@ AC_FUNC_STAT AC_FUNC_MMAP AC_CHECK_FUNCS([gettimeofday memmove memset setlocale]) -AC_CHECK_HEADERS([libintl.h string.h]) +AC_CHECK_HEADERS([string.h], , AC_MSG_ERROR([Cannot find string.h])) # Check Berkeley DB or Kyoto Cabinet DBM="BerkeleyDB" -- cgit