summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-02-20 14:25:34 +0100
committerDavid Tardon <dtardon@redhat.com>2012-02-20 14:28:11 +0100
commitbcf1edba4eeecba9b47d3ef983e0973b4c737871 (patch)
treee6946711c92ddcdefabbf5482a19691656bceecf /m4
parentad3b8a779db8f5ba908c59155328a4912ee0941d (diff)
expect sed has already been detected
Reportedly AC_PROG_SED does not exist on XCode 2.5 .
Diffstat (limited to 'm4')
-rw-r--r--m4/mingw.m47
1 files changed, 3 insertions, 4 deletions
diff --git a/m4/mingw.m4 b/m4/mingw.m4
index cd0f38fc62b1..952b2eddb7fd 100644
--- a/m4/mingw.m4
+++ b/m4/mingw.m4
@@ -1,9 +1,8 @@
# libo_FIND_MINGW_EXTERNAL_DLLS([library-names],[variable],[?exclude])
-# uses: CC, WITH_MINGW
+# uses: CC, SED, WITH_MINGW
# --------------------------------------------------------------------
AC_DEFUN([libo_FIND_MINGW_EXTERNAL_DLLS],
-[AC_REQUIRE([AC_PROG_SED])dnl
-if test "$WITH_MINGW" = yes -a -n "$CC"; then
+[if test "$WITH_MINGW" = yes -a -n "$CC"; then
_libo_mingw_libdir=`$CC -print-sysroot`/mingw/lib
for _libo_mingw_lib in $1; do
_libo_mingw_lib="$_libo_mingw_libdir/$_libo_mingw_lib.la"
@@ -28,7 +27,7 @@ fi[]dnl
]) # libo_FIND_MINGW_EXTERNAL_DLLS
# libo_ADD_MINGW_EXTERNAL_DLLS([library-names],[variable])
-# uses: CC, WITH_MINGW
+# uses: CC, SED, WITH_MINGW
# --------------------------------------------------------
AC_DEFUN([libo_ADD_MINGW_EXTERNAL_DLLS],
[libo_FIND_MINGW_EXTERNAL_DLLS([$1],[_libo_mingw_found_dlls],[$$2])