Author: toshok
Date: 2005-03-10 01:50:18 -0500 (Thu, 10 Mar 2005)
New Revision: 41635

Modified:
   trunk/debugger/ChangeLog
   trunk/debugger/acinclude.m4
Log:
2005-03-09  Chris Toshok  <[EMAIL PROTECTED]>

        * acinclude.m4 (READLINE_TRYLINK): supply a function body calling
        a libreadline function.  This way, if libreadline is static, we'll
        pull in the archive and get undefined symbols if there are any.



Modified: trunk/debugger/ChangeLog
===================================================================
--- trunk/debugger/ChangeLog    2005-03-10 06:46:29 UTC (rev 41634)
+++ trunk/debugger/ChangeLog    2005-03-10 06:50:18 UTC (rev 41635)
@@ -1,3 +1,9 @@
+2005-03-09  Chris Toshok  <[EMAIL PROTECTED]>
+
+       * acinclude.m4 (READLINE_TRYLINK): supply a function body calling
+       a libreadline function.  This way, if libreadline is static, we'll
+       pull in the archive and get undefined symbols if there are any.
+
 2005-03-10  Martin Baulig  <[EMAIL PROTECTED]>
 
        * interfaces/IVariable.cs (IVariable.GetLocation): New method.

Modified: trunk/debugger/acinclude.m4
===================================================================
--- trunk/debugger/acinclude.m4 2005-03-10 06:46:29 UTC (rev 41634)
+++ trunk/debugger/acinclude.m4 2005-03-10 06:50:18 UTC (rev 41635)
@@ -4,17 +4,17 @@
     old_LIBS=$LIBS
     LIBS="-l$lib"
 
-    AC_TRY_LINK(,,[READLINE_DEPLIBS=$LIBS],[
+    AC_TRY_LINK(,[rl_set_signals();],[READLINE_DEPLIBS=$LIBS],[
                LIBS="-l$lib -ltermcap"
-               AC_TRY_LINK(,,[
+               AC_TRY_LINK(,[rl_set_signals();],[
                        READLINE_DEPLIBS=$LIBS
                ],[
-                       LIBS="-l$1 -lcurses"
-                       AC_TRY_LINK(,,[
+                       LIBS="-l$lib -lcurses"
+                       AC_TRY_LINK(,[rl_set_signals();],[
                                READLINE_DEPLIBS=$LIBS
                        ],[
-                               LIBS="-l$1 -lncurses"
-                               AC_TRY_LINK(,,[
+                               LIBS="-l$lib -lncurses"
+                               AC_TRY_LINK(,[rl_set_signals();],[
                                        READLINE_DEPLIBS=$LIBS
                                ],[
                                        READLINE_DEPLIBS=

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to