Last active
December 10, 2021 01:19
-
-
Save al3xtjames/2908a345855a506b99babd42b3d8e6c2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/configure.ac b/configure.ac | |
index 4ffb68f..445f677 100644 | |
--- a/configure.ac | |
+++ b/configure.ac | |
@@ -7,6 +7,7 @@ AC_PREREQ(2.60) | |
AC_CONFIG_HEADERS(config.h) | |
AC_CONFIG_SRCDIR(src/sbsign.c) | |
+AM_PROG_AR | |
AM_PROG_AS | |
AC_PROG_CC | |
AM_PROG_CC_C_O |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/configure.ac b/configure.ac | |
index 4ffb68f..53c1cd1 100644 | |
--- a/configure.ac | |
+++ b/configure.ac | |
@@ -29,8 +29,8 @@ fi | |
AC_MSG_CHECKING([build system endianness]) | |
AC_PREPROC_IFELSE( | |
- [AC_LANG_PROGRAM([[#include <endian.h>]], | |
- [[#if __BYTE_ORDER != __LITTLE_ENDIAN]] | |
+ [AC_LANG_PROGRAM([[#include <machine/endian.h>]], | |
+ [[#if BYTE_ORDER != LITTLE_ENDIAN]] | |
[[#error]] | |
[[#endif]])], | |
endian=little | |
@@ -38,8 +38,8 @@ AC_PREPROC_IFELSE( | |
big_endian=0) | |
AC_PREPROC_IFELSE( | |
- [AC_LANG_PROGRAM([[#include <endian.h>]], | |
- [[#if __BYTE_ORDER != __BIG_ENDIAN]] | |
+ [AC_LANG_PROGRAM([[#include <machine/endian.h>]], | |
+ [[#if BYTE_ORDER != BIG_ENDIAN]] | |
[[#error]] | |
[[#endif]])], | |
endian=big | |
@@ -48,7 +48,7 @@ AC_PREPROC_IFELSE( | |
if test x"$endian" != "xbig" -a x"$endian" != "xlittle"; then | |
- AC_MSG_ERROR([Can't determine endianness; is endian.h present?]) | |
+ AC_MSG_ERROR([Can't determine endianness; is <machine/endian.h> present?]) | |
fi | |
AC_MSG_RESULT($endian) | |
AC_DEFINE_UNQUOTED(HAVE_LITTLE_ENDIAN, $little_endian, [Little-endian system]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/docs/Makefile.am b/docs/Makefile.am | |
index 89ed110..1b5a588 100644 | |
--- a/docs/Makefile.am | |
+++ b/docs/Makefile.am | |
@@ -1,9 +1,8 @@ | |
-man1_MANS = sbsign.1 sbverify.1 sbattach.1 sbvarsign.1 sbsiglist.1 \ | |
- sbkeysync.1 | |
+man1_MANS = sbsign.1 sbverify.1 sbattach.1 sbvarsign.1 sbsiglist.1 | |
EXTRA_DIST = sbsign.1.in sbverify.1.in sbattach.1.in \ | |
- sbvarsign.1.in sbsiglist.1.in sbkeysync.1.in | |
+ sbvarsign.1.in sbsiglist.1.in | |
CLEANFILES = $(man1_MANS) | |
$(builddir)/%.1: $(srcdir)/%.1.in $(top_builddir)/src/% | |
diff --git a/src/Makefile.am b/src/Makefile.am | |
index e3f039b..864bdd0 100644 | |
--- a/src/Makefile.am | |
+++ b/src/Makefile.am | |
@@ -1,5 +1,5 @@ | |
-bin_PROGRAMS = sbsign sbverify sbattach sbvarsign sbsiglist sbkeysync | |
+bin_PROGRAMS = sbsign sbverify sbattach sbvarsign sbsiglist | |
coff_headers = coff/external.h coff/pe.h | |
AM_CFLAGS = -Wall -Wextra --std=gnu99 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment