freeipmi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Freeipmi-devel] PATCH: fish readline configure patch


From: Anand Babu
Subject: [Freeipmi-devel] PATCH: fish readline configure patch
Date: Wed, 31 Mar 2004 09:34:28 -0800
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

2004-03-31  Anand Babu  <address@hidden>
 
        * configure.ac: fix XX_ding and XX_completion_matches checking
          in readline lib on RedHat. Debian seems to work OK.



You can also download the patch from 
ftp://ftp.californiadigital.com/pub/freeipmi/patch-fish-configure-readline-alpha5-qa1


=============================================================================
diff -pruN fish-0.1.0/configure.ac fish-0.1.0-ab/configure.ac
--- fish-0.1.0/configure.ac     2004-03-29 21:29:51.000000000 -0800
+++ fish-0.1.0-ab/configure.ac  2004-03-31 09:27:45.000000000 -0800
@@ -137,8 +137,22 @@ AH_TEMPLATE([HAVE_DING], [does this syst
    ding call is obsoleted by rl_ding now])
 
 AC_CHECK_FUNC(snprintf, [AC_DEFINE(HAVE_SNPRINTF)])
-AC_CHECK_LIB(readline, rl_ding, AC_DEFINE(HAVE_RL_DING), 
AC_CHECK_LIB(readline, ding, [AC_DEFINE(HAVE_DING)], exit))
-AC_CHECK_LIB(readline, rl_completion_matches, 
AC_DEFINE(HAVE_RL_COMPLETION_MATCHES), AC_CHECK_LIB(readline, 
completion_matches, [AC_DEFINE(HAVE_COMPLETION_MATCHES)], exit))
+AC_CHECK_FUNCS(rl_ding)
+if test $ac_cv_func_rl_ding = yes; then
+    AC_DEFINE(HAVE_RL_DING)
+fi
+AC_CHECK_FUNCS(ding)
+if test $ac_cv_func_ding = yes; then
+    AC_DEFINE(HAVE_DING)
+fi
+AC_CHECK_FUNCS(completion_matches)
+if test $ac_cv_func_completion_matches = yes; then
+    AC_DEFINE(HAVE_COMPLETION_MATCHES)
+fi
+AC_CHECK_FUNCS(rl_completion_matches)
+if test $ac_cv_func_rl_completion_matches = yes; then
+    AC_DEFINE(HAVE_RL_COMPLETION_MATCHES)
+fi
 
 dnl Checks for header files.
 AC_HEADER_STDC


-- 
Anand Babu
Free as in Freedom <www.gnu.org>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]