summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes5
-rw-r--r--config.h.in41
-rw-r--r--configure.ac3
-rw-r--r--eio.c4
-rw-r--r--libeio.m41
5 files changed, 9 insertions, 45 deletions
diff --git a/Changes b/Changes
new file mode 100644
index 0000000..3164d86
--- /dev/null
+++ b/Changes
@@ -0,0 +1,5 @@
+Revision history for libeio
+
+1.0
+ - "outbundled" from IO::AIO.
+
diff --git a/config.h.in b/config.h.in
index 210b22a..aad72ee 100644
--- a/config.h.in
+++ b/config.h.in
@@ -1,7 +1,4 @@
-/* config.h.in. Generated from configure.ac by autoheader. */
-
-/* Define to 1 if you have the <dlfcn.h> header file. */
-#undef HAVE_DLFCN_H
+/* libeio/config.h.in. Generated from configure.ac by autoheader. */
/* fdatasync(2) is available */
#undef HAVE_FDATASYNC
@@ -9,12 +6,6 @@
/* futimes(2) is available */
#undef HAVE_FUTIMES
-/* Define to 1 if you have the <inttypes.h> header file. */
-#undef HAVE_INTTYPES_H
-
-/* Define to 1 if you have the <memory.h> header file. */
-#undef HAVE_MEMORY_H
-
/* pread(2) and pwrite(2) are available */
#undef HAVE_PREADWRITE
@@ -27,30 +18,6 @@
/* sendfile(2) is available and supported */
#undef HAVE_SENDFILE
-/* Define to 1 if you have the <stdint.h> header file. */
-#undef HAVE_STDINT_H
-
-/* Define to 1 if you have the <stdlib.h> header file. */
-#undef HAVE_STDLIB_H
-
-/* Define to 1 if you have the <strings.h> header file. */
-#undef HAVE_STRINGS_H
-
-/* Define to 1 if you have the <string.h> header file. */
-#undef HAVE_STRING_H
-
-/* Define to 1 if you have the <sys/stat.h> header file. */
-#undef HAVE_SYS_STAT_H
-
-/* Define to 1 if you have the <sys/types.h> header file. */
-#undef HAVE_SYS_TYPES_H
-
-/* Define to 1 if you have the <unistd.h> header file. */
-#undef HAVE_UNISTD_H
-
-/* Name of package */
-#undef PACKAGE
-
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
@@ -66,11 +33,5 @@
/* Define to the version of this package. */
#undef PACKAGE_VERSION
-/* Define to 1 if you have the ANSI C header files. */
-#undef STDC_HEADERS
-
-/* Version number of package */
-#undef VERSION
-
/* _GNU_SOURCE required for readahead (linux) */
#undef _GNU_SOURCE
diff --git a/configure.ac b/configure.ac
index 5d2ea5d..4af457d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,9 +3,8 @@ AC_INIT
AC_CONFIG_SRCDIR([eio.h])
AC_CONFIG_HEADERS([config.h])
-AM_INIT_AUTOMAKE(libev,3.31)
+AM_INIT_AUTOMAKE(libeio,1.0)
AM_MAINTAINER_MODE
-AC_PROG_INSTALL
AC_PROG_LIBTOOL
AC_PROG_CC
diff --git a/eio.c b/eio.c
index 3ef90ec..c572738 100644
--- a/eio.c
+++ b/eio.c
@@ -586,9 +586,9 @@ static ssize_t aio_readahead (int fd, off_t offset, size_t count, worker *self)
static mutex_t readdirlock = X_MUTEX_INIT;
-static int readdir_r (DIR *dirp, X_DIRENT *ent, X_DIRENT **res)
+static int readdir_r (DIR *dirp, EIO_STRUCT_DIRENT *ent, EIO_STRUCT_DIRENT **res)
{
- X_DIRENT *e;
+ EIO_STRUCT_DIRENT *e;
int errorno;
X_LOCK (readdirlock);
diff --git a/libeio.m4 b/libeio.m4
index d2b8030..d9776f5 100644
--- a/libeio.m4
+++ b/libeio.m4
@@ -33,7 +33,6 @@ int main(void)
}
],ac_cv_readahead=yes,ac_cv_readahead=no)])
test $ac_cv_readahead = yes && AC_DEFINE(HAVE_READAHEAD, 1, readahead(2) is available (linux))
-test $ac_cv_readahead = yes && AC_DEFINE(_GNU_SOURCE, 1, _GNU_SOURCE required for readahead (linux))
AC_CACHE_CHECK(for fdatasync, ac_cv_fdatasync, [AC_LINK_IFELSE([
#include <unistd.h>