Kaynağa Gözat

Set configure options for cross-compilation.

* autogen.rc: Set configure options for cross-compilation based on
'myhost'.

Signed-off-by: Justus Winter <justus@g10code.com>
Oleg Gurevich 9 yıl önce
ebeveyn
işleme
086b72ab07
1 değiştirilmiş dosya ile 15 ekleme ve 0 silme
  1. 15 0
      autogen.rc

+ 15 - 0
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"