# See the libtool docs for information on how to do shared lib versions.
34
SHARED_LIB_MAJOR_VERSION=1
35
SHARED_LIB_VERSION=$SHARED_LIB_MAJOR_VERSION:0:0
36
AC_SUBST(SHARED_LIB_MAJOR_VERSION)
37
AC_SUBST(SHARED_LIB_VERSION)
38
39
33
40
34
dnl Checks for programs.
41
35
AC_PROG_CXX
59
53
]])],
60
54
[drizzle_cv_gcc_recent=yes],
61
55
[drizzle_cv_gcc_recent=no])])
56
if test "$drizzle_cv_gcc_recent" = "no" -a "$host_vendor" = "apple"
57
then
58
AC_MSG_ERROR([Your version of GCC is too old. Drizzle requires at least version 4.2 on OSX. You may need to install a more recent version of XCode])
59
fi
62
60
if test "$drizzle_cv_gcc_recent" = "no"
63
61
then
64
AC_MSG_ERROR([Your version of GCC is too old. Drizzle requires at least version 4.1. If you are on OSX, you may need to specify ./configure CC=gcc-4.2 CXX=g++4.2])
62
AC_MSG_ERROR([Your version of GCC is too old. Drizzle requires at least version 4.1])
65
63
fi
66
64
fi
67
65
AC_CXX_HEADER_STDCXX_98
336
334
337
335
DRIZZLE_PROG_AR
338
336
339
# libdrizzle versioning when linked with GNU ld.
340
if test "x$EGREP" != "x"
341
then
342
if test "$lt_cv_prog_gnu_ld" = "yes" -a $LD --version 2>/dev/null|${EGREP} -q GNU