]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
configure: remove aio.h check
authorJoshua Kinard <kumba@gentoo.org>
Thu, 4 Feb 2016 21:35:37 +0000 (08:35 +1100)
committerDave Chinner <david@fromorbit.com>
Thu, 4 Feb 2016 21:35:37 +0000 (08:35 +1100)
Remove the configure check for aio.h, which is not provided by uClibc, and
which does not appear to be used by xfsprogs.

Refer to Gentoo Bug #477758:
https://bugs.gentoo.org/show_bug.cgi?id=477758

Signed-off-by: Joshua Kinard <kumba@gentoo.org>
Reported-by: El Goretto <el.goretto@free.fr>
Suggested-by: René Rhéaume <rene.rheaume@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
configure.ac
m4/Makefile
m4/package_aiodev.m4

index feee50a0e03c7308b6c304b5db4aa026e3d6c215..b96a81d20b6583460750b03b4730198718f2bc0e 100644 (file)
@@ -56,6 +56,9 @@ AC_ARG_ENABLE(lib64,
        enable_lib64=yes)
 AC_SUBST(enable_lib64)
 
+librt="-lrt"
+AC_SUBST(librt)
+
 #
 # If the user specified a libdir ending in lib64 do not append another
 # 64 to the library names.
@@ -101,9 +104,6 @@ AC_PACKAGE_GLOBALS(xfsprogs)
 AC_PACKAGE_UTILITIES(xfsprogs)
 AC_MULTILIB($enable_lib64)
 
-AC_PACKAGE_NEED_AIO_H
-AC_PACKAGE_NEED_LIO_LISTIO
-
 AC_PACKAGE_NEED_UUID_H
 AC_PACKAGE_NEED_UUIDCOMPARE
 
index 654a4fb8c2f2a371d03d13f50fcb8a88fbcde712..d282f0afc38c756bf47c42e5a069eed8f477d426 100644 (file)
@@ -14,7 +14,6 @@ CONFIGURE = \
 
 LSRCFILES = \
        manual_format.m4 \
-       package_aiodev.m4 \
        package_blkid.m4 \
        package_globals.m4 \
        package_libcdev.m4 \
index 5510d1538910f66f2afdd23dca794aa69cbd6f0e..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,36 +0,0 @@
-#
-# Check if we have a libaio.h installed
-#
-AC_DEFUN([AC_PACKAGE_WANT_AIO],
-  [ AC_CHECK_HEADERS(libaio.h, [ have_aio=true ], [ have_aio=false ])
-    AC_SUBST(have_aio)
-  ])
-
-#
-# Check if we have an aio.h installed
-#
-AC_DEFUN([AC_PACKAGE_NEED_AIO_H],
-  [ AC_CHECK_HEADERS(aio.h)
-    if test $ac_cv_header_aio_h = no; then
-       echo
-       echo 'FATAL ERROR: could not find a valid <aio.h> header.'
-       exit 1
-    fi
-  ])
-
-#
-# Check if we have the lio_listio routine in either libc/librt
-#
-AC_DEFUN([AC_PACKAGE_NEED_LIO_LISTIO],
-  [ AC_CHECK_FUNCS(lio_listio)
-    if test $ac_cv_func_lio_listio = yes; then
-       librt=""
-    else
-       AC_CHECK_LIB(rt, lio_listio,, [
-           echo
-           echo 'FATAL ERROR: could not find a library with lio_listio.'
-           exit 1],[-lpthread])
-       librt="-lrt"
-    fi
-    AC_SUBST(librt)
-  ])