File: configure.in

package info (click to toggle)
gnuplot 4.6.6-1~bpo70%2B1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy-backports
  • size: 15,640 kB
  • sloc: ansic: 85,383; cpp: 6,743; lisp: 3,999; makefile: 2,126; sh: 976; objc: 647; asm: 539; perl: 310; awk: 235; pascal: 194; csh: 179; tcl: 88; python: 46
file content (49 lines) | stat: -rw-r--r-- 1,074 bytes parent folder | download | duplicates (2)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# $HEader$

AC_INIT(dot.el)
AC_PREREQ(2.52)

PACKAGE=gnuplot-mode
GPM_MAJOR=0
GPM_MINOR=6
GPM_REVISION=0
AM_INIT_AUTOMAKE([$PACKAGE], [$GPM_MAJOR.$GPM_MINOR.$GPM_REVISION])

AC_SET_MAKE
AC_PROG_INSTALL
AM_PATH_LISPDIR

AC_CHECK_PROGS(DVIPS, dvips, no)
AC_CHECK_PROGS(LATEX, latex latex2e, no)
AC_PATH_PROG(MAKEINFO, makeinfo, no)

dnl for pdf format docs
AC_CHECK_PROGS(PDFLATEX, pdflatex, no)

if test "$EMACS" = no; then
  LISPFILES=noelcs
  INSTALL_LISP=install-nolisp
else
  LISPFILES=elcs
  INSTALL_LISP=install-lisp
fi

AC_ARG_WITH(lisp-files,dnl
[  --without-lisp-files    do not build emacs lisp files],
  [if test "$with_lisp_files" = no; then
     LISPFILES=noelcs
     INSTALL_LISP=install-nolisp
   fi])

# need to copy some stuff if we compile outside the source disrectory
if test ! -f ./gnuplot.el ; then
  # all except dot.el
  AC_MSG_RESULT([Compiling outside source directory - copying needed .el files])
  cp ${srcdir}/gnuplot.el ${srcdir}/gnuplot-gui.el .
  cp ${srcdir}/gpelcard.tex .
fi

AC_SUBST(LISPFILES)
AC_SUBST(INSTALL_LISP)

AC_OUTPUT(Makefile)