patch-configure_ac 889 B

123456789101112131415161718192021222324
  1. --- elfutils-0.189.orig/configure.ac 2023-03-03 16:42:26.000000000 +0100
  2. +++ elfutils-0.189/configure.ac 2025-01-08 20:12:14.302360288 +0100
  3. @@ -422,6 +422,12 @@ AS_HELP_STRING([--enable-tests-rpath],[b
  4. [tests_use_rpath=$enableval], [tests_use_rpath=no])
  5. AM_CONDITIONAL(TESTS_RPATH, test "$tests_use_rpath" = yes)
  6. +AC_ARG_ENABLE([progs],
  7. + AS_HELP_STRING([--enable-progs], [enable progs]),
  8. + enable_progs=$enableval,
  9. + enable_progs=yes)
  10. +AM_CONDITIONAL(ENABLE_PROGS, test "$enable_progs" = yes)
  11. +
  12. dnl zlib is mandatory.
  13. save_LIBS="$LIBS"
  14. LIBS=
  15. @@ -659,7 +665,7 @@ saved_LIBS="$LIBS"
  16. AC_SEARCH_LIBS([_obstack_free], [obstack])
  17. LIBS="$saved_LIBS"
  18. case "$ac_cv_search__obstack_free" in
  19. - no) AC_MSG_FAILURE([failed to find _obstack_free]) ;;
  20. + no) obstack_LIBS= ;;
  21. -l*) obstack_LIBS="$ac_cv_search__obstack_free" ;;
  22. *) obstack_LIBS= ;;
  23. esac