Difference for ./configure.ac from version 1.11 to 1.12


version 1.11 version 1.12
Line 1
 
Line 1
 dnl Process this file with autoconf to produce a configure script.  dnl Process this file with autoconf to produce a configure script.
   
 AC_REVISION($Id: configure.ac,v 1.11 2005/01/24 07:55:44 mwedel Exp $)  AC_REVISION($Id: configure.ac,v 1.12 2005/05/07 11:51:19 tchize Exp $)
 AC_INIT([crossfire], [1.7.0], [crossfire-devel@listserv.real-time.com])  AC_INIT([crossfire], [1.7.0], [crossfire-devel@listserv.real-time.com])
 AC_CONFIG_AUX_DIR(utils)  AC_CONFIG_AUX_DIR(utils)
 AC_CONFIG_SRCDIR([server/main.c])  AC_CONFIG_SRCDIR([server/main.c])
Line 148
 
Line 148
 AC_FUNC_VPRINTF  AC_FUNC_VPRINTF
 AC_CHECK_FUNCS(gettimeofday mkdir mktime rmdir select socket strcspn strerror strspn strstr strtol strcasecmp strncasecmp snprintf setsid srandom getdtablesize srand48 srand sysconf scandir)  AC_CHECK_FUNCS(gettimeofday mkdir mktime rmdir select socket strcspn strerror strspn strstr strtol strcasecmp strncasecmp snprintf setsid srandom getdtablesize srand48 srand sysconf scandir)
   
   dnl alphasort can not be added to AC_CHECK_FUNCS because
   AC_MSG_CHECKING(checking if alphasort is defined)
     AC_TRY_COMPILE([#include <dirent.h>], [alphasort;],
       ac_cv_func_alphasort=yes, ac_cv_func_alphasort=no)
     if test "$ac_cv_func_alphasort" = yes; then
       AC_DEFINE(HAVE_ALPHASORT, 1, [Define if you have the alphasort() function declaration.])
       AC_MSG_RESULT(yes)
     else
       AC_MSG_RESULT(no)
     fi
   
   
   
 AC_MSG_CHECKING(how many args gettimeofday uses)  AC_MSG_CHECKING(how many args gettimeofday uses)
 AC_CACHE_VAL(ac_cv_gettimeofday_args,  AC_CACHE_VAL(ac_cv_gettimeofday_args,
  [AC_TRY_COMPILE([#include <sys/time.h>   [AC_TRY_COMPILE([#include <sys/time.h>
Line 157
 
Line 170
  [ac_gettimeofday_args=2],   [ac_gettimeofday_args=2],
  [AC_TRY_COMPILE([#include <sys/time.h>   [AC_TRY_COMPILE([#include <sys/time.h>
  #include <unistd.h>],   #include <unistd.h>],
    [struct timeval tv;
    gettimeofday(&tv, NULL);],
    [ac_gettimeofday_args=2],
    [AC_TRY_COMPILE([#include <sys/time.h>
    #include <unistd.h>],
  [struct timeval tv; gettimeofday(&tv);],   [struct timeval tv; gettimeofday(&tv);],
  [ac_gettimeofday_args=1],   [ac_gettimeofday_args=1],
  [ac_gettimeofday_args=0])])   [ac_gettimeofday_args=0])])])
   ac_cv_gettimeofday_args=$ac_gettimeofday_args])    ac_cv_gettimeofday_args=$ac_gettimeofday_args])
   
 ac_gettimeofday_args=$ac_cv_gettimeofday_args  ac_gettimeofday_args=$ac_cv_gettimeofday_args


Legend:
line(s) removed in v.1.11 
line(s) changed
 line(s) added in v.1.12

File made using version 1.98 of cvs2html by leaf at 2011-07-21 16:57