[uim-commit] r2969 - in branches/r5rs/sigscheme: m4 src

yamaken at freedesktop.org yamaken at freedesktop.org
Sun Jan 22 06:18:27 PST 2006


Author: yamaken
Date: 2006-01-22 06:18:23 -0800 (Sun, 22 Jan 2006)
New Revision: 2969

Modified:
   branches/r5rs/sigscheme/m4/ax_lib_glibc.m4
   branches/r5rs/sigscheme/src/operations.c
Log:
* sigscheme/m4/ax_lib_glibc.m4
  - (AX_LIB_GLIBC): Fix broken expressions

* sigscheme/src/operations.c
  - Include config-asprintf.h as workaround


Modified: branches/r5rs/sigscheme/m4/ax_lib_glibc.m4
===================================================================
--- branches/r5rs/sigscheme/m4/ax_lib_glibc.m4	2006-01-22 13:47:20 UTC (rev 2968)
+++ branches/r5rs/sigscheme/m4/ax_lib_glibc.m4	2006-01-22 14:18:23 UTC (rev 2969)
@@ -23,7 +23,7 @@
 AC_DEFUN([AX_LIB_GLIBC],
   [AC_CACHE_CHECK([if libc is the GNU libc],
     ax_cv_lib_glibc,
-    [AC_EGREP_CPP('^ax_cv_lib_glibc_yes$', [
+    [AC_EGREP_CPP([^ax_cv_lib_glibc_yes$], [
 /* To avoid being affected from possible header reorganization, this macro
  * does not include features.h directly. */
 #include <stdlib.h>
@@ -34,7 +34,7 @@
       ax_cv_lib_glibc=yes,
       ax_cv_lib_glibc=no)
     ])
-  if test "x$ax_cv_lib_glibc" = yes; then
+  if test "x$ax_cv_lib_glibc" = xyes; then
     AC_DEFINE(HAVE_GLIBC, 1, [Define to 1 if you have the GNU libc.])
   fi
 ])

Modified: branches/r5rs/sigscheme/src/operations.c
===================================================================
--- branches/r5rs/sigscheme/src/operations.c	2006-01-22 13:47:20 UTC (rev 2968)
+++ branches/r5rs/sigscheme/src/operations.c	2006-01-22 14:18:23 UTC (rev 2969)
@@ -31,6 +31,12 @@
  *  OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  *  SUCH DAMAGE.
 ===========================================================================*/
+
+#include "config.h"
+/* FIXME: remove this for direct inclusion of operations-srfi6.c and
+ * strport.c */
+#include "config-asprintf.h"
+
 /*=======================================
   System Include
 =======================================*/



More information about the uim-commit mailing list