diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2023-06-29 13:06:41 +0200 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2023-06-29 13:06:41 +0200 |
commit | 99e57663518b0eaf8fa69d20d0e796321bc8e558 (patch) | |
tree | cddeb6ccb3676d743cc3aec5a8a0a946a3a8cf54 | |
parent | af492eb6d6c90cf470c544083d3b6b3648f1bea2 (diff) | |
download | postgresql-99e57663518b0eaf8fa69d20d0e796321bc8e558.tar.gz postgresql-99e57663518b0eaf8fa69d20d0e796321bc8e558.zip |
meson: Use a better error message in an impossible case
Meson validates 'choice' options for us, so technically this case is
impossible. A better error message helps people reading the code
understand what is going on in that branch.
Author: Tristan Partin <tristan@neon.tech>
Discussion: https://www.postgresql.org/message-id/flat/CSPIJVUDZFKX.3KHMOAVGF94RV%40c3po
-rw-r--r-- | meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build index c0c00d22351..77e975051dd 100644 --- a/meson.build +++ b/meson.build @@ -1346,7 +1346,7 @@ if uuidopt != 'none' uuidfunc = 'uuid_export' uuidheader = 'uuid.h' else - error('huh') + error('unknown uuid build option value: @0@'.format(uuidopt)) endif if not cc.has_header_symbol(uuidheader, uuidfunc, args: test_c_args, dependencies: uuid) |