summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2000-03-16 14:27:04 +0000
committerjbj <devnull@localhost>2000-03-16 14:27:04 +0000
commite745a2dd07345b508c0365a04e8c389978ff4262 (patch)
treebdb44f23ecfbc3e9deb762bd73945dc386f634cc
parentcf68a32ca6fca6aa2118683bd2c7c0cf83bba91c (diff)
downloadlibrpm-tizen-e745a2dd07345b508c0365a04e8c389978ff4262.tar.gz
librpm-tizen-e745a2dd07345b508c0365a04e8c389978ff4262.tar.bz2
librpm-tizen-e745a2dd07345b508c0365a04e8c389978ff4262.zip
configure.in fiddles for BSD systems (Patrick Schoo).
CVS patchset: 3631 CVS date: 2000/03/16 14:27:04
-rw-r--r--CHANGES1
-rw-r--r--configure.in7
2 files changed, 6 insertions, 2 deletions
diff --git a/CHANGES b/CHANGES
index 4e1ed36c0..901b4627b 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,6 @@
3.0.4 -> 3.1
- use DIRNAMES/BASENAMES/DIRINDICES not FILENAMES in packages and db.
+ - configure.in fiddles for BSD systems (Patrick Schoo).
3.0.3 -> 3.0.4
- use compressed filenames on install side.
diff --git a/configure.in b/configure.in
index 2c8f65d0d..31e543f0b 100644
--- a/configure.in
+++ b/configure.in
@@ -149,7 +149,7 @@ if test "$cross_compiling" != "yes"; then
dnl
dnl Set search path for common programs
dnl
- MYPATH="/bin:/usr/bin:/usr/local/bin:$PATH:/opt/gnu/bin"
+ MYPATH="/bin:/usr/bin:/usr/local/bin:$PATH:/sbin:/usr/sbin:/usr/local/sbin:/opt/gnu/bin"
dnl
dnl Find some common programs
@@ -381,7 +381,7 @@ AC_CHECK_HEADERS(sys/mman.h sys/resource.h sys/utsname.h sys/wait.h)
AC_CHECK_HEADERS(netinet/in_systm.h)
AC_CHECK_HEADERS(machine/types.h)
AC_CHECK_HEADERS(mntent.h sys/mnttab.h sys/systemcfg.h)
-AC_CHECK_HEADERS(sys/mount.h sys/mntctl.h sys/vmount.h)
+AC_CHECK_HEADERS(sys/mount.h sys/mntctl.h sys/param.h sys/vmount.h)
AC_CHECK_HEADERS(bzlib.h libio.h zlib.h)
AC_CHECK_HEADERS(err.h mcheck.h)
@@ -458,6 +458,9 @@ AC_TRY_COMPILE([
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
+#ifdef HAVE_SYS_PARAM_H
+#include <sys/param.h>
+#endif
#include <sys/mount.h> ],
[struct statfs sfs;],
[AC_MSG_RESULT(in sys/mount.h)