Ticket #37549: patch-configure.ac.diff

File patch-configure.ac.diff, 756 bytes (added by ryandesign (Ryan Schmidt), 4 years ago)

proposed patch

  • configure.ac

    old new  
    2525dnl #########################################################################
    2626
    2727AC_INIT(smtp-api.c)
    28 AM_CONFIG_HEADER(config.h)
     28AC_CONFIG_HEADERS([config.h])
    2929AM_INIT_AUTOMAKE([libesmtp],[1.0.6])
    3030AC_CANONICAL_HOST
    3131AC_CONFIG_MACRO_DIR([m4])
     
    539539dnl #########################################################################
    540540
    541541AC_REPLACE_FUNCS(strdup strcasecmp strncasecmp memrchr)
    542 AC_CHECK_FUNCS(strtol uname gethostname gettimeofday)
     542AC_CHECK_FUNCS(strtol uname gethostname gettimeofday snprintf vsnprintf)
    543543AC_SEARCH_LIBS(socket, socket)
    544544
    545545dnl Conditional check for functions needed in threaded code