comparison configure.ac @ 39:3643db656a4f trunk

[svn] Removed the check for socklen_t. This fixes building on NetBSD. curl defined socklen_t anyway, so no need for this. This *MIGHT* break something on some systems (I haven't found one yet, though), so PLEASE report all bugs to me.
author js
date Tue, 19 Sep 2006 07:53:54 -0700
parents e0a8ee3543d3
children f15e55bc0e60
comparison
equal deleted inserted replaced
38:e0a8ee3543d3 39:3643db656a4f
120 TAGLIB_CFLAGS=[`$TAGLIB_CONFIG --cflags`] 120 TAGLIB_CFLAGS=[`$TAGLIB_CONFIG --cflags`]
121 TAGLIB_LIBS=[`$TAGLIB_CONFIG --libs`] 121 TAGLIB_LIBS=[`$TAGLIB_CONFIG --libs`]
122 fi 122 fi
123 AC_SUBST(TAGLIB_CFLAGS) 123 AC_SUBST(TAGLIB_CFLAGS)
124 AC_SUBST(TAGLIB_LIBS) 124 AC_SUBST(TAGLIB_LIBS)
125
126 # Check if socklen_t is defined
127
128 AC_CACHE_CHECK(for socklen_t, beep_cv_type_socklen_t,
129 [AC_TRY_COMPILE(
130 [#include <sys/types.h>
131 #include <sys/socket.h>],
132 [socklen_t s;],
133 [beep_cv_type_socklen_t=yes],
134 [beep_cv_type_socklen_t=no]
135 )
136 ]
137 )
138
139 if test "$beep_cv_type_socklen_t" = "no"; then
140 AC_DEFINE(socklen_t, int, [Define to int if the socklen_t type is missing])
141 fi
142 125
143 dnl IPv6 support 126 dnl IPv6 support
144 dnl ======================== 127 dnl ========================
145 AC_ARG_ENABLE(ipv6, 128 AC_ARG_ENABLE(ipv6,
146 [ --enable-ipv6 enable IPv6 support (default=no)], 129 [ --enable-ipv6 enable IPv6 support (default=no)],