blob: bc3ec729db75ca93e6553558d0ec780032ce6dbd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
AC_DEFUN(BUILD_WITH_BUILD_INST_DIR,
[ AC_ARG_WITH([build-install-dir],
[AC_HELP_STRING([--with-build-install-dir=DIR],
[temporary build directory where libraries are installed [$srcdir/buildinst]])])
buildinstdir="$srcdir/buildinst"
if test x"$with_build_install_dir" != x; then
buildinstdir=$with_build_install_dir
CFLAGS="$CFLAGS -I$with_build_install_dir/include"
LDFLAGS="$LDFLAGS -L$with_build_install_dir/lib"
fi
AC_SUBST(buildinstdir)
])
|