patch-configure_ac 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. --- strace-4.15.orig/configure.ac 2016-12-07 11:59:52.000000000 +0100
  2. +++ strace-4.15/configure.ac 2016-12-18 23:14:42.263798471 +0100
  3. @@ -31,7 +31,7 @@
  4. AC_PREREQ(2.57)
  5. AC_INIT([strace],
  6. - m4_esyscmd([./git-version-gen .tarball-version]),
  7. + [4.13],
  8. [strace-devel@lists.sourceforge.net])
  9. AC_CONFIG_SRCDIR([strace.c])
  10. AC_CONFIG_AUX_DIR([.])
  11. @@ -212,20 +212,20 @@ MIPS_ABI=
  12. if test "$arch" = mips; then
  13. AC_CACHE_CHECK([for _MIPS_SIM], [st_cv__MIPS_SIM],
  14. [AC_COMPUTE_INT([st_cv__MIPS_SIM], [_MIPS_SIM],
  15. - [#include <sgidefs.h>],
  16. + [#include <asm/sgidefs.h>],
  17. [AC_MSG_ERROR([_MIPS_SIM cannot be determined])])])
  18. AC_CACHE_CHECK([for MIPS ABI], [st_cv_mips_abi],
  19. [AC_COMPILE_IFELSE(
  20. - [AC_LANG_PROGRAM([[#include <sgidefs.h>]],
  21. + [AC_LANG_PROGRAM([[#include <asm/sgidefs.h>]],
  22. [[int i[_MIPS_SIM == _MIPS_SIM_ABI32 ? 1 : - 1];]])],
  23. [st_cv_mips_abi=o32],
  24. [AC_COMPILE_IFELSE(
  25. - [AC_LANG_PROGRAM([[#include <sgidefs.h>]],
  26. + [AC_LANG_PROGRAM([[#include <asm/sgidefs.h>]],
  27. [[int i[_MIPS_SIM == _MIPS_SIM_NABI32 ? 1 : - 1];]])],
  28. [st_cv_mips_abi=n32],
  29. [AC_COMPILE_IFELSE(
  30. - [AC_LANG_PROGRAM([[#include <sgidefs.h>]],
  31. + [AC_LANG_PROGRAM([[#include <asm/sgidefs.h>]],
  32. [[int i[_MIPS_SIM == _MIPS_SIM_ABI64 ? 1 : - 1];]])],
  33. [st_cv_mips_abi=n64],
  34. [st_cv_mips_abi=unknown])])])])