Commit 819146d9 authored by Stephan Bergmann's avatar Stephan Bergmann Committed by David Tardon

Make --with-gdb-data-dir default to ${datadir}/gdb

...instead of hardcoded /usr/share/gdb.  That way, builds configured with just
--prefix=... (like a Flatpak build from the Fedora librevenge srpm) will
automatically pick a correctly prefixed dir here, without a need for an explicit
--with-gdb-data-dir=... configuration.
parent 2f2afa1c
......@@ -285,7 +285,7 @@ AC_ARG_ENABLE([pretty-printers],
AC_ARG_WITH([gdb-data-dir],
[AS_HELP_STRING([--with-gdb-data-dir], [Specify gdb data dir])],
[gdb_data_dir="$withval"],
[gdb_data_dir="/usr/share/gdb"]
[gdb_data_dir='${datadir}/gdb']
)
AM_CONDITIONAL([BUILD_PRETTY_PRINTERS], [test "x$enable_pretty_printers" != "xno"])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment