Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 477758 | Differences between
and this patch

Collapse All | Expand All

(-)a/configure.ac (-3 / +3 lines)
Lines 47-52 AC_ARG_ENABLE(lib64, Link Here
47
	enable_lib64=yes)
47
	enable_lib64=yes)
48
AC_SUBST(enable_lib64)
48
AC_SUBST(enable_lib64)
49
49
50
librt="-lrt"
51
AC_SUBST(librt)
52
50
#
53
#
51
# If the user specified a libdir ending in lib64 do not append another
54
# If the user specified a libdir ending in lib64 do not append another
52
# 64 to the library names.
55
# 64 to the library names.
Lines 92-100 AC_PACKAGE_GLOBALS(xfsprogs) Link Here
92
AC_PACKAGE_UTILITIES(xfsprogs)
95
AC_PACKAGE_UTILITIES(xfsprogs)
93
AC_MULTILIB($enable_lib64)
96
AC_MULTILIB($enable_lib64)
94
97
95
AC_PACKAGE_NEED_AIO_H
96
AC_PACKAGE_NEED_LIO_LISTIO
97
98
AC_PACKAGE_NEED_UUID_H
98
AC_PACKAGE_NEED_UUID_H
99
AC_PACKAGE_NEED_UUIDCOMPARE
99
AC_PACKAGE_NEED_UUIDCOMPARE
100
100
(-)a/m4/Makefile (-1 lines)
Lines 14-20 CONFIGURE = \ Link Here
14
14
15
LSRCFILES = \
15
LSRCFILES = \
16
	manual_format.m4 \
16
	manual_format.m4 \
17
	package_aiodev.m4 \
18
	package_blkid.m4 \
17
	package_blkid.m4 \
19
	package_globals.m4 \
18
	package_globals.m4 \
20
	package_libcdev.m4 \
19
	package_libcdev.m4 \
(-)a/m4/package_aiodev.m4 (-37 lines)
Lines 1-37 Link Here
1
#
2
# Check if we have a libaio.h installed
3
#
4
AC_DEFUN([AC_PACKAGE_WANT_AIO],
5
  [ AC_CHECK_HEADERS(libaio.h, [ have_aio=true ], [ have_aio=false ])
6
    AC_SUBST(have_aio)
7
  ])
8
9
#
10
# Check if we have an aio.h installed
11
#
12
AC_DEFUN([AC_PACKAGE_NEED_AIO_H],
13
  [ AC_CHECK_HEADERS(aio.h)
14
    if test $ac_cv_header_aio_h = no; then
15
	echo
16
	echo 'FATAL ERROR: could not find a valid <aio.h> header.'
17
	exit 1
18
    fi
19
  ])
20
21
#
22
# Check if we have the lio_listio routine in either libc/librt
23
#
24
AC_DEFUN([AC_PACKAGE_NEED_LIO_LISTIO],
25
  [ AC_CHECK_FUNCS(lio_listio)
26
    if test $ac_cv_func_lio_listio = yes; then
27
	librt=""
28
    else
29
	AC_CHECK_LIB(rt, lio_listio,, [
30
	    echo
31
	    echo 'FATAL ERROR: could not find a library with lio_listio.'
32
	    exit 1],[-lpthread])
33
	librt="-lrt"
34
    fi
35
    AC_SUBST(librt)
36
  ])
37
1
38
- 

Return to bug 477758