Changeset 719 for trunk


Ignore:
Timestamp:
May 9, 2007 4:48:53 PM (17 years ago)
Author:
dkearney
Message:

adding include directory and adjusting build system's matlab arch variable

Location:
trunk
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile.in

    r718 r719  
    161161        make -C src/tcl clean
    162162        make -C src2/core clean
    163         rm -rf include
     163        rm -f include/*
    164164
    165165distclean:
     
    180180        rm gui/apps/rappture gui/apps/simsim gui/apps/rappture.env;
    181181        rm -rf Makefile config.status config.log bin;
     182        rm -f include/*
  • trunk/configure

    r718 r719  
    983983      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    984984    fi
    985     cd $ac_popdir
     985    cd "$ac_popdir"
    986986  done
    987987fi
     
    20652065  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    20662066  (exit $ac_status); } &&
    2067          { ac_try='test -z "$ac_c_werror_flag"
    2068                          || test ! -s conftest.err'
     2067         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    20692068  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    20702069  (eval $ac_try) 2>&5
     
    21242123  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21252124  (exit $ac_status); } &&
    2126          { ac_try='test -z "$ac_c_werror_flag"
    2127                          || test ! -s conftest.err'
     2125         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    21282126  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21292127  (eval $ac_try) 2>&5
     
    22412239  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22422240  (exit $ac_status); } &&
    2243          { ac_try='test -z "$ac_c_werror_flag"
    2244                          || test ! -s conftest.err'
     2241         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    22452242  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22462243  (eval $ac_try) 2>&5
     
    22962293  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22972294  (exit $ac_status); } &&
    2298          { ac_try='test -z "$ac_c_werror_flag"
    2299                          || test ! -s conftest.err'
     2295         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    23002296  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23012297  (eval $ac_try) 2>&5
     
    23422338  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23432339  (exit $ac_status); } &&
    2344          { ac_try='test -z "$ac_c_werror_flag"
    2345                          || test ! -s conftest.err'
     2340         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    23462341  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23472342  (eval $ac_try) 2>&5
     
    23872382  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23882383  (exit $ac_status); } &&
    2389          { ac_try='test -z "$ac_c_werror_flag"
    2390                          || test ! -s conftest.err'
     2384         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    23912385  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23922386  (eval $ac_try) 2>&5
     
    27182712  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    27192713  (exit $ac_status); } &&
    2720          { ac_try='test -z "$ac_c_werror_flag"
    2721                          || test ! -s conftest.err'
     2714         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    27222715  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    27232716  (eval $ac_try) 2>&5
     
    29162909  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    29172910  (exit $ac_status); } &&
    2918          { ac_try='test -z "$ac_c_werror_flag"
    2919                          || test ! -s conftest.err'
     2911         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    29202912  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    29212913  (eval $ac_try) 2>&5
     
    30953087  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    30963088  (exit $ac_status); } &&
    3097          { ac_try='test -z "$ac_cxx_werror_flag"
    3098                          || test ! -s conftest.err'
     3089         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
    30993090  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    31003091  (eval $ac_try) 2>&5
     
    31543145  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    31553146  (exit $ac_status); } &&
    3156          { ac_try='test -z "$ac_cxx_werror_flag"
    3157                          || test ! -s conftest.err'
     3147         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
    31583148  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    31593149  (eval $ac_try) 2>&5
     
    32263216  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    32273217  (exit $ac_status); } &&
    3228          { ac_try='test -z "$ac_cxx_werror_flag"
    3229                          || test ! -s conftest.err'
     3218         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
    32303219  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    32313220  (eval $ac_try) 2>&5
     
    32713260  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    32723261  (exit $ac_status); } &&
    3273          { ac_try='test -z "$ac_cxx_werror_flag"
    3274                          || test ! -s conftest.err'
     3262         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
    32753263  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    32763264  (eval $ac_try) 2>&5
     
    33463334  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    33473335  (exit $ac_status); } &&
    3348          { ac_try='test -z "$ac_cxx_werror_flag"
    3349                          || test ! -s conftest.err'
     3336         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
    33503337  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    33513338  (eval $ac_try) 2>&5
     
    34233410  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    34243411  (exit $ac_status); } &&
    3425          { ac_try='test -z "$ac_cxx_werror_flag"
    3426                          || test ! -s conftest.err'
     3412         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
    34273413  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    34283414  (eval $ac_try) 2>&5
     
    37223708  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    37233709  (exit $ac_status); } &&
    3724          { ac_try='test -z "$ac_cxx_werror_flag"
    3725                          || test ! -s conftest.err'
     3710         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
    37263711  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    37273712  (eval $ac_try) 2>&5
     
    38753860  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    38763861  (exit $ac_status); } &&
    3877          { ac_try='test -z "$ac_cxx_werror_flag"
    3878                          || test ! -s conftest.err'
     3862         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
    38793863  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    38803864  (eval $ac_try) 2>&5
     
    40284012  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    40294013  (exit $ac_status); } &&
    4030          { ac_try='test -z "$ac_cxx_werror_flag"
    4031                          || test ! -s conftest.err'
     4014         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
    40324015  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    40334016  (eval $ac_try) 2>&5
     
    41814164  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    41824165  (exit $ac_status); } &&
    4183          { ac_try='test -z "$ac_cxx_werror_flag"
    4184                          || test ! -s conftest.err'
     4166         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
    41854167  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    41864168  (eval $ac_try) 2>&5
     
    43934375
    43944376# Provide some information about the compiler.
    4395 echo "$as_me:4395:" \
     4377echo "$as_me:4377:" \
    43964378     "checking for Fortran 77 compiler version" >&5
    43974379ac_compiler=`set X $ac_compile; echo $2`
     
    44394421  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    44404422  (exit $ac_status); } &&
    4441          { ac_try='test -z "$ac_f77_werror_flag"
    4442                          || test ! -s conftest.err'
     4423         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
    44434424  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    44444425  (eval $ac_try) 2>&5
     
    44894470  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    44904471  (exit $ac_status); } &&
    4491          { ac_try='test -z "$ac_f77_werror_flag"
    4492                          || test ! -s conftest.err'
     4472         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
    44934473  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    44944474  (eval $ac_try) 2>&5
     
    46304610        echo "$as_me:$LINENO: result: ${MEX}" >&5
    46314611echo "${ECHO_T}${MEX}" >&6
     4612        if test "$with_matlab_arch" = "check" ; then
     4613                        with_matlab_arch=""
     4614        fi
    46324615        if test "x$with_matlab_arch" != "x" ; then
    46334616            echo "using matlab architecture \"$with_matlab_arch\""
     
    46364619        if test "x$MEX" != "x" ; then
    46374620            mexext_fxn=`dirname $MEX`/mexext
    4638             if test "x$mexext_fxn" != "x"; then
     4621            if test -x "$mexext_fxn" ; then
    46394622                MEXEXT=`$mexext_fxn`
    46404623                if test "x${MEXEXT}" = "x" ; then
    4641                                                             if test "$with_mexext" != "check" ; then
     4624                                                                                if test "$with_mexext" != "check" ; then
    46424625                        MEXEXT="mexglx"
    46434626                    fi
    46444627                fi
    4645                 echo "Using mex file extension \"$MEXEXT\""
    4646                 echo "$as_me:$LINENO: result: ${MEXEXT}" >&5
     4628            else
     4629                if test "$with_mexext" != "check" ; then
     4630                    MEXEXT="mexglx"
     4631                fi
     4632            fi
     4633            echo "Using mex file extension \"$MEXEXT\""
     4634            echo "$as_me:$LINENO: result: ${MEXEXT}" >&5
    46474635echo "${ECHO_T}${MEXEXT}" >&6
    4648             fi
    46494636        else
    46504637            echo "can't find the matlab compiler \"mex\""
     
    57905777  esac
    57915778
    5792   if test x"$ac_file" != x-; then
    5793     { echo "$as_me:$LINENO: creating $ac_file" >&5
    5794 echo "$as_me: creating $ac_file" >&6;}
    5795     rm -f "$ac_file"
    5796   fi
    57975779  # Let's still pretend it is `configure' which instantiates (i.e., don't
    57985780  # use $as_me), people would be surprised to read:
     
    58335815      esac
    58345816    done` || { (exit 1); exit 1; }
     5817
     5818  if test x"$ac_file" != x-; then
     5819    { echo "$as_me:$LINENO: creating $ac_file" >&5
     5820echo "$as_me: creating $ac_file" >&6;}
     5821    rm -f "$ac_file"
     5822  fi
    58355823_ACEOF
    58365824cat >>$CONFIG_STATUS <<_ACEOF
     
    60656053    fi
    60666054
    6067     cd $ac_popdir
     6055    cd "$ac_popdir"
    60686056  done
    60696057fi
  • trunk/configure.in

    r718 r719  
    107107        fi
    108108        AC_MSG_RESULT([${MEX}])
     109        if test "$with_matlab_arch" = "check" ; then
     110            dnl still need to write the code to check the arch type
     111            with_matlab_arch=""
     112        fi
    109113        if test "x$with_matlab_arch" != "x" ; then
    110114            echo "using matlab architecture \"$with_matlab_arch\""
     
    115119        if test "x$MEX" != "x" ; then
    116120            mexext_fxn=`dirname $MEX`/mexext
    117             if test "x$mexext_fxn" != "x"; then
     121            if test -x "$mexext_fxn" ; then
    118122                MEXEXT=`$mexext_fxn`
    119123                if test "x${MEXEXT}" = "x" ; then
     124                    dnl not even mexext can figure out what extension to use....
    120125                    dnl # we should be doing an os type check instead of default mexglx
    121126                    dnl # use $with_matlab_arch
     
    124129                    fi
    125130                fi
    126                 echo "Using mex file extension \"$MEXEXT\""
    127                 AC_MSG_RESULT([${MEXEXT}])
     131            else
     132                if test "$with_mexext" != "check" ; then
     133                    MEXEXT="mexglx"
     134                fi
    128135            fi
     136            echo "Using mex file extension \"$MEXEXT\""
     137            AC_MSG_RESULT([${MEXEXT}])
    129138        else
    130139            echo "can't find the matlab compiler \"mex\""
Note: See TracChangeset for help on using the changeset viewer.