[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(fwd) bug in configure script of texinfo
From: |
Thomas Esser |
Subject: |
(fwd) bug in configure script of texinfo |
Date: |
Sat, 15 Feb 2003 09:09:27 +0100 |
Just forwarding...
Thomas
--
Return-Path: <address@hidden>
Date: Fri, 14 Feb 2003 23:51:45 -0800 (PST)
From: Paul Vojta <address@hidden>
To: address@hidden
Subject: texinfo configure bug
Cc: address@hidden
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 <address@hidden>
+ --Andreas Ley <address@hidden>, 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- (fwd) bug in configure script of texinfo,
Thomas Esser <=