[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
configure improperly identifies installed readline
From: |
Dimitar Zhekov |
Subject: |
configure improperly identifies installed readline |
Date: |
Mon, 25 Mar 2002 09:19:14 +0200 (EET) |
Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu'
-DCONF_VENDOR='pc' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -O2
-pipe -s
uname output: Linux xos4 2.4.18 #2 Fri Mar 15 21:03:04 EET 2002 i686 unknown
Machine Type: i686-pc-linux-gnu
Bash Version: 2.05a
Patch Level: 0
Release Status: release
Description:
The RL_MINOR= in aclocal.m4 uses single brackets for it's a-zA-Z range,
which evaluates to no brackets in configure (see bash-2.05a configure).
So the trailing 'a' from "4.2a" remains and readline is not identified
properly. If this description is too short, just see the fix below.
Repeat-By:
./configure --with-installed-readline
Fix:
<cut here>
diff -NrC3 bash-2.05a/aclocal.m4 bash/aclocal.m4
*** bash-2.05a/aclocal.m4 Wed Nov 7 17:59:37 2001
--- bash/aclocal.m4 Sun Mar 24 09:38:03 2002
***************
*** 1655,1661 ****
case "$ac_cv_rl_version" in
2*|3*|4*|5*|6*|7*|8*|9*)
RL_MAJOR=`echo $ac_cv_rl_version | sed 's:\..*$::'`
! RL_MINOR=`echo $ac_cv_rl_version | sed -e 's:^.*\.::' -e
's:[a-zA-Z]*$::'`
;;
esac
--- 1655,1661 ----
case "$ac_cv_rl_version" in
2*|3*|4*|5*|6*|7*|8*|9*)
RL_MAJOR=`echo $ac_cv_rl_version | sed 's:\..*$::'`
! RL_MINOR=`echo $ac_cv_rl_version | sed -e 's:^.*\.::' -e
's:[[a-zA-Z]]$::'`
;;
esac
<cut here>
E-gards: Jimmy
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- configure improperly identifies installed readline,
Dimitar Zhekov <=