~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to config/register_plugins.py

  • Committer: Monty Taylor
  • Date: 2009-10-08 06:12:02 UTC
  • mto: This revision was merged to the branch mainline in revision 1173.
  • Revision ID: mordred@inaugust.com-20091008061202-kfpjxic4yiksdfhv
Fixed an accidental logic error that caused any plugin which was availble to be built to be automatically enabled/builtin.

Show diffs side-by-side

added added

removed removed

Lines of Context:
171
171
AS_HELP_STRING([--without-%(name_with_dashes)s-plugin],[Disable building %(title)s])
172
172
  ],
173
173
  [with_%(name)s_plugin="$withval"],
174
 
  [AS_IF([test "x$ac_with_all_plugins" = "yes"],
 
174
  [AS_IF([test "x$ac_with_all_plugins" = "xyes"],
175
175
         [with_%(name)s_plugin=yes],
176
176
         [with_%(name)s_plugin=%(default_yesno)s])])
177
177
""" % plugin)
185
185
  if plugin['has_build_conditional']:
186
186
    plugin_ac.write("""
187
187
AS_IF([test %(build_conditional)s],
188
 
      [with_%(name)s_plugin=yes],
 
188
      [], dnl build_conditional can only negate
189
189
      [with_%(name)s_plugin=no])
190
190
  """ % plugin)
191
191
  plugin['plugin_dep_libs']=" ".join(["\${top_builddir}/%s" % f for f in plugin['libs'].split()])