[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: build: fix libidn2 detection if prefix g
From: |
gnunet |
Subject: |
[gnunet] branch master updated: build: fix libidn2 detection if prefix given (#5948) |
Date: |
Sun, 05 Jul 2020 15:27:39 +0200 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 143755664 build: fix libidn2 detection if prefix given (#5948)
143755664 is described below
commit 1437556645417e6302862845e7ebcbd4c9908357
Author: Martin Schanzenbach <mschanzenbach@posteo.de>
AuthorDate: Sun Jul 5 15:21:55 2020 +0200
build: fix libidn2 detection if prefix given (#5948)
---
configure.ac | 8 ++++++--
1 file 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],
my_with_libidn2=0]))],
[AS_IF([test x_$withval != x_no],
[CFLAGS="$CFLAGS -I$withval/include"
- LDFLAGS="$LDFLAGS -L$withval/lib"],
- [my_with_libidn2=0])])
+ LDFLAGS="$LDFLAGS -L$withval/lib"
+ AC_CHECK_HEADERS([idn2/idn2.h],
+ AC_MSG_NOTICE([Found idn2/idn2.h]),
+ [AC_MSG_NOTICE([Failed to find idn2.h])
+ my_with_libidn2=0])],
+ [my_with_libidn2=0])])
AC_MSG_CHECKING([if libidn can be used])
# Check for LIBIDNs
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: build: fix libidn2 detection if prefix given (#5948),
gnunet <=