[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[giFTcurs-commits] giFTcurs acinclude.m4
From: |
Göran Weinholt |
Subject: |
[giFTcurs-commits] giFTcurs acinclude.m4 |
Date: |
Thu, 28 Aug 2003 14:31:10 -0400 |
CVSROOT: /cvsroot/giftcurs
Module name: giFTcurs
Branch:
Changes by: Göran Weinholt <address@hidden> 03/08/28 14:31:10
Modified files:
. : acinclude.m4
Log message:
Added a --with-ncursesw flag. Not very tested.
Patches:
Index: giFTcurs/acinclude.m4
diff -u giFTcurs/acinclude.m4:1.18 giFTcurs/acinclude.m4:1.19
--- giFTcurs/acinclude.m4:1.18 Sun Jul 27 10:50:11 2003
+++ giFTcurs/acinclude.m4 Thu Aug 28 14:31:10 2003
@@ -6,6 +6,7 @@
dnl . Updated AC_DEFINE macros to not need acconfig.h, and therefore also
dnl trimmed the explanation below.
dnl . Removed SCO references.
+dnl . Added a --with-ncursesw flag.
dnl
dnl What it does:
dnl =============
@@ -104,6 +105,26 @@
screen_manager="ncurses"
AC_DEFINE(USE_NCURSES, 1, [Use Ncurses?])
AC_DEFINE(HAS_CURSES, 1, [Found some version of curses that
we're going to use])
+ has_curses=true
+ fi
+ )
+
+ AC_ARG_WITH(ncursesw,
+ [[ --with-ncursesw[=dir] compile with ncursesw/locate base dir]],
+ if test x$withval = xyes; then
+ AC_NCURSES(/usr/include/ncursesw, curses.h, -lncursesw,
-I/usr/include/ncursesw -DRENAMED_NCURSES -DWIDE_NCURSES, "renamed ncursesw on
/usr/include/ncursesw")
+ search_ncurses=false
+ elif test x$withval != xyes ; then
+ CURSES_LIBS="$LIBS -L$withval/lib -lncursesw"
+ CURSES_INCLUDEDIR="-I$withval/include -DWIDE_NCURSES"
+ if test -f $withval/include/curses.h
+ then
+ CURSES_INCLUDEDIR="$CURSES_INCLUDEDIR -DRENAMED_NCURSES"
+ fi
+ search_ncurses=false
+ screen_manager="ncursesw"
+ AC_DEFINE(USE_NCURSES, 1)
+ AC_DEFINE(HAS_CURSES, 1)
has_curses=true
fi
)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [giFTcurs-commits] giFTcurs acinclude.m4,
Göran Weinholt <=