~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/pandora_swig.m4

  • Committer: Monty Taylor
  • Date: 2009-08-24 14:58:00 UTC
  • mto: (1115.3.20 captain)
  • mto: This revision was merged to the branch mainline in revision 1125.
  • Revision ID: mordred@inaugust.com-20090824145800-ocs8pkowylvyuk2s
pandora-buildĀ v0.51

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
  AC_SUBST([SWIG])
24
24
 
25
25
 
26
 
  AC_CACHE_CHECK([if swig supports Python3],
27
 
    [ac_cv_swig_has_python3_],
28
 
    [
29
 
      AS_IF([swig -python3 2>&1 | grep "Unable to find" > /dev/null],
30
 
        [ac_cv_swig_has_python3_=no],
31
 
        [ac_cv_swig_has_python3_=yes])
32
 
    ])
 
26
])
 
27
 
 
28
AC_DEFUN([PANDORA_SWIG_PYTHON3],[
 
29
  AC_REQUIRE([PANDORA_SWIG])
 
30
  AS_IF([test "x$SWIG" != "x"],[
 
31
    AC_CACHE_CHECK([if swig supports Python3],
 
32
      [ac_cv_swig_has_python3_],
 
33
      [
 
34
        AS_IF([$SWIG -python -help 2>&1 | grep py3 > /dev/null],
 
35
          [ac_cv_swig_has_python3_=yes],
 
36
          [ac_cv_swig_has_python3_=no])
 
37
      ])
 
38
  ])
33
39
])