Check-in [769067ae30]
Not logged in
Overview
SHA1:769067ae30208278b09831abecb8261278dd8dc6
Date: 2000-11-19 14:13:02
User: johannes@zellner.org
Comment: * configure.in: moved the tlib check before the libreadline check
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2000-12-08
00:45
[d9a3eefbfc] * reenabled wishrl and tclshrl via configure switches (user: johannes@zellner.org, tags: trunk, tclreadline-2-1-0)
2000-11-19
14:13
[769067ae30] * configure.in: moved the tlib check before the libreadline check (user: johannes@zellner.org, tags: trunk)
2000-09-29
18:38
[36440946cb] Fri Sep 29 20:37:27 CEST 2000 (user: johannes@zellner.org, tags: trunk)
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Modified ChangeLog from [9c619311ab] to [6c08b01ee3].

     1      1   
            2  +2000-11-19  Johannes Zellner  <johannes@zellner.org>
            3  +
            4  +    * configure.in: moved the tlib check before the libreadline check
            5  +
     2      6   2000-09-20  Johannes Zellner <johannes@zellner.org>
     3      7   
     4      8       * made tclreadline.h installing to ${prefix}/include
     5      9   
     6     10   2000-08-27  Johannes Zellner <johannes@zellner.org>
     7     11   
     8     12       * added Mark to AUTHORS :)

Modified configure.in from [6cd3ac975c] to [aba8bc33bd].

     1      1   dnl -*- autoconf -*-
     2      2   dnl FILE: "/home/joze/src/tclreadline/configure.in"
     3         -dnl LAST MODIFICATION: "Mit, 27 Sep 2000 20:44:53 +0200 (joze)"
            3  +dnl LAST MODIFICATION: "Son, 19 Nov 2000 14:58:20 +0100 (joze)"
     4      4   dnl (C) 1998 - 2000 by Johannes Zellner, <johannes@zellner.org>
     5      5   dnl $Id$
     6      6   dnl ---
     7      7   dnl tclreadline -- gnu readline for tcl
     8      8   dnl http://www.zellner.org/tclreadline/
     9      9   dnl Copyright (c) 1998 - 2000, Johannes Zellner <johannes@zellner.org>
    10     10   dnl This software is copyright under the BSD license.
................................................................................
    13     13   AM_CONFIG_HEADER(config.h)
    14     14   AC_PREREQ(2.13)
    15     15   AC_REVISION($Revision$)
    16     16   AC_CONFIG_AUX_DIR(./aux)
    17     17   
    18     18   MAJOR=2
    19     19   MINOR=0
    20         -PATCHLEVEL=4
           20  +PATCHLEVEL=5
    21     21   VERSION=$MAJOR.$MINOR
    22     22   PATCHLEVEL_STR=$VERSION.$PATCHLEVEL
    23     23   
    24     24   AC_SUBST(MAJOR)
    25     25   AC_SUBST(MINOR)
    26     26   AC_SUBST(PATCHLEVEL)
    27     27   AC_SUBST(VERSION)
................................................................................
   120    120     Can't find tcl.h.  Use --with-tcl-includes to specify the directory
   121    121     containing tcl.h on your system.])
   122    122   else
   123    123       AC_MSG_RESULT($TCL_INCLUDE_DIR/tcl.h)
   124    124   fi
   125    125   
   126    126   
          127  +# ---
          128  +# check for the terminal library.
          129  +# ---
          130  +
          131  +AC_ARG_WITH(tlib-library,
          132  +    [  --with-tlib-library=DIR
          133  +		  lib spec to tlib (e.g. '-L/usr/local/lib -lncurses')],
          134  +    LIBS="$LIBS $withval",
          135  +    for tlib in ncurses termlib termcap curses; do
          136  +	brk=yes
          137  +	AC_CHECK_LIB($tlib, tputs, , brk=no)
          138  +	if test $brk = "yes"; then
          139  +	    HAVE_TLIB=yes
          140  +	    break
          141  +	fi
          142  +    done
          143  +    if test "x" = "x$HAVE_TLIB"; then
          144  +	AC_MSG_ERROR([
          145  +	    no terminal library found. Please retry with the --with-tlib argument.
          146  +	])
          147  +    fi
          148  +)
          149  +
   127    150   
   128    151   #--------------------------------------------------------------------
   129    152   #   Check for readline.h
   130    153   #--------------------------------------------------------------------
   131    154   
   132    155   AC_ARG_WITH(readline-includes,
   133    156               [  --with-readline-includes=DIR readline include files in DIR],
................................................................................
   164    187   	    Your readline version does not support readline's alternate interface.
   165    188   	    Please upgrade to readline >= 2.2 and retry.
   166    189   	])
   167    190   	exit
   168    191       )
   169    192   )
   170    193   
   171         -# ---
   172         -# check for the terminal library.
   173         -# ---
   174         -
   175         -AC_ARG_WITH(tlib-library,
   176         -    [  --with-tlib-library=DIR
   177         -		  lib spec to tlib (e.g. '-L/usr/local/lib -lncurses')],
   178         -    LIBS="$LIBS $withval",
   179         -    for tlib in ncurses termlib termcap curses; do
   180         -	brk=yes
   181         -	AC_CHECK_LIB($tlib, tputs, , brk=no)
   182         -	if test $brk = "yes"; then
   183         -	    HAVE_TLIB=yes
   184         -	    break
   185         -	fi
   186         -    done
   187         -    if test "x" = "x$HAVE_TLIB"; then
   188         -	AC_MSG_ERROR([
   189         -	    no terminal library found. Please retry with the --with-tlib argument.
   190         -	])
   191         -    fi
   192         -)
   193    194   
   194    195   
   195    196   # check for readline's (macro.c) private variable
   196    197   # _rl_executing_macro.
   197    198   
   198    199   AC_MSG_CHECKING([for _rl_executing_macro in -lreadline])
   199    200   AC_TRY_LINK(,[