1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
These macros are underquoted and break with recent autoconf+automake
combinations.
RP 1/2/10
Index: e2fsprogs-1.41.5/configure.in
===================================================================
--- e2fsprogs-1.41.5.orig/configure.in 2010-02-01 11:40:10.547790252 +0000
+++ e2fsprogs-1.41.5/configure.in 2010-02-01 11:44:51.577876485 +0000
@@ -397,11 +397,11 @@
AC_MSG_ERROR([pkg-config not installed; please install it.])
fi
- AC_CHECK_LIB(blkid, blkid_get_cache,
+ [AC_CHECK_LIB(blkid, blkid_get_cache,
[LIBBLKID=`$PKG_CONFIG --libs blkid`;
STATIC_LIBBLKID=`$PKG_CONFIG --static --libs blkid`],
[AC_MSG_ERROR([external blkid library not found])],
- [$LIBBLKID])
+ [$LIBBLKID])]
BLKID_CMT=#
AC_MSG_RESULT([Disabling private blkid library])
else
@@ -786,15 +786,15 @@
dnl
SEM_INIT_LIB=''
AC_CHECK_FUNC(sem_init, ,
- AC_CHECK_LIB(pthread, sem_init,
+ [AC_CHECK_LIB(pthread, sem_init,
AC_DEFINE(HAVE_SEM_INIT)
SEM_INIT_LIB=-lpthread,
- AC_CHECK_LIB(rt, sem_init,
+ [AC_CHECK_LIB(rt, sem_init,
AC_DEFINE(HAVE_SEM_INIT)
SEM_INIT_LIB=-lrt,
- AC_CHECK_LIB(posix4, sem_init,
+ [AC_CHECK_LIB(posix4, sem_init,
AC_DEFINE(HAVE_SEM_INIT)
- SEM_INIT_LIB=-lposix4))))dnl
+ SEM_INIT_LIB=-lposix4)])])])dnl
AC_SUBST(SEM_INIT_LIB)
dnl
dnl Check for unified diff
|