~mordred/ubuntu/maverick/drizzle/prerelease

« back to all changes in this revision

Viewing changes to m4/pandora_have_libgtest.m4

  • Committer: Monty Taylor
  • Date: 2010-09-26 16:09:02 UTC
  • mto: This revision was merged to the branch mainline in revision 1383.
  • Revision ID: mordred@inaugust.com-20100926160902-r30v5hegk16cjk22
Tags: upstream-2010.09.1794
ImportĀ upstreamĀ versionĀ 2010.09.1794

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}"
21
23
    AC_LIB_HAVE_LINKFLAGS(gtest,,[
22
24
      #include <gtest/gtest.h>
23
25
TEST(pandora_test_libgtest, PandoraTest)
25
27
  ASSERT_EQ(1, 1);
26
28
}
27
29
    ],[])
 
30
    CXXFLAGS="${save_CXXFLAGS}"
28
31
    AC_LANG_POP()
29
32
  ],[
30
33
    ac_cv_libgtest="no"