#3624: Wrong usage if IDN library (undefined reference to `assert')
--------------------+-------------------------------------------------------
Reporter: petr_p | Owner: mutt-dev
Type: defect | Status: new
Priority: major | Milestone:
Component: mutt | Version:
Keywords: |
--------------------+-------------------------------------------------------
Comment(by petr_p):
In my opinion problem is at configure.ac:1171:
{{{
if test "$with_idn" = "auto" && test -d /usr/include/idn; then
CPPFLAGS="$CPPFLAGS -I/usr/include/idn"
fi
}}}
libidn supports pkg-config, so replacing the test with
{{{
CPPFLAGS=$(pkg-config --cflags libidn)
}}}
or better using PKG_CHECK_MODULES() would be more safe and reliable.
--
Ticket URL: <http://dev.mutt.org/trac/ticket/3624#comment:1>
Mutt <http://www.mutt.org/>
The Mutt mail user agent