meson: Mention the correct way to disable readline support
authorPeter Eisentraut <peter@eisentraut.org>
Thu, 29 Jun 2023 11:04:04 +0000 (13:04 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Thu, 29 Jun 2023 11:04:04 +0000 (13:04 +0200)
Using false to disable a feature option is incorrect.

Author: Tristan Partin <tristan@neon.tech>
Discussion: https://www.postgresql.org/message-id/flat/CSPIJVUDZFKX.3KHMOAVGF94RV%40c3po

meson.build

index 469cb4585cfd25096845990d1e08407f2a7449f9..5d026f696e64a1a583559bc8bbdd52b4282628a1 100644 (file)
@@ -1131,7 +1131,7 @@ if not get_option('readline').disabled()
       error('''readline header not found
 If you have @0@ already installed, see meson-log/meson-log.txt for details on the
 failure. It is possible the compiler isn't looking in the proper directory.
-Use -Dreadline=false to disable readline support.'''.format(readline_dep))
+Use -Dreadline=disabled to disable readline support.'''.format(readline_dep))
     endif
 
     check_funcs = [