summaryrefslogtreecommitdiffstats
path: root/autogen.rc
blob: 832d6c4da5cc62cdc8c2dc023f5e7448850854c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# autogen.sh configuration for GnuPG                           -*- sh -*-

#version_parts=3

case "$myhost:$myhostsub" in
  w32:ce)
    extraoptions="--enable-dirmngr-auto-start --disable-scdaemon "
    extraoptions="$extraoptions --disable-zip --enable-gpg2-is-gpg"
    ;;
  w32:)
    extraoptions="--enable-gpgtar"
    ;;
esac

case "$myhost" in
  w32)
    configure_opts="
      --with-gpg-error-prefix=@SYSROOT@
      --with-ksba-prefix=@SYSROOT@
      --with-libgcrypt-prefix=@SYSROOT@
      --with-libassuan-prefix=@SYSROOT@
      --with-zlib=@SYSROOT@
      --with-regex=@SYSROOT@
      --with-npth-prefix=@SYSROOT@
      --with-adns=@SYSROOT@
      --disable-g13
      "
    ;;

  amd64)
    configure_opts="
      --with-gpg-error-prefix=@SYSROOT@
      --with-ksba-prefix=@SYSROOT@
      --with-libgcrypt-prefix=@SYSROOT@
      --with-libassuan-prefix=@SYSROOT@
      --with-zlib=/usr/x86_64-linux-gnu/usr
      --with-pth-prefix=/usr/x86_64-linux-gnu/usr
     "
    ;;
esac


extra_aclocal_flags=""

final_info="./configure --sysconfdir=/etc --enable-maintainer-mode  && make"