i'm running ./autogen.sh on an ubuntu 9.10 machine (mythubuntu) and i get the following errors
 

config.status: executing libtool commands
./configure: line 13601: pkg-config: command not found
checking if RANDR is defined... no
./configure: line 13635: pkg-config: command not found
checking if RENDER is defined... no
./configure: line 13669: pkg-config: command not found
checking if XF86DRI is defined... no
./configure: line 13703: pkg-config: command not found
checking if DPMSExtension is defined... no
./configure: line 13737: pkg-config: command not found
checking if XSERVER_LIBPCIACCESS is defined... no
./configure: line 13771: syntax error near unexpected token `XORG,'
./configure: line 13771: `PKG_CHECK_MODULES(XORG, xorg-server xproto fontsproto $REQUIRED_MODULES)'
 
 
Can anybody shed some light on what im doing wrong ?
 
Im new to all this so an idiots explanation please :o)
 
many thanks