File: configure.ac

package info (click to toggle)
ocp-indent 1.4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,304 kB
  • ctags: 1,256
  • sloc: ml: 7,010; sh: 315; makefile: 106; lisp: 77
file content (26 lines) | stat: -rw-r--r-- 459 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
AC_INIT(ocp-indent,1.4.2)
AC_COPYRIGHT(Copyright 2013-2014 OcamlPro SAS)

AC_CONFIG_MACRO_DIR([m4])
AC_PROG_CC

AC_PROG_OCAML
if test "$OCAMLC" = "no"; then
   AC_MSG_ERROR([You must install the OCaml compiler])
fi

AC_CONFIG_FILES(
  Makefile.config
  version.ocp
)
AC_OUTPUT

if test "$prefix" = "NONE"; then
  prefix=$ac_default_prefix
fi

bindir="`eval echo ${bindir}`"
bindir="`eval echo ${bindir}`"

echo
echo Executables will be installed in ${bindir}