~drizzle-trunk/drizzle/jenkins-Drizzle-Builder-216

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Continuous Integration
  • Date: 2012-12-31 05:51:48 UTC
  • mfrom: (2608.1.3 drizzle-7.2)
  • Revision ID: ci@drizzle.org-20121231055148-kc8vp6z34sawind2
Merge lp:~brianaker/drizzle/update-bootstrap/ Build: jenkins-Drizzle-Builder-145

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 
19
19
 
 
20
AC_INIT([drizzle],[7.2],[http://bugs.launchpad.net/drizzle],[drizzle],[http://drizzle.org/])
 
21
 
 
22
AC_CONFIG_AUX_DIR([config])
 
23
 
 
24
AM_INIT_AUTOMAKE([-Wall -Werror -Wno-portability subdir-objects foreign tar-ustar])
20
25
AC_PREREQ(2.59)dnl              Minimum Autoconf version required.
21
 
dnl Version from the AC_INIT call below is overridden later
22
 
dnl So don't update it here
23
 
AC_INIT([drizzle],[7.2],[http://bugs.launchpad.net/drizzle],[drizzle],[http://drizzle.org/])
 
26
 
 
27
AC_CANONICAL_HOST
 
28
AC_CANONICAL_BUILD
 
29
AC_ARG_PROGRAM
 
30
AC_USE_SYSTEM_EXTENSIONS
 
31
 
 
32
AC_CONFIG_MACRO_DIR([m4])
 
33
 
 
34
AC_CONFIG_HEADERS([config.h])
 
35
 
24
36
AC_CONFIG_SRCDIR([drizzled/drizzled.cc])
25
 
AC_CONFIG_AUX_DIR([config])
26
37
 
27
 
PANDORA_CANONICAL_TARGET(less-warnings, require-cxx, force-gcc42, version-from-vc) 
 
38
PANDORA_CANONICAL_TARGET([less-warnings, require-cxx, force-gcc42, version-from-vc]) 
28
39
 
29
40
m4_include([m4/libdrizzle_version.m4])
30
41
 
 
42
LT_PREREQ([2.2])
 
43
LT_INIT
 
44
LT_LANG([C++])
 
45
 
 
46
 
31
47
gl_VISIBILITY
32
48
AX_ASSERT
33
49
 
37
53
  localstatedir='${prefix}/var/drizzle'
38
54
])
39
55
 
40
 
AC_ARG_WITH([server],
41
 
    [AS_HELP_STRING([--without-server],
42
 
      [Do not build the drizzled server.])],
43
 
    [ pandora_cv_skip_requires="$withval" ]
44
 
    [ pandora_cv_skip_requires=no ])
45
 
 
46
56
AS_IF([test "x${pandora_cv_skip_requires}" != "xno"],[
47
57
 
48
58
  AC_PATH_PROG([GPERF],[gperf],[AC_MSG_ERROR([Drizzle requires gperf to build.])])
134
144
            LIBS="${PTHREAD_LIBS} ${LIBS}"
135
145
            ], [AC_MSG_ERROR([Drizzle requires pthreads])])
136
146
 
 
147
# Specialty checks
 
148
 
 
149
# Checks for programs.
 
150
 
 
151
# Checks for libraries.
 
152
 
 
153
# Checks for header files.
 
154
AC_CHECK_HEADERS([sys/socket.h])
 
155
 
 
156
# Checks for typedefs, structures, and compiler characteristics.
 
157
AC_C_BIGENDIAN
 
158
AC_C_CONST
 
159
AC_C_INLINE
 
160
AC_C_VOLATILE
 
161
AC_C_RESTRICT
 
162
 
 
163
AC_HEADER_TIME
 
164
AC_STRUCT_TM
 
165
AC_TYPE_SIZE_T
 
166
AC_SYS_LARGEFILE
 
167
PANDORA_CLOCK_GETTIME
 
168
 
 
169
# off_t is not a builtin type
 
170
AC_CHECK_SIZEOF(off_t, 4)
 
171
AS_IF([test "$ac_cv_sizeof_off_t" -eq 0],[
 
172
       PANDORA_MSG_ERROR("${PACKAGE} needs an off_t type.")
 
173
       ])
 
174
 
 
175
AC_CHECK_SIZEOF(size_t)
 
176
AS_IF([test "$ac_cv_sizeof_size_t" -eq 0],[
 
177
       PANDORA_MSG_ERROR("${PACKAGE} needs an size_t type.")
 
178
       ])
 
179
 
 
180
AC_DEFINE_UNQUOTED([SIZEOF_SIZE_T],[$ac_cv_sizeof_size_t],[Size of size_t as computed by sizeof()])
 
181
AC_CHECK_SIZEOF(long long)
 
182
AC_DEFINE_UNQUOTED([SIZEOF_LONG_LONG],[$ac_cv_sizeof_long_long],[Size of long long as computed by sizeof()])
 
183
 
 
184
 
 
185
 
 
186
 
 
187
# Checks for library functions.
 
188
AC_CHECK_FUNC([setsockopt],[],[AC_CHECK_LIB(socket, setsockopt)])
 
189
AC_CHECK_FUNC([bind],[],[AC_CHECK_LIB(bind, bind)])
 
190
 
 
191
AC_CHECK_PROGS([DOXYGEN],[doxygen])
137
192
AX_AM_JOBSERVER([yes])
138
193
 
139
194
#########################################################################