File: configure.in

package info (click to toggle)
deal.ii 6.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 130,276 kB
  • ctags: 254,694
  • sloc: cpp: 664,750; ansic: 30,376; sh: 3,290; makefile: 3,152; perl: 1,046; asm: 802; fortran: 801; lisp: 84; pascal: 71
file content (27 lines) | stat: -rw-r--r-- 663 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
dnl
dnl configure script to find the main deal library
dnl in .. or ../deal.II or ../deal
dnl

AC_PREREQ(2.61)
AC_INIT(embedding.cc)

AC_PROG_CC
AC_PROG_CXX

dnl Supply deal-directory in command line or find it
AC_ARG_WITH(deal,
[  --with-deal=DIR where DIR is the root of the deal.II library],
    DEAL2_DIR=$withval,
    if test -r ../../common/Make.global_options ; then
      DEAL2_DIR=`pwd`/../.. ;
    fi
    if test -r ../../deal.II/common/Make.global_options ; then
      DEAL2_DIR=`pwd`/../../deal.II ;
    fi
    if test -r ../../deal/common/Make.global_options ; then
      DEAL2_DIR=`pwd`/../../deal ;
    fi)
AC_SUBST(DEAL2_DIR)

AC_OUTPUT(Makefile)