changeset 4785:0bb68a723b61

Avoid forcing the search of /usr/include before fixed include files by resetting C_SWITCH_X_SITE if it is "-I/usr/include".
author Brian Fox <bfox@gnu.org>
date Fri, 24 Sep 1993 07:07:22 +0000
parents 8878c40bc7bd
children 0a297b60d293
files configure1.in
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure1.in	Fri Sep 24 04:10:11 1993 +0000
+++ b/configure1.in	Fri Sep 24 07:07:22 1993 +0000
@@ -1065,6 +1065,11 @@
 [ -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