mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-06 04:53:27 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
23 lines
666 B
Diff
23 lines
666 B
Diff
diff --git a/configure.ac b/configure.ac
|
|
index 23ba6f0..13e6647 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -4,7 +4,7 @@ AC_PREREQ(2.59)
|
|
AM_INIT_AUTOMAKE(1.13 no-define)
|
|
AC_CHECK_HEADERS(strings.h)
|
|
AC_MSG_CHECKING(for big-endian host)
|
|
-AC_TRY_RUN([main () {
|
|
+AC_TRY_RUN([int main () {
|
|
/* Are we little or big endian? From Harbison&Steele. */
|
|
union
|
|
{
|
|
@@ -12,7 +12,7 @@ AC_TRY_RUN([main () {
|
|
char c[sizeof (long)];
|
|
} u;
|
|
u.l = 1;
|
|
- exit (u.c[sizeof (long) - 1] == 1);
|
|
+ return u.c[sizeof (long) - 1] == 1;
|
|
}], BIG_ENDIAN=no, BIG_ENDIAN=yes)
|
|
AC_MSG_RESULT([$BIG_ENDIAN])
|
|
AM_CONDITIONAL([IS_BIG_ENDIAN],[test "$BIG_ENDIAN" = "yes"])
|