Revision 81edd3b3 configure.ac

View differences:

configure.ac
303 303
    AC_CHECK_HEADER([linux/rtnetlink.h],
304 304
      [],
305 305
      [AC_MSG_ERROR([Appropriate version of Linux kernel headers not found.])],
306
      [] dnl Force new AC_CHECK_HEADER semantics
306
      [
307
	dnl Some older versions of Linux kernel headers require these includes
308
	#include <asm/types.h>
309
	#include <sys/socket.h>
310
      ]
307 311
    )
308 312
    ;;
309 313
esac
......
337 341
  AC_CHECK_HEADERS([curses.h],
338 342
    [],
339 343
    [AC_MSG_ERROR([The client requires ncurses library. Either install the library or use --disable-client to compile without the client.])],
340
    [] dnl Force new AC_CHECK_HEADER semantics
344
    [AC_INCLUDES_DEFAULT]
341 345
  )
342 346

  
343 347
  AC_SEARCH_LIBS([tgetent], [tinfo tinfow ncurses curses termcap],
......
348 352
  AC_CHECK_HEADERS([readline/readline.h readline/history.h],
349 353
    [],
350 354
    [AC_MSG_ERROR([The client requires GNU Readline library. Either install the library or use --disable-client to compile without the client.])],
351
    [] dnl Force new AC_CHECK_HEADER semantics
355
    [AC_INCLUDES_DEFAULT]
352 356
  )
353 357

  
354 358
  AC_SEARCH_LIBS([add_history], [history],

Also available in: Unified diff