diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | configure.ac | 9 |
2 files changed, 12 insertions, 0 deletions
@@ -1,5 +1,8 @@ 2002-05-03 David Shaw <[email protected]> + * configure.ac: In g10defs.h, use \ for the directory separator + when HAVE_DOSISH_SYSTEM is on. + * configure.ac: Add --disable-exec flag to disable all remote program execution. --disable-exec implies --disable-ldap and --disable-mailto. Also look in /usr/lib for sendmail. If diff --git a/configure.ac b/configure.ac index f645ef9ff..d5979cb6c 100644 --- a/configure.ac +++ b/configure.ac @@ -860,6 +860,8 @@ if test "$GCC" = yes; then fi fi +# Note the \\\\ for backslashes. Autoconf eats one layer, leaving \\ + AC_CONFIG_COMMANDS(g10defs.h,[[ cat >g10defs.tmp <<G10EOF /* Generated automatically by configure */ @@ -881,10 +883,17 @@ cat >g10defs.tmp <<G10EOF /* those are here to be redefined by handcrafted g10defs.h. Please note that the string version must not contain more than one character because the using code assumes strlen()==1 */ +#ifdef HAVE_DOSISH_SYSTEM +#define DIRSEP_C '\\\\' +#define EXTSEP_C '.' +#define DIRSEP_S "\\\\" +#define EXTSEP_S "." +#else #define DIRSEP_C '/' #define EXTSEP_C '.' #define DIRSEP_S "/" #define EXTSEP_S "." +#endif G10EOF cat mpi/mpi-asm-defs.h >>g10defs.tmp if cmp -s g10defs.h g10defs.tmp 2>/dev/null; then |