~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/pandora_canonical.m4

pandora-buildĀ v0.79

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
dnl with or without modifications, as long as this notice is preserved.
5
5
 
6
6
dnl Which version of the canonical setup we're using
7
 
AC_DEFUN([PANDORA_CANONICAL_VERSION],[0.76])
 
7
AC_DEFUN([PANDORA_CANONICAL_VERSION],[0.79])
8
8
 
9
9
AC_DEFUN([PANDORA_FORCE_DEPEND_TRACKING],[
10
10
  dnl Force dependency tracking on for Sun Studio builds
24
24
  m4_define([PCT_IGNORE_SHARED_PTR],[no])
25
25
  m4_define([PCT_FORCE_GCC42],[no])
26
26
  m4_define([PCT_SRC_IN_SRC],[no])
 
27
  m4_define([PCT_VERSION_FROM_VC],[no])
27
28
  m4_define([PCT_USE_VISIBILITY],[yes])
28
29
  m4_foreach([pct_arg],[$*],[
29
30
    m4_case(pct_arg,
50
51
      [src-in-src], [
51
52
        m4_undefine([PCT_SRC_IN_SRC])
52
53
        m4_define([PCT_SRC_IN_SRC],[yes])
 
54
      ],
 
55
      [version-from-vc], [
 
56
        m4_undefine([PCT_VERSION_FROM_VC])
 
57
        m4_define([PCT_VERSION_FROM_VC],[yes])
53
58
    ])
54
59
  ])
55
60
 
72
77
  AC_REQUIRE([PANDORA_MAC_GCC42])
73
78
  AC_REQUIRE([PANDORA_64BIT])
74
79
 
 
80
  m4_if(PCT_VERSION_FROM_VC,yes,[
 
81
    PANDORA_VC_VERSION
 
82
  ])
 
83
  PANDORA_VERSION
 
84
 
75
85
  dnl Once we can use a modern autoconf, we can use this
76
86
  dnl AC_PROG_CC_C99
77
87
  AC_REQUIRE([AC_PROG_CXX])