~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/pandora_platform.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:
3
3
dnl   
4
4
dnl pandora-build: A pedantic build system
5
5
dnl Copyright (C) 2009 Sun Microsystems, Inc.
6
 
dnl This file is free software; Sun Microsystems
 
6
dnl This file is free software; the Free Software Foundation
7
7
dnl gives unlimited permission to copy and/or distribute it,
8
8
dnl with or without modifications, as long as this notice is preserved.
9
9
dnl
63
63
  AC_CHECK_DECL([__SUNPRO_C], [SUNCC="yes"], [SUNCC="no"])
64
64
  AC_CHECK_DECL([__ICC], [INTELCC="yes"], [INTELCC="no"])
65
65
 
66
 
  AS_IF([test "$INTELCC" = "yes"], [enable_rpath=no])
67
 
 
68
 
  dnl By default, Sun Studio grabs special versions of limits.h and string.h
69
 
  dnl when you use <cstring> and <climits>. By setting this define, we can
70
 
  dnl disable that and cause those to wrap the standard headers instead.
71
 
  dnl http://www.stlport.com/doc/configure.html
72
 
  AS_IF([test "$SUNCC" = "yes"],[
73
 
    AC_DEFINE([_STLP_NO_NEW_C_HEADERS],[1],
74
 
      [Cause Sun Studio to not be quite so strict with standards conflicts])
75
 
  ])
76
 
 
77
 
  AS_IF([test "x$TARGET_OSX" = "xtrue"],[
78
 
    AS_IF([test "x$ac_enable_fat_binaries" = "xyes"],[
79
 
      AM_CFLAGS="-arch i386 -arch x86_64 -arch ppc"
80
 
      AM_CXXFLAGS="-arch i386 -arch x86_64 -arch ppc"
81
 
      AM_LDFLAGS="-arch i386 -arch x86_64 -arch ppc"
82
 
    ])
83
 
  ])
 
66
  AS_IF([test "x$INTELCC" = "xyes"], [enable_rpath=no])
84
67
 
85
68
])