~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/pandora_have_libgtest.m4

  • Committer: Brian Aker
  • Date: 2010-09-11 01:35:47 UTC
  • mto: (1759.2.1 build)
  • mto: This revision was merged to the branch mainline in revision 1762.
  • Revision ID: brian@tangent.org-20100911013547-b04k7f1qddr3ml4t
Shuffle native functions over to hash such that we have a specific container
for them.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
  AS_IF([test "x$ac_enable_libgtest" = "xyes"],[
20
20
    AC_LANG_PUSH(C++)
21
 
    save_CXXFLAGS="${CXXFLAGS}"
22
 
    CXXFLAGS="${AM_CXXFLAGS} ${CXXFLAGS}"
23
21
    AC_LIB_HAVE_LINKFLAGS(gtest,,[
24
22
      #include <gtest/gtest.h>
25
23
TEST(pandora_test_libgtest, PandoraTest)
27
25
  ASSERT_EQ(1, 1);
28
26
}
29
27
    ],[])
30
 
    CXXFLAGS="${save_CXXFLAGS}"
31
28
    AC_LANG_POP()
32
29
  ],[
33
30
    ac_cv_libgtest="no"