diff -uprN vlc-0.9.0-svn/configure.ac vlc-0.9.0-svn.az/configure.ac --- vlc-0.9.0-svn/configure.ac 2007-10-04 18:10:23.000000000 +0200 +++ vlc-0.9.0-svn.az/configure.ac 2007-10-13 00:11:39.000000000 +0200 @@ -838,7 +838,7 @@ AC_CHECK_HEADERS(cthreads.h pthread.h ke fi # end "${SYS}" != "mingw32" -a "${SYS}" != "mingwce" dnl Find where are the X headers and libraries -AC_PATH_XTRA() +AC_PATH_X() dnl it seems that autoconf do the pkg-config detection only for the first PKG_CHECK_MODULES in the configure.ac ( which is logical) but in our case it is nested in a if so it was not working if you're not on linux or have disable hal. diff -uprN vlc-0.9.0-svn/modules/genmf vlc-0.9.0-svn.az/modules/genmf --- vlc-0.9.0-svn/modules/genmf 2007-09-01 18:58:35.000000000 +0200 +++ vlc-0.9.0-svn.az/modules/genmf 2007-10-13 00:11:44.000000000 +0200 @@ -46,7 +46,7 @@ EXTRA_LTLIBRARIES = ${extra_ltlibs} include Modules.am if HAVE_PLUGINS -LTLIBVLC = -L\$(top_builddir)/src -lvlc +LTLIBVLC = \$(top_builddir)/src/libvlc.la AM_LDFLAGS = -rpath '\$(libvlcdir)' -avoid-version \\ -module -no-undefined -shrext \$(LIBEXT)