diff options
Diffstat (limited to 'configure1.in')
-rwxr-xr-x | configure1.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure1.in b/configure1.in index 48883384d15..1f2818814d3 100755 --- a/configure1.in +++ b/configure1.in @@ -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 |