On Tue, 27 Mar 2012, yanjing.guo wrote:

> Hi,
> 
> The autoconf 2.68 have some problem with parsing the pointer syntax '->' ,
> such as the opensolaris patch: pidgin-14-ifaddrs.diff:
> 
> +AC_CHECK_MEMBERS(struct ifaddrs.ifa_addr->ss_family,[],[],[[ #include
> <ifaddrs.h>
> +#include <net/if.h> ]])
> 
> 
> After the command: aclocal $ACLOCAL_FLAGS -I . with configure.ac, the failure
> output is as followed:
> 
> configure.ac:164: error: AC_CHECK_MEMBER: requires literal arguments

Try 

AC_CHECK_MEMBERS([struct ifaddrs.ifa_addr->ss_family],[],[],
[[ #include <ifaddrs.h>
#include <net/if.h> ]])


-- 
Tim Rice                                Multitalents
[email protected]



_______________________________________________
Autoconf mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to