Ticket #67126: configure.ac.diff
File configure.ac.diff, 531 bytes (added by artkiver (グレェ), 20 months ago) |
---|
-
configure.ac
263 263 ) 264 264 fi 265 265 266 # check if HOST_NAME_MAX is available 267 AC_MSG_CHECKING([for HOST_NAME_MAX]) 268 AC_COMPILE_IFELSE( 269 [AC_LANG_PROGRAM([[ 270 #include <limits.h> 271 #include <unistd.h> 272 ]], [[ 273 char buf[HOST_NAME_MAX + 1]; 274 ]])], 275 [AC_MSG_RESULT([yes]) 276 AC_DEFINE(HAVE_HOST_NAME_MAX) ], 277 [AC_MSG_RESULT([no])] 278 ) 279 266 280 # check functions that may be in different libs on other systems 267 281 AC_CHECK_HEADERS([fts.h], [], [AC_MSG_ERROR([fts.h is required])]) 268 282 AC_SEARCH_LIBS([fts_open],[fts])