blob: b9ab520b25df537406eb66613052ac6920a828c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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.1.orig/source/configure.in icu-49.1/source/configure.in
--- icu-49.1.orig/source/configure.in 2012-03-21 18:38:10.000000000 +0100
+++ icu-49.1/source/configure.in 2012-03-22 09:54:23.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}"
|