[hipl-commit] [trunk] Rev 3732: Fixed off-path building with libinet6 (bug id 1249)

  • From: Miika Komu <miika@xxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Sat, 27 Feb 2010 16:44:13 +0200

Committer: Miika Komu <miika@xxxxxx>
Date: Sat Feb 27 16:44:12 2010 +0200
Revision: 3732
Revision-id: miika@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  Fixed off-path building with libinet6 (bug id 1249)
  
  The following error is now fixed:
  
  ../trunk/configure --enable-libinet6 && make
  <snip>
  ../../trunk/libinet6/getaddrinfo.c:80:30: error: lib/core/builder.h: No 
  such file or directory
  ../../trunk/libinet6/getaddrinfo.c:81:28: error: lib/core/debug.h: No 
  such file or directory
  
  Had to adjust some whitespaces to get the commit through.

Modified:
  M  libinet6/Makefile.am

=== modified file 'libinet6/Makefile.am'
--- libinet6/Makefile.am        2010-01-05 12:27:47 +0000
+++ libinet6/Makefile.am        2010-02-27 14:44:12 +0000
@@ -5,7 +5,7 @@
 #
 # Copyright (C) 2000-2001 USAGI/WIDE Project.
 # All rights reserved.
-# 
+#
 # Redistribution and use in source and binary forms, with or without
 # modification, are permitted provided that the following conditions
 # are met:
@@ -17,7 +17,7 @@
 # 3. Neither the name of the project nor the names of its contributors
 #    may be used to endorse or promote products derived from this software
 #    without specific prior written permission.
-# 
+#
 # THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
 # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -38,9 +38,9 @@
 
 # Original sources
 libinet6_la_SOURCES  = usagi.c getaddrinfo.c getnameinfo.c ip6opt.c rthdr.c
-libinet6_la_SOURCES += ifaddrs.c ifnames.c cmsg_nxthdr.c 
+libinet6_la_SOURCES += ifaddrs.c ifnames.c cmsg_nxthdr.c
 #rexec.c
-libinet6_la_SOURCES += sa_len.c tempname.c 
+libinet6_la_SOURCES += sa_len.c tempname.c
 #util.c
 #libinet6_la_SOURCES += rcmd.c
 
@@ -64,17 +64,20 @@
 
 # HIP library added
 #LDADD  = ../libhiptool/.libs/libhiptool.a
-LDADD = ../libhipcore/.libs/libhipcore.a
+LDADD = $(top_srcdir)/libhipcore/.libs/libhipcore.a
 
 include_HEADERS = libc-compat.h #util.h
 include_HEADERS += getaddrinfo.h
 
 EXTRA_DIST = include_glibc21 include_glibc22 include_glibc23 include_glibc
 
-LDADD += ../libdht/.libs/libhipopendht.a 
-
-INCLUDES += -I../i3/i3_client -I../i3/utils -I../i3/i3
-INCLUDES += -I..
+LDADD += $(top_srcdir)/libdht/.libs/libhipopendht.a
+
+INCLUDES += -I$(top_srcdir)/i3/i3_client -I$(top_srcdir)/i3/utils 
-I$(top_srcdir)/i3/i3
+
+# Fix for bug id 1249
+INCLUDES += -I $(top_srcdir)
+INCLUDES += -I $(top_srcdir)/libinet6/include
 
 #getendpointinfo.c: include/netdb.h

Other related posts:

  • » [hipl-commit] [trunk] Rev 3732: Fixed off-path building with libinet6 (bug id 1249) - Miika Komu