jed-users mailing list

[2008 Date Index] [2008 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Bug in configure


Hi John,

there's a really, really ugly bug in configure:

% sed -n 6838,+2p configure

  if test X"jd_slang_include_dir" != X -a "$jd_slang_library_dir" != X
                                         ^^^
  then

There's an X missing.

diff --git a/autoconf/aclocal.m4 b/autoconf/aclocal.m4
index 941c962..bb6e304 100644
--- a/autoconf/aclocal.m4
+++ b/autoconf/aclocal.m4
@@ -890,7 +890,7 @@ AC_DEFUN(JD_CHECK_FOR_LIBRARY, dnl#{{{
     fi
   fi
 
-  if test X"jd_$1_include_dir" != X -a "$jd_$1_library_dir" != X
+  if test X"jd_$1_include_dir" != X -a X"$jd_$1_library_dir" != X
   then
     AC_MSG_RESULT(yes: $jd_$1_library_dir and $jd_$1_include_dir)
     jd_with_$1_library="yes"

Small beasts are so hard to detect. :-)

Bye, Jörg.
-- 
Es gibt nichts schöneres als dem Schweigen eines Dummkopfes zuzuhören.
   	       		      	  	        (Helmut Quatlinger)

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2008 date index] [2008 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]