packages/libs/libxerces-c/patches/0001-fix-configure-cross-compiling.patch
Álvaro Fernández Rojas 8cdc1eb432 libxerces-c: update to v3.2.0
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2017-12-31 18:45:40 +01:00

20 lines
658 B
Diff

--- a/configure.ac
+++ b/configure.ac
@@ -194,7 +194,7 @@ AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[#
]
)
AC_MSG_CHECKING([for wcsrtombs])
-AC_RUN_IFELSE( [AC_LANG_PROGRAM([[#include <wchar.h>
+AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[#include <wchar.h>
#include <string.h>]],
[[
mbstate_t st;
@@ -216,7 +216,7 @@ else
]
)
AC_MSG_CHECKING([for mbsrtowcs])
-AC_RUN_IFELSE( [AC_LANG_PROGRAM([[#include <wchar.h>
+AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[#include <wchar.h>
#include <string.h>]],
[[
mbstate_t st;