Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/vis15/configure.ac
ViewVC logotype

Diff of /branches/vis15/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4307, Fri Jul 29 19:29:48 2016 UTC revision 4326, Sun Jul 31 11:50:50 2016 UTC
# Line 430  Line 430 
430    
431  #################### Teem configuration ####################  #################### Teem configuration ####################
432    
 dnl  
433  dnl get the path to the TEEM installation.  We need this to build the Diderot  dnl get the path to the TEEM installation.  We need this to build the Diderot
434  dnl runtime code and we use the path when searching for teem in the Diderot  dnl runtime code and we use the path when searching for teem in the Diderot
435  dnl compiler.  dnl compiler.
436  dnl  dnl
437    
438    dnl the path can be specified using "--with-teem=..." too
439    dnl
440  AC_ARG_WITH(teem,  AC_ARG_WITH(teem,
441    AC_HELP_STRING([--with-teem=<path>], [specify path to teem installation]),    AC_HELP_STRING([--with-teem=<path>], [specify path to teem installation]),
442    [ac_cv_use_teem=$withval], [ac_cv_use_teem=no])    [ac_cv_use_teem=$withval], [ac_cv_use_teem=no])
443    
444  if test x"$ac_cv_use_teem" = xno ; then  if test x"$ac_cv_use_teem" = xno ; then
445    dnl search for Teem in some standard places
446    dnl
447      AC_MSG_CHECKING([for teem])
448    TEEM_DIR=none    TEEM_DIR=none
449      POSSIBLE_TEEM_DIRS="/usr/local/teem /usr/local"
450      for dir in $POSSIBLE_TEEM_DIRS ; do
451        if test -f $dir/include/teem/nrrd.h ; then
452          TEEM_DIR=$dir
453          AC_MSG_RESULT([$TEEM_DIR])
454          break
455        fi
456      done
457      if test $TEEM_DIR = none ; then
458    AC_MSG_ERROR([unable to find teem; use --with-teem option to specify location])    AC_MSG_ERROR([unable to find teem; use --with-teem option to specify location])
459      fi
460  else  else
461    AC_MSG_CHECKING([path to teem ($ac_cv_use_teem)])    AC_MSG_CHECKING([path to teem ($ac_cv_use_teem)])
462    case $ac_cv_use_teem in    case $ac_cv_use_teem in
# Line 467  Line 483 
483  dnl  dnl
484  dnl check that unu supports the dnorm command  dnl check that unu supports the dnorm command
485  dnl  dnl
 if test x"$TEEM_DIR" != xnone ; then  
486    AC_MSG_CHECKING([that \"unu dnorm\" works])    AC_MSG_CHECKING([that \"unu dnorm\" works])
487    if test -x $TEEM_DIR/bin/unu ; then    if test -x $TEEM_DIR/bin/unu ; then
488      $TEEM_DIR/bin/unu dnorm > /dev/null 2> /dev/null      $TEEM_DIR/bin/unu dnorm > /dev/null 2> /dev/null
# Line 479  Line 494 
494    else    else
495      AC_MSG_ERROR([unable to find unu executable in $TEEM_DIR/bin"])      AC_MSG_ERROR([unable to find unu executable in $TEEM_DIR/bin"])
496    fi    fi
497  fi  
498  AC_SUBST(TEEM_DIR)  AC_SUBST(TEEM_DIR)
499    
500  #################### end Teem configuration ####################  #################### end Teem configuration ####################
# Line 535  Line 550 
550    
551    dnl look for ml-makedepend    dnl look for ml-makedepend
552    dnl    dnl
   AC_MSG_CHECKING([for ml-makedepend])  
553    tmpPATH="$SMLNJ_PATH:$PATH"    tmpPATH="$SMLNJ_PATH:$PATH"
554    AC_PATH_PROG(ML_MAKEDEPEND, ml-makedepend, ":", $tmpPATH)    AC_PATH_PROG(ML_MAKEDEPEND, ml-makedepend, ":", $tmpPATH)
   if test $ML_MAKEDEPEND = none ; then  
     AC_MSG_ERROR([ml-makedepend not found])  
   else  
     AC_MSG_RESULT([$ML_MAKEDEPEND])  
   fi  
555    AC_SUBST(ML_MAKEDEPEND)    AC_SUBST(ML_MAKEDEPEND)
556    
557    dnl    dnl

Legend:
Removed from v.4307  
changed lines
  Added in v.4326

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0