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

SCM Repository

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

Diff of /tests/configure.ac

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

revision 4726, Tue Oct 11 20:05:46 2016 UTC revision 5076, Sat Jul 15 18:41:23 2017 UTC
# Line 2  Line 2 
2  dnl  dnl
3  dnl This code is part of the Diderot Project (http://diderot-language.cs.uchicago.edu)  dnl This code is part of the Diderot Project (http://diderot-language.cs.uchicago.edu)
4  dnl  dnl
5  dnl COPYRIGHT (c) 2016 The University of Chicago  dnl COPYRIGHT (c) 2017 The University of Chicago
6  dnl All rights reserved.  dnl All rights reserved.
7  dnl  dnl
8    
9  AC_INIT(diderot-tests,0.1,)  AC_INIT(diderot-tests,0.1,)
10    
11  AC_PREREQ(2.60)  AC_PREREQ(2.60)
12  AC_COPYRIGHT([[COPYRIGHT (c) 2016 The University of Chicago]])  AC_COPYRIGHT([[COPYRIGHT (c) 2017 The University of Chicago]])
13  AC_CONFIG_SRCDIR(rtest/tests/heron/heron.diderot)  AC_CONFIG_SRCDIR(rtest/tests/heron/heron.diderot)
14  AC_CONFIG_AUX_DIR(config)  AC_CONFIG_AUX_DIR(config)
15  AC_CONFIG_MACRO_DIR(config)  AC_CONFIG_MACRO_DIR(config)
16    
17    sinclude(config/ax_cxx_compile_stdcxx.m4)
18    sinclude(config/acx_pthread.m4)
19    
20  dnl check for standard programs  dnl check for standard programs
21  dnl  dnl
22  AC_PROG_INSTALL  AC_PROG_INSTALL
23    
24    AC_PROG_CC([clang gcc cc])
25    AC_PROG_CXX([clang++ g++ c++])
26    AX_CXX_COMPILE_STDCXX(11,[],[mandatory])
27    
28    dnl
29    dnl check for pthreads support
30    dnl
31    ACX_PTHREAD
32    
33  dnl the path can be specified using "--with-teem=..." too  dnl the path can be specified using "--with-teem=..." too
34  dnl  dnl
35  AC_ARG_WITH(teem,  AC_ARG_WITH(teem,
# Line 71  Line 83 
83  dnl  dnl
84    
85  dnl  dnl
86  dnl get the path to the diderot executable  dnl get the path to the root of the Diderot source tree that is being
87  dnl  dnl tested (DIDEROT_ROOT).  We assume that diderotc will be found in
88  AC_ARG_WITH(diderotc,  dnl $DIDEROT_ROOT/bin.
89    AC_HELP_STRING([--with-diderotc=<path>], [specify path to Diderot compiler]),  dnl
90    [ac_cv_use_diderotc=$withval], [ac_cv_use_diderotc=no])  AC_ARG_WITH(diderot,
91  if test x"$ac_cv_use_diderotc" = xno ; then    AC_HELP_STRING([--with-diderot=<path>], [specify path to Diderot source]),
92    DIDEROTC=none    [ac_cv_use_diderot=$withval], [ac_cv_use_diderot=no])
93    if test x"$ac_cv_use_diderot" = xno ; then
94      DIDEROT_ROOT=none
95  else  else
96    AC_MSG_CHECKING([path to diderotc ($ac_cv_use_diderotc)])    AC_MSG_CHECKING([path to diderot ($ac_cv_use_diderot)])
97    case $ac_cv_use_diderotc in    case $ac_cv_use_diderot in
98      /*) DIDEROTC=$ac_cv_use_diderotc ;;      /*) DIDEROT_ROOT=$ac_cv_use_diderot ;;
99      *) DIDEROTC=$BMARKS_ROOT$ac_cv_use_diderotc ;;      *) DIDEROT_ROOT=$BMARKS_ROOT$ac_cv_use_diderot ;;
100    esac    esac
101    # check that diderotc exists and is executable    # check that diderotc exists and is executable
102      DIDEROTC=$DIDEROT_ROOT/bin/diderotc
103    if test -x $DIDEROTC ; then    if test -x $DIDEROTC ; then
104      AC_MSG_RESULT([ okay])      AC_MSG_RESULT([ okay])
105    else    else
106        DIDEROT_ROOT=none
107      DIDEROTC=none      DIDEROTC=none
108      AC_MSG_RESULT([ invalid])      AC_MSG_RESULT([ invalid])
109    fi    fi
110  fi  fi
111  if test x"$DIDEROTC" = xnone ; then  if test x"$DIDEROT_ROOT" = xnone ; then
112    AC_MSG_ERROR([unable to find diderotc; use --with-diderotc option to specify location])    AC_MSG_ERROR([please specify location of Diderot source using --with-diderot option])
113  fi  fi
114    AC_SUBST(DIDEROT_ROOT)
115  AC_SUBST(DIDEROTC)  AC_SUBST(DIDEROTC)
116    
117  dnl  dnl
# Line 102  Line 119 
119  dnl  dnl
120    
121  dnl  dnl
122    dnl make definitions for regression tests
123    dnl
124    AC_CONFIG_FILES(
125      rtest/scripts/makedefs.gmk:rtest/scripts/makedefs_gmk.in
126    )
127    
128    dnl
129  dnl generate script files with proper paths  dnl generate script files with proper paths
130  dnl  dnl
131  dnl usage: MK_SCRIPT(<prefix-path>)  dnl usage: MK_SCRIPT(<prefix-path>)
# Line 121  Line 145 
145  MK_SCRIPT(slinebug/run)  MK_SCRIPT(slinebug/run)
146  MK_SCRIPT(sqprnt/run)  MK_SCRIPT(sqprnt/run)
147  MK_SCRIPT(synthetic/createmat3x3/mat3x3)  MK_SCRIPT(synthetic/createmat3x3/mat3x3)
148    MK_SCRIPT(vis12-bugs/src/run)
149    MK_SCRIPT(vis15-bugs/circle)
150  MK_SCRIPT(vis15-bugs/sphere-snapbug)  MK_SCRIPT(vis15-bugs/sphere-snapbug)
151  MK_SCRIPT(vis15-bugs/halftone-bug2)  MK_SCRIPT(vis15-bugs/halftone-bug2)
152    MK_SCRIPT(vis15-bugs/isohnd/run)
153    MK_SCRIPT(vis15-bugs/plot1d2d)
154    MK_SCRIPT(vis15-bugs/parlife)
155    MK_SCRIPT(vis15-bugs/parcircle)
156    
157  AC_OUTPUT  AC_OUTPUT
158    

Legend:
Removed from v.4726  
changed lines
  Added in v.5076

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