diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 6dc914c12..18c309aca 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1160,8 +1160,12 @@ AS_IF([test x_$withval = x_yes], | |||
1160 | my_with_libidn2=0]))], | 1160 | my_with_libidn2=0]))], |
1161 | [AS_IF([test x_$withval != x_no], | 1161 | [AS_IF([test x_$withval != x_no], |
1162 | [CFLAGS="$CFLAGS -I$withval/include" | 1162 | [CFLAGS="$CFLAGS -I$withval/include" |
1163 | LDFLAGS="$LDFLAGS -L$withval/lib"], | 1163 | LDFLAGS="$LDFLAGS -L$withval/lib" |
1164 | [my_with_libidn2=0])]) | 1164 | AC_CHECK_HEADERS([idn2/idn2.h], |
1165 | AC_MSG_NOTICE([Found idn2/idn2.h]), | ||
1166 | [AC_MSG_NOTICE([Failed to find idn2.h]) | ||
1167 | my_with_libidn2=0])], | ||
1168 | [my_with_libidn2=0])]) | ||
1165 | 1169 | ||
1166 | AC_MSG_CHECKING([if libidn can be used]) | 1170 | AC_MSG_CHECKING([if libidn can be used]) |
1167 | # Check for LIBIDNs | 1171 | # Check for LIBIDNs |