[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GNU Autoconf 2.59c] testsuite: 33 34 57 80 81 82 83 84 86 ... 224 f
From: |
Ralf Wildenhues |
Subject: |
Re: [GNU Autoconf 2.59c] testsuite: 33 34 57 80 81 82 83 84 86 ... 224 failed |
Date: |
Fri, 27 May 2005 09:28:59 +0200 |
User-agent: |
Mutt/1.4.1i |
Hi Ralf, Paul,
* Ralf Menzel wrote on Thu, May 26, 2005 at 07:19:06PM CEST:
> Ralf Menzel <address@hidden> writes:
> >
> > bash> ../configure > /dev/null ; grep '^SHELL' Makefile
> > SHELL = /bin/bash
> > bash> /bin/bash ../configure > /dev/null ; grep '^SHELL' Makefile
> > SHELL = /bin/sh
> > bash> /bin/sh ../configure > /dev/null ; grep '^SHELL' Makefile
> > SHELL = /bin/bash
>
> I tried to find out what is causing this 'inconsistency'. (Please keep
> in mind that I don't fully understand what I'm doing.) To me it looks
> like the configure script tests if its executing shell is 'compatible
> enough'. If this is not the case it looks for a better shell and
> records its name in CONFIG_SHELL. If the script is happy with the
> executing shell it doesn't touch the variable CONFIG_SHELL. It then
> assigns the variable SHELL the value of CONFIG_SHELL with /bin/sh as
> default.
>
> So, if the shell that executes the configure script is bash the
> varible SHELL will be set to /bin/sh.
This patch addresses the "inconsistency":
| 2005-01-31 Paul Eggert <address@hidden>
|
| * doc/autoconf.texi (config.status Invocation): Warn about
| discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
| * doc/install.texi (Defining Variables): Likewise.
| Based on a proposed patch by Ralf Wildenhues.
*snip*
| --- doc/install.texi 20 Aug 2004 19:58:07 -0000 1.41
| +++ doc/install.texi 29 Jan 2005 14:31:09 -0000
| @@ -226,6 +226,15 @@
| will cause the specified gcc to be used as the C compiler (unless it is
| overridden in the site shell script).
|
| +If you need @command{configure} as well as subsequent scripts like
| address@hidden to be executed by a certain shell, then set
| address@hidden and use @command{configure} as argument to the
| shell:
| +
| address@hidden
| +CONFIG_SHELL=/usr/bin/bash /usr/bin/bash ./configure [...]
| address@hidden example
| +
| address@hidden Invocation}, for more details.
> It tried the following patch.
>
> --- lib/autoconf/general.m4 24 May 2005 07:32:13 -0000 1.862
> +++ lib/autoconf/general.m4 26 May 2005 17:05:48 -0000
> @@ -398,7 +398,7 @@ cross_compiling=no
> subdirs=
> MFLAGS=
> MAKEFLAGS=
> -AC_SUBST([SHELL], [${CONFIG_SHELL-/bin/sh}])dnl
> +AC_SUBST([SHELL], [${CONFIG_SHELL-${SHELL-/bin/sh}}])dnl
> AC_SUBST([PATH_SEPARATOR])dnl
>
> # Maximum number of lines to put in a shell here document.
> --- snip ---
>
> This helped in my case. So you think it might be useful in general?
I don't think it's correct. SHELL could be /bin/tcsh (and I vaguely
remember a similar discussion before, but cannot find it at the moment).
Moreover, I'm not sure that it won't break Libtool[1].
Regards,
Ralf
[1] Which is not Autoconf's primary problem, sure. But it'd still be
nice to keep an eye on it if possible.
- [GNU Autoconf 2.59c] testsuite: 1 6 7 11 50 51 52 53 54 55 56 57 59 60 61 62 63 64 65 66 67 70 71 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 failed, Ralf Menzel, 2005/05/25
- Re: [GNU Autoconf 2.59c] testsuite: 1 6 7 11 50 51 52 53 54 55 56 57 59 60 61 62 63 64 65 66 67 70 71 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 failed, Stepan Kasal, 2005/05/25
- Re: [GNU Autoconf 2.59c] testsuite: 1 6 7 11 50 51 52 53 54 55 56 57 59 60 61 62 63 64 65 66 67 70 71 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116, Paul Eggert, 2005/05/26
- [GNU Autoconf 2.59c] testsuite: 33 34 57 80 81 82 83 84 86 ... 224 failed [Was: [GNU Autoconf 2.59c] testsuite: 1 6 7 11 50 51 52 53 54 55 56 57 59 60 61 62 63 64 65 66 67 70 71 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116], Ralf Menzel, 2005/05/26
- Re: [GNU Autoconf 2.59c] testsuite: 33 34 57 80 81 82 83 84 86 ... 224 failed, Ralf Menzel, 2005/05/26
- Re: [GNU Autoconf 2.59c] testsuite: 33 34 57 80 81 82 83 84 86 ... 224 failed,
Ralf Wildenhues <=
- Re: [GNU Autoconf 2.59c] testsuite: 33 34 57 80 81 82 83 84 86 ... 224 failed, Stepan Kasal, 2005/05/27
- Re: [GNU Autoconf 2.59c] testsuite: 33 34 57 80 81 82 83 84 86 ... 224 failed, Ralf Menzel, 2005/05/27
- Re: [GNU Autoconf 2.59c] testsuite: 33 34 57 80 81 82 83 84 86 ... 224 failed, Stepan Kasal, 2005/05/31
- Re: [GNU Autoconf 2.59c] testsuite: 1 6 7 11 50 51 52 53 54 55 56 57 59 60 61 62 63 64 65 66 67 70 71 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116, Stepan Kasal, 2005/05/26
Re: [GNU Autoconf 2.59c] testsuite: 1 6 7 11 50 51 52 53 54 55 56 57 59 60 61 62 63 64 65 66 67 70 71 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 failed, Ralf Menzel, 2005/05/26