]> git.ipfire.org Git - thirdparty/glibc.git/commit
C-SKY: Use an autoconf template to produce `preconfigure'
authorMaciej W. Rozycki <macro@embecosm.com>
Fri, 13 May 2022 16:07:23 +0000 (17:07 +0100)
committerMaciej W. Rozycki <macro@embecosm.com>
Fri, 13 May 2022 16:07:23 +0000 (17:07 +0100)
commit7c20479d082eb85ac1179df0411ef3e4a0634298
tree9e3585841d3fd377c65b7d1343678d4ef58126d3
parentf39ff483f320878b2a2950353d05747eae623216
C-SKY: Use an autoconf template to produce `preconfigure'

Avoid fiddling with autoconf internals and use AC_DEFINE_UNQUOTED to
define macros in the configuration headers rather than handcoding an
equivalent shell sequence with the use of the `as_echo' undocumented
variable.

Switch to using AC_MSG_ERROR rather than `echo' and `exit' directly for
error handling.  Owing to the lack of any kind of error annotation it
makes it difficult to spot the message in the flood in a parallel build
and neither it is logged in `config.log'.
sysdeps/csky/preconfigure
sysdeps/csky/preconfigure.ac [new file with mode: 0644]