We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 843946a commit 3a40e3dCopy full SHA for 3a40e3d
ext/iconv/config.m4
@@ -28,20 +28,11 @@ if test "$PHP_ICONV" != "no"; then
28
29
if test -z "$iconv_impl_name"; then
30
AC_MSG_CHECKING([if using GNU libiconv])
31
- AC_RUN_IFELSE([AC_LANG_SOURCE([[
32
-#include <iconv.h>
33
-#include <stdio.h>
34
-int main(void) {
35
- printf("%d", _libiconv_version);
36
- return 0;
37
-}
38
- ]])],[
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <iconv.h>], [(void) _libiconv_version])],[
39
AC_MSG_RESULT(yes)
40
iconv_impl_name="gnu_libiconv"
41
],[
42
AC_MSG_RESULT(no)
43
- ],[
44
- AC_MSG_RESULT([no, cross-compiling])
45
])
46
fi
47
0 commit comments