mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-26 07:33:47 +00:00
Avoid forcing the search of /usr/include before fixed include files by
resetting C_SWITCH_X_SITE if it is "-I/usr/include".
This commit is contained in:
parent
699213bcf1
commit
7a5e089152
@ -1065,6 +1065,11 @@ esac
|
||||
[ -n "${x_libraries}" ] && LD_SWITCH_X_SITE="-L${x_libraries}"
|
||||
[ -n "${x_includes}" ] && C_SWITCH_X_SITE="-I${x_includes}"
|
||||
|
||||
# Avoid forcing the search of /usr/include before fixed include files.
|
||||
if [ "$C_SWITCH_X_SITE" = "-I/usr/include" ]; then
|
||||
C_SWITCH_X_SITE=" "
|
||||
fi
|
||||
|
||||
case "${window_system}" in
|
||||
x11 )
|
||||
HAVE_X_WINDOWS=yes
|
||||
|
Loading…
Reference in New Issue
Block a user