patch-configure_ac 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  1. --- strace-4.13.orig/configure.ac 2016-07-19 19:45:06.000000000 +0200
  2. +++ strace-4.13/configure.ac 2016-08-10 21:09:35.122907482 +0200
  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. @@ -205,20 +205,20 @@ AC_SUBST(arch_mx32)
  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])])])])