1
2
3
4
5
6
7
8
9
10
|
# -*- autoconf -*-
# FILE: "/home/joze/src/tclreadline/configure.in"
# LAST MODIFICATION: "Mon Sep 20 01:44:59 1999 (joze)"
# (C) 1998, 1999 by Johannes Zellner, <johannes@zellner.org>
# $Id$
# ---
#
# tclreadline -- gnu readline for tcl
# Copyright (C) 1999 Johannes Zellner
#
|
|
|
|
1
2
3
4
5
6
7
8
9
10
|
# -*- autoconf -*-
# FILE: "/disk01/home/joze/src/tclreadline/configure.in"
# LAST MODIFICATION: "Mon Sep 20 01:54:59 1999 (joze)"
# (C) 1998, 1999 by Johannes Zellner, <johannes@zellner.org>
# $Id$
# ---
#
# tclreadline -- gnu readline for tcl
# Copyright (C) 1999 Johannes Zellner
#
|
︙ | | | ︙ | |
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
|
#--------------------------------------------------------------------
# Check for readline.h
#--------------------------------------------------------------------
AC_ARG_WITH(readline-includes,
[ --with-readline-includes=DIR
readline include files in DIR],
rl_includes=$withval, rl_includes=$prefix/include)
AC_MSG_CHECKING([where to look for readline.h])
READLINE_INCLUDE_DIR=""
for dir in $rl_includes $prefix/include/readline /usr/include/readline /usr/include /usr/local/include/readline /usr/local/include; do
if test -r $dir/readline.h; then
READLINE_INCLUDE_DIR=$dir
break
fi
done
if test -z "$READLINE_INCLUDE_DIR"; then
|
|
|
|
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
|
#--------------------------------------------------------------------
# Check for readline.h
#--------------------------------------------------------------------
AC_ARG_WITH(readline-includes,
[ --with-readline-includes=DIR
readline include files in DIR],
rl_includes=$withval, rl_includes="")
AC_MSG_CHECKING([where to look for readline.h])
READLINE_INCLUDE_DIR=""
for dir in $rl_includes /usr/local/include/readline /usr/local/include /usr/include/readline /usr/include ; do
if test -r $dir/readline.h; then
READLINE_INCLUDE_DIR=$dir
break
fi
done
if test -z "$READLINE_INCLUDE_DIR"; then
|
︙ | | | ︙ | |
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
|
#--------------------------------------------------------------------
# Check for libreadline
#--------------------------------------------------------------------
AC_ARG_WITH(readline-library,
[ --with-readline-library=DIR
readline library files in DIR],
rl_library=$withval, rl_library=$exec_prefix/lib)
AC_MSG_CHECKING([where to look for libreadline$SHLIB_SUFFIX])
READLINE_LIB_DIR=""
READLINE_VERSION_SUFFIX=""
for dir in $rl_library $TCLREADLINE_LPATH $prefix/lib/readline; do
if test -r $dir/libreadline$SHLIB_SUFFIX; then
READLINE_LIB_DIR=$dir
|
|
|
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
|
#--------------------------------------------------------------------
# Check for libreadline
#--------------------------------------------------------------------
AC_ARG_WITH(readline-library,
[ --with-readline-library=DIR
readline library files in DIR],
rl_library=$withval, rl_library="")
AC_MSG_CHECKING([where to look for libreadline$SHLIB_SUFFIX])
READLINE_LIB_DIR=""
READLINE_VERSION_SUFFIX=""
for dir in $rl_library $TCLREADLINE_LPATH $prefix/lib/readline; do
if test -r $dir/libreadline$SHLIB_SUFFIX; then
READLINE_LIB_DIR=$dir
|
︙ | | | ︙ | |
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
|
# check for the terminal library.
# ---
olibs=${LIBS}
AC_ARG_WITH(tlib-library,
[ --with-tlib-library=DIR
where to search for curses / termcap],
tlib_library=$withval, tlib_library=$exec_prefix/lib)
AC_MSG_CHECKING([where to look for the terminal library])
TERMLIB_DIR=""
TERMLIB_VERSION_SUFFIX=""
for dir in $tlib_library $TCLREADLINE_LPATH $prefix/lib/; do
for tlib in ncurses termlib termcap curses; do
dnl echo "(ls ${dir}/lib${tlib}${SHLIB_SUFFIX}*) 2>/dev/null"
|
|
|
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
|
# check for the terminal library.
# ---
olibs=${LIBS}
AC_ARG_WITH(tlib-library,
[ --with-tlib-library=DIR
where to search for curses / termcap],
tlib_library=$withval, tlib_library="")
AC_MSG_CHECKING([where to look for the terminal library])
TERMLIB_DIR=""
TERMLIB_VERSION_SUFFIX=""
for dir in $tlib_library $TCLREADLINE_LPATH $prefix/lib/; do
for tlib in ncurses termlib termcap curses; do
dnl echo "(ls ${dir}/lib${tlib}${SHLIB_SUFFIX}*) 2>/dev/null"
|
︙ | | | ︙ | |