Commit 23867875 authored by Emmanuele Bassi's avatar Emmanuele Bassi

build: Remove unused checks on platform functions

There is no need for us to check for low-level functions and header
files, especially since we haven't been checking the results until
now. This makes cross-compiling slightly more bearable.
parent ce6a24eb
...@@ -23,17 +23,13 @@ ...@@ -23,17 +23,13 @@
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
#ifndef _HAVE_CLUTTER_PRIVATE_H #ifndef __CLUTTER_PRIVATE_H__
#define _HAVE_CLUTTER_PRIVATE_H #define __CLUTTER_PRIVATE_H__
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <math.h> #include <math.h>
#include <glib.h> #include <glib.h>
......
...@@ -26,14 +26,15 @@ ...@@ -26,14 +26,15 @@
#include <glib/gi18n-lib.h> #include <glib/gi18n-lib.h>
#include <string.h> #include <string.h>
#include <sys/types.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h> #include <unistd.h>
#endif
#include <sys/stat.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <fcntl.h> #include <fcntl.h>
#include <errno.h> #include <errno.h>
#include "clutter-backend-x11.h" #include "clutter-backend-x11.h"
......
...@@ -23,6 +23,10 @@ ...@@ -23,6 +23,10 @@
#include "config.h" #include "config.h"
#endif #endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include "clutter-backend-x11.h" #include "clutter-backend-x11.h"
#include "clutter-stage-x11.h" #include "clutter-stage-x11.h"
#include "clutter-x11.h" #include "clutter-x11.h"
......
...@@ -91,20 +91,14 @@ dnl ======================================================================== ...@@ -91,20 +91,14 @@ dnl ========================================================================
AM_PROG_CC_C_O AM_PROG_CC_C_O
AC_DISABLE_STATIC AC_DISABLE_STATIC
AC_PROG_LIBTOOL AC_PROG_LIBTOOL
DOLT
# Disable dolt; we should depend on libtool 2.2
#DOLT
# Checks for header files. # Checks for header files.
AC_HEADER_STDC AC_HEADER_STDC
AC_CHECK_HEADERS([fcntl.h stdlib.h string.h unistd.h])
# Checks for typedefs, structures, and compiler characteristics. # Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
# Checks for library functions.
AC_FUNC_MALLOC
AC_FUNC_MMAP
AC_CHECK_FUNCS([memset memcpy strcasecmp])
AC_PATH_PROG([GLIB_MKENUMS], [glib-mkenums]) AC_PATH_PROG([GLIB_MKENUMS], [glib-mkenums])
AC_PATH_PROG([GLIB_GENMARSHAL], [glib-genmarshal]) AC_PATH_PROG([GLIB_GENMARSHAL], [glib-genmarshal])
......
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