X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=configure.ac;h=d18fe9ecbb6d9d6e1094602a2076a3b13eac49ac;hp=07231b79dfa159555c2796de735634711732f8d9;hb=9bd31998dca452615148d9e618118aee2a0d2dff;hpb=f467b805f7cbe821d1bfec27ad643067dd19ca10 diff --git a/configure.ac b/configure.ac index 07231b7..d18fe9e 100644 --- a/configure.ac +++ b/configure.ac @@ -345,6 +345,12 @@ CONFIGURE_PART(Resolve Portability Issues) CHECK_FOR_WORKING_MS_ASYNC +dnl do we have nl_langinfo(_NL_TIME_WEEK_1STDAY) +AC_CHECK_FUNCS(_NL_TIME_WEEK_1STDAY, , + [AC_MSG_CHECKING([for nl_langinfo(_NL_TIME_WEEK_1STDAY) with langinfo.h]) + AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include ]], [[nl_langinfo(_NL_TIME_WEEK_1STDAY)]])],[AC_MSG_RESULT(yes) + AC_DEFINE(HAVE__NL_TIME_WEEK_1STDAY)],[AC_MSG_RESULT(no)])]) + dnl Do we need getopt_long dnl even when including our own getopt implementation