Patchwork configure: Remove OpenBSD workaround for curses probe

login
register
mail settings
Submitter Brad
Date Feb. 10, 2012, 8:59 p.m.
Message ID <20120210205937.GA22059@rox.home.comstyle.com>
Download mbox | patch
Permalink /patch/140719/
State New
Headers show

Comments

Brad - Feb. 10, 2012, 8:59 p.m.
Remove the OpenBSD workaround for the curses probe. This has not been
necessary for 5 releases now.

Signed-off-by: Brad Smith <brad@comstyle.com>
Anthony Liguori - Feb. 17, 2012, 6:17 p.m.
On 02/10/2012 02:59 PM, Brad Smith wrote:
> Remove the OpenBSD workaround for the curses probe. This has not been
> necessary for 5 releases now.
>
> Signed-off-by: Brad Smith<brad@comstyle.com>

Applied.  Thanks.

Regards,

Anthony Liguori

>
> diff --git a/configure b/configure
> index 763db24..c9729f8 100755
> --- a/configure
> +++ b/configure
> @@ -1900,9 +1900,6 @@ if test "$curses" != "no" ; then
>     curses_found=no
>     cat>  $TMPC<<  EOF
>   #include<curses.h>
> -#ifdef __OpenBSD__
> -#define resize_term resizeterm
> -#endif
>   int main(void) {
>     const char *s = curses_version();
>     resize_term(0, 0);
>

Patch

diff --git a/configure b/configure
index 763db24..c9729f8 100755
--- a/configure
+++ b/configure
@@ -1900,9 +1900,6 @@  if test "$curses" != "no" ; then
   curses_found=no
   cat > $TMPC << EOF
 #include <curses.h>
-#ifdef __OpenBSD__
-#define resize_term resizeterm
-#endif
 int main(void) {
   const char *s = curses_version();
   resize_term(0, 0);