+2005-12-04 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.am (CSHARPCOMPFLAGS): Use value set by csharpcomp.m4.
+
2005-05-23 Bruno Haible <bruno@clisp.org>
* gettext-0.14.5 released.
htmldir = $(docdir)
CSHARPCOMP = $(SHELL) ../lib/csharpcomp.sh
-CSHARPCOMPFLAGS = -O -g
+CSHARPCOMPFLAGS = @CSHARPCOMPFLAGS@
all-local: all-dll all-doc
+2005-12-04 Bruno Haible <bruno@clisp.org>
+
+ * csharpcomp.sh.in: Suffix for resources is .resources, not .resource.
+
2005-12-04 Bruno Haible <bruno@clisp.org>
Cygwin portability.
for (i = 0; i < sources_count; i++)
{
const char *source_file = sources[i];
- if (strlen (source_file) >= 9
- && memcmp (source_file + strlen (source_file) - 9, ".resource",
- 9) == 0)
+ if (strlen (source_file) >= 10
+ && memcmp (source_file + strlen (source_file) - 10, ".resources",
+ 10) == 0)
{
char *option = (char *) xallocsa (12 + strlen (source_file) + 1);
for (i = 0; i < sources_count; i++)
{
const char *source_file = sources[i];
- if (strlen (source_file) >= 9
- && memcmp (source_file + strlen (source_file) - 9, ".resource",
- 9) == 0)
+ if (strlen (source_file) >= 10
+ && memcmp (source_file + strlen (source_file) - 10, ".resources",
+ 10) == 0)
{
char *option = (char *) xallocsa (10 + strlen (source_file) + 1);
for (i = 0; i < sources_count; i++)
{
const char *source_file = sources[i];
- if (strlen (source_file) >= 9
- && memcmp (source_file + strlen (source_file) - 9, ".resource",
- 9) == 0)
+ if (strlen (source_file) >= 10
+ && memcmp (source_file + strlen (source_file) - 10, ".resources",
+ 10) == 0)
{
char *option = (char *) xallocsa (10 + strlen (source_file) + 1);
echo "csharpcomp: unknown option '$1'" 1>&2
exit 1
;;
- *.resource)
+ *.resources)
options_cscc="$options_cscc -fresources="`echo "$1" | sed -e "$sed_quote_subst"`
options_mcs="$options_mcs -resource:"`echo "$1" | sed -e "$sed_quote_subst"`
options_csc="$options_csc -resource:"`echo "$1" | sed -e "$sed_quote_subst"`
+2005-12-04 Bruno Haible <bruno@clisp.org>
+
+ * csharpcomp.m4 (gt_CSHARPCOMP): Also set CSHARPCOMPFLAGS.
+
2005-11-24 Bruno Haible <bruno@clisp.org>
Cygwin portability.
-# csharpcomp.m4 serial 5 (gettext-0.15)
+# csharpcomp.m4 serial 6 (gettext-0.15)
dnl Copyright (C) 2003-2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
# Prerequisites of csharpcomp.sh.
+# Checks for a C# compiler.
+# Sets at most one of HAVE_CSCC, HAVE_MCS, HAVE_CSC.
# Sets HAVE_CSHARPCOMP to nonempty if csharpcomp.sh will work.
-
+# Also sets CSHARPCOMPFLAGS.
AC_DEFUN([gt_CSHARPCOMP],
[
AC_REQUIRE([gt_CSHARP_CHOICE])
AC_SUBST(HAVE_CSCC)
AC_SUBST(HAVE_MCS)
AC_SUBST(HAVE_CSC)
+ dnl Provide a default for CSHARPCOMPFLAGS.
+ if test -z "${CSHARPCOMPFLAGS+set}"; then
+ CSHARPCOMPFLAGS="-O -g"
+ fi
+ AC_SUBST(CSHARPCOMPFLAGS)
])
+2005-12-04 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.am (CSHARPCOMPFLAGS): Use value set by csharpcomp.m4.
+
2005-11-29 Colin Watson <cjwatson@ubuntu.com>
* msggrep.c (invert_match): New variable.
JAR = @JAR@
JAVACOMP = $(SHELL) ../lib/javacomp.sh
CSHARPCOMP = $(SHELL) ../lib/csharpcomp.sh
-CSHARPCOMPFLAGS = -O -g
+CSHARPCOMPFLAGS = @CSHARPCOMPFLAGS@
# All programs deal with message lists.