[gimp] configure.ac: add check for getaddrinfo()
- From: Nils Philippsen <nphilipp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] configure.ac: add check for getaddrinfo()
- Date: Fri, 9 Jul 2010 10:52:41 +0000 (UTC)
commit 6cdc64756e4a26fcfb82bba57fc4489925d0052f
Author: Nils Philippsen <nils redhat com>
Date: Fri Jul 9 12:18:51 2010 +0200
configure.ac: add check for getaddrinfo()
configure.ac | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 0a6d9c7..76f7612 100644
--- a/configure.ac
+++ b/configure.ac
@@ -622,13 +622,14 @@ AC_CHECK_FUNC(rint, AC_DEFINE(HAVE_RINT, 1,
AC_DEFINE(HAVE_RINT)])])
-########################################################
-# Check for extra libs needed for getnameinfo and socket
-########################################################
+#####################################################################
+# Check for extra libs needed for getaddrinfo, getnameinfo and socket
+#####################################################################
gimp_save_LIBS=$LIBS
LIBS=""
+AC_CHECK_FUNCS(getaddrinfo, , AC_CHECK_LIB(nsl, getaddrinfo))
AC_CHECK_FUNCS(getnameinfo, , AC_CHECK_LIB(nsl, getnameinfo))
AC_CHECK_LIB(socket, socket)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]