[uim-commit] r244 - in trunk: . uim
ekato@freedesktop.org
ekato@freedesktop.org
Mon Jan 10 23:16:25 PST 2005
Author: ekato
Date: 2005-01-10 23:16:23 -0800 (Mon, 10 Jan 2005)
New Revision: 244
Modified:
trunk/configure.ac
trunk/uim/Makefile.am
Log:
* configure.ac (NEED_SETENV_C) : New conditional variable to check
whether uim/setenv.c is needed to compile.
* uim/Makefile.am : Add setenv.c into libuim_la_SOURCES depending
on NEED_SETENV_C condition.
Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac 2005-01-11 06:54:41 UTC (rev 243)
+++ trunk/configure.ac 2005-01-11 07:16:23 UTC (rev 244)
@@ -366,6 +366,7 @@
AM_CONDITIONAL(COMPAT_CUSTOM, test x$enable_compat_custom = xyes)
AM_CONDITIONAL(SCM_NESTED_EVAL, test x$enable_scm_nested_eval = xyes)
AM_CONDITIONAL(CALLBACK_QUEUE, test x$enable_callback_queue = xyes)
+AM_CONDITIONAL(NEED_SETENV_C, test $ac_cv_func_setenv = no -o $ac_cv_func_unsetenv = no)
GTK_BINARY_VERSION=`pkg-config gtk+-2.0 --variable=gtk_binary_version`
AC_SUBST(GTK_BINARY_VERSION)
Modified: trunk/uim/Makefile.am
===================================================================
--- trunk/uim/Makefile.am 2005-01-11 06:54:41 UTC (rev 243)
+++ trunk/uim/Makefile.am 2005-01-11 07:16:23 UTC (rev 244)
@@ -18,9 +18,12 @@
intl.c \
uim-ipc.c \
getpeereid.c \
- setenv.c \
plugin.c
+if NEED_SETENV_C
+libuim_la_SOURCES += setenv.c
+endif
+
if COMPAT_TABLE
libuim_la_SOURCES += uim-table.c
endif
More information about the Uim-commit
mailing list