From 7425a1fb94da5f2f5c0542a73009c93f35776078 Mon Sep 17 00:00:00 2001 From: mquinson Date: Fri, 31 Dec 2004 12:04:11 +0000 Subject: [PATCH] Properly check for errno and unistd; don't check for old generation SimGrid as we prepare to get funky git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@712 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- configure.ac | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/configure.ac b/configure.ac index d733f15e9d..f0b004f94c 100644 --- a/configure.ac +++ b/configure.ac @@ -47,7 +47,8 @@ AC_HEADER_TIME AC_CHECK_HEADERS([sys/socket.h winsock.h winsock2.h \ sys/stat.h \ ucontext.h \ - sys/time.h ]) + sys/time.h \ + errno.h unistd.h ]) AC_CHECK_FUNCS([gettimeofday \ getdtablesize \ sysconf]) @@ -74,13 +75,13 @@ GTK_DOC_CHECK() AC_SUBST([htmldir], ['${datadir}/doc/gras/html'])dnl dnl ####[ Search libs ]####################################################### -ACI_PACKAGE([SimGrid],[the SimGrid simulator],[SG_init],[-lsimgrid],[simgrid.h],,:) -AM_CONDITIONAL(HAVE_SG,test x$HAVE_SimGrid = xyes) -if test x$HAVE_SimGrid = xyes; then - GRAS_SG_DEP="-lsimgrid" -else +dnl A CI_PACKAGE([S imGrid],[the SimGrid simulator],[SG_init],[-lsimgrid],[simgrid.h],,:) +dnl A M_CONDITIONAL(HAVE_SG,test x$HAVE_SimGrid = xyes) +dnl if test x$HAVE_SimGrid = xyes; then +dnl GRAS_SG_DEP="-lsimgrid" +dnl else GRAS_SG_DEP="" -fi +dnl fi AC_SUBST([GRAS_SG_DEP]) -- 2.20.1