소스 검색

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 년 전
부모
커밋
086b72ab07
1개의 변경된 파일15개의 추가작업 그리고 0개의 파일을 삭제
  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"