/[marvin]/marvin/src/libnn/configure.in
ViewVC logotype

Diff of /marvin/src/libnn/configure.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by srv89, Wed Jul 9 11:05:42 2003 UTC revision 1.4 by srv89, Wed Jul 9 16:13:01 2003 UTC
# Line 58  AC_INIT(env.ml) Line 58  AC_INIT(env.ml)
58  # we first look for ocamlc in the path; if not present, we fail  # we first look for ocamlc in the path; if not present, we fail
59  AC_CHECK_PROG(OCAMLC,ocamlc,ocamlc,no)  AC_CHECK_PROG(OCAMLC,ocamlc,ocamlc,no)
60  if test "$OCAMLC" = no ; then  if test "$OCAMLC" = no ; then
61          AC_MSG_ERROR(Cannot find ocamlc.)          AC_MSG_ERROR([CANNOT FIND OCAMLC!])
62  fi  fi
63    
64  # we extract Ocaml version number and library path  # we extract Ocaml version number and library path
# Line 73  echo "ocaml library path is $OCAMLLIB" Line 73  echo "ocaml library path is $OCAMLLIB"
73  AC_CHECK_PROG(OCAMLOPT,ocamlopt,ocamlopt,no)  AC_CHECK_PROG(OCAMLOPT,ocamlopt,ocamlopt,no)
74  OCAMLBEST=byte  OCAMLBEST=byte
75  if test "$OCAMLOPT" = no ; then  if test "$OCAMLOPT" = no ; then
76          AC_MSG_WARN(Cannot find ocamlopt; bytecode compilation only.)          AC_MSG_WARN([CANNOT FIND OCAMLOPT! Bytecode compilation only.])
77  else  else
78          AC_MSG_CHECKING(ocamlopt version)          AC_MSG_CHECKING(ocamlopt version)
79          TMPVERSION=`$OCAMLOPT -v | sed -n -e 's|.*version *\(.*\)$|\1|p' `          TMPVERSION=`$OCAMLOPT -v | sed -n -e 's|.*version *\(.*\)$|\1|p' `
# Line 140  fi Line 140  fi
140  # look for camldoc  # look for camldoc
141  AC_CHECK_PROG(OCAMLDOC,ocamldoc,ocamldoc,no)  AC_CHECK_PROG(OCAMLDOC,ocamldoc,ocamldoc,no)
142  if test "$OCAMLDOC" = no ; then  if test "$OCAMLDOC" = no ; then
143          AC_MSG_ERROR(Cannot find ocamldoc.)          AC_MSG_WARN([CANNOT FIND OCAMLDOC! 'make doc' will not work properly.])
144  fi  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
149      AC_MSG_RESULT(Win32)      AC_MSG_RESULT([WIIN32])
150      OCAMLWIN32=yes      OCAMLWIN32=yes
151      EXE=.exe      EXE=.exe
152  else  else

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26