Skip to content
Snippets Groups Projects
Commit 27adc43d authored by Alberto Massari's avatar Alberto Massari
Browse files

Allow platform with machine/endian.h to select the GNUiconv transcoder

git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@800818 13f79535-47bb-0310-9956-ffa450edef68
parent 2fd178de
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,9 @@ AC_DEFUN([XERCES_TRANSCODER_SELECTION],
# Check for GNU iconv support
no_GNUiconv=false
AC_CHECK_HEADERS([iconv.h wchar.h string.h stdlib.h stdio.h ctype.h locale.h errno.h endian.h], [], [no_GNUiconv=true])
AC_CHECK_HEADERS([iconv.h wchar.h string.h stdlib.h stdio.h ctype.h locale.h errno.h], [], [no_GNUiconv=true])
# The code in iconv loads either endian.h or machine/endian.h, so verify that at least one is present
AC_CHECK_HEADER([endian.h], [], [AC_CHECK_HEADER([machine/endian.h],[],[no_GNUiconv=true])])
AC_CHECK_FUNCS([iconv_open iconv_close iconv], [], [no_GNUiconv=true])
AC_MSG_CHECKING([whether we can support the GNU iconv Transcoder])
list_add=
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment