Revision 5d6dc930 configure.ac

View differences:

configure.ac
69 69
AC_SUBST(CONFIG_FILE)
70 70
AC_SUBST(CONTROL_SOCKET)
71 71

  
72
AC_SEARCH_LIBS(clock_gettime, [c rt posix4], ,
72
AC_SEARCH_LIBS(clock_gettime, [rt posix4], ,
73 73
	AC_MSG_ERROR([[Function clock_gettime not available.]]))
74 74

  
75 75
AC_CANONICAL_HOST
......
84 84
	AC_MSG_ERROR([This program requires the GNU C Compiler.])
85 85
fi
86 86

  
87
# Enable threads by default just in Linux and FreeBSD
88
#if test "$enable_pthreads" = try ; then
89
#	case "$host_os" in
90
#		(linux* | freebsd* | openbsd* | netbsd* )	enable_pthreads=try ;;
91
#		(*)				enable_pthreads=no ;;
92
#	esac
93
#fi
94

  
95 87
if test "$enable_pthreads" != no ; then
96 88
	BIRD_CHECK_PTHREADS
97 89

  
......
248 240
		;;
249 241
esac
250 242

  
251
AC_CHECK_HEADER(syslog.h, [AC_DEFINE([HAVE_SYSLOG], [1], [Define to 1 if you have the <syslog.h> header file])])
252
AC_CHECK_HEADER(alloca.h, [AC_DEFINE([HAVE_ALLOCA_H], [1], [Define to 1 if you have the <alloca.h> header file])])
243
AC_CHECK_HEADERS_ONCE([alloca.h syslog.h])
244

  
253 245
AC_MSG_CHECKING(whether 'struct sockaddr' has sa_len)
254 246
AC_COMPILE_IFELSE([
255 247
  AC_LANG_PROGRAM(
......
275 267
  [AC_MSG_ERROR([Cannot determine CPU endianity.])]
276 268
)
277 269

  
278
BIRD_CHECK_INTEGERS
279 270
BIRD_CHECK_STRUCT_ALIGN
280 271
BIRD_CHECK_TIME_T
281
BIRD_CHECK_STRUCT_IP_MREQN
282 272

  
283 273
if test "$enable_debug" = yes ; then
284 274
	AC_DEFINE([DEBUGGING], [1], [Define to 1 if debugging is enabled])

Also available in: Unified diff