SHORTTERM
-- single-file documentation (a docbook?)
- handle international filenames more gracefully (unicode API?)
- most is multithreaded ... but zzip_dir_open (Thorsten Schöning)
- rboerdijk@ does also report errors on overlapping reads, another
one pointed to the usage of seek_set that may cause the problems
-- extend aligned-access check in the autoconf macro such that it can
- cover the cross-compiling case - libpcap AC_LBL_UNALIGNED_ACCESS
- uses alpha*|arm*|bfin*|hp*|mips*|sh*|sparc*|ia64|nv1)
- ac_cv_lbl_unaligned_fail=yes
- for that.
WISHLIST
problems easily. Send patches! (especially Linux distributions makers
are usually not sending their patches to upstream maintainers).
+Note: the latest cross platform tests are done indirectly by using
+the build.opensuse.org rpm packaging where one can run "make check"
+just before doing the "make install" of the compiled library.
dnl
dnl @category C
dnl @author Guido U. Draheim <guidod@gmx.de>
-dnl @version 2006-08-17
+dnl @version 2009-05-22
dnl @license GPLWithACException
AC_DEFUN([AX_CHECK_ALIGNED_ACCESS_REQUIRED],
[AC_CACHE_CHECK([if pointers to integers require aligned access],
[ax_cv_have_aligned_access_required],
+if test "$cross_compiling" = "yes"; then
+ case "$host_cpu" in alpha*|arm*|bfin*|hp*|mips*|sh*|sparc*|ia64|nv1)
+ ax_cv_have_aligned_access_required="yes"
+ ;; *)
[AC_TRY_RUN([
#include <stdio.h>
#include <stdlib.h>
[ax_cv_have_aligned_access_required=no],
[ax_cv_have_aligned_access_required=no])
])
+;; esac
if test "$ax_cv_have_aligned_access_required" = yes ; then
AC_DEFINE([HAVE_ALIGNED_ACCESS_REQUIRED], [1],
[Define if pointers to integers require aligned access])