On 2010-08-24 "Carlos R. Mafra" <[email protected]> wrote: > diff --git a/configure.ac b/configure.ac > index 2088fc8..344d214 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -11,10 +11,9 @@ dnl > dnl
> -AC_INIT(src/WindowMaker.h) > - > +AC_INIT(WindowMaker, 0.94.0-crm) > +AC_CONFIG_SRCDIR(src/WindowMaker.h) > AC_CONFIG_MACRO_DIR([m4]) > -AM_INIT_AUTOMAKE(WindowMaker, 0.94.0-crm) > AM_CONFIG_HEADER(src/config.h) > dnl Checks for host/os name [...] Hello, This change lower-cases PACKAGE, and unintentionally changes installation locations, util/wmaker.inst installs stuff to #pkgdatadir# which suddenly is /usr/share/windowmaker instead of /usr/share/WindowMaker. patch attached. cu andreas -- `What a good friend you are to him, Dr. Maturin. His other friends are so grateful to you.' `I sew his ears on from time to time, sure'
From 008cc97729e20f3b937acd71c5d2f0ba332723be Mon Sep 17 00:00:00 2001 From: Andreas Metzler <[email protected]> Date: Sun, 29 Aug 2010 14:41:33 +0200 Subject: [PATCH 3/3] Pass tarname argument to AC_INIT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If AC_INIT is invoked without tarname argument PACKAGE_TARNAME and PACKAGE will be sanitized (lowercased, and all characters other than alphanumerics and underscores are changed to ‘-’.) For windowmaker this has the sideeffect of changing install directories, util/wmaker.inst installs stuff to #pkgdatadir# which suddenly is /usr/share/windowmaker instead of /usr/share/WindowMaker. Supplement AC_INIT invokation with tarname (and while we are at it url) argument to fix this. --- configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index d48cc99..163216e 100644 --- a/configure.ac +++ b/configure.ac @@ -11,7 +11,7 @@ dnl dnl -AC_INIT(WindowMaker, 0.94.0-crm) +AC_INIT(WindowMaker, 0.94.0-crm, , WindowMaker, http://www.windowmaker.info/) AC_CONFIG_SRCDIR(src/WindowMaker.h) AC_CONFIG_MACRO_DIR([m4]) AM_CONFIG_HEADER(src/config.h) -- 1.7.1
signature.asc
Description: Digital signature
