summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1677d10)
raw | patch | inline | side by side (parent: 1677d10)
author | rwst <rwst@users.sourceforge.net> | |
Thu, 13 Jul 2006 09:45:29 +0000 (09:45 +0000) | ||
committer | rwst <rwst@users.sourceforge.net> | |
Thu, 13 Jul 2006 09:45:29 +0000 (09:45 +0000) |
configure.ac | patch | blob | history | |
src/dom/io/socket.cpp | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index e52f206509aac741799946f95f740dd6f1dc3236..ad213e3f2694fd675b4ede54301069bd89754a29 100644 (file)
--- a/configure.ac
+++ b/configure.ac
AC_MSG_ERROR(You have to install pkg-config to compile inkscape.)
fi
+dnl ******************************
+dnl Check for libpng
+dnl ******************************
AC_CHECK_LIB(png, png_read_info, [AC_CHECK_HEADER(png.h, png_ok=yes, png_ok=no)], png_ok=no, -lz -lm)
if test "x$png_ok" != "xyes"; then
AC_MSG_ERROR([libpng >= 1.2 is needed to compile inkscape])
AC_MSG_ERROR([libgc (the Boehm Conservative Collector) 6.4+, is needed to compile inkscape -- http://www.hpl.hp.com/personal/Hans_Boehm/gc])
fi
+dnl This check is to get a FIONREAD definition on Solaris 8
+AC_CHECK_HEADERS([sys/filio.h])
+
+
AC_CHECK_HEADERS([malloc.h])
AC_CHECK_FUNCS([mallinfo], [
AC_CHECK_MEMBERS([struct mallinfo.usmblks,
diff --git a/src/dom/io/socket.cpp b/src/dom/io/socket.cpp
index 30d5829fd03d06736a7542ac7e700a18b54f278c..31eeb56bad3a0a0fd8ac9e2bb9af5ad79fc3d772 100644 (file)
--- a/src/dom/io/socket.cpp
+++ b/src/dom/io/socket.cpp
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#ifdef HAVE_SYS_FILIO_H
+#include <sys/filio.h> // needed on Solaris 8
+#endif
+
#include "socket.h"
#include "dom/util/thread.h"