[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LYNX-DEV ac-0.24: ./configure --with-screen=slang is broken
From: |
T.E.Dickey |
Subject: |
Re: LYNX-DEV ac-0.24: ./configure --with-screen=slang is broken |
Date: |
Sat, 17 May 1997 07:24:22 -0400 (EDT) |
> 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:
probably not autoconf - I've probably not tested on a system where "-lm"
was required to link-in slang (thanks).
> --- 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.
--
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey
;
; To UNSUBSCRIBE: Send a mail message to address@hidden
; with "unsubscribe lynx-dev" (without the
; quotation marks) on a line by itself.
;