[Box Backup-commit] COMMIT r2642 - in box/trunk: docs/api-notes infrastructure/mingw

subversion at boxbackup.org subversion at boxbackup.org
Fri Feb 26 06:50:56 GMT 2010


Author: chris
Date: 2010-02-26 06:50:55 +0000 (Fri, 26 Feb 2010)
New Revision: 2642

Modified:
   box/trunk/docs/api-notes/win32_build_on_cygwin_using_mingw.txt
   box/trunk/infrastructure/mingw/configure.sh
Log:
Add instructions and support for building with readline on Windows.


Modified: box/trunk/docs/api-notes/win32_build_on_cygwin_using_mingw.txt
===================================================================
--- box/trunk/docs/api-notes/win32_build_on_cygwin_using_mingw.txt	2010-02-25 23:20:27 UTC (rev 2641)
+++ box/trunk/docs/api-notes/win32_build_on_cygwin_using_mingw.txt	2010-02-26 06:50:55 UTC (rev 2642)
@@ -68,6 +68,19 @@
 	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 @@
 Enter the source directory and configure like this:
 
 	cd trunk
-	./infrastructure/mingw/configure.sh
+	./infrastructure/mingw/configure.sh [--enable-gnu-readline]
 	make
 
 == Installation ==

Modified: box/trunk/infrastructure/mingw/configure.sh
===================================================================
--- box/trunk/infrastructure/mingw/configure.sh	2010-02-25 23:20:27 UTC (rev 2641)
+++ box/trunk/infrastructure/mingw/configure.sh	2010-02-26 06:50:55 UTC (rev 2642)
@@ -29,7 +29,7 @@
 	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




More information about the Boxbackup-commit mailing list