diff options
author | Simo Sorce <ssorce@redhat.com> | 2011-12-12 15:43:17 -0500 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2012-01-04 19:19:54 -0500 |
commit | 0d39e7a43a585a46e9cb6c755d97003470c5bd54 (patch) | |
tree | 6f54cf7e09f0188d46e8e6ecf85e4c58d9412d31 /proxy/build_macros.m4 | |
parent | d82bf26a6d4d44e3c6f5473f4dad508564e4cdd7 (diff) | |
download | gss-proxy-0d39e7a43a585a46e9cb6c755d97003470c5bd54.tar.gz gss-proxy-0d39e7a43a585a46e9cb6c755d97003470c5bd54.tar.xz gss-proxy-0d39e7a43a585a46e9cb6c755d97003470c5bd54.zip |
Intial skeleton gssproxy daemon
Diffstat (limited to 'proxy/build_macros.m4')
-rw-r--r-- | proxy/build_macros.m4 | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/proxy/build_macros.m4 b/proxy/build_macros.m4 new file mode 100644 index 0000000..37d9643 --- /dev/null +++ b/proxy/build_macros.m4 @@ -0,0 +1,21 @@ +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]])]) + + 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" + CPPFLAGS="$CPPFLAGS -I$with_shared_build_dir/include" + LDFLAGS="$LDFLAGS -L$with_shared_build_dir/lib" + fi + AC_SUBST(sharedbuilddir) + ]) + +AC_DEFUN([BUILD_WITH_AUX_INFO], + [ AC_ARG_WITH([aux-info], + [AC_HELP_STRING([--with-aux-info], + [Build with -aux-info output])]) + ]) +AM_CONDITIONAL([WANT_AUX_INFO], [test x$with_aux_info = xyes]) |