summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2018-04-26 16:44:26 +0800
committerPeng Wu <alexepico@gmail.com>2018-04-26 16:44:26 +0800
commit86a756c0d888220b6c4e667642e0ee0ddb737d83 (patch)
tree754a22df648562ab4dc30dc40a951fbbf63a7d56
parent63076e51a67336970973172189b450a7d076b7d9 (diff)
downloadlibpinyin-86a756c0d888220b6c4e667642e0ee0ddb737d83.zip
libpinyin-86a756c0d888220b6c4e667642e0ee0ddb737d83.tar.gz
libpinyin-86a756c0d888220b6c4e667642e0ee0ddb737d83.tar.xz
skip libintl.h checks
-rw-r--r--CMakeLists.txt1
-rw-r--r--configure.ac2
2 files changed, 1 insertions, 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"