mirror of
https://github.com/osmarks/ngircd.git
synced 2024-12-13 10:20:28 +00:00
Make configure[.ng] compatible with autoconf 1.10 again
The incompatibility has been introduced by commit d0c9f4a6
,
"configure: search for iconv_open as well as libiconv_open".
This commit is contained in:
parent
0131e1e00b
commit
a14eb495b7
15
configure.ng
15
configure.ng
@ -527,14 +527,15 @@ if test "$x_ircplus_on" = "yes"; then
|
|||||||
LDFLAGS="-L$withval/lib $LDFLAGS"
|
LDFLAGS="-L$withval/lib $LDFLAGS"
|
||||||
fi
|
fi
|
||||||
AC_CHECK_LIB(iconv, iconv_open)
|
AC_CHECK_LIB(iconv, iconv_open)
|
||||||
AC_CHECK_FUNCS(iconv_open, x_iconv_on=yes,
|
AC_CHECK_FUNCS(iconv_open, x_iconv_on=yes)
|
||||||
|
if test "$x_iconv_on" != "yes"; then
|
||||||
AC_CHECK_LIB(iconv, libiconv_open)
|
AC_CHECK_LIB(iconv, libiconv_open)
|
||||||
AC_CHECK_FUNCS(libiconv_open, x_iconv_on=yes,
|
AC_CHECK_FUNCS(libiconv_open, x_iconv_on=yes)
|
||||||
AC_MSG_ERROR([Can't enable libiconv support!])
|
fi
|
||||||
)
|
if test "$x_iconv_on" != "yes"; then
|
||||||
)
|
AC_MSG_ERROR([Can't enable libiconv support!])
|
||||||
fi
|
fi
|
||||||
]
|
fi ]
|
||||||
)
|
)
|
||||||
if test "$x_iconv_on" = "yes"; then
|
if test "$x_iconv_on" = "yes"; then
|
||||||
AC_DEFINE(ICONV, 1)
|
AC_DEFINE(ICONV, 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user