mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
391f5f087e
This is a squash of the following cherry-picked commits:40a29bf05540c7e95210893a804c9512037b3f29193c3913b6430ab5f9b30c6d461cc986396c6a49Short summary: - version is bumped to 1.7.0 - Makefile and patches are updated and cleaned - adds myself as maintainer - improves the cross-compile setup (via configure variables, patches & sed scripts) For more details please check the individual commits provided above. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
26 lines
849 B
Diff
26 lines
849 B
Diff
--- a/configure.in
|
|
+++ b/configure.in
|
|
@@ -1191,8 +1191,9 @@ AC_CHECK_FILE(/dev/zero)
|
|
# Not all systems can mmap /dev/zero (such as HP-UX). Check for that.
|
|
if test "$ac_cv_func_mmap" = "yes" &&
|
|
test "$ac_cv_file__dev_zero" = "yes"; then
|
|
- AC_MSG_CHECKING(for mmap that can map /dev/zero)
|
|
- AC_TRY_RUN([
|
|
+ AC_CACHE_CHECK([for mmap that can map /dev/zero],
|
|
+ [ac_cv_mmap__dev_zero],
|
|
+ [AC_TRY_RUN([
|
|
#include <sys/types.h>
|
|
#include <sys/stat.h>
|
|
#include <fcntl.h>
|
|
@@ -1215,9 +1216,7 @@ if test "$ac_cv_func_mmap" = "yes" &&
|
|
return 3;
|
|
}
|
|
return 0;
|
|
- }], [], [ac_cv_file__dev_zero=no], [ac_cv_file__dev_zero=no])
|
|
-
|
|
- AC_MSG_RESULT($ac_cv_file__dev_zero)
|
|
+ }], [], [ac_cv_file__dev_zero=no], [ac_cv_file__dev_zero=no])])
|
|
fi
|
|
|
|
# Now we determine which one is our anonymous shmem preference.
|