[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: kde-common/admin
From:       Michael Matz <matzmich () cs ! tu-berlin ! de>
Date:       2000-04-30 22:01:57
[Download RAW message or body]

Hi,

On Sun, 30 Apr 2000 kde-cvs@kde.org wrote:
>  > Modified Files:
>  >         acinclude.m4.in
>  > Log Message:
>  > added our own version of AC_PROG_INSTALL checking for a -p switch, and
>  > at the same time using the autoconf version of this function. M4 magic ;)
>  
>  God! Did you read a book? How scary.
>  
>  And now you should hardcode the value of INSTALL_SCRIPT to the value of 
>  INSTALL_PROGRAM, as the value of INSTALL_PROGRAM is changed by automake
>  on the fly ;(

How lucky, that configure (and the old autoconf macro) uses 
INSTALL_DATA = '${INSTALL} -m 644'

Note that $INSTALL gets not expanded in the AC_PROG_INSTALL macro, but in
the Makefile, so I only need to change $INSTALL, and its taken up by all
Makefiles. Or what do you mean? At least for me I get in my Makefiles:

INSTALL = /usr/bin/install -c -p
INSTALL_PROGRAM = ${INSTALL}
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_SCRIPT = ${INSTALL_PROGRAM}

(May be it gets confused because you have INSTALL_DATA=... in your
startup-scripts?) Or was it a feature request?


Ciao,
Michael.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic