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

SCM Repository

[diderot] Diff of /benchmarks/configure.ac
ViewVC logotype

Diff of /benchmarks/configure.ac

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

revision 3349, Tue Oct 27 15:16:36 2015 UTC revision 4801, Tue Oct 25 20:57:34 2016 UTC
# Line 9  Line 9 
9  AC_INIT(diderot-benchmarks,0.1,)  AC_INIT(diderot-benchmarks,0.1,)
10    
11  AC_PREREQ(2.60)  AC_PREREQ(2.60)
12  AC_COPYRIGHT([[COPYRIGHT (c) 2015 The University of Chicago]])  AC_COPYRIGHT([[COPYRIGHT (c) 2016 The University of Chicago]])
13  AC_CONFIG_SRCDIR(programs/vr-lite-cam/bmark-teem.c)  AC_CONFIG_SRCDIR(programs/vr-lite-cam/bmark-teem.c)
14  AC_CONFIG_AUX_DIR(config)  AC_CONFIG_AUX_DIR(config)
15  AC_CONFIG_MACRO_DIR(config)  AC_CONFIG_MACRO_DIR(config)
# Line 79  Line 79 
79  dnl  dnl
80  dnl get the path to the TEEM installation  dnl get the path to the TEEM installation
81  dnl  dnl
82    dnl the path can be specified using "--with-teem=..." too
83    dnl
84  AC_ARG_WITH(teem,  AC_ARG_WITH(teem,
85    AC_HELP_STRING([--with-teem=<path>], [specify path to teem installation]),    AC_HELP_STRING([--with-teem=<path>], [specify path to teem installation]),
86    [ac_cv_use_teem=$withval], [ac_cv_use_teem=no])    [ac_cv_use_teem=$withval], [ac_cv_use_teem=no])
87    
88  if test x"$ac_cv_use_teem" = xno ; then  if test x"$ac_cv_use_teem" = xno ; then
89    dnl search for Teem in some standard places
90    dnl
91      AC_MSG_CHECKING([for teem])
92    TEEM_DIR=none    TEEM_DIR=none
93      POSSIBLE_TEEM_DIRS="/usr/local/teem /usr/local"
94      for dir in $POSSIBLE_TEEM_DIRS ; do
95        if test -f $dir/include/teem/nrrd.h ; then
96          TEEM_DIR=$dir
97          AC_MSG_RESULT([$TEEM_DIR])
98          break
99        fi
100      done
101      if test $TEEM_DIR = none ; then
102        AC_MSG_ERROR([unable to find teem; use --with-teem option to specify location])
103      fi
104  else  else
105    AC_MSG_CHECKING([path to teem ($ac_cv_use_teem)])    AC_MSG_CHECKING([path to teem ($ac_cv_use_teem)])
106    case $ac_cv_use_teem in    case $ac_cv_use_teem in
# Line 94  Line 111 
111      TEEM_DIR=$ac_cv_use_teem      TEEM_DIR=$ac_cv_use_teem
112      # check that TEEM_DIR actually points to something that looks like teem      # check that TEEM_DIR actually points to something that looks like teem
113      if test -f $TEEM_DIR/include/teem/nrrd.h ; then      if test -f $TEEM_DIR/include/teem/nrrd.h ; then
114        AC_MSG_RESULT([ okay])        AC_MSG_RESULT([yes])
115      else      else
116        TEEM_DIR=none        TEEM_DIR=none
117        AC_MSG_RESULT([ invalid])        AC_MSG_RESULT([invalid path to teem])
118      fi      fi
119    else    else
120      TEEM_DIR=none      TEEM_DIR=none
121      AC_MSG_RESULT([ invalid])      AC_MSG_RESULT([invalid path to teem])
122    fi    fi
123  fi  fi
124  if test x"$TEEM_DIR" = xnone ; then  if test x"$TEEM_DIR" = xnone ; then

Legend:
Removed from v.3349  
changed lines
  Added in v.4801

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