comparison config/iconv.m4 @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 04ced10e8804
children
comparison
equal deleted inserted replaced
131:84e7813d76e9 145:1830386684a0
71 fi 71 fi
72 72
73 if test "$am_cv_func_iconv" != yes; then 73 if test "$am_cv_func_iconv" != yes; then
74 am_save_CPPFLAGS="$CPPFLAGS" 74 am_save_CPPFLAGS="$CPPFLAGS"
75 am_save_LIBS="$LIBS" 75 am_save_LIBS="$LIBS"
76 CPPFLAGS="$LIBS $INCICONV" 76 CPPFLAGS="$CPPFLAGS $INCICONV"
77 LIBS="$LIBS $LIBICONV" 77 LIBS="$LIBS $LIBICONV"
78 AC_TRY_LINK([#include <stdlib.h> 78 AC_TRY_LINK([#include <stdlib.h>
79 #include <iconv.h>], 79 #include <iconv.h>],
80 [iconv_t cd = iconv_open("",""); 80 [iconv_t cd = iconv_open("","");
81 iconv(cd,NULL,NULL,NULL,NULL); 81 iconv(cd,NULL,NULL,NULL,NULL);