On Sun, Jun 23, 2002 at 04:06:59AM -0600, S. Anderson wrote:
> Hi,
> with fvwm cvs, xft2 isn't detected with the following
> [EMAIL PROTECTED] ~/src/fvwm % ./utils/configure_dev.sh 
> --prefix=/home/sa/local \
>                    --enable-xft --with-xft-prefix=/usr/X11R6 \
>                    --with-fontconfig-prefix=/usr/X11R6
> 
> this diff fixes it,
> hth,
> sa
> 
> [EMAIL PROTECTED] (1)~/src/fvwm % diff -u acinclude.m4.orig acinclude.m4
> --- acinclude.m4.orig   Sun Jun 23 03:39:41 2002
> +++ acinclude.m4        Sun Jun 23 03:51:14 2002
> @@ -1159,7 +1159,7 @@
>  if test x$fc_config_exec_prefix != x ; then
>    fc_config_args="$fc_config_args --exec-prefix=$fc_config_exec_prefix"
>    if test x${FC_CONFIG+set} != xset ; then
> -    FC_CONFIG=$fc_config_exec_prefix/bin/fontconfig-config
> +    FC_CONFIG=$fc_config_exec_prefix/fontconfig-config
>    fi
>  fi

I do not think this is correct (but I am not a configure expert).
A priori you should just use --with-fontconfig-prefix="fc_install_prefix"
(if it is installed in a non standard place and you install fontconfig
with ./configure --prefix="fc_install_prefix"). Now, you should
use --with-fontconfig-exec-prefix="fc_install_exec_prefix" only if
"fc_install_exec_prefix" != "fc_install_prefix" and this means that
you have installed fontconfig with:
./configure [--prefix="fc_install_prefix"] --exec-prefix=fc_install_prefix_exec
which then install fontconfig-config in fc_install_prefix_exec/bin and
not in fc_install_prefix_exec/
Finally, if you use the Imake method to install fontconfig, I do
not think you need arguments to fvwm configure as fontconfig is
installed in a standard place (your X tree). 
 
>  if test x$fc_config_prefix != x ; then
> @@ -1349,6 +1349,7 @@
>  dnl
>        AC_TRY_RUN([
>  #include <X11/Xft/Xft.h>
> +#include <fontconfig/fontconfig.h>
>  #include <stdio.h>
>  #include <stdlib.h>
>

But in Xft2,  "X11/Xft/Xft.h" include fontconfig/fontconfig.h
at least with fcpackage.02-06-19.14-43. It seems to me that
for some reason the "X11/Xft/Xft.h" included is the one from
Xft1 (from your X install).

Can you give more info on your install: where X is installed
(with the version) and how you exactly install fcpackage.

Olivier
--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to