~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to configure.ac

Merged up with trunk properly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
dnl -*- bash -*-
2
2
dnl Process this file with autoconf to produce a configure script.
3
3
 
 
4
dnl  Copyright (C) 2009 Sun Microsystems
 
5
dnl
 
6
dnl  This program is free software; you can redistribute it and/or modify
 
7
dnl  it under the terms of the GNU General Public License as published by
 
8
dnl  the Free Software Foundation; version 2 of the License.
 
9
dnl
 
10
dnl  This program is distributed in the hope that it will be useful,
 
11
dnl  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
dnl  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
dnl  GNU General Public License for more details.
 
14
dnl
 
15
dnl  You should have received a copy of the GNU General Public License
 
16
dnl  along with this program; if not, write to the Free Software
 
17
dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
18
 
 
19
 
4
20
AC_PREREQ(2.59)dnl              Minimum Autoconf version required.
5
21
 
6
22
m4_include(m4/bzr_version.m4)
1105
1121
# functions tested above
1106
1122
#--------------------------------------------------------------------
1107
1123
 
1108
 
DRIZZLE_CONFIGURE_PLUGINS([none])
 
1124
m4_include(config/plugin.ac)
 
1125
dnl Add code here to read set plugin lists and  set drizzled_default_plugin_list
 
1126
AC_DEFINE_UNQUOTED([DRIZZLED_PLUGIN_LIST],[$drizzled_default_plugin_list],
 
1127
                   [List of plugins that should be loaded on startup if no
 
1128
                    value is given for --plugin-load])
1109
1129
 
1110
 
AC_SUBST(mysql_plugin_dirs)
1111
 
AC_SUBST(mysql_plugin_libs)
1112
 
drizzled_plugin_defs=`echo $drizzled_plugin_defs | sed 's/, *$//'`
1113
 
AC_SUBST(drizzled_plugin_defs)
1114
 
AC_SUBST(DRIZZLED_PLUGIN_DEP_LIBS)
 
1130
drizzled_builtin_list=`echo $drizzled_builtin_list | sed 's/, *$//'`
 
1131
AC_DEFINE_UNQUOTED([DRIZZLED_BUILTIN_LIST],[$drizzled_builtin_list],
 
1132
                   [List of plugins to be loaded in sql_builtin.cc])
1115
1133
 
1116
1134
 
1117
1135
AC_ARG_ENABLE([profiling],
1368
1386
      AC_LANG_PROGRAM(
1369
1387
        [[
1370
1388
__attribute__((visibility ("hidden")))
1371
 
void testme() {  };
 
1389
void testme() {  }
1372
1390
        ]],[[testme()]]
1373
1391
      )],  
1374
1392
      [ac_cv_can_use_hidden_=yes],
1402
1420
 
1403
1421
AC_CONFIG_FILES(Makefile dnl
1404
1422
 gnulib/Makefile dnl
1405
 
 storage/Makefile dnl
1406
1423
 po/Makefile.in dnl
1407
 
 drizzled/Makefile dnl
1408
1424
 drizzled/message/Makefile dnl
1409
 
 drizzled/sql_builtin.cc dnl
1410
1425
 support-files/Makefile dnl
1411
1426
 tests/Makefile tests/install_test_db dnl
1412
 
 plugin/Makefile dnl
1413
1427
 drizzled/drizzled_safe dnl
1414
1428
 support-files/drizzle.server support-files/drizzle-log-rotate)
1415
1429