~ubuntu-branches/ubuntu/maverick/openturns/maverick

« back to all changes in this revision

Viewing changes to python/m4/ot_check_openturns.m4

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Prud'homme
  • Date: 2008-11-18 06:32:22 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20081118063222-pa0qncclrerrqkg2
Tags: 0.12.2-1
* New upstream release
* Bug fix: "New upstream release available (0.12.2)", thanks to Jerome
  Robert (Closes: #506005).
* Applied patch by J. Robert.
* debian/control: build-depends on libxml2

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
#  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
20
20
#
21
21
#  @author: $LastChangedBy: dutka $
22
 
#  @date:   $LastChangedDate: 2008-06-26 13:50:17 +0200 (jeu, 26 jun 2008) $
23
 
#  Id:      $Id: ot_check_openturns.m4 862 2008-06-26 11:50:17Z dutka $
 
22
#  @date:   $LastChangedDate: 2008-09-22 11:34:11 +0200 (lun 22 sep 2008) $
 
23
#  Id:      $Id: ot_check_openturns.m4 941 2008-09-22 09:34:11Z dutka $
24
24
#  serial   0.11.0
25
25
#
26
26
#
103
103
                      [])
104
104
      test x${openturns_wrapper_header_found} = xno && AC_MSG_ERROR([Open TURNS wrapper include file NOT FOUND])
105
105
 
106
 
      # we test the wrapper library file presence and usability
107
 
      openturns_wrapper_ldflags="-L$openturns_install_path/lib/openturns"
108
 
      openturns_wrapper_libs="-lOTwrapper"
109
 
      LDFLAGS="${LDFLAGS} ${openturns_wrapper_ldflags}"
110
 
      AC_CHECK_LIB([OTwrapper],
111
 
                   [printEntrance],
112
 
                   [openturns_wrapper_lib_found=yes],
113
 
                   [openturns_wrapper_lib_found=no],
114
 
                   [])
115
 
      test x${openturns_wrapper_lib_found} = xno && AC_MSG_ERROR([Open TURNS wrapper library NOT FOUND])
 
106
      openturns_wrapper_ldflags=
 
107
      openturns_wrapper_libs=
116
108
      AC_LANG_POP(C)
117
109
 
118
110
      # we look for the file wrapper.dtd to set its path