summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--acinclude.m4.in3
-rw-r--r--configure.ac15
2 files changed, 10 insertions, 8 deletions
diff --git a/acinclude.m4.in b/acinclude.m4.in
index beafe3e4..58c0e281 100644
--- a/acinclude.m4.in
+++ b/acinclude.m4.in
@@ -12,7 +12,8 @@ dnl under the License.
m4_define([LOCAL_PACKAGE_AUTHOR_NAME], [Damien Katz])
m4_define([LOCAL_PACKAGE_AUTHOR_ADDRESS], [damien@apache.org])
-m4_define([LOCAL_PACKAGE_IDENTIFIER], [apache-couchdb])
+m4_define([LOCAL_PACKAGE_IDENTIFIER], [couchdb])
+m4_define([LOCAL_PACKAGE_TARNAME], [apache-couchdb])
m4_define([LOCAL_PACKAGE_NAME], [Apache CouchDB])
m4_define([LOCAL_VERSION_MAJOR], [0])
diff --git a/configure.ac b/configure.ac
index b0c6b8ae..b65a2516 100644
--- a/configure.ac
+++ b/configure.ac
@@ -12,7 +12,7 @@ dnl under the License.
m4_include([m4/ac_check_icu.m4])
-AC_INIT([LOCAL_PACKAGE_NAME], [LOCAL_VERSION], [], [LOCAL_PACKAGE_IDENTIFIER])
+AC_INIT([LOCAL_PACKAGE_NAME], [LOCAL_VERSION], [], [LOCAL_PACKAGE_TARNAME])
AC_PREREQ([2.59])
@@ -199,6 +199,7 @@ AM_CONDITIONAL([HELP2MAN], [test x${help2man_enabled} = xtrue])
AC_SUBST([package_author_name], ["LOCAL_PACKAGE_AUTHOR_NAME"])
AC_SUBST([package_author_address], ["LOCAL_PACKAGE_AUTHOR_ADDRESS"])
AC_SUBST([package_identifier], ["LOCAL_PACKAGE_IDENTIFIER"])
+AC_SUBST([package_tarname], ["LOCAL_PACKAGE_TARNAME"])
AC_SUBST([package_name], ["LOCAL_PACKAGE_NAME"])
AC_SUBST([version], ["LOCAL_VERSION"])
@@ -210,12 +211,12 @@ AC_SUBST([version_release], ["LOCAL_VERSION_RELEASE"])
AC_SUBST([bug_uri], ["LOCAL_BUG_URI"])
-AC_SUBST([pkgconfdir], [${sysconfdir}/${PACKAGE_TARNAME}])
-AC_SUBST([pkgdatadir], [${datadir}/${PACKAGE_TARNAME}])
-AC_SUBST([pkgdocdir], [${datadir}/doc/${PACKAGE_TARNAME}])
-AC_SUBST([pkglibdir], [${libdir}/${PACKAGE_TARNAME}])
-AC_SUBST([pkgstatelibdir], [${localstatedir}/lib/${PACKAGE_TARNAME}])
-AC_SUBST([pkgstatelogdir], [${localstatedir}/log/${PACKAGE_TARNAME}])
+AC_SUBST([pkgconfdir], [${sysconfdir}/${package_identifier}])
+AC_SUBST([pkgdatadir], [${datadir}/${package_identifier}])
+AC_SUBST([pkgdocdir], [${datadir}/doc/${package_identifier}])
+AC_SUBST([pkglibdir], [${libdir}/${package_identifier}])
+AC_SUBST([pkgstatelibdir], [${localstatedir}/lib/${package_identifier}])
+AC_SUBST([pkgstatelogdir], [${localstatedir}/log/${package_identifier}])
AC_SUBST([libbindir], [${pkglibdir}/bin])
AC_SUBST([erlangbindir], [${pkglibdir}/erlang/bin])
AC_SUBST([erlanglibdir], [${pkglibdir}/erlang/lib])