Just forwarding...
Thomas
--
Return-Path: <[EMAIL PROTECTED]>
Date: Fri, 14 Feb 2003 23:51:45 -0800 (PST)
From: Paul Vojta <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: texinfo configure bug
Cc: [EMAIL PROTECTED]
Thomas:
I found a bug in the texinfo configure script, causing the test for
for library with termcap variables always to fail. Here's a patch.
--Paul Vojta
---- cut here ----
--- utils/texinfo/configure.ac.orig 2003-01-31 08:48:57.000000000 -0800
+++ utils/texinfo/configure.ac 2003-02-14 23:38:57.000000000 -0800
@@ -97,7 +97,7 @@
LIBS="$oldLIBS -l$termlib"
fi
AC_TRY_LINK(,
-#ifdef HAVE_NCURSES_TERMCAP_H
+[#ifdef HAVE_NCURSES_TERMCAP_H
#include <ncurses/termcap.h>
#else
#ifdef HAVE_TERMCAP_H
@@ -116,7 +116,7 @@
UP++
PC++;
return ospeed != 0;
-, ac_cv_var_ospeed=$trylib; break)
+], ac_cv_var_ospeed=$trylib; break)
done
LIBS=$oldLIBS
)
--- utils/texinfo/configure.orig 2003-01-31 08:49:25.000000000 -0800
+++ utils/texinfo/configure 2003-02-14 23:39:54.000000000 -0800
@@ -6405,7 +6405,12 @@
#endif
#endif
/* Make sure all variables actually exist. AIX 4.3 has ospeed but no BC.
- --Andreas Ley <[EMAIL PROTECTED]>
+ --Andreas Ley <[EMAIL PROTECTED]>, 24 Aug 2000. */
+BC++;
+UP++
+PC++;
+return ospeed != 0;
+
;
return 0;
}
@@ -6422,17 +6427,11 @@
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- 24 Aug 2000. */
-BC++;
-UP++
-PC++;
-return ospeed != 0;
-
+ ac_cv_var_ospeed=$trylib; break
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
-ac_cv_var_ospeed=$trylib; break
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
done
_______________________________________________
Bug-texinfo mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-texinfo