~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/pandora_plugins.m4

  • Committer: Monty Taylor
  • Date: 2010-04-22 02:46:23 UTC
  • mto: (1497.3.4 enable-dtrace)
  • mto: This revision was merged to the branch mainline in revision 1527.
  • Revision ID: mordred@inaugust.com-20100422024623-4urw8fi8eraci08p
Don't overwrite the pandora_vc_revinfo file if we don't have new
authoratative information.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
dnl  Copyright (C) 2009 Sun Microsystems, Inc.
2
 
dnl This file is free software; Sun Microsystems, Inc.
 
1
dnl  Copyright (C) 2009 Sun Microsystems
 
2
dnl This file is free software; Sun Microsystems
3
3
dnl gives unlimited permission to copy and/or distribute it,
4
4
dnl with or without modifications, as long as this notice is preserved.
5
5
dnl--------------------------------------------------------------------
24
24
 
25
25
  dnl Add code here to read set plugin lists and  set drizzled_default_plugin_list
26
26
  pandora_builtin_list=`echo $pandora_builtin_list | sed 's/, *$//'`
27
 
  pandora_builtin_symbols_list=`echo $pandora_builtin_symbols_list | sed 's/, *$//'`
28
 
  pandora_builtin_load_list=`echo $pandora_builtin_load_list | sed 's/, *$//'`
29
 
  pandora_builtin_load_symbols_list=`echo $pandora_builtin_load_symbols_list | sed 's/, *$//'`
30
 
  AS_IF([test "x$pandora_builtin_symbols_list" = "x"], pandora_builtin_symbols_list="NULL")
31
 
  AS_IF([test "x$pandora_builtin_load_symbols_list" = "x"], pandora_builtin_load_symbols_list="NULL")
 
27
  AS_IF([test "x$pandora_builtin_list" = "x"], pandora_builtin_list="NULL")
32
28
  AC_SUBST([PANDORA_BUILTIN_LIST],[$pandora_builtin_list])
33
 
  AC_SUBST([PANDORA_BUILTIN_SYMBOLS_LIST],[$pandora_builtin_symbols_list])
34
 
  AC_SUBST([PANDORA_BUILTIN_LOAD_LIST],[$pandora_builtin_load_list])
35
 
  AC_SUBST([PANDORA_BUILTIN_LOAD_SYMBOLS_LIST],[$pandora_builtin_load_symbols_list])
36
29
  AC_SUBST([PANDORA_PLUGIN_LIST],[$pandora_default_plugin_list])
37
30
  m4_ifval(m4_normalize([$1]),[
38
31
    AC_CONFIG_FILES($*)
39
32
    ],[
40
 
    AC_DEFINE_UNQUOTED([PANDORA_BUILTIN_LIST],["$pandora_builtin_list"],
 
33
    AC_DEFINE_UNQUOTED([PANDORA_BUILTIN_LIST],[$pandora_builtin_list],
41
34
                       [List of plugins to be built in])
42
 
    AC_DEFINE_UNQUOTED([PANDORA_BUILTIN_SYMBOLS_LIST],["$pandora_builtin_symbols_list"],
43
 
                       [List of builtin plugin symbols to be built in])
44
35
    AC_DEFINE_UNQUOTED([PANDORA_PLUGIN_LIST],["$pandora_default_plugin_list"],
45
36
                       [List of plugins that should be loaded on startup if no
46
37
                        value is given for --plugin-load])