Ticket #67126: configure.ac.diff

File configure.ac.diff, 531 bytes (added by artkiver (グレェ), 20 months ago)

diff for configure.ac addressing HOST_NAME_MAX discrepancies in rpki-client 8.3 fixed in a PR upstream.

  • configure.ac

     
    263263  )
    264264fi
    265265
     266# check if HOST_NAME_MAX is available
     267AC_MSG_CHECKING([for HOST_NAME_MAX])
     268AC_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
    266280# check functions that may be in different libs on other systems
    267281AC_CHECK_HEADERS([fts.h], [], [AC_MSG_ERROR([fts.h is required])])
    268282AC_SEARCH_LIBS([fts_open],[fts])