~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/pandora_64bit.m4

  • Committer: Brian Aker
  • Date: 2009-07-09 19:49:32 UTC
  • mfrom: (1085.1.10 mordred)
  • Revision ID: brian@gaz-20090709194932-o90qfzgk9xem5di1
Merge from Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
dnl ---------------------------------------------------------------------------
2
 
dnl Macro: ENABLE_64BIT
3
 
dnl ---------------------------------------------------------------------------
4
 
AC_DEFUN([ENABLE_64BIT],[
 
1
dnl  Copyright (C) 2009 Sun Microsystems
 
2
dnl This file is free software; Sun Microsystems
 
3
dnl gives unlimited permission to copy and/or distribute it,
 
4
dnl with or without modifications, as long as this notice is preserved.
 
5
 
 
6
dnl ---------------------------------------------------------------------------
 
7
dnl Macro: PANDORA_64BIT
 
8
dnl ---------------------------------------------------------------------------
 
9
AC_DEFUN([PANDORA_64BIT],[
5
10
 
6
11
  AC_CHECK_PROGS(ISAINFO, [isainfo], [no])
7
12
  AS_IF([test "x$ISAINFO" != "xno"],
24
29
         fi
25
30
         CPPFLAGS="-m64 ${CPPFLAGS}"
26
31
         LDFLAGS="-m64 ${LDFLAGS}"
 
32
         DTRACEFLAGS="${DTRACEFLAGS} -64"
27
33
         if test "$target_cpu" = "sparc" -a "x$SUNCC" = "xyes"
28
34
         then
29
35
            AM_CFLAGS="-xmemalign=8s ${AM_CFLAGS}"
30
36
            AM_CXXFLAGS="-xmemalign=8s ${AM_CXXFLAGS}"
31
37
         fi
32
 
       ])
 
38
       ],[DTRACEFLAGS="${DTRACEFLAGS} -32"])
33
39
])
34
40
dnl ---------------------------------------------------------------------------
35
 
dnl End Macro: ENABLE_64BIT
 
41
dnl End Macro: PANDORA_64BIT
36
42
dnl ---------------------------------------------------------------------------