Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Quagga: Dev

[PATCH] Fix autoconf multicast check on OpenBSD

 

 

Quagga dev RSS feed   Index | Next | Previous | View Threaded


brad at comstyle

Aug 8, 2012, 6:44 PM

Post #1 of 3 (204 views)
Permalink
[PATCH] Fix autoconf multicast check on OpenBSD

Fix the "BSD struct ip_mreq hack" autoconf test to work with OpenBSD.


diff --git a/configure.ac b/configure.ac
index 7764df7..4cc9400 100755
--- a/configure.ac
+++ b/configure.ac
@@ -957,7 +957,7 @@ AC_CHECK_MEMBERS([struct ip_mreqn.imr_ifindex], [], [], QUAGGA_INCLUDES)
AC_MSG_CHECKING([for BSD struct ip_mreq hack])
AC_TRY_COMPILE([#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
-#endif],[.#if (defined(__FreeBSD__) && ((__FreeBSD_version >= 500022 && __FreeBSD_version < 700000) || (__FreeBSD_version < 500000 && __FreeBSD_version >= 440000))) || (defined(__NetBSD__) && defined(__NetBSD_Version__) && __NetBSD_Version__ >= 106010000)
+#endif],[#if (defined(__FreeBSD__) && ((__FreeBSD_version >= 500022 && __FreeBSD_version < 700000) || (__FreeBSD_version < 500000 && __FreeBSD_version >= 440000))) || (defined(__NetBSD__) && defined(__NetBSD_Version__) && __NetBSD_Version__ >= 106010000) || defined(__OpenBSD__)
return (0);
#else
#error No support for BSD struct ip_mreq hack detected

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
Quagga-dev mailing list
Quagga-dev [at] lists
http://lists.quagga.net/mailman/listinfo/quagga-dev


equinox at opensourcerouting

Sep 24, 2012, 9:17 PM

Post #2 of 3 (131 views)
Permalink
Re: [PATCH] Fix autoconf multicast check on OpenBSD [In reply to]

On Wed, Aug 08, 2012 at 09:40:09PM -0400, Brad Smith wrote:
> This corrects the parameters passed to libtool when linking
> the shared libraries. The paramter name is -version-info not
> -version.

On Wed, Aug 08, 2012 at 09:44:28PM -0400, Brad Smith wrote:
> Fix the "BSD struct ip_mreq hack" autoconf test to work with OpenBSD.

Applied (2 patches), thanks.
Attachments: signature.asc (0.22 KB)


brad at comstyle

Sep 24, 2012, 9:19 PM

Post #3 of 3 (127 views)
Permalink
Re: [PATCH] Fix autoconf multicast check on OpenBSD [In reply to]

On Tue, Sep 25, 2012 at 06:17:05AM +0200, David Lamparter wrote:
> On Wed, Aug 08, 2012 at 09:40:09PM -0400, Brad Smith wrote:
> > This corrects the parameters passed to libtool when linking
> > the shared libraries. The paramter name is -version-info not
> > -version.
>
> On Wed, Aug 08, 2012 at 09:44:28PM -0400, Brad Smith wrote:
> > Fix the "BSD struct ip_mreq hack" autoconf test to work with OpenBSD.
>
> Applied (2 patches), thanks.

Thanks.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
Quagga-dev mailing list
Quagga-dev [at] lists
http://lists.quagga.net/mailman/listinfo/quagga-dev

Quagga dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.