[uim-commit] r651 - trunk

ekato at freedesktop.org ekato at freedesktop.org
Mon Feb 14 22:16:22 PST 2005


Author: ekato
Date: 2005-02-14 22:16:19 -0800 (Mon, 14 Feb 2005)
New Revision: 651

Modified:
   trunk/configure.ac
Log:
* configure.ac : If iconv(3) is not found, stop configure.
  Add <signal.h> for checking sit_t for FreeBSD 4.1.


Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac	2005-02-15 05:28:25 UTC (rev 650)
+++ trunk/configure.ac	2005-02-15 06:16:19 UTC (rev 651)
@@ -28,6 +28,9 @@
 dnl We do this before the gettext checks, to avoid distortion
 
 AM_ICONV
+if test "$am_cv_func_iconv" = no; then
+  AC_MSG_ERROR([Could not find iconv (required for uim)])
+fi
 
 AC_SUBST(LIBICONV)
 
@@ -159,7 +162,8 @@
 AC_CHECK_HEADERS([sys/param.h strings.h])
 
 # Check for type
-AC_CHECK_TYPES(sig_t)
+AC_CHECK_TYPES(sig_t, , ,
+  [ #include <signal.h> ])
 
 # Checks for library
 AC_CHECK_LIB(dl,dlopen)



More information about the Uim-commit mailing list