Scute on master branch. Build for Windows. Improvment for autogen.sh --build-wXX and autogen.rc
Oleg Gurevich
oleg at gurevich.de
Fri Jan 15 16:19:01 CET 2016
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hello,
could you please take a look on this. By doing this autogen.sh --build-w32 for example configures properly for
execution of make command.
Reasonable ?
Mit freundlichen Grüßen/ с Уважением/ best regards
Oleg Gurevich
PGP fingerprint: 38A0 D0CC BD23 1707 B0AF D158 E9D7 6E3F E74A 0B0C
diff --git a/autogen.rc b/autogen.rc
index 881f658..f5856c8 100644
- --- a/autogen.rc
+++ b/autogen.rc
@@ -1,4 +1,19 @@
# autogen.sh configuration for Scute -*- sh -*-
+case "$myhost" in
+ w32)
+ configure_opts="
+ --with-gpg-error-prefix=@SYSROOT@
+ --with-libassuan-prefix=@SYSROOT@
+ "
+ ;;
+
+ amd64)
+ configure_opts="
+ --with-gpg-error-prefix=@SYSROOT@
+ --with-libassuan-prefix=@SYSROOT@
+ "
+ ;;
+esac
extra_aclocal_flags=""
final_info="./configure --enable-maintainer-mode && make"
diff --git a/autogen.sh b/autogen.sh
index 3fe24ea..90e7d7f 100755
- --- a/autogen.sh
+++ b/autogen.sh
@@ -310,8 +310,7 @@ if [ "$myhost" = "w32" ]; then
$tsdir/configure --enable-maintainer-mode ${SILENT} \
--prefix=${w32root} \
- - --host=${host} --build=${build} SYSROOT=${w32root} \
- - PKG_CONFIG_LIBDIR=${w32root} \
+ --host=${host} --build=${build} \
${configure_opts} ${extraoptions} "$@"
rc=$?
exit $rc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJWmQ3dAAoJEH5u5dDzfOKiFWcP+wTUdMiEqH0DP5GnD5JTDZNI
AEAg57L9sSv6/AQuP4ErteELI1iDiHphzOFqD3msfdScNpWDgp0U51YlZMtRnVrc
Av4N98861/1eLwQgoKaYahBeVv1EaMf/BnchNfwJ/UTMvSgM2/Yzp4AH8r6jnwkE
oHEZ8/NX+w3z/164DoYYwWOyFk8/z7P2WgAJXYwRzZqf3TROG82cV7vvKoZbLknB
JF7ky5UmFIAqOdQobLSsJ4swYEmRY9iMgg1SMy3z3Tmkqk+iVEB5A1NBImOp3kyW
UInjZuueFxnhGyxUifiC2Y0IiXkC1Agot7qsj29YWP+QVKQsgywHD9GMkdJe5bVE
5FVlVl8xakW0BM1CJK4Ew2sgAsvJSwmsc2bNnA6pSIFGVkTfXmujhNyOqx0c9ygY
BokijPc3wKs52mYf3/cqoPSlbSu3XRzrVJNWc0ySgFu8leP9DMPcWGTDz8SSTH2E
z8TRguR3tQELL+aUGwTv0TdSgYvlWPGl4FHhQz5V5ryEos/Szi12QpuV6E3lCPlX
JxeBlc3uwe82hJiNc9FRtxot4vomNWavt5DoQEHoMUJTIfjsF9aifhf+/8Nkiw1+
PygSaIxYQ6MbXiiL00eRYi394y5WGeoL8F8J/s1XbBcysfxAqf6sU1JjpM+hbalx
Xn0vNHFV28X2ERBwwfVk
=EeGr
-----END PGP SIGNATURE-----
More information about the Gnupg-devel
mailing list