Hi,
There's been some recent DSO linker changes on glibc lately which have made
it into recent versions of Debian/Ubuntu. Currently, without the following
patch, FVWM CVS won't compile.
Before I go ahead and commit this, can someone ensure this isn't breaking
compilation on other older systems, please? The linker should be fine, but
obviously if ld can't find "-l fontconfig" in this case, it's not going to
work either, and I don't want to break compilation in that way.
--------------------------------------------------------------------------
diff --git a/acinclude.m4 b/acinclude.m4
index aea3506..e5e6bcd 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -943,7 +943,7 @@ if test "$FT2_CONFIG" = "no" ; then
no_ft=yes
else
FT2_CFLAGS=`$FT2_CONFIG $ft_config_args --cflags`
- FT2_LIBS=`$FT2_CONFIG $ft_config_args --libs`
+ FT2_LIBS=`$FT2_CONFIG $ft_config_args --libs` -lfontconfig
ft_config_major_version=`$FT2_CONFIG $ft_config_args --version | \
sed 's/^[[^0-9.]]*\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\).*$/\1/'`
ft_config_minor_version=`$FT2_CONFIG $ft_config_args --version | \
---------------------------------------------------------------------------
Kindly,
-- Thomas Adam
--
"Deep in my heart I wish I was wrong. But deep in my heart I know I am
not." -- Morrissey ("Girl Least Likely To" -- off of Viva Hate.)