X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=configure.in;h=2fad06bb72b8c7463f4ac8e866294d65a167fc3e;hp=30fdc13e989396afc96d0d3a1af36c051dac3260;hb=9e6ab0152703ad301042ce8810859f41fbee405a;hpb=0667a943d2454ec20b069133861cd40ffe685819 diff --git a/configure.in b/configure.in index 30fdc13..2fad06b 100644 --- a/configure.in +++ b/configure.in @@ -87,21 +87,6 @@ AH_TEMPLATE([ICONV_NONTRANS], [Define as 1 if iconv() only converts exactly and we should treat all return values other than (size_t)(-1) as equivalent.]) -AH_BOTTOM([/* fseeko portability defines */ -#ifdef HAVE_FSEEKO -# define LOFF_T off_t -# if SIZEOF_OFF_T == 8 -# define OFF_T_FMT "%lld" -# else -# define OFF_T_FMT "%ld" -# endif -#else -# define LOFF_T long -# define fseeko fseek -# define ftello ftell -# define OFF_T_FMT "%ld" -#endif -]) MUTT_C99_INTTYPES ac_aux_path_sendmail=/usr/sbin:/usr/lib @@ -341,22 +326,14 @@ AC_TYPE_PID_T dnl AC_CHECK_TYPE(ssize_t, int) AC_CHECK_FUNCS(fgetpos memmove setegid srand48 strerror) - -AC_REPLACE_FUNCS(strcasecmp strdup setenv) +AC_REPLACE_FUNCS(strcasecmp setenv) +AC_CHECK_FUNCS(snprintf vsnprintf) AC_CHECK_FUNC(getopt) if test $ac_cv_func_getopt = yes; then AC_CHECK_HEADERS(getopt.h) fi -mutt_cv_snprintf=no -SNPRINTFOBJS="" -AC_CHECK_FUNCS(snprintf, , [mutt_cv_snprintf=yes]) -AC_CHECK_FUNCS(vsnprintf, , [mutt_cv_snprintf=yes]) -if test $mutt_cv_snprintf = yes; then - AC_LIBOBJ(snprintf) -fi - dnl SCO uses chsize() instead of ftruncate() AC_CHECK_FUNCS(ftruncate, , [AC_CHECK_LIB(x, chsize)]) @@ -1193,6 +1170,7 @@ AC_SUBST(HTMLCLEAN_CMD) AC_OUTPUT(Makefile intl/Makefile m4/Makefile po/Makefile.in doc/Makefile contrib/Makefile muttbug.sh + lib-lib/Makefile lib/Makefile imap/Makefile pop/Makefile