[uim-commit] r647 - trunk
ekato at freedesktop.org
ekato at freedesktop.org
Mon Feb 14 00:47:01 PST 2005
Author: ekato
Date: 2005-02-14 00:46:54 -0800 (Mon, 14 Feb 2005)
New Revision: 647
Modified:
trunk/configure.ac
Log:
* configure.ac : Use both libcurses and libncurses for
uim-fep again. This solves linking problem in Solaris9.
Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac 2005-02-14 07:54:41 UTC (rev 646)
+++ trunk/configure.ac 2005-02-14 08:46:54 UTC (rev 647)
@@ -377,9 +377,9 @@
;;
yes|*)
use_uim_fep="yes"
+ AC_CHECK_LIB(curses, setupterm, FEP_LIBADD="-lcurses $FEP_LIBADD")
AC_CHECK_LIB(ncurses, setupterm, FEP_LIBADD="-lncurses $FEP_LIBADD",
- [AC_CHECK_LIB(curses, setupterm, FEP_LIBADD="-lcurses $FEP_LIBADD",
- AC_MSG_WARN([fep needs libncurses. disabled...]);use_uim_fep="no")])
+ AC_MSG_WARN([fep needs libncurses. disabled...]);use_uim_fep="no")
AC_CHECK_FUNCS(forkpty)
if test $ac_cv_func_forkpty = no; then
AC_CHECK_LIB(util, forkpty, [AC_DEFINE(HAVE_FORKPTY) FEP_LIBADD="-lutil $FEP_LIBADD"])
@@ -389,9 +389,9 @@
esac
],
[ use_uim_fep="yes"
+ AC_CHECK_LIB(curses, setupterm, FEP_LIBADD="-lcurses $FEP_LIBADD")
AC_CHECK_LIB(ncurses, setupterm, FEP_LIBADD="-lncurses $FEP_LIBADD",
- [AC_CHECK_LIB(curses, setupterm, FEP_LIBADD="-lcurses $FEP_LIBADD",
- AC_MSG_WARN([fep needs libncurses. disabled...]);use_uim_fep="no")])
+ AC_MSG_WARN([fep needs libncurses. disabled...]);use_uim_fep="no")
AC_CHECK_FUNCS(forkpty)
if test $ac_cv_func_forkpty = no; then
AC_CHECK_LIB(util, forkpty, [AC_DEFINE(HAVE_FORKPTY) FEP_LIBADD="-lutil $FEP_LIBADD"])
More information about the Uim-commit
mailing list