Project

General

Profile

« Previous | Next » 

Revision 30f766ab

Added by Eric NOULARD almost 8 years ago

Suppress -nowarn argument to find command line.
This is not needed on Linux and it is not supported on Darwin (Mac OS)

View differences:

configure.ac
46 46

  
47 47
# Checks for libraries. OCamlgraph
48 48
AC_MSG_CHECKING(ocamlgraph library)
49
   ocamlgraph_lib=`find $OCAMLGRAPH_PATH -iname graph.cmxa -nowarn | grep -m 1 -o "graph.cmxa"`
49
   ocamlgraph_lib=`find $OCAMLGRAPH_PATH -iname graph.cmxa | grep -m 1 -o "graph.cmxa"`
50 50
   if (test "x$ocamlgraph_lib" = xgraph.cmxa ); then
51
	ocamlgraph_lib_full=`find $OCAMLGRAPH_PATH -iname graph.cmxa -nowarn | grep -m 1 "graph.cmxa"`
51
	ocamlgraph_lib_full=`find $OCAMLGRAPH_PATH -iname graph.cmxa | grep -m 1 "graph.cmxa"`
52 52
      AC_MSG_RESULT(library detected: $ocamlgraph_lib_full )
53 53
   else
54 54
      AC_MSG_ERROR([ocamlgraph library not installed in $OCAMLGRAPH_PATH])

Also available in: Unified diff