Use "true" rather than ":" for RANLIB, where we don't have ranlib
authorIan Lynagh <igloo@earth.li>
Fri, 29 Apr 2011 18:05:19 +0000 (19:05 +0100)
committerIan Lynagh <igloo@earth.li>
Fri, 29 Apr 2011 18:05:19 +0000 (19:05 +0100)
We can pass "true" to Cabal, but not ":" as it's just a shell built-in

aclocal.m4

index 357c2e3..7433873 100644 (file)
@@ -635,7 +635,7 @@ AC_SUBST([ArArgs], ["$fp_prog_ar_args"])
 # FP_PROG_AR_NEEDS_RANLIB
 # -----------------------
 # Sets the output variable RANLIB to "ranlib" if it is needed and found,
-# to ":" otherwise.
+# to "true" otherwise.
 AC_DEFUN([FP_PROG_AR_NEEDS_RANLIB],
 [AC_REQUIRE([FP_PROG_AR_IS_GNU])
 AC_REQUIRE([FP_PROG_AR_ARGS])
@@ -655,7 +655,7 @@ fi])
 if test $fp_cv_prog_ar_needs_ranlib = yes; then
    AC_PROG_RANLIB
 else
-  RANLIB=":"
+  RANLIB="true"
   AC_SUBST([RANLIB])
 fi
 ])# FP_PROG_AR_NEEDS_RANLIB