1447N/Aindex 28537ac..09d4d9a 100644
1447N/A@@ -221,6 +221,8 @@ AC_REPLACE_FUNCS([strcasecmp strcasestr strlcat strlcpy strndup])
1447N/A dnl Find the math libary, then check for cbrt function in it.
1447N/A+# But we don't want to link everything with libm
1447N/A dnl Check for libtsol for Solaris Trusted Extensions module
1447N/A AC_CHECK_LIB(tsol, bsllow, [BUILD_TSOL_MODULE=yes], [BUILD_TSOL_MODULE=no])
1447N/A@@ -1092,7 +1094,6 @@ AM_CONDITIONAL(AIGLX_DRI_LOADER, { test "x$DRI" = xyes || test "x$DRI2" = xyes;
1447N/A if test "x$GLX_USE_TLS" = xyes ; then
1447N/A GLX_DEFINES="-DGLX_USE_TLS -DPTHREADS"
1447N/A- GLX_SYS_LIBS="$GLX_SYS_LIBS -lpthread"
1447N/A@@ -1516,6 +1517,7 @@ XSERVER_CFLAGS="${XSERVER_CFLAGS} ${XSERVERCFLAGS_CFLAGS}"
1447N/A XSERVER_LIBS="$DIX_LIB $MI_LIB $OS_LIB"
1447N/A XSERVER_SYS_LIBS="${XSERVERLIBS_LIBS} ${SYS_LIBS} ${LIBS}"
1447N/A XSERVER_SYS_LIBS="${XSERVER_SYS_LIBS} -lproject"
1447N/A+XSERVER_SYS_LIBS="${XSERVER_SYS_LIBS} -lm"
1447N/A AC_SUBST([XSERVER_SYS_LIBS])
1447N/Aindex c3899b5..36ca3d6 100644
1447N/A@@ -25,10 +25,10 @@ if INT10MODULE
1351N/A-SUBDIRS = common ddc x86emu $(INT10_SUBDIR) os-support parser \
1351N/A- ramdac $(VGAHW_SUBDIR) loader modes $(DRI_SUBDIR) \
1351N/A- $(DRI2_SUBDIR) . $(VBE_SUBDIR) i2c dixmods \
1351N/A- fbdevhw shadowfb exa $(XF86UTILS_SUBDIR) doc man
1351N/A+SUBDIRS = common ddc i2c x86emu $(INT10_SUBDIR) fbdevhw os-support parser \
1351N/A+ ramdac shadowfb $(VBE_SUBDIR) $(VGAHW_SUBDIR) loader \
1351N/A+ $(DRI_SUBDIR) $(DRI2_SUBDIR) . dixmods exa modes \
1265N/A+ $(XF86UTILS_SUBDIR) doc man
1265N/A DIST_SUBDIRS = common ddc i2c x86emu int10 fbdevhw os-support \
1351N/A parser ramdac shadowfb vbe vgahw \
1447N/A@@ -38,7 +38,7 @@ DIST_SUBDIRS = common ddc i2c x86emu int10 fbdevhw os-support \
1265N/A-AM_CFLAGS = $(DIX_CFLAGS) @XORG_CFLAGS@
1265N/A+AM_CFLAGS = $(DIX_CFLAGS) $(PIXMAN_CFLAGS) @XORG_CFLAGS@
1351N/A -I$(srcdir)/ddc -I$(srcdir)/i2c -I$(srcdir)/modes -I$(srcdir)/ramdac \
1351N/A -I$(srcdir)/dri -I$(srcdir)/dri2
1447N/A@@ -123,6 +123,9 @@ include $(SDKSYMS_DEP)
1447N/A@@ -18,7 +18,9 @@ INCLUDES = @XORG_INCS@ \
1447N/A libfb_la_LDFLAGS = -module -avoid-version $(LD_NO_UNDEFINED_FLAG)
1447N/A+libfb_la_LDFLAGS += $(XORG_EXTERNS_FLAG)
1447N/A+libfb_la_LIBADD += -lpixman-1
1447N/A libfb_la_CFLAGS = $(AM_CFLAGS)
1447N/A libwfb_la_CFLAGS = $(AM_CFLAGS) -DFB_ACCESS_WRAPPER
1447N/A libglx_la_LDFLAGS = -module -avoid-version $(LD_NO_UNDEFINED_FLAG)
1447N/A+libglx_la_LDFLAGS += $(XORG_EXTERNS_FLAG)
1447N/A+libglx_la_LDFLAGS += -R$(extsmoduledir)
1447N/A+libglx_la_LDFLAGS += $(LIBDRM_LIBS)
1447N/A libshadow_la_LDFLAGS = -module -avoid-version $(LD_NO_UNDEFINED_FLAG)
1447N/A+libshadow_la_LDFLAGS += $(XORG_EXTERNS_FLAG)
1447N/Aindex cb18db1..06cd033 100644
1351N/A bt829_drv_la_LDFLAGS = -module -avoid-version $(LD_NO_UNDEFINED_FLAG)
1351N/A+bt829_drv_la_LDFLAGS += $(XORG_EXTERNS_FLAG)
1351N/A fi1236_drv_la_LDFLAGS = -module -avoid-version $(LD_NO_UNDEFINED_FLAG)
1351N/A+fi1236_drv_la_LDFLAGS += $(XORG_EXTERNS_FLAG)
1351N/A msp3430_drv_la_LDFLAGS = -module -avoid-version $(LD_NO_UNDEFINED_FLAG)
1351N/A+msp3430_drv_la_LDFLAGS += $(XORG_EXTERNS_FLAG)
1351N/A tda8425_drv_la_LDFLAGS = -module -avoid-version $(LD_NO_UNDEFINED_FLAG)
1351N/A+tda8425_drv_la_LDFLAGS += $(XORG_EXTERNS_FLAG)
1351N/A tda9850_drv_la_LDFLAGS = -module -avoid-version $(LD_NO_UNDEFINED_FLAG)
1351N/A+tda9850_drv_la_LDFLAGS += $(XORG_EXTERNS_FLAG)
1351N/A tda9885_drv_la_LDFLAGS = -module -avoid-version $(LD_NO_UNDEFINED_FLAG)
1351N/A+tda9885_drv_la_LDFLAGS += $(XORG_EXTERNS_FLAG)
1351N/A uda1380_drv_la_LDFLAGS = -module -avoid-version $(LD_NO_UNDEFINED_FLAG)
1351N/A+uda1380_drv_la_LDFLAGS += $(XORG_EXTERNS_FLAG)
1447N/Aindex 5756fca..6ec3116 100644
957N/A INCLUDES = $(XORG_INCS)
957N/A AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS)
1447N/A+libshadowfb_la_LDFLAGS += $(XORG_EXTERNS_FLAG)
1447N/A+libshadowfb_la_LIBADD += -lXfont
1447N/Aindex f77bf60..64a7362 100644
1447N/A@@ -24,4 +24,6 @@ bin_PROGRAMS = gtf
1447N/A gtf_CFLAGS = $(XORG_CFLAGS)
1447N/A+# Include -lc as workaround for bug 17815318 so libm can actually go away
1447N/A+# if -xlibmil manages to inline all math functions.
1447N/Aindex 0b24faf..40ba628 100644
1447N/A@@ -11,3 +11,5 @@ AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS)
957N/A INCLUDES = $(XORG_INCS) -I$(srcdir)/../ddc -I$(srcdir)/../i2c \
1196N/A+libvbe_la_LDFLAGS += $(XORG_EXTERNS_FLAG)
1447N/Aindex f48e46a..5b69aad 100644
1447N/A libvgahw_la_LDFLAGS = -avoid-version
1447N/A+libvgahw_la_LIBADD = $(PCIACCESS_LIBS)
1447N/A INCLUDES = $(XORG_INCS) -I$(srcdir)/../ddc -I$(srcdir)/../i2c
1447N/A AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS)