~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/pandora_have_better_malloc.m4

pandora-build v0.38 - Make umem the default on solaris and not mtmalloc

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
  AC_ARG_ENABLE([umem],
12
12
    [AS_HELP_STRING([--enable-umem],
13
13
       [Enable linking with libumem @<:@default=off@:>@])],
14
 
    [ac_enable_umem="$enableval"],
15
 
    [ac_enable_umem="no"])
 
14
    [ac_enable_umem="$enableval"],[
 
15
      case "$target_os" in
 
16
        *solaris*)
 
17
          ac_enable_umem="yes"
 
18
        ;;
 
19
        *)
 
20
          ac_enable_umem="no"
 
21
        ;;
 
22
      esac
 
23
    ])
16
24
  
17
25
  AC_ARG_ENABLE([tcmalloc],
18
26
    [AS_HELP_STRING([--enable-tcmalloc],