On Thu, Feb 25, 2010 at 9:41 PM, Dan Nicholson <dbn.li...@gmail.com> wrote: > >> diff --git a/configure.ac b/configure.ac >> index 485836a..a582337 100644 >> --- a/configure.ac >> +++ b/configure.ac >> @@ -28,8 +28,11 @@ AC_PROG_CPP >> AC_PROG_CC >> AC_PROG_CXX >> AC_CHECK_PROGS([MAKE], [gmake make]) >> -AC_PATH_PROG([MKDEP], [makedepend]) >> AC_PATH_PROG([SED], [sed]) >> +AC_PATH_PROG([MKDEP], [makedepend], no) >> +if test "x$MKDEP" = xno; then >> + AC_MSG_ERROR([makedepend not found]) >> +fi > > Yep, that would do it. In fact, when I wrote configure.ac originally, > I wanted it to be a hard requirement and assumed that AC_PATH_PROG > would error by default if it didn't find the program. >
Should I resubmit a proper git patch ? I have been running with makedepend installed on my 3 systems for 1 month, it has worked very well. I don't think I got ONE weird failure in the past month, while I used to get more than once per week. The only thing I need is to sometimes run autogen.sh and/or configure, when there are some structure changes (e.g. nv30-nv40 merge to nvfx). AFAIK this is also handled automatically in other projects. But this is much less annoying, because it fails at build time, instead of segfaulting at runtime. Everyone complains about mesa crappy build system so I thought all the failures I got were expected. Now I see they weren't, just that makedepend is badly required :) I am just worried some people might run into the same troubles as me. But I wonder if there are any since only Dan answered in that thread. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev