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 4919, Wed Feb 15 21:04:45 2017 UTC revision 5052, Thu Jul 13 17:26:39 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    
19  dnl check for standard programs  dnl check for standard programs
20  dnl  dnl
21  AC_PROG_INSTALL  AC_PROG_INSTALL
22    
23    AC_PROG_CC([clang gcc cc])
24    AC_PROG_CXX([clang++ g++ c++])
25    AX_CXX_COMPILE_STDCXX(11,[],[mandatory])
26    
27  dnl the path can be specified using "--with-teem=..." too  dnl the path can be specified using "--with-teem=..." too
28  dnl  dnl
29  AC_ARG_WITH(teem,  AC_ARG_WITH(teem,
# Line 71  Line 77 
77  dnl  dnl
78    
79  dnl  dnl
80  dnl get the path to the diderot executable  dnl get the path to the root of the Diderot source tree that is being
81  dnl  dnl tested (DIDEROT_ROOT).  We assume that diderotc will be found in
82  AC_ARG_WITH(diderotc,  dnl $DIDEROT_ROOT/bin.
83    AC_HELP_STRING([--with-diderotc=<path>], [specify path to Diderot compiler]),  dnl
84    [ac_cv_use_diderotc=$withval], [ac_cv_use_diderotc=no])  AC_ARG_WITH(diderot,
85  if test x"$ac_cv_use_diderotc" = xno ; then    AC_HELP_STRING([--with-diderot=<path>], [specify path to Diderot source]),
86    DIDEROTC=none    [ac_cv_use_diderot=$withval], [ac_cv_use_diderot=no])
87    if test x"$ac_cv_use_diderot" = xno ; then
88      DIDEROT_ROOT=none
89  else  else
90    AC_MSG_CHECKING([path to diderotc ($ac_cv_use_diderotc)])    AC_MSG_CHECKING([path to diderot ($ac_cv_use_diderot)])
91    case $ac_cv_use_diderotc in    case $ac_cv_use_diderot in
92      /*) DIDEROTC=$ac_cv_use_diderotc ;;      /*) DIDEROT_ROOT=$ac_cv_use_diderot ;;
93      *) DIDEROTC=$BMARKS_ROOT$ac_cv_use_diderotc ;;      *) DIDEROT_ROOT=$BMARKS_ROOT$ac_cv_use_diderot ;;
94    esac    esac
95    # check that diderotc exists and is executable    # check that diderotc exists and is executable
96      DIDEROTC=$DIDEROT_ROOT/bin/diderotc
97    if test -x $DIDEROTC ; then    if test -x $DIDEROTC ; then
98      AC_MSG_RESULT([ okay])      AC_MSG_RESULT([ okay])
99    else    else
100        DIDEROT_ROOT=none
101      DIDEROTC=none      DIDEROTC=none
102      AC_MSG_RESULT([ invalid])      AC_MSG_RESULT([ invalid])
103    fi    fi
104  fi  fi
105  if test x"$DIDEROTC" = xnone ; then  if test x"$DIDEROT_ROOT" = xnone ; then
106    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])
107  fi  fi
108    AC_SUBST(DIDEROT_ROOT)
109  AC_SUBST(DIDEROTC)  AC_SUBST(DIDEROTC)
110    
111  dnl  dnl
# Line 102  Line 113 
113  dnl  dnl
114    
115  dnl  dnl
116    dnl makerules for regression tests
117    dnl
118    AC_CONFIG_FILES(
119      rtest/scripts/makerules.gmk:rtest/scripts/makerules_gmk.in
120    )
121    
122    dnl
123  dnl generate script files with proper paths  dnl generate script files with proper paths
124  dnl  dnl
125  dnl usage: MK_SCRIPT(<prefix-path>)  dnl usage: MK_SCRIPT(<prefix-path>)

Legend:
Removed from v.4919  
changed lines
  Added in v.5052

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