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

SCM Repository

[diderot] Diff of /branches/pure-cfg/configure.ac
ViewVC logotype

Diff of /branches/pure-cfg/configure.ac

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

trunk/configure.ac revision 123, Mon Jun 28 18:05:04 2010 UTC branches/pure-cfg/configure.ac revision 679, Wed Mar 23 23:31:12 2011 UTC
# Line 9  Line 9 
9  AC_INIT(diderot,0.1,)  AC_INIT(diderot,0.1,)
10    
11  AC_PREREQ(2.60)  AC_PREREQ(2.60)
12  AC_COPYRIGHT([[COPYRIGHT (c) 2010 The Diderot Project]])  AC_COPYRIGHT([[COPYRIGHT (c) 2010 The Diderot Project (http://diderot-language.cs.uchicago.edu)]])
13  AC_CONFIG_SRCDIR(src/dnorm/dnorm.c)  AC_CONFIG_SRCDIR(src/dnorm/dnorm.c)
14  AC_CONFIG_AUX_DIR(config)  AC_CONFIG_AUX_DIR(config)
15  AC_CONFIG_MACRO_DIR(config)  AC_CONFIG_MACRO_DIR(config)
# Line 29  Line 29 
29    
30  dnl check for standard programs  dnl check for standard programs
31  dnl  dnl
 AC_PROG_CC_C99  
32  AC_PROG_CPP  AC_PROG_CPP
33  AC_PROG_INSTALL  AC_PROG_INSTALL
34  AC_PROG_MAKE_SET  AC_PROG_MAKE_SET
35    
36    dnl check for c99 support
37    dnl
38    AC_PROG_CC_C99
39    if test x"$ac_cv_prog_cc_c99" = xno ; then
40      AC_MSG_ERROR([Diderot requires c99 support])
41    fi
42    
43    dnl extra C compiler options
44    dnl
45    CC="$CC -m64"
46    CFLAGS="$CFLAGS -Wformat -Wreturn-type -Wuninitialized"
47    
48    dnl
49    dnl Look for NVIDIA's nvcc compiler
50    dnl
51    AC_MSG_CHECKING([for CUDA and nvcc])
52    AC_PATH_PROG(NVCC, nvcc, ":", $PATH)
53    if test $NVCC = none ; then
54      AC_MSG_WARN([nvcc not found])
55    else
56      AC_MSG_RESULT([$NVCC])
57    fi
58    AC_SUBST(NVCC)
59    
60  dnl  dnl
61  dnl If we are on Mac OS X, check for the presence of macports and/or fink  dnl If we are on Mac OS X, check for the presence of macports and/or fink
62  dnl  dnl
 NEEDS_MACPORTS=no  
 NEEDS_FINK=no  
63  case "$host_os" in  case "$host_os" in
64    darwin*) # On Mac OS X we check for installed frameworks    darwin*) # On Mac OS X we check for installed frameworks
65      if test -x /opt/local/bin/port ; then      if test -x /opt/local/bin/port ; then
# Line 155  Line 176 
176  dnl ******************** write output ********************  dnl ******************** write output ********************
177  dnl  dnl
178    
 dnl ***** Makefiles *****  
179  AC_CONFIG_FILES(  AC_CONFIG_FILES(
180    dnl
181    dnl ***** Makefiles *****
182      Makefile
183    src/dnorm/Makefile    src/dnorm/Makefile
184    src/compiler/Makefile    src/compiler/Makefile
185      src/lib/Makefile
186      test/Makefile
187      test/MIP/Makefile
188      test/probe/Makefile
189    dnl
190    dnl ***** SML source files *****
191      src/compiler/fields/run-dnorm.sml:src/compiler/fields/run-dnorm_sml.in
192      src/compiler/common/paths.sml:src/compiler/common/paths_sml.in
193  )  )
194    
195  dnl  dnl

Legend:
Removed from v.123  
changed lines
  Added in v.679

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