automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

make distcheck and configure flags


From: loic
Subject: make distcheck and configure flags
Date: Fri, 13 Oct 2000 14:54:57 +0200 (CEST)

 Hi,

 I'm in a situation where I can't run make distcheck because I need to 
specify flags to the configure invocation. This is mostly legitimate
when installing software on a machine where you don't have root access.
My package need a library and I must tell configure that this package
is in an odd place (--with-uri=$HOME/local).

 Here is a patch for a simple workaround, passing configure options
thru the AM_CONFIGFLAGS environment variable. The patch was applied on
the latest dist.am (Fri Oct 13 14:54:04 CEST 2000) from the cygnus.com
cvs repository.

*** dist.am.~1~ Fri Oct 13 14:48:13 2000
--- dist.am     Fri Oct 13 14:48:30 2000
***************
*** 33,39 ****
        dc_install_base=`CDPATH=: && cd $(distdir)/=inst && pwd` \
  DISTHOOK        && $(MAKE) $(AM_MAKEFLAGS) distcheck-hook \
          && cd $(distdir)/=build \
!         && ../configure --srcdir=.. --prefix=$$dc_install_base \
  GETTEXT           --with-included-gettext \
          && $(MAKE) $(AM_MAKEFLAGS) \
          && $(MAKE) $(AM_MAKEFLAGS) dvi \
--- 33,39 ----
        dc_install_base=`CDPATH=: && cd $(distdir)/=inst && pwd` \
  DISTHOOK        && $(MAKE) $(AM_MAKEFLAGS) distcheck-hook \
          && cd $(distdir)/=build \
!         && ../configure --srcdir=.. --prefix=$$dc_install_base 
$(AM_CONFIGFLAGS) \
  GETTEXT           --with-included-gettext \
          && $(MAKE) $(AM_MAKEFLAGS) \
          && $(MAKE) $(AM_MAKEFLAGS) dvi \

          Thanks for maintaining automake, it saves my life every day :-)

-- 
Loic   Dachary         http://www.dachary.org/  address@hidden
24 av Secretan         http://www.senga.org/      address@hidden
75019    Paris         Tel: 33 1 42 45 09 16        address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]