2002-08-21 Marcus Brinkmann <marcus@g10code.de>
* Makefile.am (SUBDIRS): Remove jnlib. * configure.ac: Don't check for unsigned short or unsigned long. Don't check for memicmp, strlwr, strtoul, memmove, stricmp. Make stpcpy a replaced function. Don't define HAVE_JNLIB_LOGGING. Don't generate jnlib/Makefile. gpgme/ 2002-08-21 Marcus Brinkmann <marcus@g10code.de> * stpcpy.c: New file from gnulib. * Makefile.am (assuan_libobjs): Remove jnlib.
This commit is contained in:
parent
b3901634c3
commit
166fbcc9ef
@ -1,3 +1,12 @@
|
|||||||
|
2002-08-21 Marcus Brinkmann <marcus@g10code.de>
|
||||||
|
|
||||||
|
* Makefile.am (SUBDIRS): Remove jnlib.
|
||||||
|
* configure.ac: Don't check for unsigned short or unsigned long.
|
||||||
|
Don't check for memicmp, strlwr, strtoul, memmove, stricmp.
|
||||||
|
Make stpcpy a replaced function.
|
||||||
|
Don't define HAVE_JNLIB_LOGGING.
|
||||||
|
Don't generate jnlib/Makefile.
|
||||||
|
|
||||||
2002-07-02 Werner Koch <wk@gnupg.org>
|
2002-07-02 Werner Koch <wk@gnupg.org>
|
||||||
|
|
||||||
* configure.ac: Bumbed version number to 0.3.9; add a comment on
|
* configure.ac: Bumbed version number to 0.3.9; add a comment on
|
||||||
|
@ -51,7 +51,7 @@ else
|
|||||||
gpgmeplug =
|
gpgmeplug =
|
||||||
endif
|
endif
|
||||||
|
|
||||||
SUBDIRS = ${assuan} jnlib gpgme ${tests} doc ${bonobo} ${complus} ${gpgmeplug}
|
SUBDIRS = ${assuan} gpgme ${tests} doc ${bonobo} ${complus} ${gpgmeplug}
|
||||||
|
|
||||||
# Fix the version of the spec file and create a file named VERSION
|
# Fix the version of the spec file and create a file named VERSION
|
||||||
# to be used for patch's Prereq: feature.
|
# to be used for patch's Prereq: feature.
|
||||||
|
14
configure.ac
14
configure.ac
@ -138,11 +138,7 @@ GNUPG_CHECK_TYPEDEF(ulong, HAVE_ULONG_TYPEDEF)
|
|||||||
GNUPG_CHECK_TYPEDEF(u16, HAVE_U16_TYPEDEF)
|
GNUPG_CHECK_TYPEDEF(u16, HAVE_U16_TYPEDEF)
|
||||||
GNUPG_CHECK_TYPEDEF(u32, HAVE_U32_TYPEDEF)
|
GNUPG_CHECK_TYPEDEF(u32, HAVE_U32_TYPEDEF)
|
||||||
|
|
||||||
dnl We should not use them in this software;
|
|
||||||
dnl However jnlib/types.h needs them - so we take the easy way.
|
|
||||||
AC_CHECK_SIZEOF(unsigned short)
|
|
||||||
AC_CHECK_SIZEOF(unsigned int)
|
AC_CHECK_SIZEOF(unsigned int)
|
||||||
AC_CHECK_SIZEOF(unsigned long)
|
|
||||||
|
|
||||||
dnl
|
dnl
|
||||||
dnl Checks for compiler features.
|
dnl Checks for compiler features.
|
||||||
@ -155,8 +151,8 @@ fi
|
|||||||
dnl
|
dnl
|
||||||
dnl Checks for library functions.
|
dnl Checks for library functions.
|
||||||
dnl
|
dnl
|
||||||
dnl These are needed by libjnlib
|
|
||||||
AC_CHECK_FUNCS(memicmp stpcpy strlwr strtoul memmove stricmp)
|
AC_REPLACE_FUNCS(stpcpy)
|
||||||
|
|
||||||
# asprintf() is at least used in assuan
|
# asprintf() is at least used in assuan
|
||||||
AC_REPLACE_FUNCS(vasprintf)
|
AC_REPLACE_FUNCS(vasprintf)
|
||||||
@ -165,10 +161,6 @@ AC_REPLACE_FUNCS(vasprintf)
|
|||||||
AC_REPLACE_FUNCS(fopencookie)
|
AC_REPLACE_FUNCS(fopencookie)
|
||||||
|
|
||||||
|
|
||||||
dnl We use jnlib, so tell other modules about it
|
|
||||||
AC_DEFINE(HAVE_JNLIB_LOGGING, 1,
|
|
||||||
[Defined if jnlib style logging fucntions are available.])
|
|
||||||
|
|
||||||
dnl
|
dnl
|
||||||
dnl Checks for system services
|
dnl Checks for system services
|
||||||
dnl
|
dnl
|
||||||
@ -258,7 +250,7 @@ dnl
|
|||||||
dnl Create config files
|
dnl Create config files
|
||||||
dnl
|
dnl
|
||||||
|
|
||||||
AC_CONFIG_FILES(Makefile assuan/Makefile jnlib/Makefile gpgme/Makefile
|
AC_CONFIG_FILES(Makefile assuan/Makefile gpgme/Makefile
|
||||||
tests/Makefile tests/gpg/Makefile tests/gpgsm/Makefile
|
tests/Makefile tests/gpg/Makefile tests/gpgsm/Makefile
|
||||||
doc/Makefile
|
doc/Makefile
|
||||||
bonobo/Makefile complus/Makefile gpgmeplug/Makefile)
|
bonobo/Makefile complus/Makefile gpgmeplug/Makefile)
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2002-08-21 Marcus Brinkmann <marcus@g10code.de>
|
||||||
|
|
||||||
|
* stpcpy.c: New file from gnulib.
|
||||||
|
* Makefile.am (assuan_libobjs): Remove jnlib.
|
||||||
|
|
||||||
2002-08-20 Marcus Brinkmann <marcus@g10code.de>
|
2002-08-20 Marcus Brinkmann <marcus@g10code.de>
|
||||||
|
|
||||||
* gpgme.h: Add prototype for gpgme_op_import_ext.
|
* gpgme.h: Add prototype for gpgme_op_import_ext.
|
||||||
|
@ -32,7 +32,7 @@ libgpgme_la_LDFLAGS = -version-info \
|
|||||||
@LIBGPGME_LT_CURRENT@:@LIBGPGME_LT_REVISION@:@LIBGPGME_LT_AGE@
|
@LIBGPGME_LT_CURRENT@:@LIBGPGME_LT_REVISION@:@LIBGPGME_LT_AGE@
|
||||||
if BUILD_ASSUAN
|
if BUILD_ASSUAN
|
||||||
AM_CPPFLAGS = -I$(top_srcdir)/assuan
|
AM_CPPFLAGS = -I$(top_srcdir)/assuan
|
||||||
assuan_libobjs = ../assuan/libassuan.la ../jnlib/libjnlib.la @LIBOBJS@
|
assuan_libobjs = ../assuan/libassuan.la @LIBOBJS@
|
||||||
else
|
else
|
||||||
assuan_libobjs =
|
assuan_libobjs =
|
||||||
endif
|
endif
|
||||||
|
50
gpgme/stpcpy.c
Normal file
50
gpgme/stpcpy.c
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
/* stpcpy.c -- copy a string and return pointer to end of new string
|
||||||
|
Copyright (C) 1992, 1995, 1997, 1998 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
NOTE: The canonical source of this file is maintained with the GNU C Library.
|
||||||
|
Bugs can be reported to bug-glibc@prep.ai.mit.edu.
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or modify it
|
||||||
|
under the terms of the GNU General Public License as published by the
|
||||||
|
Free Software Foundation; either version 2, or (at your option) any
|
||||||
|
later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
# include <config.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
|
#undef __stpcpy
|
||||||
|
#undef stpcpy
|
||||||
|
|
||||||
|
#ifndef weak_alias
|
||||||
|
# define __stpcpy stpcpy
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Copy SRC to DEST, returning the address of the terminating '\0' in DEST. */
|
||||||
|
char *
|
||||||
|
__stpcpy (char *dest, const char *src)
|
||||||
|
{
|
||||||
|
register char *d = dest;
|
||||||
|
register const char *s = src;
|
||||||
|
|
||||||
|
do
|
||||||
|
*d++ = *s;
|
||||||
|
while (*s++ != '\0');
|
||||||
|
|
||||||
|
return d - 1;
|
||||||
|
}
|
||||||
|
#ifdef weak_alias
|
||||||
|
weak_alias (__stpcpy, stpcpy)
|
||||||
|
#endif
|
Loading…
Reference in New Issue
Block a user