configure.patch 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. diff --git a/configure b/configure
  2. index 4a3e0a4..5440ae7 100644
  3. --- a/configure
  4. +++ b/configure
  5. @@ -9363,75 +9363,7 @@ See \`config.log' for more details" "$LINENO" 5; } ;;
  6. esac
  7. -saved_LIBS="$LIBS"
  8. -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing _obstack_free" >&5
  9. -printf %s "checking for library containing _obstack_free... " >&6; }
  10. -if test ${ac_cv_search__obstack_free+y}
  11. -then :
  12. - printf %s "(cached) " >&6
  13. -else $as_nop
  14. - ac_func_search_save_LIBS=$LIBS
  15. -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16. -/* end confdefs.h. */
  17. -/* Override any GCC internal prototype to avoid an error.
  18. - Use char because int might match the return type of a GCC
  19. - builtin and then its argument prototype would still apply. */
  20. -char _obstack_free ();
  21. -int
  22. -main (void)
  23. -{
  24. -return _obstack_free ();
  25. - ;
  26. - return 0;
  27. -}
  28. -_ACEOF
  29. -for ac_lib in '' obstack
  30. -do
  31. - if test -z "$ac_lib"; then
  32. - ac_res="none required"
  33. - else
  34. - ac_res=-l$ac_lib
  35. - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  36. - fi
  37. - if ac_fn_c_try_link "$LINENO"
  38. -then :
  39. - ac_cv_search__obstack_free=$ac_res
  40. -fi
  41. -rm -f core conftest.err conftest.$ac_objext conftest.beam \
  42. - conftest$ac_exeext
  43. - if test ${ac_cv_search__obstack_free+y}
  44. -then :
  45. - break
  46. -fi
  47. -done
  48. -if test ${ac_cv_search__obstack_free+y}
  49. -then :
  50. -
  51. -else $as_nop
  52. - ac_cv_search__obstack_free=no
  53. -fi
  54. -rm conftest.$ac_ext
  55. -LIBS=$ac_func_search_save_LIBS
  56. -fi
  57. -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search__obstack_free" >&5
  58. -printf "%s\n" "$ac_cv_search__obstack_free" >&6; }
  59. -ac_res=$ac_cv_search__obstack_free
  60. -if test "$ac_res" != no
  61. -then :
  62. - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  63. -
  64. -fi
  65. -
  66. -LIBS="$saved_LIBS"
  67. -case "$ac_cv_search__obstack_free" in
  68. - no) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  69. -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
  70. -as_fn_error $? "failed to find _obstack_free
  71. -See \`config.log' for more details" "$LINENO" 5; } ;;
  72. - -l*) obstack_LIBS="$ac_cv_search__obstack_free" ;;
  73. - *) obstack_LIBS= ;;
  74. -esac