diff options
author | Malcolm Tredinnick <malcolm@src.gnome.org> | 2003-05-19 10:54:31 +0000 |
---|---|---|
committer | Malcolm Tredinnick <malcolm@src.gnome.org> | 2003-05-19 10:54:31 +0000 |
commit | fdd273d31636a0338eb2530b6c85bb08fcb91781 (patch) | |
tree | 333180e5dfe78a6a5bc3faf184b83c8c19138a87 | |
parent | c25c1963a6107aadb8fea29d4a5be10b4b275b5a (diff) | |
download | gnome-common-fdd273d31636a0338eb2530b6c85bb08fcb91781.tar.gz |
Reverse the sense of a test so that the --with-ncurses=<dir> option in a
* curses.m4: Reverse the sense of a test so that the
--with-ncurses=<dir> option in a configure.in script works.
Fixes bug #100730.
svn path=/branches/gnome-2-2/; revision=2901
-rw-r--r-- | macros2/ChangeLog | 6 | ||||
-rw-r--r-- | macros2/curses.m4 | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/macros2/ChangeLog b/macros2/ChangeLog index 06dccdc..9692d29 100644 --- a/macros2/ChangeLog +++ b/macros2/ChangeLog @@ -1,3 +1,9 @@ +2003-05-19 Malcolm Tredinnick <malcolm@commsecure.com.au> + + * curses.m4: Reverse the sense of a test so that the + --with-ncurses=<dir> option in a configure.in script works. + Fixes bug #100730. + 2003-02-14 Kalpesh Shah <kalpesh.shah@sun.com> * check-utmp.m4: initialize UTMP structure properly. diff --git a/macros2/curses.m4 b/macros2/curses.m4 index 5307e13..89ff841 100644 --- a/macros2/curses.m4 +++ b/macros2/curses.m4 @@ -130,7 +130,7 @@ AC_DEFUN([AC_CHECK_CURSES],[ [ --with-ncurses[=dir] Compile with ncurses/locate base dir], if test x$withval = xno ; then search_ncurses=false - elif test x$withval != xyes ; then + elif test x$withval = xyes ; then CURSES_LIBS="$LIBS -L$withval/lib -lncurses" CURSES_INCLUDEDIR="-I$withval/include" search_ncurses=false |