[wellylug] configure script and fontpath

Phillip Rose rosewong at paradise.net.nz
Wed Jan 14 11:25:11 NZDT 2004


At 10:37 14/01/04 +1300, Edouard wrote:
>Hi 
>I have a bit of an issue here with fonts
>
>the ./configure --with-fontpath=/blablablabla is sending me back a :
>
>./configure: fontpath,: command not found
>
>Well.....  from what I can find in the script is :
>
>
>*****************************************************
># Check whether --with- or --without- was given.
>if test "${with_+set}" = set; then
>  withval="$with_"
>  :
>fi
> (fontpath,  --with-fontpath	Path to your TTF fonts dir,
>case $with_fontpath in
>      /*) cat >> confdefs.h <<\EOF
>#define HAVE_FONTPATH 1
>EOF
>
>          cat >> confdefs.h <<EOF
>#define FONTPATH "$with_fontpath"
>EOF
>
>      	  ;;
>      *)  cat >> confdefs.h <<EOF
>#define FONTPATH NULL
>EOF
>
>      	  { echo "configure: error: "--with-fontpath: $with_fontpath is not a 
>valid pathname."" 1>&2; exit 1; }
>	  ;;
>esac)
>************************************************
>
>So I would guess that it knows what fontpath is... 
>Any idea to resolve that or anybody knows what it is about ?

I wonder if the mixture of "with_" and "with-" could be a problem
(underscore vs. hyphen). Or is that not perinent here?

--Phillip Rose



More information about the wellylug mailing list