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

Merge 'heads/0.6': added a fix to make sure that we do *NOT* add -I/usr/include to CFLAGS

since this breaks #include_next in gcc.
parents a4a4c74c d3e25e74
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_CONFIG_HEADER(machine.h)
......@@ -411,12 +411,18 @@ if test $cppflags_is_set = no -a x${C_INCLUDE_PATH-} = x ; then
`echo /usr/X11*/include | sort -r`
do
AC_MSG_CHECKING($d)
case x$d in
x/usr/include | x/usr//include)
;;
*)
if test -d "$d/." ; then
AC_MSG_RESULT(added)
CPPFLAGS="${CPPFLAGS} -I$d"
else
AC_MSG_RESULT(no)
fi
;;
esac
done
else
:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment