blob: 1f9b837753e15be038984cdc0fde42c0df0aa5ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
$NetBSD: patch-ac,v 1.3 1999/07/27 08:38:37 mycroft Exp $
--- configure.orig Sat Apr 24 14:11:32 1999
+++ configure Tue Jul 27 04:35:03 1999
@@ -4841,14 +4841,14 @@
if test x"$with_readline" != "xno" ; then
READLINE=""
unset ac_cv_lib_readline_readline
- echo $ac_n "checking for readline in -lreadline""... $ac_c" 1>&6
-echo "configure:4846: checking for readline in -lreadline" >&5
+ echo $ac_n "checking for readline in -ledit""... $ac_c" 1>&6
+echo "configure:4846: checking for readline in -ledit" >&5
ac_lib_var=`echo readline'_'readline | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
-LIBS="-lreadline $LIBS"
+LIBS="-ledit -ltermcap $LIBS"
cat > conftest.$ac_ext <<EOF
#line 4854 "configure"
#include "confdefs.h"
@@ -4876,7 +4876,7 @@
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
- READLINE="" LIBS="-lreadline $LIBS"
+ READLINE="" LIBS="-ledit -ltermcap $LIBS"
else
echo "$ac_t""no" 1>&6
@@ -5243,7 +5243,7 @@
# For Solaris; some versions of Sun CC require a space after -R and
# others require no space. Words are not sufficient . . . .
case "`(uname -sr) 2>/dev/null`" in
- "SunOS 5"*)
+ "SunOS 5"*|"NetBSD "*)
echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
echo "configure:5249: checking whether -R must be followed by a space" >&5
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
@@ -6295,7 +6295,7 @@
fi
-
+if false; then
echo $ac_n "checking for XpmCreatePixmapFromData in -lXpm""... $ac_c" 1>&6
echo "configure:6301: checking for XpmCreatePixmapFromData in -lXpm" >&5
ac_lib_var=`echo Xpm'_'XpmCreatePixmapFromData | sed 'y%./+-%__p_%'`
@@ -6340,7 +6340,7 @@
else
echo "$ac_t""no" 1>&6
fi
-
+fi
if test x"$MISSING_X_LIBS" != "x"; then
echo
|