~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/pandora_ensure_gcc_version.m4

Merge Jay (build only related)

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
AC_DEFUN([PANDORA_MAC_GCC42],
9
9
  [AS_IF([test "$GCC" = "yes"],[
10
10
    AS_IF([test "$host_vendor" = "apple" -a "x${ac_cv_env_CC_set}" = "x"],[
11
 
      AS_IF([test -f /usr/bin/gcc-4.2],
 
11
      host_os_version=`echo ${host_os} | perl -ple 's/^\D+//g;s,\..*,,'`
 
12
      AS_IF([test "$host_os_version" -lt 10],[
 
13
        AS_IF([test -f /usr/bin/gcc-4.2],
12
14
        [
13
15
          CPP="/usr/bin/gcc-4.2 -E"
14
16
          CC=/usr/bin/gcc-4.2
15
17
          CXX=/usr/bin/g++-4.2
16
18
        ])
 
19
      ])
17
20
    ])
18
21
  ])
19
22
])