diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2020-11-16 08:42:15 +0000 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-11-17 09:41:59 +0900 |
commit | fcc88da5eb162043adcba552646677d2ab5adf55 (patch) | |
tree | 77af9aff793d4c05c6393cd8e5e00ff4226db152 /test/net | |
parent | ef19fb111a8c8bf1a71d46e6fcf34b227e086845 (diff) |
configure.ac: fix for upcoming autoconf-2.70
The failure initially noticed on `autoconf-2.69d` (soon to become 2.70):
```
$ ./configure
./configure: line 8720: syntax error near unexpected token `fi'
./configure: line 8720: `fi'
```
Before the change generated `./configure ` snippet looked like:
```
if ! $CC -E -xc - <<SRC >/dev/null
then :
#if defined __APPLE_CC__ && defined __clang_major__ && __clang_major__ < 3
#error premature clang
#endif
SRC
as_fn_error $? "clang version 3.0 or later is required" "$LINENO" 5
fi
```
Note the newline that breaks here-document syntax.
After the change the snippet does not use here-document.
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3773
Diffstat (limited to 'test/net')
0 files changed, 0 insertions, 0 deletions