mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-23 10:29:58 +01:00
configure.ac: In g10defs.h, use \ for the directory separator when
HAVE_DOSISH_SYSTEM is on.
This commit is contained in:
parent
8b7d2475bb
commit
154c4c3000
@ -1,5 +1,8 @@
|
|||||||
2002-05-03 David Shaw <dshaw@jabberwocky.com>
|
2002-05-03 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
|
* 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
|
* configure.ac: Add --disable-exec flag to disable all remote
|
||||||
program execution. --disable-exec implies --disable-ldap and
|
program execution. --disable-exec implies --disable-ldap and
|
||||||
--disable-mailto. Also look in /usr/lib for sendmail. If
|
--disable-mailto. Also look in /usr/lib for sendmail. If
|
||||||
|
@ -860,6 +860,8 @@ if test "$GCC" = yes; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Note the \\\\ for backslashes. Autoconf eats one layer, leaving \\
|
||||||
|
|
||||||
AC_CONFIG_COMMANDS(g10defs.h,[[
|
AC_CONFIG_COMMANDS(g10defs.h,[[
|
||||||
cat >g10defs.tmp <<G10EOF
|
cat >g10defs.tmp <<G10EOF
|
||||||
/* Generated automatically by configure */
|
/* Generated automatically by configure */
|
||||||
@ -881,10 +883,17 @@ cat >g10defs.tmp <<G10EOF
|
|||||||
/* those are here to be redefined by handcrafted g10defs.h.
|
/* those are here to be redefined by handcrafted g10defs.h.
|
||||||
Please note that the string version must not contain more
|
Please note that the string version must not contain more
|
||||||
than one character because the using code assumes strlen()==1 */
|
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 DIRSEP_C '/'
|
||||||
#define EXTSEP_C '.'
|
#define EXTSEP_C '.'
|
||||||
#define DIRSEP_S "/"
|
#define DIRSEP_S "/"
|
||||||
#define EXTSEP_S "."
|
#define EXTSEP_S "."
|
||||||
|
#endif
|
||||||
G10EOF
|
G10EOF
|
||||||
cat mpi/mpi-asm-defs.h >>g10defs.tmp
|
cat mpi/mpi-asm-defs.h >>g10defs.tmp
|
||||||
if cmp -s g10defs.h g10defs.tmp 2>/dev/null; then
|
if cmp -s g10defs.h g10defs.tmp 2>/dev/null; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user