FreeTDM: Make libpri pri_version() check -Wunused-but-set-variable safe
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
This commit is contained in:
parent
284ce5407b
commit
80a2b76620
|
@ -236,7 +236,8 @@ then
|
|||
AC_LINK_IFELSE(
|
||||
[AC_LANG_PROGRAM(
|
||||
[#include <libpri.h>],
|
||||
[const char *version = pri_get_version();]
|
||||
[const char *version = pri_get_version();
|
||||
(void)version;]
|
||||
)],
|
||||
[AC_MSG_RESULT([yes])
|
||||
HAVE_LIBPRI="yes"],
|
||||
|
|
Loading…
Reference in New Issue