Commit e7973d36 authored by Werner Koch's avatar Werner Koch

Turn autogen.sh into a generic script.

* autogen.sh: Revamp.
* autogen.rc: New.
* Makefile.am (EXTRA_DIST): Add autogen.rc.
--
Signed-off-by: 's avatarWerner Koch <wk@gnupg.org>
parent 99a48b2f
......@@ -23,7 +23,7 @@ DISTCHECK_CONFIGURE_FLAGS = --enable-symcryptrun --enable-mailto --enable-gpgtar
GITLOG_TO_CHANGELOG=gitlog-to-changelog
EXTRA_DIST = build-aux/config.rpath build-aux/potomo autogen.sh
EXTRA_DIST = build-aux/config.rpath build-aux/potomo autogen.sh autogen.rc
ChangeLog-2011 po/ChangeLog-2011 build-aux/ChangeLog-2011 \
build-aux/gitlog-to-changelog \
build-aux/git-log-fix build-aux/git-log-footer \
......
# autogen.sh configuration for GnuPG -*- sh -*-
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="-I gl/m4"
final_info="./configure --sysconfdir=/etc --enable-maintainer-mode --enable-symcryptrun --enable-mailto --enable-gpgtar && make"
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment