summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 27767c7)
raw | patch | inline | side by side (parent: 27767c7)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Fri, 26 Dec 2008 08:05:03 +0000 (08:05 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Fri, 26 Dec 2008 08:05:03 +0000 (08:05 +0000) |
program/configure.ac | patch | blob | history | |
program/src/rrd_graph.h | patch | blob | history |
diff --git a/program/configure.ac b/program/configure.ac
index 0d39a7b41dbaf29fd36bb402e08aee140b6c3ed1..6cc2767edc21c4eed095f2e3f4541eec6919abf6 100644 (file)
--- a/program/configure.ac
+++ b/program/configure.ac
dnl Checks for header files.
AC_HEADER_STDC
AC_HEADER_DIRENT
-AC_CHECK_HEADERS(features.h sys/stat.h sys/types.h fcntl.h locale.h fp_class.h malloc.h unistd.h ieeefp.h math.h sys/times.h sys/param.h sys/resource.h signal.h float.h stdio.h stdlib.h errno.h string.h ctype.h)
+AC_CHECK_HEADERS(libgen.h features.h sys/stat.h sys/types.h fcntl.h locale.h fp_class.h malloc.h unistd.h ieeefp.h math.h sys/times.h sys/param.h sys/resource.h signal.h float.h stdio.h stdlib.h errno.h string.h ctype.h)
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
index 3f9a3f19fba4740645e9cec1cdb78152fa067dac..25e9db227c03fa3ca242cd5e83ef23ae413742db 100644 (file)
--- a/program/src/rrd_graph.h
+++ b/program/src/rrd_graph.h
#include <cairo-ps.h>
#include <pango/pangocairo.h>
+#ifdef HAVE_LIBGEN_H
+/* for basename */
+# include <libgen.h>
+#endif
+
#include "rrd_tool.h"
#include "rrd_rpncalc.h"