]>
Commit | Line | Data |
---|---|---|
2a5edde2 AM |
1 | diff -urNp -x '*.orig' nagios-4.4.6.org/configure.ac nagios-4.4.6/configure.ac |
2 | --- nagios-4.4.6.org/configure.ac 2020-04-28 22:48:29.000000000 +0200 | |
3 | +++ nagios-4.4.6/configure.ac 2021-04-19 12:03:10.815220244 +0200 | |
4 | @@ -548,7 +548,7 @@ dnl Should we try and detect the GD libs | |
5 | if test "x$TRYGD" = "xyes"; then | |
afb89e9d JB |
6 | |
7 | dnl libiconv is required on some systems - tack it on if found | |
8 | - AC_CHECK_LIB(iconv,main,ICONV=-liconv,) | |
9 | + AC_CHECK_FUNC(iconv,,[AC_CHECK_LIB(iconv,iconv,ICONV=-liconv,)]) | |
10 | ||
11 | dnl See if the GD lib is available and supports PNG images... | |
12 |