summaryrefslogtreecommitdiff
path: root/events/build_macros.m4
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2008-09-05 10:13:10 -0400
committerSimo Sorce <idra@samba.org>2008-09-05 10:13:10 -0400
commit23b61265b85f321ae2ceddc6c75771f8881566d8 (patch)
treebb43d44fb09247c8e12d58371e56af911a7c0db9 /events/build_macros.m4
downloadsssd-23b61265b85f321ae2ceddc6c75771f8881566d8.tar.gz
sssd-23b61265b85f321ae2ceddc6c75771f8881566d8.tar.bz2
sssd-23b61265b85f321ae2ceddc6c75771f8881566d8.zip
Initial Import
Diffstat (limited to 'events/build_macros.m4')
-rw-r--r--events/build_macros.m414
1 files changed, 14 insertions, 0 deletions
diff --git a/events/build_macros.m4 b/events/build_macros.m4
new file mode 100644
index 00000000..bb05a582
--- /dev/null
+++ b/events/build_macros.m4
@@ -0,0 +1,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"
+ CPPFLAGS="$CPPFLAGS -I$with_build_install_dir/include"
+ LIBS="$LIBS -L$with_build_install_dir/lib"
+ fi
+ AC_SUBST(buildinstdir)
+ ])