This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
On Apr 2 11:02, Peter Foley wrote:
> When configuring subdirs of newlib, such as libc for example, the path
> to the winsup directory is calculated relative to the current srcdir,
> which only works at the top-level.
> Fix the path to be relative to newlib's top-level srcdir.
Jeff, was there a reason to use srcdir instead of newlib_basedir at
this point?
/me fuzzy on autoconf stuff...
Thanks,
Corinna
>
> newlib/ChangeLog:
> configure.host: use $newlib_basedir to calculate cygwin_srcdir
>
> Signed-off-by: Peter Foley <pefoley2@pefoley.com>
> ---
> newlib/configure.host | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/newlib/configure.host b/newlib/configure.host
> index 8b0846e..7ac3717 100644
> --- a/newlib/configure.host
> +++ b/newlib/configure.host
> @@ -568,7 +568,7 @@ esac
>
> case "${host}" in
> *-*-cygwin*)
> - test -z "$cygwin_srcdir" && cygwin_srcdir=`cd ${srcdir}/../winsup/cygwin; pwd`
> + test -z "$cygwin_srcdir" && cygwin_srcdir=`cd ${newlib_basedir}/../winsup/cygwin; pwd`
> export cygwin_srcdir
> default_newlib_io_c99_formats="yes"
> default_newlib_io_long_long="yes"
> --
> 2.8.0
--
Corinna Vinschen
Cygwin Maintainer
Red Hat
Attachment:
signature.asc
Description: PGP signature
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |