~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/pandora_libtool.m4

  • Committer: Padraig O'Sullivan
  • Date: 2009-09-13 01:03:01 UTC
  • mto: (1126.9.2 captain-20090915-01)
  • mto: This revision was merged to the branch mainline in revision 1133.
  • Revision ID: osullivan.padraig@gmail.com-20090913010301-tcvvezipx1124acy
Added calls to the dtrace delete begin/end probes.

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
AC_DEFUN([PANDORA_LIBTOOL],[
7
 
  AC_REQUIRE([AC_DISABLE_STATIC])
8
7
  AC_REQUIRE([AC_PROG_LIBTOOL])
9
 
  m4_ifndef([LT_PREREQ],[
10
 
    pandora_have_old_libtool=yes
11
 
  ],[
12
 
    pandora_have_old_libtool=no
13
 
  ])
14
 
  AS_IF([test "$SUNCC" = "yes" -a "${pandora_have_old_libtool}" = "yes"],[
15
 
    AC_MSG_ERROR([Building ${PACKAGE} with Sun Studio requires at least libtool 2.2])
16
 
  ])
17
 
 
18
8
  dnl By requiring AC_PROG_LIBTOOL, we should force the macro system to read
19
9
  dnl libtool.m4, where in 2.2 AC_PROG_LIBTOOL is an alias for LT_INIT
20
10
  dnl Then, if we're on 2.2, we should have LT_LANG, so we'll call it.