meson-options: Make it possible to call this script from anywhere

Resolve the directory where meson_options.txt is located. This is
helpful for running the script in out-of-tree builds.

v2: Use __file__ (Dylan) and simplify path evaluation

Signed-off-by: Gert Wollny <>
1 job for !1870 with meson-allow-true-false-for-autofeatures in 24 seconds (queued for 2 seconds)
latest merge request