[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
LYNX-DEV ac-0.24: ./configure --with-screen=slang is broken
From: |
John E. Davis |
Subject: |
LYNX-DEV ac-0.24: ./configure --with-screen=slang is broken |
Date: |
Fri, 16 May 1997 23:30:01 -0400 |
Hi,
It appears that the macro in aclocal.m4 that checks for the
presence of SLtt_get_screen_size is broken. This is probably due to
an autoconf 2.12 bug. My quick fix for lynx2.7.1ac-0.24 follows:
--- aclocal.m4~ Tue Apr 29 11:16:15 1997
+++ aclocal.m4 Fri May 16 23:12:13 1997
@@ -689,10 +689,10 @@
[
AC_CHECK_FUNC(SLtt_get_screen_size,,[
AC_CHECK_LIB(slang,SLtt_get_screen_size,
- [LIBS="-lslang $LIBS"],
+ [LIBS="-lslang $LIBS -lm"],
[AC_CHECK_LIB(slang,SLtt_get_screen_size,
[LIBS="-lslang -lm $LIBS"],
- AC_ERROR(cannot link -lslang),"-lm")])])
+ AC_ERROR(cannot link -lslang),"-lm")],"-lm")])
])dnl
dnl ---------------------------------------------------------------------------
dnl Check for declaration of sys_errlist in one of stdio.h and errno.h.
;
; To UNSUBSCRIBE: Send a mail message to address@hidden
; with "unsubscribe lynx-dev" (without the
; quotation marks) on a line by itself.
;
- LYNX-DEV ac-0.24: ./configure --with-screen=slang is broken,
John E. Davis <=