Skip to content
Newer
Older
100644 27 lines (20 sloc) 457 Bytes
061234c @samoht Add a configure script
samoht authored Sep 21, 2012
1 AC_INIT(ocp-indent,0.1.0)
2 AC_COPYRIGHT(Copyright 2012 OcamlPro SAS)
3
4 AC_CONFIG_MACRO_DIR([m4])
5 AC_PROG_CC
6
7 AC_PROG_OCAML
8 if test "$OCAMLC" = "no"; then
9 AC_MSG_ERROR([You must install the OCaml compiler])
10 fi
11
12 AC_CONFIG_FILES(
13 Makefile.config
14 src/globals.ml
15 )
16 AC_OUTPUT
17
18 if test "$prefix" = "NONE"; then
19 prefix=$ac_default_prefix
20 fi
21
22 bindir="`eval echo ${bindir}`"
23 bindir="`eval echo ${bindir}`"
24
25 echo
26 echo Executables will be installed in ${bindir}
Something went wrong with that request. Please try again.