mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Quote macro name in AC_DEFUN calls.
Patch by znx, bug #499. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4498 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
4058a9338f
commit
c685272a12
12
curses.m4
12
curses.m4
@ -86,7 +86,7 @@ dnl /*=== End new stuff for acconfig.h ===*/
|
||||
dnl
|
||||
|
||||
|
||||
AC_DEFUN(AC_CHECK_CURSES,[
|
||||
AC_DEFUN([AC_CHECK_CURSES],[
|
||||
search_ncurses=true
|
||||
screen_manager=""
|
||||
has_curses=false
|
||||
@ -142,7 +142,7 @@ AC_DEFUN(AC_CHECK_CURSES,[
|
||||
])
|
||||
|
||||
|
||||
AC_DEFUN(AC_USE_SUNOS_CURSES, [
|
||||
AC_DEFUN([AC_USE_SUNOS_CURSES], [
|
||||
search_ncurses=false
|
||||
screen_manager="SunOS 4.x /usr/5include curses"
|
||||
AC_MSG_RESULT(Using SunOS 4.x /usr/5include curses)
|
||||
@ -156,7 +156,7 @@ AC_DEFUN(AC_USE_SUNOS_CURSES, [
|
||||
AC_MSG_RESULT(Please note that some screen refreshs may fail)
|
||||
])
|
||||
|
||||
AC_DEFUN(AC_USE_OSF1_CURSES, [
|
||||
AC_DEFUN([AC_USE_OSF1_CURSES], [
|
||||
AC_MSG_RESULT(Using OSF1 curses)
|
||||
search_ncurses=false
|
||||
screen_manager="OSF1 curses"
|
||||
@ -167,7 +167,7 @@ AC_DEFUN(AC_USE_OSF1_CURSES, [
|
||||
CURSES_LIBS="-lcurses"
|
||||
])
|
||||
|
||||
AC_DEFUN(AC_USE_SYSV_CURSES, [
|
||||
AC_DEFUN([AC_USE_SYSV_CURSES], [
|
||||
AC_MSG_RESULT(Using SysV curses)
|
||||
AC_DEFINE(HAS_CURSES)
|
||||
has_curses=true
|
||||
@ -202,7 +202,7 @@ dnl)
|
||||
dnl
|
||||
dnl Parameters: directory filename curses_LIBS curses_INCLUDEDIR nicename
|
||||
dnl
|
||||
AC_DEFUN(AC_NCURSES, [
|
||||
AC_DEFUN([AC_NCURSES], [
|
||||
if $search_ncurses
|
||||
then
|
||||
if test -f $1/$2
|
||||
@ -229,7 +229,7 @@ AC_DEFUN(AC_NCURSES, [
|
||||
fi
|
||||
])
|
||||
|
||||
AC_DEFUN(AC_SEARCH_NCURSES, [
|
||||
AC_DEFUN([AC_SEARCH_NCURSES], [
|
||||
AC_CHECKING("location of ncurses.h file")
|
||||
|
||||
AC_NCURSES(/usr/include, ncurses.h, -lncurses,,
|
||||
|
Loading…
Reference in New Issue
Block a user