Don't check if iconv is enabled before checking if its argument needs to be const as it's a required dep which is always enabled
Originally committed to SVN as r6075.
This commit is contained in:
parent
848f123a98
commit
f430d02659
1 changed files with 3 additions and 6 deletions
|
@ -424,8 +424,6 @@ if test "$agi_cv_with_iconv" = "no" ; then
|
|||
AC_MSG_FAILURE([Please install a working iconv library.])
|
||||
fi
|
||||
|
||||
if test "$agi_cv_with_iconv" = "yes"; then
|
||||
|
||||
AC_AGI_COMPILE([iconv (const)], [iconv_const], [$ICONV_CFLAGS], [$ICONV_LDFLAGS],[
|
||||
#include <iconv.h>
|
||||
int main(void) {
|
||||
|
@ -438,8 +436,7 @@ int main(void) {
|
|||
} ])
|
||||
|
||||
if test "$agi_cv_with_iconv_const" = "yes"; then
|
||||
AC_DEFINE(AGI_ICONV_CONST, 1, [Enable if your version if iconv is const (annoying!)])
|
||||
fi
|
||||
AC_DEFINE(AGI_ICONV_CONST, 1, [Enable if iconv expects the in argument to be const])
|
||||
fi
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue