Changeset 21067
- Timestamp:
- 04/15/08 22:28:02 (4 months ago)
- Files:
-
- juggler/trunk/modules/vapor/Makefile.inc.in (modified) (1 diff)
- juggler/trunk/modules/vapor/Makefile.pre.in (modified) (2 diffs)
- juggler/trunk/modules/vapor/boost_filesystem.fpc.in (modified) (1 diff)
- juggler/trunk/modules/vapor/boost_system.fpc.in (copied) (copied from juggler/trunk/modules/vapor/boost_filesystem.fpc.in) (1 diff)
- juggler/trunk/modules/vapor/configure.ac (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
juggler/trunk/modules/vapor/Makefile.inc.in
r20974 r21067 373 373 $(libdir)$(LIBBITSUF)/flagpoll/boost-$(BOOST_VERSION).$(ISA).fpc 374 374 $(INSTALL) -m $(FILE_PERMS) $(GROUP_OPT_UNIX) \ 375 $(topdir)/boost_system.fpc \ 376 $(libdir)$(LIBBITSUF)/flagpoll/boost_system-$(BOOST_VERSION).$(ISA).fpc 377 $(INSTALL) -m $(FILE_PERMS) $(GROUP_OPT_UNIX) \ 375 378 $(topdir)/boost_filesystem.fpc \ 376 379 $(libdir)$(LIBBITSUF)/flagpoll/boost_filesystem-$(BOOST_VERSION).$(ISA).fpc juggler/trunk/modules/vapor/Makefile.pre.in
r20974 r21067 62 62 vpr.fpc.in: ; 63 63 boost.fpc.in: ; 64 boost_system.fpc.in: ; 64 65 boost_filesystem.fpc.in: ; 65 66 boost_signals.fpc.in: ; … … 74 75 Makefile: $(srcdir)/VERSION configure config.status Makefile.in \ 75 76 Makefile.inc.in make.defs.mk.in vpr.fpc.in boost.fpc.in \ 76 boost_ filesystem.fpc.in boost_signals.fpc.in77 boost_system.fpc.in boost_filesystem.fpc.in boost_signals.fpc.in 77 78 $(CFG_SHELL) $(srcdir)/configure $(CONFIGURE_ARGS) 78 79 @$(MAKE) -f Makefile cleandepend juggler/trunk/modules/vapor/boost_filesystem.fpc.in
r20519 r21067 9 9 Version: @BOOST_VERSION_DOT@ 10 10 Provides: Boost.Filesystem boost.filesystem 11 Requires: boost = @BOOST_VERSION_DOT@ 11 Requires: boost = @BOOST_VERSION_DOT@ boost.system = @BOOST_VERSION_DOT@ 12 12 Arch: @ISA@ 13 13 Cflags: @BOOST_INCLUDES@ juggler/trunk/modules/vapor/boost_system.fpc.in
r20519 r21067 1 1 # Private Variables 2 2 prefix = @BOOST_ROOT@ 3 boost_ldflags = @BOOST_LDFLAGS@ @BOOST_ FS_LINK@3 boost_ldflags = @BOOST_LDFLAGS@ @BOOST_SYSTEM_LINK@ 4 4 5 5 # Standard Flagpoll Variables 6 Name: Boost. Filesystem7 Description: The Boost.Filesystem Library provides portable facilities to query and manipulate paths, files, and directories.8 URL: http://www.boost.org/libs/ filesystem/doc/index.htm6 Name: Boost.System 7 Description: Operating system support, including the diagnostics support that will be part of the C++0x standard library. 8 URL: http://www.boost.org/libs/system/doc/index.htm 9 9 Version: @BOOST_VERSION_DOT@ 10 Provides: Boost. Filesystem boost.filesystem10 Provides: Boost.System boost.system 11 11 Requires: boost = @BOOST_VERSION_DOT@ 12 12 Arch: @ISA@ juggler/trunk/modules/vapor/configure.ac
r21049 r21067 133 133 DPP_ABI_SETUP 134 134 135 AC_ARG_WITH([boost-system-lib], 136 [ --with-boost-system-lib=<LIB NAME> 137 The name of the Boost.System 138 (1.35 and newer) library 139 suitable for the -l compiler 140 option [default=Auto-detect]], 141 [given_boost_system_libname="$withval"], 142 [given_boost_system_libname='']) 143 135 144 AC_ARG_WITH([boost-fs-lib], 136 145 [ --with-boost-fs-lib=<LIB NAME> … … 675 684 [$BOOST_LIB_VERSION], [boost_suffixes]) 676 685 686 if test "x$given_boost_system_libname" != "x" ; then 687 boost_system_name="$given_boost_system_libname" 688 fi 689 677 690 if test "x$given_boost_fs_libname" != "x" ; then 678 691 boost_fs_name="$given_boost_fs_libname" … … 701 714 DPP_LANG_CPLUSPLUS 702 715 716 testBoostSystem ( ) 717 { 718 libname="$1" 719 orig_LIBS="$2" 720 721 # NOTE: We do not need $ABI_FLAGS in $LDFLAGS since $CXXFLAGS and $LDFLAGS 722 # are used together by AC_TRY_LINK(). 723 LIBS="-l$libname $orig_LIBS" 724 725 AC_MSG_CHECKING([for boost::system::error_code::clear() in $libname in $cur_boost_libdir]) 726 AC_TRY_LINK([#include <boost/system/error_code.hpp>], 727 [boost::system::error_code ec; ec.clear();], 728 [vpr_have_boost_system='yes'], [vpr_have_boost_system='no']) 729 rm -rf ./ii_files 730 AC_MSG_RESULT([$vpr_have_boost_system]) 731 732 LIBS="$orig_LIBS" 733 } 734 735 for l in $libdirs ; do 736 cur_boost_libdir="$BOOST_ROOT/$l" 737 LDFLAGS="-L$cur_boost_libdir $vprsave_LDFLAGS" 738 739 if test "x$boost_system_name" != "x" ; then 740 testBoostSystem $boost_system_name $vprsave_LIBS 741 else 742 # The extra empty string is to allow for no suffix to be used on the 743 # boost_system library name. 744 for s in $boost_suffixes "" ; do 745 cur_boost_system_name="boost_system$s" 746 747 testBoostSystem $cur_boost_system_name $vprsave_LIBS 748 749 if test "$vpr_have_boost_system" = "yes" ; then 750 boost_system_name="$cur_boost_system_name" 751 break 752 fi 753 done 754 fi 755 756 if test "$vpr_have_boost_system" = "yes" ; then 757 BOOST_LIBDIR="$cur_boost_libdir" 758 break 759 fi 760 done 761 762 if test "x$vpr_have_boost_system" = "xyes" ; then 763 BOOST_SYSTEM_LINK="-l$boost_system_name" 764 fi 765 703 766 testBoostFilesystem ( ) 704 767 { … … 708 771 # NOTE: We do not need $ABI_FLAGS in $LDFLAGS since $CXXFLAGS and $LDFLAGS 709 772 # are used together by AC_TRY_LINK(). 710 LIBS="-l$libname $ orig_LIBS"773 LIBS="-l$libname $BOOST_SYSTEM_LINK $orig_LIBS" 711 774 712 775 AC_MSG_CHECKING([for boost::filesystem::exists() in $libname in $cur_boost_libdir]) … … 967 1030 UNIX_VPRROOT_ABS="$VPRROOT_ABS" 968 1031 969 # Put together the basic information needed to compile VPR applicsignalsions. 970 if test "x$OS_TYPE" = "xWin32" ; then 971 APP_EXTRA_LIBS="$LDFLAGS $LIBS $CPPDOM_LDFLAGS $CPPDOM_LIBS $BOOST_LDFLAGS_LINK_EXE $boost_signals_name.lib $boost_fs_name.lib $NSPR_LDFLAGS_LINK_EXE $NSPR_LIB_LINK_EXE $PLC_LIB_LINK_EXE ws2_32.lib" 972 else 973 APP_EXTRA_LIBS="$LDFLAGS $CPPDOM_LDFLAGS $CPPDOM_LIBS $BOOST_LDFLAGS -l$boost_signals_name -l$boost_fs_name $PTHREAD_ARG $LIBS $NSPR_LDFLAGS $NSPR_LIB $PLC_LIB $PTHREAD_LIB $SEM_LIB $SOCKET_LIB $NS_LIB $UUID_LIB $DYN_LOAD_LIB" 974 fi 1032 # Put together the basic information needed to compile VPR applications. 1033 APP_EXTRA_LIBS="$LDFLAGS $CPPDOM_LDFLAGS $CPPDOM_LIBS $BOOST_LDFLAGS $BOOST_SIGNALS_LINK $BOOST_FS_LINK $BOOST_SYSTEM_LINK $PTHREAD_ARG $LIBS $NSPR_LDFLAGS $NSPR_LIB $PLC_LIB $PTHREAD_LIB $SEM_LIB $SOCKET_LIB $NS_LIB $UUID_LIB $DYN_LOAD_LIB" 975 1034 976 1035 vpr_lib_name="vpr$LIBRARY_VERSION" … … 1133 1192 AC_SUBST(BOOST_VERSION_DOT) 1134 1193 AC_SUBST(BOOST_LIBDIR) 1194 AC_SUBST(BOOST_SYSTEM_LINK) 1135 1195 AC_SUBST(BOOST_FS_LINK) 1136 AC_SUBST(boost_fs_name)1137 1196 AC_SUBST(BOOST_SIGNALS_LINK) 1138 AC_SUBST(boost_signals_name)1139 1197 AC_SUBST(subsystem_cxxflags) 1140 1198 AC_SUBST(subsystem_libs) … … 1158 1216 AC_CONFIG_FILES([ 1159 1217 boost.fpc 1218 boost_system.fpc 1160 1219 boost_filesystem.fpc 1161 1220 boost_signals.fpc
