Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 126597 | Differences between
and this patch

Collapse All | Expand All

(-)trickle-1.06/configure.in (-8 / +14 lines)
Lines 67-73 Link Here
67
AC_CHECK_TYPE(u_int32_t, unsigned int)
67
AC_CHECK_TYPE(u_int32_t, unsigned int)
68
AC_CHECK_TYPE(u_int16_t, unsigned short)
68
AC_CHECK_TYPE(u_int16_t, unsigned short)
69
AC_CHECK_TYPE(u_int8_t, unsigned char)
69
AC_CHECK_TYPE(u_int8_t, unsigned char)
70
AC_CHECK_TYPE(in_addr_t, unsigned long)
70
dnl in_addr_t might be defined in <sys/types.h> or, on newer
71
dnl  glibc versions, in <netinet/in.h>
72
AC_CHECK_TYPE([in_addr_t ],,
73
              [AC_DEFINE([in_addr_t], [unsigned long],
74
                         [Define to ‘unsigned long’ if
75
                         <sys/types.h> and <netinet/in.h> 
76
                         do not define.])],
77
              [#include <stdio.h>
78
               #if HAVE_SYS_TYPES_H
79
               # include <sys/types.h>
80
               #endif
81
               #if HAVE_NETINET_IN_H
82
               # include <netinet/in.h>
83
               #endif])
71
84
72
dnl Checks for library functions.
85
dnl Checks for library functions.
73
AC_PROG_GCC_TRADITIONAL
86
AC_PROG_GCC_TRADITIONAL
Lines 214-224 Link Here
214
AC_DEFINE_UNQUOTED(SYSCONFDIR, "$csysconfdir")
227
AC_DEFINE_UNQUOTED(SYSCONFDIR, "$csysconfdir")
215
AC_DEFINE_UNQUOTED(LIBDIR, "$clibdir")
228
AC_DEFINE_UNQUOTED(LIBDIR, "$clibdir")
216
229
217
218
# This is necessary so that .o files in LIBOBJS are also built via
219
# the ANSI2KNR-filtering rules.
220
LIBOBJS=`echo "$LIBOBJS" | sed 's/\.o /\$U.o /g;s/\.o$/\$U.o/'`
221
LTLIBOBJS=`echo "$LIBOBJS" | sed 's/\.o/\.lo/g'`
222
AC_SUBST(LTLIBOBJS)
223
224
AC_OUTPUT(Makefile)
230
AC_OUTPUT(Makefile)

Return to bug 126597