Ignore:
Timestamp:
Sep 9, 2006 8:05:33 PM (18 years ago)
Author:
bennylp
Message:

Added PJ_HAS_SOCKLEN_T test in configure script (some MacOS X have it, some dont)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/aconfigure.ac

    r689 r697  
    111111                  AC_MSG_RESULT(no)) 
    112112 
     113# Determine if socklen_t is available 
     114AC_MSG_CHECKING([if socklen_t is available]) 
     115AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>]], 
     116                                   [socklen_t xxx = 0;])], 
     117                  [AC_DEFINE(PJ_HAS_SOCKLEN_T,1) 
     118                   AC_MSG_RESULT(yes)], 
     119                  AC_MSG_RESULT(no)) 
     120 
    113121# Determine if SO_ERROR is available 
    114122AC_MSG_CHECKING([if SO_ERROR is available]) 
Note: See TracChangeset for help on using the changeset viewer.