apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpl...@apache.org
Subject svn commit: r760443 - /apr/apr/trunk/configure.in
Date Tue, 31 Mar 2009 13:38:22 GMT
Author: rpluem
Date: Tue Mar 31 13:38:09 2009
New Revision: 760443

URL: http://svn.apache.org/viewvc?rev=760443&view=rev
Log:
* AC_PROG_SED is only avaliable in recent autoconf versions.
  Use AC_CHECK_PROG instead if AC_PROG_SED is not present.

Modified:
    apr/apr/trunk/configure.in

Modified: apr/apr/trunk/configure.in
URL: http://svn.apache.org/viewvc/apr/apr/trunk/configure.in?rev=760443&r1=760442&r2=760443&view=diff
==============================================================================
--- apr/apr/trunk/configure.in (original)
+++ apr/apr/trunk/configure.in Tue Mar 31 13:38:09 2009
@@ -130,7 +130,11 @@
 dnl preload section from invoking the macro to get compiler info.
 AC_PROG_CC
 
-AC_PROG_SED
+dnl AC_PROG_SED is only avaliable in recent autoconf versions.
+dnl Use AC_CHECK_PROG instead if AC_PROG_SED is not present.
+ifdef([AC_PROG_SED],
+      [AC_PROG_SED],
+      [AC_CHECK_PROG(SED, sed, sed)])
 
 dnl Preload
 APR_PRELOAD



Mime
View raw message