bug-bash
[Top][All Lists]
Advanced

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

[patch] fix building when readline is disabled


From: Mike Frysinger
Subject: [patch] fix building when readline is disabled
Date: Mon, 23 Apr 2012 00:22:22 -0400
User-agent: KMail/1.13.7 (Linux/3.4.0-rc1; KDE/4.6.5; x86_64; ; )

if you disable readline, the complete.def code fails to build.  simple patch 
below (not sure if it's correct, but at least gets the conversation going).
-mike

--- a/builtins/complete.def
+++ b/builtins/complete.def
@@ -49,6 +49,8 @@ $END
 
 #include <config.h>
 
+#ifdef READLINE
+
 #include <stdio.h>
 
 #include "../bashtypes.h"
@@ -867,3 +869,5 @@ compopt_builtin (list)
 
   return (ret);
 }
+
+#endif

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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