* configure.ac: Edit preprocessor instructions in g10defs.h to remove

whitespace before the '#'.  This is not required by C89, but there are
some compilers out there that don't like it.
This commit is contained in:
David Shaw 2003-05-24 14:50:02 +00:00
parent 96c8bae878
commit e1517d95e4
2 changed files with 19 additions and 13 deletions

View File

@ -1,3 +1,9 @@
2003-05-24 David Shaw <dshaw@jabberwocky.com>
* configure.ac: Edit preprocessor instructions in g10defs.h to
remove whitespace before the '#'. This is not required by C89,
but there are some compilers out there that don't like it.
2003-05-11 David Shaw <dshaw@jabberwocky.com>
* configure.ac: Remove some stuff no longer needed with newer

View File

@ -1075,20 +1075,20 @@ AC_CONFIG_COMMANDS(g10defs.h,[[
cat >g10defs.tmp <<G10EOF
/* Generated automatically by configure */
#ifdef HAVE_DRIVE_LETTERS
#define G10_LOCALEDIR "c:\\\\lib\\\\gnupg\\\\locale"
#define GNUPG_LIBDIR "c:\\\\lib\\\\gnupg"
#define GNUPG_LIBEXECDIR "c:\\\\lib\\\\gnupg"
#define GNUPG_DATADIR "c:\\\\lib\\\\gnupg"
#define GNUPG_HOMEDIR "c:\\\\gnupg"
#define G10_LOCALEDIR "c:\\\\lib\\\\gnupg\\\\locale"
#define GNUPG_LIBDIR "c:\\\\lib\\\\gnupg"
#define GNUPG_LIBEXECDIR "c:\\\\lib\\\\gnupg"
#define GNUPG_DATADIR "c:\\\\lib\\\\gnupg"
#define GNUPG_HOMEDIR "c:\\\\gnupg"
#else
#define G10_LOCALEDIR "${datadir}/locale"
#define GNUPG_LIBDIR "${libdir}/gnupg"
#define GNUPG_DATADIR "${datadir}/gnupg"
#ifdef __VMS
#define GNUPG_HOMEDIR "/SYS\$LOGIN/gnupg"
#else
#define GNUPG_HOMEDIR "~/.gnupg"
#endif
#define G10_LOCALEDIR "${datadir}/locale"
#define GNUPG_LIBDIR "${libdir}/gnupg"
#define GNUPG_DATADIR "${datadir}/gnupg"
#ifdef __VMS
#define GNUPG_HOMEDIR "/SYS\$LOGIN/gnupg"
#else
#define GNUPG_HOMEDIR "~/.gnupg"
#endif
#endif
/* those are here to be redefined by handcrafted g10defs.h.
Please note that the string version must not contain more