[Nix-dev] [Nix-commits] SVN commit: nix - r30466 - nix/trunk
Ludovic Courtès
ludo at gnu.org
Sat Nov 19 23:36:34 CET 2011
Hi Eelco,
Eelco Dolstra <e.dolstra at tudelft.nl> skribis:
> Author: eelco
> Date: Fri Nov 18 17:25:40 2011
> New Revision: 30466
> URL: https://nixos.org/websvn/nix/?rev=30466&sc=1
[...]
> --- nix/trunk/configure.ac Fri Nov 18 17:07:40 2011 (r30465)
> +++ nix/trunk/configure.ac Fri Nov 18 17:25:40 2011 (r30466)
> @@ -17,6 +17,8 @@
> [case "$host_cpu" in
> i*86)
> machine_name="i686";;
> + amd64)
> + machine_name="x86_64";;
Out of curiosity, where did you get “amd64”? GNU config.guess always
returns “x86_64”:
<http://git.savannah.gnu.org/cgit/config.git/tree/config.sub#n466>.
> @@ -25,6 +27,9 @@
> linux-gnu*)
> # For backward compatibility, strip the `-gnu' part.
> system="$machine_name-linux";;
> + freebsd*)
> + # Strip the version number (e.g. freebsd8.2).
> + system="$machine_name-freebsd";;
> *)
> # Strip the version number from names such as `gnu0.3',
> # `darwin10.2.0', etc.
The FreeBSD case is handled right below, isn’t it?
Ludo’.
More information about the nix-dev
mailing list