bug-autoconf
[Top][All Lists]
Advanced

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

setting host_alias and build_alias from config.site doesn't work


From: Dan Winship
Subject: setting host_alias and build_alias from config.site doesn't work
Date: Sat, 01 Feb 2014 14:48:17 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

I put this in my config.site:

    case `pwd` in
        ...
        /home/danw/gnome/*-win32)
            build_alias=x86_64-unknown-linux-gnu
            host_alias=i686-w64-mingw32
            ;;
        ...

but it didn't work, because configure sets ac_tool_prefix and
cross_compiling before it reads in config.site.

I didn't investigate too deeply, but at first glance it looked like it
doesn't use those variables until after reading config.site, so moving
the code to set them after that shouldn't cause problems.

-- Dan



reply via email to

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