X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=configure.in;h=6d4a9d408d32d7afff9a3ef8b30aa26abb721703;hp=6b21a320247fe3a45a65e320e1b2f3e65afb686f;hb=d8916ff5d389de5ab225cd6f40aeda1b285d0f28;hpb=c79c37f2b6e647212c36b63841a4628af01c774a diff --git a/configure.in b/configure.in index 6b21a32..6d4a9d4 100644 --- a/configure.in +++ b/configure.in @@ -70,7 +70,8 @@ AC_ARG_ENABLE(masquerade, masquerade="draft_from mmailid username_extension" else masquerade="$enable_masquerade" - fi]) + fi], + masquerade="draft_from mmailid username_extension") AC_SUBST(masquerade)dnl dnl Do you want mhe support? @@ -520,12 +521,9 @@ AC_CHECK_FUNCS(waitpid wait3 sigaction sigprocmask sigblock sigsetmask \ getutent nl_langinfo mbtowc wcwidth) dnl solaris has these in the nsl library -AC_SEARCH_LIBS(gethostbyname, nsl, - [AC_DEFINE(HAVE_GETHOSTBYNAME,1, - [Define to 1 if you have the `gethostbyname' function.])]) -AC_SEARCH_LIBS(sethostent, nsl, - [AC_DEFINE(HAVE_SETHOSTENT,1, - [Define to 1 if you have the `sethostent' function.])]) +AC_SEARCH_LIBS(getaddrinfo, nsl, + [AC_DEFINE(HAVE_GETADDRINFO,1, + [Define to 1 if you have the `getaddrinfo' function.])]) dnl sigsetjmp may be a macro AC_MSG_CHECKING(for sigsetjmp) @@ -534,7 +532,7 @@ AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include ]], [Define to 1 if you have the `sigsetjmp'.]) AC_MSG_RESULT(yes)], [AC_MSG_RESULT(no)]) -AC_REPLACE_FUNCS(snprintf strdup) +AC_REPLACE_FUNCS(memmove snprintf strerror strdup) dnl Look for the initgroups() declaration. On AIX 4.[13], Solaris 4.1.3, and dnl ULTRIX 4.2A the function is defined in libc but there's no declaration in @@ -949,6 +947,8 @@ if test "$nmh_cv_union_wait" = yes; then fi AC_MSG_RESULT($nmh_cv_union_wait) +CHECK_TYPE_STRUCT_DIRENT_D_TYPE() + dnl ------------- dnl CHECK SIGNALS dnl -------------