summaryrefslogtreecommitdiffstats
path: root/gettext-tools/examples/hello-csharp-forms
diff options
context:
space:
mode:
Diffstat (limited to 'gettext-tools/examples/hello-csharp-forms')
-rwxr-xr-xgettext-tools/examples/hello-csharp-forms/autoclean.sh3
-rwxr-xr-xgettext-tools/examples/hello-csharp-forms/autogen.sh1
-rw-r--r--gettext-tools/examples/hello-csharp-forms/configure.ac4
-rw-r--r--gettext-tools/examples/hello-csharp-forms/m4/Makefile.am2
4 files changed, 6 insertions, 4 deletions
diff --git a/gettext-tools/examples/hello-csharp-forms/autoclean.sh b/gettext-tools/examples/hello-csharp-forms/autoclean.sh
index 73f33cf..068b28c 100755
--- a/gettext-tools/examples/hello-csharp-forms/autoclean.sh
+++ b/gettext-tools/examples/hello-csharp-forms/autoclean.sh
@@ -1,6 +1,6 @@
#!/bin/sh
# Example for use of GNU gettext.
-# Copyright (C) 2003 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
# This file is in the public domain.
#
# Script for cleaning all autogenerated files.
@@ -15,6 +15,7 @@ rm -f po/remove-potcdate.sin
# Brought in by explicit copy.
rm -f m4/csharpcomp.m4
rm -f m4/csharpexec.m4
+rm -f m4/csharpexec-test.exe
rm -f csharpcomp.sh.in
rm -f csharpexec.sh.in
diff --git a/gettext-tools/examples/hello-csharp-forms/autogen.sh b/gettext-tools/examples/hello-csharp-forms/autogen.sh
index 7a699ee..3a99626 100755
--- a/gettext-tools/examples/hello-csharp-forms/autogen.sh
+++ b/gettext-tools/examples/hello-csharp-forms/autogen.sh
@@ -30,6 +30,7 @@ cp -p ${GETTEXTSRCPODIR-$GETTEXT_TOPSRCDIR/gettext-runtime/po}/remove-potcdate.s
cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/m4}/csharpcomp.m4 m4/csharpcomp.m4
cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/m4}/csharpexec.m4 m4/csharpexec.m4
+cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/m4}/csharpexec-test.exe m4/csharpexec-test.exe
cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/m4}/csharp.m4 m4/csharp.m4
cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/lib}/csharpcomp.sh.in csharpcomp.sh.in
cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/lib}/csharpexec.sh.in csharpexec.sh.in
diff --git a/gettext-tools/examples/hello-csharp-forms/configure.ac b/gettext-tools/examples/hello-csharp-forms/configure.ac
index 5ab88af..8841680 100644
--- a/gettext-tools/examples/hello-csharp-forms/configure.ac
+++ b/gettext-tools/examples/hello-csharp-forms/configure.ac
@@ -1,5 +1,5 @@
dnl Example for use of GNU gettext.
-dnl Copyright (C) 2003 Free Software Foundation, Inc.
+dnl Copyright (C) 2003, 2005 Free Software Foundation, Inc.
dnl This file is in the public domain.
dnl
dnl Configuration file - processed by autoconf.
@@ -18,7 +18,7 @@ fi
AC_SUBST(BUILDCSHARP)
dnl Check whether we can execute C# programs.
-gt_CSHARPEXEC
+gt_CSHARPEXEC([csharpexec-test.exe], [$srcdir/m4])
if test -n "$HAVE_CSHARPEXEC" && test $BUILDCSHARP = yes; then
TESTCSHARP=yes
else
diff --git a/gettext-tools/examples/hello-csharp-forms/m4/Makefile.am b/gettext-tools/examples/hello-csharp-forms/m4/Makefile.am
index 54e423d..de22d57 100644
--- a/gettext-tools/examples/hello-csharp-forms/m4/Makefile.am
+++ b/gettext-tools/examples/hello-csharp-forms/m4/Makefile.am
@@ -1,3 +1,3 @@
EXTRA_DIST = \
nls.m4 po.m4 \
- csharpcomp.m4 csharpexec.m4
+ csharpcomp.m4 csharpexec.m4 csharpexec-test.exe