* acinclude.m4 (GNUPG_CHECK_ENDIAN): When crosscompiling assume

little only for Intel CPUs.

* configure.ac: Check for ranlib and ar.  This is required for
cross compiling.
This commit is contained in:
Werner Koch 2003-03-24 16:18:30 +00:00
parent 930290698a
commit 62df762d9e
4 changed files with 29 additions and 7 deletions

View File

@ -1,3 +1,11 @@
2003-03-24 Werner Koch <wk@gnupg.org>
* acinclude.m4 (GNUPG_CHECK_ENDIAN): When crosscompiling assume
little only for Intel CPUs.
* configure.ac: Check for ranlib and ar. This is required for
cross compiling.
2003-03-11 David Shaw <dshaw@jabberwocky.com>
* configure.ac: Look for res_query so we can use DNS SRV, and add
@ -1178,7 +1186,7 @@ Fri Feb 13 19:43:41 1998 Werner Koch (wk@isil.d.shuttle.de)
* Makefile.am: Likewise
Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
Copyright 1998,1999,2000,2001,2002,2003 Free Software Foundation, Inc.
This file is free software; as a special exception the author gives
unlimited permission to copy and/or distribute it, with or without

3
TODO
View File

@ -96,6 +96,9 @@
* When presenting the result of a verification show the user ID with
the highest trust level first instead of the primary one.
* allow the use of option in gpg.conf.
* export-secret-subkey where only one of the subkeys gets exported.
Things we won't do
------------------

View File

@ -1,5 +1,5 @@
dnl macros to configure gnupg
dnl Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
dnl Copyright (C) 1998, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
dnl
dnl This file is part of GnuPG.
dnl
@ -106,13 +106,21 @@ AC_DEFUN(GNUPG_CHECK_DOCBOOK_TO_TEXI,
])
dnl GNUPG_CHECK_ENDIAN
dnl define either LITTLE_ENDIAN_HOST or BIG_ENDIAN_HOST
dnl
define(GNUPG_CHECK_ENDIAN,
[ if test "$cross_compiling" = yes; then
AC_MSG_WARN(cross compiling; assuming little endianess)
[
tmp_assumed_endian=big
if test "$cross_compiling" = yes; then
case "$host_cpu" in
i[345678]* )
tmp_assumed_endian=little
;;
*)
;;
esac
AC_MSG_WARN(cross compiling; assuming $tmp_assumed_endian endianess)
fi
AC_MSG_CHECKING(endianess)
AC_CACHE_VAL(gnupg_cv_c_endian,
@ -141,7 +149,7 @@ define(GNUPG_CHECK_ENDIAN,
}],
gnupg_cv_c_endian=little,
gnupg_cv_c_endian=big,
gnupg_cv_c_endian=little
gnupg_cv_c_endian=$tmp_assumed_endian
)
fi
])

View File

@ -1,5 +1,6 @@
dnl Configure.ac script for GnuPG
dnl Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
dnl Copyright (C) 1998, 1999, 2000, 2001, 2002,
dnl 2003 Free Software Foundation, Inc.
dnl
dnl This file is part of GnuPG.
dnl
@ -336,6 +337,8 @@ AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
AC_PROG_CC
AC_PROG_CPP
AC_PROG_RANLIB
AC_CHECK_TOOL(AR, ar, :)
AC_PATH_PROG(PERL,"perl")
AC_ISC_POSIX
AC_SYS_LARGEFILE