Issue #1999: Opening the Preferences dialogue triggers Xcode warning.04bbe941d5eb60d7547f7c66cd482f5fe91471e6
commit04bbe941d5eb60d7547f7c66cd482f5fe91471e6
authorJehan <jehan@girinstud.io>
Fri, 10 Aug 2018 17:09:05 +0000 (10 19:09 +0200)
committerJehan <jehan@girinstud.io>
Fri, 10 Aug 2018 22:25:45 +0000 (11 00:25 +0200)
tree3d380d9c02e8b48b414200ec848e6e24e712836b
parentae19441ddc1e9327a2920c19ef3f8943e2b14046
Issue #1999: Opening the Preferences dialogue triggers Xcode warning.

It seems that calling `lldb` when it is absent triggers some popup
proposing to install Xcode on macOS. This is obviously not good. Let's
check presence with g_find_program_in_path() instead. I was refraining
from doing so until now, because this function allocates memory, hence
may not do well during a crash.
Fortunately we don't need to check for lldb during crash (unlike gdb
which has some unacceptable behavior for older versions, at least on
FreeBSD) so that should be ok.
libgimpbase/gimputils.c