Skip to content

Commit

Permalink
R: check for headers used in uuid, should fix #771
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi committed Dec 2, 2014
1 parent 952a176 commit 4784c5d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions interfaces/R/igraph/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,23 @@ LIBS=$LIBS_SAVE
AC_CHECK_HEADER([sys/times.h],
[AC_DEFINE([HAVE_TIMES_H], [1], [Define to 1 if you have the sys/times.h header])])

AC_CHECK_HEADERS([ \
net/if.h \
netinet/in.h \
net/if_dl.h \
sys/sockio.h \
sys/un.h \
sys/socket.h \
sys/ioctl.h \
sys/time.h \
sys/file.h \
])

AC_CHECK_MEMBER([struct sockaddr.sa_len],
AC_DEFINE_UNQUOTED([HAVE_SA_LEN], [1], [Define if struct sockaddr contains sa_len]), [],
[#include <sys/types.h>
#include <sys/socket.h>])

graphml_support=yes
AC_ARG_ENABLE(graphml,
AC_HELP_STRING([--disable-graphml], [Disable support for GraphML format]),
Expand Down

0 comments on commit 4784c5d

Please sign in to comment.