summaryrefslogtreecommitdiff
path: root/Build/source/libs/icu/icu-49.1-PATCHES/patch-05-m4-quoting
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/icu/icu-49.1-PATCHES/patch-05-m4-quoting')
-rw-r--r--Build/source/libs/icu/icu-49.1-PATCHES/patch-05-m4-quoting19
1 files changed, 19 insertions, 0 deletions
diff --git a/Build/source/libs/icu/icu-49.1-PATCHES/patch-05-m4-quoting b/Build/source/libs/icu/icu-49.1-PATCHES/patch-05-m4-quoting
new file mode 100644
index 00000000000..87a4d7c6931
--- /dev/null
+++ b/Build/source/libs/icu/icu-49.1-PATCHES/patch-05-m4-quoting
@@ -0,0 +1,19 @@
+ Correct m4 quoting.
+ Use AC_LANG_PROGRAM to create a linkable program.
+
+ Without this we get an error msg
+ sed: can't read conftest.c: No such file or directory
+
+
+diff -ur icu-49.rc.orig/source/configure.in icu-49.rc/source/configure.in
+--- icu-49.rc.orig/source/configure.in 2012-03-03 17:20:02.000000000 +0100
++++ icu-49.rc/source/configure.in 2012-03-20 20:40:28.000000000 +0100
+@@ -285,7 +285,7 @@
+ ;;
+ esac
+
+- AC_LINK_IFELSE(AC_LANG_SOURCE, CHECK_STATIC_OPT_FLAG=yes, CHECK_STATIC_OPT_FLAG=no, )
++ AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])], [CHECK_STATIC_OPT_FLAG=yes], [CHECK_STATIC_OPT_FLAG=no])
+ AC_MSG_RESULT($CHECK_STATIC_OPT_FLAG)
+ if test "$CHECK_STATIC_OPT_FLAG" = no; then
+ CPPFLAGS="${OLD_CPPFLAGS}"