Module Name: src
Committed By: sevan
Date: Tue Nov 6 22:01:16 UTC 2018
Modified Files:
src/external/gpl2/groff/dist: configure
Log Message:
Test for other exit cases.
It might be worth regenerating configure with modern autoconf.
Reviewed by <riastradh>
Closes PR toolchain/53314
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/gpl2/groff/dist/configure
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl2/groff/dist/configure
diff -u src/external/gpl2/groff/dist/configure:1.1.1.1 src/external/gpl2/groff/dist/configure:1.2
--- src/external/gpl2/groff/dist/configure:1.1.1.1 Wed Jan 13 18:41:45 2016
+++ src/external/gpl2/groff/dist/configure Tue Nov 6 22:01:16 2018
@@ -2511,6 +2511,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
'extern "C" void std::exit (int); using std::exit;' \
'extern "C" void exit (int) throw ();' \
'extern "C" void exit (int);' \
+ 'extern "C" [[noreturn]] void exit (int);' \
+ 'extern "C" _Noreturn void exit (int);' \
'void exit (int);'
do
cat >conftest.$ac_ext <<_ACEOF
@@ -2977,6 +2979,8 @@ for ac_declaration in \
'extern "C" void std::exit (int); using std::exit;' \
'extern "C" void exit (int) throw ();' \
'extern "C" void exit (int);' \
+ 'extern "C" [[noreturn]] void exit (int);' \
+ 'extern "C" _Noreturn void exit (int);' \
'void exit (int);'
do
cat >conftest.$ac_ext <<_ACEOF