Dan Nicholson wrote:

> I was just looking through the pic code evaluation in libtool.m4 and
> not getting real excited about recreating that.
In xserver's configure.ac you can, somewhere after AC_PROG_LIBTOOL, put
something like:
CC_PIC_FLAG="$lt_prog_compiler_pic"
CXX_PIC_FLAG="$lt_prog_compiler_pic_CXX"
AC_SUBST([CC_PIC_FLAG])
AC_SUBST([CXX_PIC_FLAG])

Then in the Makefile.am that descends into the mesa build, you can set
these vars as arguments to make (I guess you already set CC etc this
way?), and use them to build the pic objects.

I am pretty sure that you can similarly avoid the need for a fake
convenience .la, but can not work it out without actually attempting a
build :)

Peter
-- 
Peter O'Gorman
http://pogma.com


_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to