]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Fix autotools cross-compiling support
authorDavid Sommerseth <dazo@users.sourceforge.net>
Thu, 11 Mar 2010 16:28:41 +0000 (17:28 +0100)
committerDavid Sommerseth <dazo@users.sourceforge.net>
Tue, 27 Apr 2010 21:07:37 +0000 (23:07 +0200)
commita623a3a4eac8feeecbb2d89cbd7aa507d7518891
treeb0eb76a17f1ac7961282e12c20e66c91030f4b98
parent4efcdecebeb5e9464a0756b9a27325e427f8b573
Fix autotools cross-compiling support

This is a modified version of a patch sent to the sf.net
patch tracker:

<http://sourceforge.net/tracker/?func=detail&aid=2491190&group_id=48978&atid=454721>

After having disucssed this patch on IRC (#openvpn-discussions)
March 4, 2010, it was decided to accept this patch when not modifying
TARGET_* defines through out the code.  Further, in a mail comment
Alon Bar-Lev had some other comments of what would be needed to be done.

Mail reference:
<http://thread.gmane.org/gmane.network.openvpn.devel/3176>

This patch has been tested by bootstrapping the code on a RHEL4.6 box.
with the following autotools packages installed:
autoconf-2.59-5
automake-1.9.2-3
libtool-1.5.6-4.EL4.2

It builds cleanly and 'make check' passes.

Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Acked-by: James Yonan <james@openvpn.net>
Acked-by: Alon Bar-Lev <alon.barlev@gmail.com>
acinclude.m4
configure.ac