Prefer to use ocamlc.opt to ocamlc and soforth.
authorGordon Henriksen <gordonhenriksen@mac.com>
Fri, 7 Mar 2008 18:19:47 +0000 (18:19 +0000)
committerGordon Henriksen <gordonhenriksen@mac.com>
Fri, 7 Mar 2008 18:19:47 +0000 (18:19 +0000)
These natively compiled versions are faster.

Patch by Erick Tryzelaar!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48007 91177308-0d34-0410-b5e6-96231b3b80d8

autoconf/configure.ac

index a966a096182a831957a1e2b13c035a534450df82..b6f23a381c3d8ac07942cf5a7671b0312e065250 100644 (file)
@@ -589,9 +589,9 @@ AC_PATH_PROG(POD2MAN, [pod2man])
 AC_PATH_PROG(RUNTEST, [runtest])
 DJ_AC_PATH_TCLSH
 AC_PATH_PROG(ZIP, [zip])
 AC_PATH_PROG(RUNTEST, [runtest])
 DJ_AC_PATH_TCLSH
 AC_PATH_PROG(ZIP, [zip])
-AC_PATH_PROG(OCAMLC, [ocamlc])
-AC_PATH_PROG(OCAMLOPT, [ocamlopt])
-AC_PATH_PROG(OCAMLDEP, [ocamldep])
+AC_PATH_PROGS(OCAMLC, [ocamlc.opt ocamlc])
+AC_PATH_PROGS(OCAMLOPT, [ocamlopt.opt ocamlopt])
+AC_PATH_PROGS(OCAMLDEP, [ocamldep.opt ocamldep])
 
 dnl Determine if the linker supports the -R option.
 AC_LINK_USE_R
 
 dnl Determine if the linker supports the -R option.
 AC_LINK_USE_R