Ignore:
Timestamp:
Jun 15, 2010 5:21:43 AM (14 years ago)
Author:
bennylp
Message:

Misc fixes (re #1068): fixed aconfigure to handle the case where ifaddrs.h is present but the functions are not available, as reported to happen with uClibc (thanks Jones Desougi for the patch)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/aconfigure.ac

    r3181 r3205  
    189189                 ]) 
    190190AC_CHECK_HEADER(netinet/tcp.h,[AC_DEFINE(PJ_HAS_NETINET_TCP_H,1)]) 
    191 AC_CHECK_HEADER(ifaddrs.h,[AC_DEFINE(PJ_HAS_IFADDRS_H,1)]) 
     191AC_CHECK_HEADER(ifaddrs.h, 
     192                [AC_CHECK_FUNC(getifaddrs,[AC_DEFINE(PJ_HAS_IFADDRS_H,1)])]) 
    192193AC_CHECK_HEADER(semaphore.h,[AC_DEFINE(PJ_HAS_SEMAPHORE_H,1)]) 
    193194AC_CHECK_HEADER(setjmp.h,[AC_DEFINE(PJ_HAS_SETJMP_H,1)]) 
Note: See TracChangeset for help on using the changeset viewer.