69 |
|
SAIDARLIBS="-L${withval}/lib ${SAIDARLIBS}" |
70 |
|
fi |
71 |
|
if test -d "$withval/include"; then |
72 |
< |
SAIDARCPPFLAGS="-I${withval}/include ${SAIRDARCPPFLAGS}" |
72 |
> |
SAIDARCPPFLAGS="-I${withval}/include -I${withval}/include/ncurses ${SAIRDARCPPFLAGS}" |
73 |
|
fi |
74 |
|
] |
75 |
|
) |
122 |
|
fi |
123 |
|
] |
124 |
|
) |
125 |
+ |
|
126 |
+ |
# User specified pkgconfig dir |
127 |
+ |
AC_ARG_WITH([pkgconfig-dir], |
128 |
+ |
[ --with-pkgconfig-dir=PATH pkgconfig lib directory (PREFIX/lib/pkgconfig)], |
129 |
+ |
[ PKGCONFIG_DIR=$withval ], |
130 |
+ |
[ PKGCONFIG_DIR="\$(libdir)/pkgconfig" ] |
131 |
+ |
) |
132 |
+ |
AC_SUBST(PKGCONFIG_DIR) |
133 |
|
|
134 |
|
# The LIBS and CPPFLAGS that saidar needs |
135 |
|
AC_SUBST(SAIDARLIBS) |