|
Packit Service |
64369c |
AC_DEFUN([BUILD_WITH_SHARED_BUILD_DIR],
|
|
Packit Service |
64369c |
[ AC_ARG_WITH([shared-build-dir],
|
|
Packit Service |
64369c |
[AC_HELP_STRING([--with-shared-build-dir=DIR],
|
|
Packit Service |
64369c |
[temporary build directory where libraries are installed [$srcdir/sharedbuild]])])
|
|
Packit Service |
64369c |
|
|
Packit Service |
64369c |
sharedbuilddir="$srcdir/sharedbuild"
|
|
Packit Service |
64369c |
if test x"$with_shared_build_dir" != x; then
|
|
Packit Service |
64369c |
sharedbuilddir=$with_shared_build_dir
|
|
Packit Service |
64369c |
CFLAGS="$CFLAGS -I$with_shared_build_dir/include"
|
|
Packit Service |
64369c |
CPPFLAGS="$CPPFLAGS -I$with_shared_build_dir/include"
|
|
Packit Service |
64369c |
LDFLAGS="$LDFLAGS -L$with_shared_build_dir/lib"
|
|
Packit Service |
64369c |
fi
|
|
Packit Service |
64369c |
AC_SUBST(sharedbuilddir)
|
|
Packit Service |
64369c |
])
|
|
Packit Service |
64369c |
|
|
Packit Service |
64369c |
AC_DEFUN([BUILD_WITH_AUX_INFO],
|
|
Packit Service |
64369c |
[ AC_ARG_WITH([aux-info],
|
|
Packit Service |
64369c |
[AC_HELP_STRING([--with-aux-info],
|
|
Packit Service |
64369c |
[Build with -aux-info output])])
|
|
Packit Service |
64369c |
])
|
|
Packit Service |
64369c |
AM_CONDITIONAL([WANT_AUX_INFO], [test x$with_aux_info = xyes])
|