blob: 635ba1e437fa0542747685a51eeb9b0f242b7379 (
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/libmaitretarot.m4
+++ b/libmaitretarot.m4
@@ -9,10 +9,10 @@ AC_DEFUN([AM_LIB_MAITRETAROT],
--with-libmaitretarot path to libmaitretarot libraries,
[
LIBMT_CFLAGS="-I${withval}/include"
- LIBMT_LIBS="-L${withval}/lib -lmaitretarot"
+ LIBMT_LIBS="-L${withval}/${libdir} -lmaitretarot"
],[
- LIBMT_CFLAGS="-I/usr/local/include -I/usr/include"
- LIBMT_LIBS="-L/usr/local/lib -L/usr/lib -lmaitretarot"
+ LIBMT_CFLAGS="-I/usr/include"
+ LIBMT_LIBS="-L${libdir} -lmaitretarot"
])
ac_save_CPPFLAGS="$CPPFLAGS"
ac_save_CFLAGS="$CFLAGS"
|