~drizzle-trunk/drizzle/jenkins-Drizzle-Builder-180

« back to all changes in this revision

Viewing changes to m4/pandora_have_libv8.m4

  • Committer: Continuous Integration
  • Date: 2012-12-31 11:56:38 UTC
  • mfrom: (2609.1.1 drizzle-7.2)
  • Revision ID: ci@drizzle.org-20121231115638-fuj9q47m4fimzwb1
Merge lp:~brianaker/drizzle/fixup-autoreconf-obsoletes Build: jenkins-Drizzle-Builder-146

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
#--------------------------------------------------------------------
9
9
 
10
10
 
11
 
AC_DEFUN([_PANDORA_SEARCH_LIBV8],[
12
 
  AC_REQUIRE([AC_LIB_PREFIX])
13
 
 
14
 
  # v8 is written in C++, need to use g++ for test link below
15
 
  AC_LANG_CPLUSPLUS
16
 
 
17
 
  AC_LIB_HAVE_LINKFLAGS(v8, pthread,
18
 
  [
19
 
    #include <v8.h>
20
 
  ],[
21
 
    v8::HandleScope handle_scope;
22
 
  ]) 
23
 
 
24
 
  AM_CONDITIONAL(HAVE_LIBV8, [test "x${ac_cv_libv8}" = "xyes"])
25
 
])
 
11
AC_DEFUN([_PANDORA_SEARCH_LIBV8],
 
12
    [AC_REQUIRE([AC_LIB_PREFIX])
 
13
 
 
14
# v8 is written in C++, need to use g++ for test link below
 
15
    AC_LANG_PUSH([C++])
 
16
 
 
17
    AC_LIB_HAVE_LINKFLAGS([v8],[pthread],
 
18
      [
 
19
#include <v8.h>
 
20
      ],[
 
21
      v8::HandleScope handle_scope;
 
22
      ]) 
 
23
    AC_LANG_POP([C++])
 
24
 
 
25
    AM_CONDITIONAL(HAVE_LIBV8, [test "x${ac_cv_libv8}" = "xyes"])
 
26
    ])
26
27
 
27
28
AC_DEFUN([_PANDORA_HAVE_LIBV8],[
28
29
  AC_ARG_ENABLE([libv8],