summaryrefslogtreecommitdiffstats
path: root/tests/010
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-12-30 08:33:39 -0800
committerKaz Kylheku <kaz@kylheku.com>2021-12-30 08:33:39 -0800
commit6727cde034cecfbcb1521b1e568a19b3fb621bc6 (patch)
tree210459d99cdeefe3d13a8fa038eaf49fe573bb74 /tests/010
parent5f67b95d218e1ef3473c39bca2f6491503aeeabe (diff)
downloadtxr-6727cde034cecfbcb1521b1e568a19b3fb621bc6.tar.gz
txr-6727cde034cecfbcb1521b1e568a19b3fb621bc6.tar.bz2
txr-6727cde034cecfbcb1521b1e568a19b3fb621bc6.zip
configure: detect warning opts missing in older compilers.
* configure (diag_flags): Remove -Wvla and -Werror=declaration-after-statement. (diag_flags_given): New variable. New test: if diag_flags_given indicates that diag_flags were not specified by the user, then we try to add additional flags, subject to them being available, which we test by compiling the hello-world program with those flags. We rely on the hello-world program being left over by the previous compiler sanity check.
Diffstat (limited to 'tests/010')
0 files changed, 0 insertions, 0 deletions