Spelling fixes for tdb.
[Samba/cd1.git] / lib / tevent / build_macros.m4
blobbb7fad8f7aadf12feb1c214080c37b46bc9fdda0
1 AC_DEFUN(BUILD_WITH_SHARED_BUILD_DIR,
2   [ AC_ARG_WITH([shared-build-dir],
3                 [AC_HELP_STRING([--with-shared-build-dir=DIR],
4                                 [temporary build directory where libraries are installed [$srcdir/sharedbuild]])])
6     sharedbuilddir="$srcdir/sharedbuild"
7     if test x"$with_shared_build_dir" != x; then
8         sharedbuilddir=$with_shared_build_dir
9         CFLAGS="$CFLAGS -I$with_shared_build_dir/include"
10         CPPFLAGS="$CPPFLAGS -I$with_shared_build_dir/include"
11         LDFLAGS="$LDFLAGS -L$with_shared_build_dir/lib"
12     fi
13     AC_SUBST(sharedbuilddir)
14   ])