summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/api-notes/win32_build_on_cygwin_using_mingw.txt15
-rwxr-xr-xinfrastructure/mingw/configure.sh2
2 files changed, 15 insertions, 2 deletions
diff --git a/docs/api-notes/win32_build_on_cygwin_using_mingw.txt b/docs/api-notes/win32_build_on_cygwin_using_mingw.txt
index 9c82cf76..0b31626f 100644
--- a/docs/api-notes/win32_build_on_cygwin_using_mingw.txt
+++ b/docs/api-notes/win32_build_on_cygwin_using_mingw.txt
@@ -68,6 +68,19 @@ Configure PCRE for MinGW compilation, and build and install it:
cp .libs/libpcre.a .libs/libpcreposix.a /lib/mingw
cp pcreposix.h /usr/include/mingw
+== Readline (Optional) ==
+
+If you want Readline support, download Readline version 6.1, unpack
+and install thus:
+
+ tar xzvf readline-6.1.tar.gz
+ ./configure --prefix=/usr/i686-pc-mingw32 \
+ CFLAGS="-mno-cygwin" \
+ CPPFLAGS="-mno-cygwin" \
+ LDFLAGS="-mno-cygwin"
+ make
+ make install
+
== Download Box Backup ==
Go back to the base directory, and download the latest Box Backup sources:
@@ -83,7 +96,7 @@ Note: If you have problems during the configure or make stage, please try to eli
Enter the source directory and configure like this:
cd trunk
- ./infrastructure/mingw/configure.sh
+ ./infrastructure/mingw/configure.sh [--enable-gnu-readline]
make
== Installation ==
diff --git a/infrastructure/mingw/configure.sh b/infrastructure/mingw/configure.sh
index 287d1e57..b56d13c6 100755
--- a/infrastructure/mingw/configure.sh
+++ b/infrastructure/mingw/configure.sh
@@ -29,7 +29,7 @@ if [ ! -x "configure" ]; then
fi
fi
-if ! ./configure --target=i686-pc-mingw32; then
+if ! ./configure --target=i686-pc-mingw32 "$@"; then
echo "Error: configure failed, aborting." >&2
exit 1
fi