Changeset 19119

Show
Ignore:
Timestamp:
08/04/06 15:07:07 (2 years ago)
Author:
dshipton
Message:

extra fix ups.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • juggler/trunk/Doozer++/config/abi.m4

    r18968 r19119  
    7575dnl                           the platform SDK required for building the 
    7676dnl                           desired ABI/ISA combination(s). 
    77 dnl     UNIVERSAL_ARHC_LIST - The list of architectures that will be supported 
     77dnl     UNIVERSAL_ARCH_LIST - The list of architectures that will be supported 
    7878dnl                           by universal binaries. 
    7979dnl     DPP_ABI_TYPE        - The argument given to --with-abi. 
  • juggler/trunk/macros/vrj.m4

    r18824 r19119  
    3030dnl Test for VR Juggler and then define the following variables: 
    3131dnl     VRJ_CXXFLAGS 
    32 dnl     VRJ_CXXFLAGS_MIN 
    33 dnl     VRJ_INCLUDES 
    34 dnl     VRJ_INCLUDES_MIN 
    35 dnl     VRJ_LIBS_CC 
    36 dnl     VRJ_LIBS_LD 
    37 dnl     VRJ_LIBS_STATIC_CC 
    38 dnl     VRJ_LIBS_STATIC_LD 
    39 dnl     VRJ_EXTRA_LIBS_CC 
    40 dnl     VRJ_EXTRA_LIBS_LD 
     32dnl     VRJ_LIBS 
     33dnl     VRJ_PROF_LIBS 
     34dnl     VRJ_LIBS_STATIC 
     35dnl     VRJ_PROF_LIBS_STATIC 
     36dnl     VRJ_EXTRA_LIBS 
    4137dnl --------------------------------------------------------------------------- 
    4238AC_DEFUN([VRJUGGLER_PATH], 
     
    4541 
    4642    dnl Get the cflags and libraries from the vrjuggler-config script 
    47     AC_ARG_WITH(vrjuggler
    48                 [  --with-vrjuggler=<PATH> Directory where VR Juggler is 
    49                           installed                       [No default]], 
     43    AC_ARG_WITH(vrjuggler-meta-file
     44                [  --with-vrjuggler-meta-file=<PATH> Flagpoll metadata file 
     45                         for VR Juggler                       [No default]], 
    5046                vrj_config_prefix="$withval", vrj_config_prefix="") 
    51     AC_ARG_WITH(vrjuggler-exec-prefix, 
    52                 [  --with-vrjuggler-exec-prefix=<PATH> 
    53                           Exec prefix where VR Juggler is 
    54                           installed (optional)            [No default]], 
    55                 vrj_config_exec_prefix="$withval", vrj_config_exec_prefix="") 
    5647 
    57     if test "x$vrj_config_exec_prefix" != "x" ; then 
    58         vrj_config_args="$vrj_config_args --exec-prefix=$vrj_config_exec_prefix" 
    59  
    60         if test x${VRJ_CONFIG+set} != xset ; then 
    61             VRJ_CONFIG="$vrj_config_exec_prefix/bin/vrjuggler-config" 
    62         fi 
     48    dnl See if the user specified where to find the meta file  
     49    dnl if they didn't take a guess for them 
     50    if test "x$vrj_meta_file" != "x" ; then 
     51        vrj_flagpoll_args="--from-file=$vrj_meta_file" 
     52    else 
     53        vrj_flagpoll_args="--from-file=$instlinks/share/flagpoll/vrjuggler.fpc" 
    6354    fi 
    6455 
    65     if test "x$vrj_config_prefix" != "x" ; then 
    66         vrj_config_args="$vrj_config_args --prefix=$vrj_config_prefix" 
     56    vrj_flagpoll_args="vrjuggler $vrj_flagpoll_args --no-deps" 
    6757 
    68         if test x${VRJ_CONFIG+set} != xset ; then 
    69             VRJ_CONFIG="$vrj_config_prefix/bin/vrjuggler-config" 
    70         fi 
    71     fi 
    72  
    73     if test "x$VJ_BASE_DIR" != "x" ; then 
    74         vrj_config_args="$vrj_config_args --prefix=$VJ_BASE_DIR" 
    75  
    76         if test x${VRJ_CONFIG+set} != xset ; then 
    77             VRJ_CONFIG="$VJ_BASE_DIR/bin/vrjuggler-config" 
    78         fi 
    79     fi 
    80  
    81     AC_PATH_PROG(VRJ_CONFIG, vrjuggler-config, no) 
     58    AC_PATH_PROG(FLAGPOLL, flagpoll, no) 
    8259    min_vrj_version=ifelse([$1], ,0.0.1,$1) 
    8360 
    84     dnl Do a sanity check to ensure that $VRJ_CONFIG actually works. 
    85     if ! (eval $VRJ_CONFIG --cxxflags >/dev/null 2>&1) 2>&1 ; then 
    86         VRJ_CONFIG='no' 
     61    dnl Do a sanity check to ensure that $FLAGPOLL actually works. 
     62    if ! (eval $FLAGPOLL --help >/dev/null 2>&1) 2>&1 ; then 
     63        FLAGPOLL='no' 
    8764    fi 
    8865 
    8966    no_vrj='' 
    90     if test "x$VRJ_CONFIG" = "xno" ; then 
     67    if test "x$FLAGPOLL" = "xno" ; then 
    9168        no_vrj=yes 
    9269    else 
    93 dnl        VRJ_LIBS="`$VRJ_CONFIG $vrj_config_args --libs $ABI` $VRJ_EXTRA_LIBS" 
    94 dnl        VRJ_LIBS_STATIC="`$VRJ_CONFIG $vrj_config_args --libs $ABI --static` $VRJ_EXTRA_LIBS" 
    95  
    96         VRJ_CXXFLAGS=`$VRJ_CONFIG $vrj_config_args --cxxflags $ABI` 
    97         VRJ_INCLUDES=`$VRJ_CONFIG $vrj_config_args --includes` 
    98         VRJ_LIBS_CC="`$VRJ_CONFIG $vrj_config_args --libs $ABI`" 
    99         VRJ_LIBS_LD="`$VRJ_CONFIG $vrj_config_args --linker --libs $ABI`" 
    100         VRJ_LIBS_STATIC_CC="`$VRJ_CONFIG $vrj_config_args --libs $ABI --static`" 
    101         VRJ_LIBS_STATIC_LD="`$VRJ_CONFIG $vrj_config_args --linker --libs $ABI --static`" 
    102         VRJ_EXTRA_LIBS_CC=`$VRJ_CONFIG $vrj_config_args --extra-libs $ABI` 
    103         VRJ_EXTRA_LIBS_LD=`$VRJ_CONFIG $vrj_config_args --extra-libs $ABI --linker` 
    104         VRJ_VERSION=`$VRJ_CONFIG --version` 
    105  
    106         VRJ_CXXFLAGS_MIN=`$VRJ_CONFIG $vrj_config_args --cxxflags $ABI --min` 
    107         VRJ_INCLUDES_MIN=`$VRJ_CONFIG $vrj_config_args --includes --min` 
    108         VRJ_LIBS_CC_MIN="`$VRJ_CONFIG $vrj_config_args --libs $ABI --min`" 
    109         VRJ_LIBS_LD_MIN="`$VRJ_CONFIG $vrj_config_args --linker --libs $ABI --min`" 
    110         VRJ_EXTRA_LIBS_CC_MIN=`$VRJ_CONFIG $vrj_config_args --extra-libs $ABI --min` 
    111         VRJ_EXTRA_LIBS_LD_MIN=`$VRJ_CONFIG $vrj_config_args --extra-libs $ABI --min --linker` 
     70        VRJ_CXXFLAGS=`$FLAGPOLL $vrj_flagpoll_args -cflags` 
     71        VRJ_LIBS="`$FLAGPOLL $vrj_flagpoll_args --get-libs`" 
     72        VRJ_PROF_LIBS="`$FLAGPOLL $vrj_flagpoll_args --get-profiled-libs`" 
     73        VRJ_LIBS_STATIC="`$FLAGPOLL $vrj_flagpoll_args --get-static-libs`" 
     74        VRJ_PROF_LIBS_STATIC="`$FLAGPOLL $vrj_flagpoll_args --get-profiled-static-libs`" 
     75        VRJ_EXTRA_LIBS=`$FLAGPOLL $vrj_flagpoll_args --get-extra-libs` 
     76        VRJ_VERSION=`$FLAGPOLL --version` 
    11277 
    11378        DPP_VERSION_CHECK_MSG_NO_CACHE([VR Juggler], [$VRJ_VERSION], 
     
    11681 
    11782    if test "x$no_vrj" != x ; then 
    118         if test "$VRJ_CONFIG" = "no" ; then 
    119             echo "*** The vrjuggler-config script installed by VR Juggler could not be found" 
    120             echo "*** If VR Juggler was installed in PREFIX, make sure PREFIX/bin is in" 
    121             echo "*** your path, or set the VRJ_CONFIG environment variable to the" 
    122             echo "*** full path to vrjuggler-config." 
     83        if test "$FLAGPOLL" = "no" ; then 
     84           echo "*** Flagpoll is required to build VR Juggler." 
     85           echo "*** Please check that the PATH variable is set to " 
     86           echo "*** include the proper path to flagpoll." 
    12387        fi 
    12488        VRJ_CXXFLAGS="" 
    125         VRJ_CXXFLAGS_MIN="" 
    126         VRJ_INCLUDES="" 
    127         VRJ_INCLUDES_MIN="" 
    128         VRJ_LIBS_CC="" 
    129         VRJ_LIBS_LD="" 
    130         VRJ_LIBS_STATIC_CC="" 
    131         VRJ_LIBS_STATIC_LD="" 
    132         VRJ_EXTRA_LIBS_CC="" 
    133         VRJ_EXTRA_LIBS_LD="" 
    134         VRJ_EXTRA_LIBS_CC_MIN="" 
    135         VRJ_EXTRA_LIBS_LD_MIN="" 
     89        VRJ_LIBS="" 
     90        VRJ_PROF_LIBS="" 
     91        VRJ_LIBS_STATIC="" 
     92        VRJ_PROF_LIBS_STATIC="" 
     93        VRJ_EXTRA_LIBS="" 
    13694        VRJ_VERSION="-1" 
    13795        ifelse([$3], , :, [$3]) 
     
    13997 
    14098    AC_SUBST(VRJ_CXXFLAGS) 
    141     AC_SUBST(VRJ_INCLUDES) 
    142     AC_SUBST(VRJ_LIBS_CC) 
    143     AC_SUBST(VRJ_LIBS_LD) 
    144     AC_SUBST(VRJ_LIBS_STATIC_CC) 
    145     AC_SUBST(VRJ_LIBS_STATIC_LD) 
    146     AC_SUBST(VRJ_EXTRA_LIBS_CC) 
    147     AC_SUBST(VRJ_EXTRA_LIBS_LD) 
     99    AC_SUBST(VRJ_LIBS) 
     100    AC_SUBST(VRJ_PROF_LIBS) 
     101    AC_SUBST(VRJ_LIBS_STATIC) 
     102    AC_SUBST(VRJ_PROF_LIBS_STATIC) 
     103    AC_SUBST(VRJ_EXTRA_LIBS) 
    148104    AC_SUBST(VRJ_VERSION) 
    149  
    150     AC_SUBST(VRJ_CXXFLAGS_MIN) 
    151     AC_SUBST(VRJ_INCLUDES_MIN) 
    152     AC_SUBST(VRJ_LIBS_CC_MIN) 
    153     AC_SUBST(VRJ_LIBS_LD_MIN) 
    154     AC_SUBST(VRJ_EXTRA_LIBS_CC_MIN) 
    155     AC_SUBST(VRJ_EXTRA_LIBS_LD_MIN) 
    156105]) 
  • juggler/trunk/modules/gadgeteer/gadgeteer.fpc.in

    r19117 r19119  
    77ISA = @ISA@ 
    88ABI = @ABI@ 
    9 SUBSYSTEM = @SUBSYSTEM@ 
    109MAJOR_VERSION = @MAJOR_VERSION@ 
    1110MINOR_VERSION = @MINOR_VERSION@ 
     
    2827libdir = @libdir@ 
    2928 
    30 subsystem_cxxflags = @subsystem_cxxflags@ 
    31 subsystem_libs = @subsystem_libs@ 
    32  
    3329static_begin = @static_begin@ 
    3430static_end = @static_end@ 
     
    4339 
    4440gadget_extra_cxxflags = @gadget_extra_cxxflags@ 
    45 gadget_extra_include_dirs = @gadget_extra_include_dirs@ 
    4641 
    4742gadget_extra_ldflags_compiler = @gadget_extra_ldflags_compiler@ 
     
    6661Requires: vpr 
    6762Arch: ${ISA} 
    68 Cflags: ${gadget_cxxflags} ${gadget_extra_cxxflags} -I${includedir} ${gadget_extra_includes} 
     63Cflags: ${gadget_cxxflags} ${gadget_extra_cxxflags} -I${includedir} 
    6964Libs: ${libs} ${gadget_libs} ${extra_libs} 
    7065Libs.private:  
  • juggler/trunk/modules/jackal/jccl.fpc.in

    r19106 r19119  
    77ISA = @ISA@ 
    88ABI = @ABI@ 
    9 SUBSYSTEM = @SUBSYSTEM@ 
    109MAJOR_VERSION = @MAJOR_VERSION@ 
    1110MINOR_VERSION = @MINOR_VERSION@ 
     
    2625includedir = @includedir@ 
    2726libdir = @libdir@ 
    28  
    29 subsystem_cxxflags = @subsystem_cxxflags@ 
    30 subsystem_libs = @subsystem_libs@ 
    31  
    32  
    3327 
    3428jccl_java_api_jars = @jccl_java_api_jars@ 
  • juggler/trunk/modules/sonix/sonix.fpc.in

    r19114 r19119  
    77ISA = @ISA@ 
    88ABI = @ABI@ 
    9 SUBSYSTEM = @SUBSYSTEM@ 
    109MAJOR_VERSION = @MAJOR_VERSION@ 
    1110MINOR_VERSION = @MINOR_VERSION@ 
     
    2827libdir = @libdir@ 
    2928 
    30 subsystem_cxxflags = @subsystem_cxxflags@ 
    31 subsystem_libs = @subsystem_libs@ 
    3229 
    3330static_begin = @static_begin@ 
     
    4340 
    4441snx_extra_cxxflags = @snx_extra_cxxflags@ 
    45 snx_extra_include_dirs = @snx_extra_include_dirs@ 
    4642 
    4743snx_extra_ldflags_compiler = @snx_extra_ldflags_compiler@ 
     
    6460Requires: vpr 
    6561Arch: ${ISA} 
    66 Cflags: ${snx_cxxflags} ${snx_extra_cxxflags} -I${includedir} ${snx_extra_includes} 
     62Cflags: ${snx_cxxflags} ${snx_extra_cxxflags} -I${includedir} 
    6763Libs: ${libs} ${snx_libs} ${extra_libs} 
    6864Libs.private:  
  • juggler/trunk/modules/tweek/tweek.fpc.in

    r19102 r19119  
    77ISA = @ISA@ 
    88ABI = @ABI@ 
    9 SUBSYSTEM = @SUBSYSTEM@ 
    109MAJOR_VERSION = @MAJOR_VERSION@ 
    1110MINOR_VERSION = @MINOR_VERSION@