summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1999-09-15 16:26:39 +0200
committerWerner Koch <wk@gnupg.org>1999-09-15 16:26:39 +0200
commitdcaaa9223e2d1e0af80ddc2d3d70232cbac60d55 (patch)
treeea3c225eda906d79540f9ec5e4b43d18323e2993 /configure.in
parentSee ChangeLog: Mon Sep 13 10:55:14 CEST 1999 Werner Koch (diff)
downloadgnupg2-dcaaa9223e2d1e0af80ddc2d3d70232cbac60d55.tar.xz
gnupg2-dcaaa9223e2d1e0af80ddc2d3d70232cbac60d55.zip
See ChangeLog: Wed Sep 15 16:22:17 CEST 1999 Werner KochV1-0-4V1-0-3V1-0-2V1-0-1-ePit-1
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in28
1 files changed, 23 insertions, 5 deletions
diff --git a/configure.in b/configure.in
index 5656adb6c..a56847ae8 100644
--- a/configure.in
+++ b/configure.in
@@ -15,7 +15,7 @@ AM_CONFIG_HEADER(config.h)
VERSION=`cat $srcdir/VERSION`
PACKAGE=gnupg
-ALL_LINGUAS="de es_ES fr it pl pt_BR ru"
+ALL_LINGUAS="de es_ES fr it pl pt_BR pt_PT ru"
static_modules="sha1 md5 rmd160"
AC_SUBST(VERSION)
AC_SUBST(PACKAGE)
@@ -138,11 +138,31 @@ AC_ARG_WITH(capabilities,
AC_MSG_RESULT($use_capabilities)
+
+
+
AM_MAINTAINER_MODE
dnl Checks for programs.
AC_CANONICAL_SYSTEM
+dnl
+dnl Setup some stuff depending on host/target.
+dnl
+case "${target}" in
+ *-*-mingw32)
+ # special stuff for Windoze NT
+ # Do we need to set cross_compiling here or is it sufficient
+ # to rely on AC_PROG_CC which is called later?
+ cross_compiling=yes
+ CC="${target}-gcc"
+ CPP="${target}-gcc -E"
+ RANLIB="${target}-ranlib"
+ ;;
+ *)
+ ;;
+esac
+
AC_ARG_PROGRAM
AC_PROG_MAKE_SET
AM_SANITY_CHECK
@@ -181,14 +201,11 @@ try_gdbm=yes
case "${target}" in
*-*-mingw32)
# special stuff for Windoze NT
- cross_compiling=yes
- CC="${target}-gcc"
- CPP="${target}-gcc -E"
- RANLIB="${target}-ranlib"
ac_cv_have_dev_random=no
AC_DEFINE(USE_ONLY_8DOT3)
AC_DEFINE(HAVE_DRIVE_LETTERS)
AC_DEFINE(HAVE_DOSISH_SYSTEM)
+ AC_DEFINE(USE_SIMPLE_GETTEXT)
try_gettext="no"
try_gdbm="no"
;;
@@ -489,6 +506,7 @@ if test "$use_static_rnd" = default; then
case "${target}" in
*-*-mingw32)
static_modules="$static_modules rndw32"
+ AC_DEFINE(USE_STATIC_RNDW32)
;;
i?86-emx-os2|i?86-*-os2*emx)
static_modules="$static_modules rndos2"