1 |
|
################################################################### |
2 |
|
#[LibNN - Neural Networks Library] |
3 |
|
#Copyright (C) 2002 - 2003 LAGACHERIE Matthieu RICORDEAU Olivier |
4 |
# |
# |
5 |
# autoconf input for Objective Caml programs |
#This program is free software; you can redistribute it and/or |
6 |
# Copyright (C) 2001 Jean-Christophe Filli?tre |
#modify it under the terms of the GNU General Public License |
7 |
# from a first script by Georges Mariano |
#as published by the Free Software Foundation; either version 2 |
8 |
# |
#of the License, or (at your option) any later version. This |
9 |
# This library is free software; you can redistribute it and/or |
#program is distributed in the hope that it will be useful, |
10 |
# modify it under the terms of the GNU Library General Public |
#but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 |
# License version 2, as published by the Free Software Foundation. |
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
12 |
# |
#GNU General Public License for more details. You should have |
13 |
# This library is distributed in the hope that it will be useful, |
#received a copy of the GNU General Public License |
14 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
#along with this program; if not, write to the Free Software |
15 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
#Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
16 |
|
#USA. |
17 |
|
# |
18 |
|
#Author: |
19 |
|
#LAGACHERIE Matthieu |
20 |
|
#Paper mail : 7 rue Delescluzes 94280 LE KREMLIN BICETRE, FRANCE |
21 |
|
#E-mail : matthieu@marvinproject.org |
22 |
|
# |
23 |
|
#RICORDEAU Olivier |
24 |
|
#Paper mail : 69 avenue d'Italie 75013 PARIS, FRANCE |
25 |
|
#E-mail : olivier@marvinproject.org |
26 |
|
# |
27 |
|
################################################################### |
28 |
|
|
29 |
|
# |
30 |
|
#NB: This file is highly inspired from |
31 |
|
#the "autoconf input for Objective Caml programs" file |
32 |
|
#by Jean-Christophe FILLIATRE |
33 |
|
#http://www.lri.fr/~filliatr/ftp/ocaml/misc/configure.in |
34 |
# |
# |
|
# See the GNU Library General Public License version 2 for more details |
|
|
# (enclosed in the file LGPL). |
|
35 |
|
|
36 |
# the script generated by autoconf from this input will set the following |
# the script generated by autoconf from this input will set the following |
37 |
# variables: |
# variables: |
137 |
|
|
138 |
#!AC_CHECK_PROG(OCAMLWEB,ocamlweb,ocamlweb,true) |
#!AC_CHECK_PROG(OCAMLWEB,ocamlweb,ocamlweb,true) |
139 |
|
|
140 |
|
# look for camldoc |
141 |
|
AC_CHECK_PROG(OCAMLDOC,ocamldoc,ocamldoc,no) |
142 |
|
if test "$OCAMLDOC" = no ; then |
143 |
|
AC_MSG_ERROR(Cannot find ocamldoc.) |
144 |
|
fi |
145 |
|
|
146 |
# platform |
# platform |
147 |
AC_MSG_CHECKING(platform) |
AC_MSG_CHECKING(platform) |
148 |
if echo "let _ = Sys.os_type" | ocaml | grep -q Win32; then |
if echo "let _ = Sys.os_type" | ocaml | grep -q Win32; then |