summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"