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

List:       kde-commits
Subject:    Re: kdebindings/smoke/kde
From:       Stephan Kulow <coolo () kde ! org>
Date:       2004-08-01 8:33:39
Message-ID: 200408011033.41026.coolo () kde ! org
[Download RAW message or body]

Am Sonntag, 1. August 2004 00:58 schrieb Adriaan de Groot:
> CVS commit by adridg:
>
> In some cases (src != build in particular), @kde_includes@ contains
> ${prefix} instead of the actual prefix. This is fine in Makefiles,
> since prefix gets set there and everything expands out in the end.
> In the generated perl script, ${prefix} doesn't work, so we need
> to determine the prefix (configure.in.in change) and possibly substitute
> it into $kdeinc (generate.pl.in change). This makes smoke/ build properly
> and unattended with src != build.
>
>
>   M +2 -0      configure.in.in   1.5
>   M +2 -0      generate.pl.in   1.17
>
>
> --- kdebindings/smoke/kde/configure.in.in  #1.4:1.5
> @@ -8,4 +8,6 @@
>  AC_SUBST(KDE_HAVE_GL)
>
> +KDE_PREFIX=`$KDECONFIG --prefix`
> +AC_SUBST(KDE_PREFIX)

--expandvars

Your solution won't work if someone specified --exec-prefix

Greetings, Stephan
[prev in list] [next in list] [prev in thread] [next in thread] 

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