mirror of
https://git.zap.org.au/git/trader.git
synced 2024-11-03 17:27:29 -05:00
Update to the latest upstream version of ax_with_curses.m4
This commit is contained in:
parent
8bbee054ad
commit
8c950278b8
@ -127,15 +127,15 @@
|
|||||||
# To use the HAVE_xxx_H preprocessor symbols, insert the following into
|
# To use the HAVE_xxx_H preprocessor symbols, insert the following into
|
||||||
# your system.h (or equivalent) header file:
|
# your system.h (or equivalent) header file:
|
||||||
#
|
#
|
||||||
# #if defined(HAVE_NCURSESW_CURSES_H)
|
# #if defined HAVE_NCURSESW_CURSES_H
|
||||||
# # include <ncursesw/curses.h>
|
# # include <ncursesw/curses.h>
|
||||||
# #elif defined(HAVE_NCURSESW_H)
|
# #elif defined HAVE_NCURSESW_H
|
||||||
# # include <ncursesw.h>
|
# # include <ncursesw.h>
|
||||||
# #elif defined(HAVE_NCURSES_CURSES_H)
|
# #elif defined HAVE_NCURSES_CURSES_H
|
||||||
# # include <ncurses/curses.h>
|
# # include <ncurses/curses.h>
|
||||||
# #elif defined(HAVE_NCURSES_H)
|
# #elif defined HAVE_NCURSES_H
|
||||||
# # include <ncurses.h>
|
# # include <ncurses.h>
|
||||||
# #elif defined(HAVE_CURSES_H)
|
# #elif defined HAVE_CURSES_H
|
||||||
# # include <curses.h>
|
# # include <curses.h>
|
||||||
# #else
|
# #else
|
||||||
# # error "SysV or X/Open-compatible Curses header file required"
|
# # error "SysV or X/Open-compatible Curses header file required"
|
||||||
@ -153,7 +153,7 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2009 Mark Pulford <mark@kyne.com.au>
|
# Copyright (c) 2009 Mark Pulford <mark@kyne.com.au>
|
||||||
# Copyright (c) 2009 Damian Pietras <daper@daper.net>
|
# Copyright (c) 2009 Damian Pietras <daper@daper.net>
|
||||||
# Copyright (c) 2011 Reuben Thomas <rrt@sc3d.org>
|
# Copyright (c) 2012 Reuben Thomas <rrt@sc3d.org>
|
||||||
# Copyright (c) 2011 John Zaitseff <J.Zaitseff@zap.org.au>
|
# Copyright (c) 2011 John Zaitseff <J.Zaitseff@zap.org.au>
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify it
|
# This program is free software: you can redistribute it and/or modify it
|
||||||
@ -182,7 +182,7 @@
|
|||||||
# modified version of the Autoconf Macro, you may extend this special
|
# modified version of the Autoconf Macro, you may extend this special
|
||||||
# exception to the GPL to apply to your modified version as well.
|
# exception to the GPL to apply to your modified version as well.
|
||||||
|
|
||||||
#serial 11
|
#serial 13
|
||||||
|
|
||||||
AU_ALIAS([MP_WITH_CURSES], [AX_WITH_CURSES])
|
AU_ALIAS([MP_WITH_CURSES], [AX_WITH_CURSES])
|
||||||
AC_DEFUN([AX_WITH_CURSES], [
|
AC_DEFUN([AX_WITH_CURSES], [
|
||||||
@ -394,7 +394,7 @@ AC_DEFUN([AX_WITH_CURSES], [
|
|||||||
# Test for plain Curses (or if CURSES_LIB was set by user)
|
# Test for plain Curses (or if CURSES_LIB was set by user)
|
||||||
|
|
||||||
AS_IF([test "x$with_plaincurses" != xno && test "x$ax_cv_curses_which" = xno], [
|
AS_IF([test "x$with_plaincurses" != xno && test "x$ax_cv_curses_which" = xno], [
|
||||||
AS_IF([test "x$CURSES_LIB" = x], [
|
AS_IF([test "x$CURSES_LIB" != x], [
|
||||||
LIBS="$ax_saved_LIBS $CURSES_LIB"
|
LIBS="$ax_saved_LIBS $CURSES_LIB"
|
||||||
], [
|
], [
|
||||||
LIBS="$ax_saved_LIBS -lcurses"
|
LIBS="$ax_saved_LIBS -lcurses"
|
||||||
|
Loading…
Reference in New Issue
Block a user