From 23b61265b85f321ae2ceddc6c75771f8881566d8 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Fri, 5 Sep 2008 10:13:10 -0400 Subject: Initial Import --- tdb/build_macros.m4 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tdb/build_macros.m4 (limited to 'tdb/build_macros.m4') diff --git a/tdb/build_macros.m4 b/tdb/build_macros.m4 new file mode 100644 index 000000000..bb05a5822 --- /dev/null +++ b/tdb/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) + ]) -- cgit