[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: texinfo configure bug
From: |
Thomas Esser |
Subject: |
Re: texinfo configure bug |
Date: |
Sun, 16 Feb 2003 01:37:09 +0100 |
> 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.
I don't get it. How can this work without ; after UP++ ?
So, after adding that ; and the [...] in configure.ac and running
./configure; make; make distclean; rm -rf autom4te.cache
I get the following diff (against texinfo-4.5 BTW). Finally, it has
properly detected my curses lib.
Thomas
diff -ru /build/texinfo-4.5/configure ./configure
--- /build/texinfo-4.5/configure Wed Feb 5 01:43:10 2003
+++ ./configure Sun Feb 16 01:29:51 2003
@@ -6462,7 +6462,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;
}
@@ -6479,17 +6484,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
diff -ru /build/texinfo-4.5/configure.ac ./configure.ac
--- /build/texinfo-4.5/configure.ac Wed Feb 5 01:40:19 2003
+++ ./configure.ac Sun Feb 16 01:29:26 2003
@@ -105,7 +105,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
@@ -121,10 +121,10 @@
/* Make sure all variables actually exist. AIX 4.3 has ospeed but no BC.
--Andreas Ley <address@hidden>, 24 Aug 2000. */
BC++;
-UP++
+UP++;
PC++;
return ospeed != 0;
-, ac_cv_var_ospeed=$trylib; break)
+], ac_cv_var_ospeed=$trylib; break)
done
LIBS=$oldLIBS
)
diff -ru /build/texinfo-4.5/doc/stamp-1 ./doc/stamp-1
--- /build/texinfo-4.5/doc/stamp-1 Wed Feb 5 01:44:46 2003
+++ ./doc/stamp-1 Sun Feb 16 01:30:22 2003
@@ -1,4 +1,4 @@
address@hidden UPDATED 5 November 2002
address@hidden UPDATED 6 November 2002
@set UPDATED-MONTH November 2002
@set EDITION 4.5
@set VERSION 4.5
diff -ru /build/texinfo-4.5/doc/version-stnd.texi ./doc/version-stnd.texi
--- /build/texinfo-4.5/doc/version-stnd.texi Wed Feb 5 01:44:46 2003
+++ ./doc/version-stnd.texi Sun Feb 16 01:22:03 2003
@@ -1,4 +1,4 @@
address@hidden UPDATED 5 November 2002
address@hidden UPDATED 6 November 2002
@set UPDATED-MONTH November 2002
@set EDITION 4.5
@set VERSION 4.5
- Re: texinfo configure bug,
Thomas Esser <=