diff options
author | Simo Sorce <idra@samba.org> | 2008-09-25 01:51:49 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2008-09-25 02:30:18 -0400 |
commit | f698831f0ae0cd86225eb647ae4aeb813f08d3b5 (patch) | |
tree | 55689de966245292e6ae517480c668ce993caf70 /events/build_macros.m4 | |
parent | cced59be44cbc2204314bdf77a35b41b81bf4097 (diff) | |
download | sssd-f698831f0ae0cd86225eb647ae4aeb813f08d3b5.tar.gz sssd-f698831f0ae0cd86225eb647ae4aeb813f08d3b5.tar.xz sssd-f698831f0ae0cd86225eb647ae4aeb813f08d3b5.zip |
Sync with upstream changes
Diffstat (limited to 'events/build_macros.m4')
-rw-r--r-- | events/build_macros.m4 | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/events/build_macros.m4 b/events/build_macros.m4 index bb05a5822..c036668cd 100644 --- a/events/build_macros.m4 +++ b/events/build_macros.m4 @@ -1,14 +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]])]) +AC_DEFUN(BUILD_WITH_SHARED_BUILD_DIR, + [ AC_ARG_WITH([shared-build-dir], + [AC_HELP_STRING([--with-shared-build-dir=DIR], + [temporary build directory where libraries are installed [$srcdir/sharedbuild]])]) - 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" + sharedbuilddir="$srcdir/sharedbuild" + if test x"$with_shared_build_dir" != x; then + sharedbuilddir=$with_shared_build_dir + CFLAGS="$CFLAGS -I$with_shared_build_dir/include" + LDFLAGS="$LDFLAGS -L$with_shared_build_dir/lib" fi - AC_SUBST(buildinstdir) + AC_SUBST(sharedbuilddir) ]) + |