Commit 7e3aed5f authored by Brian Cameron's avatar Brian Cameron Committed by Brian Cameron

Make check an optional dependency. Add needed includes to build on

2008-02-01  Brian Cameron  <brian.cameron@sun.com>

        * configure.ac:  Make check an optional dependency.
        * common/gdm-address.c: Add needed includes to build on
          Solaris.

svn path=/trunk/; revision=5680
parent da22a147
2008-02-01 Brian Cameron <brian.cameron@sun.com>
* configure.ac: Make check an optional dependency.
* common/gdm-address.c: Add needed includes to build on
Solaris.
2008-02-01 William Jon McCann <mccann@jhu.edu>
* daemon/gdm-factory-slave.c: (on_greeter_session_start),
......
......@@ -25,10 +25,12 @@
#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
#include <stropts.h>
#include <string.h>
#ifdef HAS_SYS_SOCKET
#include <sys/socket.h>
#endif
#include <sys/sockio.h>
#include <netdb.h>
#include <sys/ioctl.h>
#include <net/if.h>
......
......@@ -142,7 +142,10 @@ AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal)
AC_PATH_XTRA
# Unit testing framework
PKG_CHECK_MODULES(CHECK,[check >= 0.9.4])
PKG_CHECK_MODULES(CHECK,
[check >= 0.9.4],
have_check=yes,
have_check=no)
AM_CONDITIONAL([HAVE_CHECK],[test "x$CHECK_CFLAGS" != "x"])
AC_PATH_PROG(GCONFTOOL, gconftool-2)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment