[gobolinux-devel] [gobolinux-commits] r3222 - trunk/Scripts/bin
Jonas Karlsson
jonka750 at student.liu.se
Fri Apr 18 10:33:27 NZST 2008
On Fri, 18 Apr 2008 00:18:45 +0200, <lucasvr at svn.gobolinux.org> wrote:
> Author: lucasvr
> Date: 2008-04-17 15:18:45 -0700 (Thu, 17 Apr 2008)
> New Revision: 3222
>
> Modified:
> trunk/Scripts/bin/PrepareProgram
> Log:
> Added config_accepts_sysconfdir to automatically pass --sysconfigdir when a non-autoconf configure scripts accepts it.
>
> Modified: trunk/Scripts/bin/PrepareProgram
> ===================================================================
> --- trunk/Scripts/bin/PrepareProgram 2008-04-17 22:18:05 UTC (rev 3221)
> +++ trunk/Scripts/bin/PrepareProgram 2008-04-17 22:18:45 UTC (rev 3222)
> @@ -261,12 +265,18 @@
> )
> cp -f ${goboSettings}/Compile/Cross/$cross_cache_file .
> fi
> -elif config_accepts_prefix
> +elif config_accepts_prefix && config_accepts_sysconfdir
> then
> Log_Normal "Non-autoconf configure script detected (accepts --prefix)."
> configure_options=(
> --prefix="$configureprefix"
> + --sysconfdir="$configuresettings"
> )
> +elif config_accepts_prefix
> +then
> + configure_options=(
> + "${configure_options[@]}"
> + )
> else
> configure_options=()
> fi
>
If configure script accepts --prefix but not --sysconfdir the elif will fail
and neither will be passed.
Btw, was this a fix?
--
/Jonas
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
More information about the gobolinux-devel
mailing list