Add additional -I includes to both CFLAGS and CPPFLAGS

darcs-hash:20060302013016-ac50b-38373bd0c6fd64189e4f87a90171cfa716ecf11e.gz
This commit is contained in:
axel 2006-03-02 11:30:16 +10:00
parent 5f85d27671
commit 7a1d64637d

View file

@ -7,6 +7,7 @@ for i in /usr/pkg /sw /opt /opt/local; do
if test -d $i/include; then if test -d $i/include; then
AC_MSG_RESULT(yes) AC_MSG_RESULT(yes)
CPPFLAGS="$CPPFLAGS -I$i/include/" CPPFLAGS="$CPPFLAGS -I$i/include/"
CFLAGS="$CFLAGS -I$i/include/"
else else
AC_MSG_RESULT(no) AC_MSG_RESULT(no)
fi fi
@ -256,5 +257,6 @@ fi
AC_CONFIG_FILES([Makefile fish.spec doc_src/fish.1 doc_src/Doxyfile etc/fish etc/fish_interactive.fish seq]) AC_CONFIG_FILES([Makefile fish.spec doc_src/fish.1 doc_src/Doxyfile etc/fish etc/fish_interactive.fish seq])
AC_OUTPUT AC_OUTPUT
echo "fish is now configured."
echo "Now run 'make' and 'make install' to built and install fish." echo "Now run 'make' and 'make install' to built and install fish."
echo "Good luck!" echo "Good luck!"