Changeset 8107 for websites/partty.org

Show
Ignore:
Timestamp:
03/19/08 00:14:38 (5 years ago)
Author:
frsyuki
Message:

websites/partty.org: partty.orgコマンドの./configure --with-boostオプションでboostのpathを聞くようにした

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • websites/partty.org/partty/org/configure.in

    r8089 r8107  
    33 
    44AC_PREREQ(2.61) 
    5 AC_INIT(partty.org, 0.3.1, fr _at_ syuki.skr.jp) 
    6 AM_INIT_AUTOMAKE(partty.org, 0.3.1) 
     5AC_INIT(partty.org, 0.3.2, fr _at_ syuki.skr.jp) 
     6AM_INIT_AUTOMAKE(partty.org, 0.3.2) 
    77AC_CONFIG_SRCDIR(src/partty.h) 
    88AC_CONFIG_HEADER(config.h) 
     
    3333            [with_shell=$withval], [with_shell=/bin/sh]) 
    3434AC_ARG_WITH([boost], 
    35             AS_HELP_STRING([--with-boost], 
     35            AS_HELP_STRING([--with-boost=<path/to/boost>], 
    3636                           [use boost library]), 
    3737            [with_boost=$withval], [with_boost=no] 
     
    8181 
    8282if test "$with_boost" != "no" ; then 
     83        if test -n "$with_boost"; then 
     84                CXXFLAGS="$CXXFLAGS -I$with_boost" 
     85        fi 
    8386        AC_DEFINE([MP_FUNCTIONAL_BOOST_ORG], [], [use boost]) 
    8487fi 
     
    8992AC_HEADER_SYS_WAIT 
    9093AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h netdb.h netinet/in.h stddef.h stdint.h stdlib.h string.h sys/ioctl.h sys/socket.h sys/time.h termios.h unistd.h]) 
     94 
     95AC_LANG_PUSH([C++]) 
     96AC_CHECK_HEADERS([tr1/functional boost/tr1/functional.hpp boost/function.hpp boost/bind.hpp]) 
     97AC_LANG_POP([C++]) 
    9198 
    9299# Checks for typedefs, structures, and compiler characteristics.