Alex, I think your problem is caused by autoconf generating a bad configure script. I encountered this in a different context recently. It occurred because configure.ac contained dos line endings. I changed these to Unix. That solved the problem. Maybe autoconf on the Mac is looking for Mac line endings. You could try fixing that. A better bet might be to download the tarball for liblouisutdml from http://www.abilitiessoft.com That way you won't have to run autogen.sh This whold business of different line endings is pretty silly. The autotools should work whatever the line endings are. But we have to put up with it for now. John On Wed, Jul 13, 2011 at 07:52:53AM -0700, Alex Jurgensen wrote: > Hi All, > > I am trying to configure LibLouisUTDML, but I get the following error. > > checking for pkg-config... /usr/local/bin/pkg-config > ./configure: line 14441: syntax error near unexpected token > `BASE_DEPENDENCIES,' > ./configure: line 14441: `PKG_CHECK_MODULES(BASE_DEPENDENCIES, liblouis, > libxml-2.0)' > > Does anyone have any idea why this may be occuring? > > Any help is appreicated. > > Regards, > Alex, > > -- John J. Boyer; President, Chief Software Developer Abilitiessoft, Inc. http://www.abilitiessoft.com Madison, Wisconsin USA Developing software for people with disabilities