~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/pandora_check_cxx_standard.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
 
AC_DEFUN([AC_CXX_CHECK_STANDARD],[
 
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
AC_DEFUN([PANDORA_CHECK_CXX_STANDARD],[
2
7
  AC_REQUIRE([AC_CXX_COMPILE_STDCXX_0X])
3
8
  AS_IF([test "$GCC" = "yes"],
4
9
        [AS_IF([test "$ac_cv_cxx_compile_cxx0x_native" = "yes"],[],
7
12
                      [CXXFLAGS="-std=gnu++98"])
8
13
               ])
9
14
        ])
 
15
  AC_CXX_HEADER_STDCXX_98
10
16
])