[uim-commit] r1319 - trunk
tkng at freedesktop.org
tkng at freedesktop.org
Thu Aug 25 14:59:51 PDT 2005
Author: tkng
Date: 2005-08-25 14:59:48 -0700 (Thu, 25 Aug 2005)
New Revision: 1319
Modified:
trunk/configure.ac
Log:
* configure.ac: Added a check for pthread.
Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac 2005-08-25 20:20:06 UTC (rev 1318)
+++ trunk/configure.ac 2005-08-25 21:59:48 UTC (rev 1319)
@@ -174,6 +174,7 @@
AC_CHECK_HEADERS([pty.h utmp.h util.h libutil.h])
AC_CHECK_HEADERS([curses.h stropts.h])
AC_CHECK_HEADERS([sys/param.h strings.h])
+AC_CHECK_HEADERS([pthread.h], have_pthread=yes, have_pthread=no)
# Check for type
AC_CHECK_TYPES(sig_t, , ,
@@ -515,6 +516,7 @@
LDFLAGS=$saved_LDFLAGS
fi
+
AM_CONDITIONAL(M17NLIB, test x$use_m17nlib = xyes)
AM_CONDITIONAL(SCIM, test x$use_scim = xyes)
AM_CONDITIONAL(ANTHY, test x$use_anthy = xyes)
@@ -537,8 +539,8 @@
AM_CONDITIONAL(COMPAT_TABLE, test x$enable_compat_table = xyes)
AM_CONDITIONAL(NEED_SETENV_C, test $ac_cv_func_setenv = no -o $ac_cv_func_unsetenv = no)
AM_CONDITIONAL(NEED_STRSEP_C, test $ac_cv_func_strsep = no)
+AM_CONDITIONAL(HAVE_PTHREAD, test "x$have_pthread" = "xyes")
-
if test "x$use_applet" = "xyes"; then
AC_PROG_INTLTOOL
fi
@@ -797,6 +799,7 @@
DICT : ${use_dict}
EB : ${use_eb}
libedit : ${use_libedit}
+ pthread : ${have_pthread}
Default toolkit : ${default_toolkit}
])
More information about the uim-commit
mailing list