~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/pandora_have_libboost_filesystem.m4

  • Committer: Andrew Hutchings
  • Date: 2010-09-20 09:18:16 UTC
  • mto: (1782.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 1783.
  • Revision ID: andrew@linuxjedi.co.uk-20100920091816-agms391fhq6rgran
Fix pandora linking requirements for boost filesystem and make it required.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
  dnl --------------------------------------------------------------------
12
12
 
13
13
  AC_LANG_PUSH(C++)
14
 
  AC_LIB_HAVE_LINKFLAGS(boost_filesystem-mt,,[
 
14
  AC_LIB_HAVE_LINKFLAGS(boost_filesystem-mt,boost_system-mt,[
15
15
    #include <boost/filesystem.hpp>
16
16
  ],[
17
17
    boost::filesystem::path my_path("some_dir/file.txt");
18
18
  ])
19
19
  AS_IF([test "x${ac_cv_libboost_filesystem_mt}" = "xno"],[
20
 
    AC_LIB_HAVE_LINKFLAGS(boost_filesystem,,[
 
20
    AC_LIB_HAVE_LINKFLAGS(boost_filesystem,boost_system,[
21
21
      #include <boost/filesystem.hpp>
22
22
    ],[
23
23
      boost::filesystem::path my_path("some_dir/file.txt");