Skip to content
Snippets Groups Projects
Commit d3e25e74 authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

added a fix to make sure that we do *NOT* add -I/usr/include to CFLAGS

since this breaks #include_next in gcc.

Rev: src/configure.in:1.216
parent d0e6742d
No related branches found
No related tags found
No related merge requests found
AC_REVISION("$Id: configure.in,v 1.215 1998/07/11 15:49:27 grubba Exp $") AC_REVISION("$Id: configure.in,v 1.216 1998/07/15 20:18:26 hubbe Exp $")
AC_INIT(interpret.c) AC_INIT(interpret.c)
AC_CONFIG_HEADER(machine.h) AC_CONFIG_HEADER(machine.h)
...@@ -411,12 +411,18 @@ if test $cppflags_is_set = no -a x${C_INCLUDE_PATH-} = x ; then ...@@ -411,12 +411,18 @@ if test $cppflags_is_set = no -a x${C_INCLUDE_PATH-} = x ; then
`echo /usr/X11*/include | sort -r` `echo /usr/X11*/include | sort -r`
do do
AC_MSG_CHECKING($d) AC_MSG_CHECKING($d)
if test -d "$d/." ; then case x$d in
AC_MSG_RESULT(added) x/usr/include | x/usr//include)
CPPFLAGS="${CPPFLAGS} -I$d" ;;
else *)
AC_MSG_RESULT(no) if test -d "$d/." ; then
fi AC_MSG_RESULT(added)
CPPFLAGS="${CPPFLAGS} -I$d"
else
AC_MSG_RESULT(no)
fi
;;
esac
done done
else else
: :
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment