comparison configure.ac @ 21297:5b1acbab99cf

Make purple.h a generated file so plugins can just include this and never worry about defining PURPLE_PLUGINS ever again (unless they build libpurple without plugin support, which would be stupid)
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 10 Nov 2007 15:49:57 +0000
parents 8fe22cff1779
children abbf74f4732b
comparison
equal deleted inserted replaced
21296:8fe22cff1779 21297:5b1acbab99cf
2001 AC_SUBST(LIBS) 2001 AC_SUBST(LIBS)
2002 2002
2003 if test "x$enable_plugins" = "xyes" ; then 2003 if test "x$enable_plugins" = "xyes" ; then
2004 AC_DEFINE(PURPLE_PLUGINS, 1, [Define if plugins are enabled.]) 2004 AC_DEFINE(PURPLE_PLUGINS, 1, [Define if plugins are enabled.])
2005 AM_CONDITIONAL(PLUGINS, true) 2005 AM_CONDITIONAL(PLUGINS, true)
2006 PLUGINS_DEFINE="#define PURPLE_PLUGINS 1"
2006 else 2007 else
2007 AM_CONDITIONAL(PLUGINS, false) 2008 AM_CONDITIONAL(PLUGINS, false)
2008 fi 2009 PLUGINS_DEFINE="#undef PURPLE_PLUGINS"
2010 fi
2011 AC_SUBST(PLUGINS_DEFINE)
2009 2012
2010 dnl ####################################################################### 2013 dnl #######################################################################
2011 dnl # Check for Cyrus-SASL (for Jabber) 2014 dnl # Check for Cyrus-SASL (for Jabber)
2012 dnl ####################################################################### 2015 dnl #######################################################################
2013 dnl AC_CHECK_SIZEOF(short) 2016 dnl AC_CHECK_SIZEOF(short)
2270 libpurple/protocols/simple/Makefile 2273 libpurple/protocols/simple/Makefile
2271 libpurple/protocols/toc/Makefile 2274 libpurple/protocols/toc/Makefile
2272 libpurple/protocols/yahoo/Makefile 2275 libpurple/protocols/yahoo/Makefile
2273 libpurple/protocols/zephyr/Makefile 2276 libpurple/protocols/zephyr/Makefile
2274 libpurple/tests/Makefile 2277 libpurple/tests/Makefile
2278 libpurple/purple.h
2275 libpurple/version.h 2279 libpurple/version.h
2276 share/Makefile 2280 share/Makefile
2277 share/sounds/Makefile 2281 share/sounds/Makefile
2278 share/ca-certs/Makefile 2282 share/ca-certs/Makefile
2279 finch/finch.pc 2283 finch/finch.pc