Jelmer,

I've been looking at adding libical into configure.ac (to support 
exchange2ical better, and a potential ical2exchange tool). I've been having a 
bit of trouble with finding libical using pkg-config - it works on the 
command line, but not in the configure script.

I think it is because we're overriding PKG_CONFIG_PATH, but I'm not sure why 
it is being set at all. Is the patch below correct, or is there something I'm 
missing?

Brad

--- configure.ac        (revision 910)                             
+++ configure.ac        (working copy)                             
@@ -39,7 +39,7 @@                                                     
 AC_SUBST(sambaprefix)                                                
 OC_CHECK_SAMBA_PATH($sambaprefix,[], AC_MSG_ERROR(Samba 4 not found))
 AC_MSG_RESULT($sambaprefix)                                          
-PKG_CONFIG_PATH="$sambaprefix/lib/pkgconfig"                         
+PKG_CONFIG_PATH="$sambaprefix/lib/pkgconfig:$PKG_CONFIG_PATH"        
 PATH="$sambaprefix/bin:$PATH"

 #
_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel

Reply via email to