mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
* gpgv.c: Removed g10defs.h.
* Makefile.am: Include cmacros.am for common flags.
This commit is contained in:
parent
584784ba6d
commit
e99475d59e
@ -1,3 +1,15 @@
|
|||||||
|
2004-02-12 Werner Koch <wk@gnupg.org>
|
||||||
|
|
||||||
|
* gpgv.c: Removed g10defs.h.
|
||||||
|
|
||||||
|
* Makefile.am: Include cmacros.am for common flags.
|
||||||
|
|
||||||
|
2004-02-11 Werner Koch <wk@gnupg.org>
|
||||||
|
|
||||||
|
* openfile.c (try_make_homedir): Use GNUPG_DEFAULT_HOMEDIR.
|
||||||
|
* gpgv.c (main): Ditto.
|
||||||
|
* g10.c (main): Ditto.
|
||||||
|
|
||||||
2004-01-19 Moritz Schulte <mo@g10code.com>
|
2004-01-19 Moritz Schulte <mo@g10code.com>
|
||||||
|
|
||||||
* keygen.c (do_generate_keypair): Print member fname, instead of
|
* keygen.c (do_generate_keypair): Print member fname, instead of
|
||||||
|
@ -19,16 +19,15 @@
|
|||||||
|
|
||||||
## Process this file with automake to produce Makefile.in
|
## Process this file with automake to produce Makefile.in
|
||||||
|
|
||||||
localedir = $(datadir)/locale
|
|
||||||
INCLUDES = -I$(top_srcdir)/common -I$(top_srcdir)/include -I$(top_srcdir)/intl -DLOCALEDIR=\"$(localedir)\" @LIBGCRYPT_CFLAGS@
|
|
||||||
|
|
||||||
EXTRA_DIST = options.skel
|
EXTRA_DIST = options.skel
|
||||||
# it seems that we can't use this with automake 1.5
|
|
||||||
#OMIT_DEPENDENCIES = zlib.h zconf.h
|
AM_CPPFLAGS = -I$(top_srcdir)/common -I$(top_srcdir)/include \
|
||||||
libexecdir = @libexecdir@/@PACKAGE@
|
-I$(top_srcdir)/intl
|
||||||
if ! HAVE_DOSISH_SYSTEM
|
|
||||||
AM_CFLAGS = -DGNUPG_LIBEXECDIR="\"$(libexecdir)\""
|
include $(top_srcdir)/am/cmacros.am
|
||||||
endif
|
|
||||||
|
AM_CFLAGS = $(LIBGCRYPT_CFLAGS)
|
||||||
|
|
||||||
needed_libs = ../common/libcommon.a ../jnlib/libjnlib.a
|
needed_libs = ../common/libcommon.a ../jnlib/libjnlib.a
|
||||||
|
|
||||||
bin_PROGRAMS = gpg2 gpgv2
|
bin_PROGRAMS = gpg2 gpgv2
|
||||||
|
@ -1238,7 +1238,7 @@ main( int argc, char **argv )
|
|||||||
set_homedir ( getenv("GNUPGHOME") );
|
set_homedir ( getenv("GNUPGHOME") );
|
||||||
#endif
|
#endif
|
||||||
if( !*opt.homedir )
|
if( !*opt.homedir )
|
||||||
set_homedir ( GNUPG_HOMEDIR );
|
set_homedir ( GNUPG_DEFAULT_HOMEDIR );
|
||||||
|
|
||||||
/* check whether we have a config file on the commandline */
|
/* check whether we have a config file on the commandline */
|
||||||
orig_argc = argc;
|
orig_argc = argc;
|
||||||
|
@ -46,7 +46,6 @@
|
|||||||
#include "ttyio.h"
|
#include "ttyio.h"
|
||||||
#include "i18n.h"
|
#include "i18n.h"
|
||||||
#include "status.h"
|
#include "status.h"
|
||||||
#include "g10defs.h"
|
|
||||||
|
|
||||||
|
|
||||||
enum cmd_and_opt_values { aNull = 0,
|
enum cmd_and_opt_values { aNull = 0,
|
||||||
@ -163,7 +162,7 @@ main( int argc, char **argv )
|
|||||||
opt.homedir = getenv("GNUPGHOME");
|
opt.homedir = getenv("GNUPGHOME");
|
||||||
#endif
|
#endif
|
||||||
if( !opt.homedir || !*opt.homedir ) {
|
if( !opt.homedir || !*opt.homedir ) {
|
||||||
opt.homedir = GNUPG_HOMEDIR;
|
opt.homedir = GNUPG_DEFAULT_HOMEDIR;
|
||||||
}
|
}
|
||||||
tty_no_terminal(1);
|
tty_no_terminal(1);
|
||||||
tty_batchmode(1);
|
tty_batchmode(1);
|
||||||
|
@ -360,7 +360,7 @@ copy_options_file( const char *destdir )
|
|||||||
void
|
void
|
||||||
try_make_homedir( const char *fname )
|
try_make_homedir( const char *fname )
|
||||||
{
|
{
|
||||||
const char *defhome = GNUPG_HOMEDIR;
|
const char *defhome = GNUPG_DEFAULT_HOMEDIR;
|
||||||
|
|
||||||
/* Create the directory only if the supplied directory name
|
/* Create the directory only if the supplied directory name
|
||||||
* is the same as the default one. This way we avoid to create
|
* is the same as the default one. This way we avoid to create
|
||||||
|
Loading…
x
Reference in New Issue
Block a user