summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 01f1a5a)
raw | patch | inline | side by side (parent: 01f1a5a)
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 a7008312f8120469a5212f32438d150599d3610f..049e9d0de0c76f000b3d0ffffaec14cbf70f47ba 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 a42b20b60dee845b2a118fd5b46c4a6dd3027c58..1cab51e2242d1d6b04ad59e9efab63ff91966f7e 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"