summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b52501e)
raw | patch | inline | side by side (parent: b52501e)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sat, 12 Apr 2008 09:29:10 +0000 (09:29 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sat, 12 Apr 2008 09:29:10 +0000 (09:29 +0000) |
MakeMakefile | patch | blob | history | |
configure.ac | patch | blob | history |
diff --git a/MakeMakefile b/MakeMakefile
index ba642cf92a2aa6f2fc369078b38c9bb910219556..057c6296a8a9490ab044400cac32bd5cd954800b 100755 (executable)
--- a/MakeMakefile
+++ b/MakeMakefile
else
automake=automake-1.9
aclocal="aclocal-1.9"
- for d in /usr/pack/automake-1.9.5-to/share/aclocal-1.9 /usr/share/aclocal-1.9 /usr/pack/rrdtool-1.3svn-to/share/aclocal /usr/pack/intltool-0.37.0-to/share/aclocal ; do
+ for d in /usr/pack/automake-1.9.5-to/share/aclocal-1.9 /usr/share/aclocal-1.9 /usr/share/aclocal /usr/pack/rrdtool-1.3svn-to/share/aclocal /usr/pack/intltool-0.37.0-to/share/aclocal ; do
[ -d $d ] && aclocal="$aclocal -I $d"
done
fi
diff --git a/configure.ac b/configure.ac
index 48c03c649540b75778bc209631647117db3147a7..a0bd955011706ed6a1c2da0250fb06a5602c5a56 100644 (file)
--- a/configure.ac
+++ b/configure.ac
# include <features.h>
#endif
+/* FreeBSD 4.8 wants this included BEFORE sys/types.h */
+#ifdef HAVE_SYS_MMAN_H
+# include <sys/mman.h>
+#endif
+
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
# include <errno.h>
#endif
-#ifdef HAVE_SYS_MMAN_H
-# include <sys/mman.h>
-#endif
-
#if !defined HAVE_MADVISE && defined HAVE_POSIX_MADVISE
/* use posix_madvise family */
# define madvise posix_madvise