diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2010-04-08 16:46:15 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-04-12 09:21:48 -0400 |
commit | 6a6975f305ea142cf7b103bb7c064d8ef03e1547 (patch) | |
tree | afee5c43bee0b9316db154fe2e0762059b38eead /common/dhash/configure.ac | |
parent | ed0bb1777181db1243a7b4f5c71350e7ef0193f8 (diff) | |
download | sssd-6a6975f305ea142cf7b103bb7c064d8ef03e1547.tar.gz sssd-6a6975f305ea142cf7b103bb7c064d8ef03e1547.tar.bz2 sssd-6a6975f305ea142cf7b103bb7c064d8ef03e1547.zip |
Support docdir and abs_builddir
Old versions of autoconf (before 2.60) did not include
support for the docdir and abs_builddir variables. This
patch emulates support for them.
Fixes https://fedorahosted.org/sssd/ticket/422
Diffstat (limited to 'common/dhash/configure.ac')
-rw-r--r-- | common/dhash/configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common/dhash/configure.ac b/common/dhash/configure.ac index 1012afbb..bf06cfc5 100644 --- a/common/dhash/configure.ac +++ b/common/dhash/configure.ac @@ -21,5 +21,11 @@ AC_ARG_ENABLE([trace], [trace_level="0"]) AS_IF([test ["$trace_level" -gt "0"] -a ["$trace_level" -lt "8"] ],[AC_SUBST([TRACE_VAR],["-DTRACE_LEVEL=$trace_level"])]) +#Support old versions of autotools that don't provide docdir +AC_SUBST([docdir]) +if test x$docdir = x; then + AC_SUBST([docdir], ${datadir}/doc/AC_PACKAGE_NAME) +fi + AC_CONFIG_FILES([Makefile dhash.pc]) AC_OUTPUT |