[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-devel] configure failing in MinGW
From: |
Stephen Leake |
Subject: |
[Monotone-devel] configure failing in MinGW |
Date: |
Sat, 20 Oct 2007 05:45:55 -0400 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/22.1 (windows-nt) |
I've just updated to 45c06e2f6d0180bf5d80716d069a76a388f65291, and
`configure' is failing; I'm using Win32 MinGW.
I did 'autoreconf -i'.
configure is failing on line 11398 (PKG_CHECK_MODULES below):
# Check whether --with-system-pcre or --without-system-pcre was given.
if test "${with_system_pcre+set}" = set; then
withval="$with_system_pcre"
case "$withval" in
(""|yes) with_system_pcre=yes ;;
(no) with_system_pcre=no ;;
(*) { { echo "$as_me:$LINENO: error: --with(out)-system-pcre takes
no argument" >&5
echo "$as_me: error: --with(out)-system-pcre takes no argument" >&2;}
{ (exit 1); exit 1; }; } ;;
esac
else
with_system_pcre=no
fi;
if test "$with_system_pcre" = yes; then
PKG_PROG_PKG_CONFIG
# We manually test the variables here because we want them to work
# even if pkg-config isn't installed. The use of + instead of :+ is
# deliberate; the user should be able to tell us that the empty string
# is the correct set of flags. (PKG_CHECK_MODULES gets this wrong!)
if test -n "${PCRE_CFLAGS+set}" || test -n "${PCRE_LIBS+set}"; then
found_libpcre=yes
else
PKG_CHECK_MODULES(PCRE, libpcre,
found_libpcre=yes, found_libpcre=no)
fi
It appears that PKG_PROG_PKG_CONFIG and PKG_CHECK_MODULES are m4
macros that I don't have?
`autoconf --version' gives 2.59.
I tried specifying `--without-system-pcre', but it gives the same
error.
Manually deleting the "with_system_pcre=yes" case works, but is
obviously not a permanent solution.
--
-- Stephe
- [Monotone-devel] configure failing in MinGW,
Stephen Leake <=