blob: cc56eb09be45cb2cbe14ea1ae05c940cc97e5b64 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
https://bugs.gentoo.org/729734
--- a/libmt_client.m4
+++ b/libmt_client.m4
@@ -9,10 +9,10 @@ AC_DEFUN([AM_LIB_MT_CLIENT],
--with-libmt_client path to libmt_client libraries,
[
LIBMT_CFLAGS="-I${withval}/include"
- LIBMT_LIBS="-L${withval}/lib -lmt_client"
+ LIBMT_LIBS="-L${withval}/${libdir} -lmt_client"
],[
- LIBMT_CFLAGS="-I/usr/local/include -I/usr/include"
- LIBMT_LIBS="-L/usr/local/lib -L/usr/lib -lmt_client"
+ LIBMT_CFLAGS="-I/usr/include"
+ LIBMT_LIBS="-L${libdir} -lmt_client"
])
ac_save_CPPFLAGS="$CPPFLAGS"
ac_save_CFLAGS="$CFLAGS"
|