mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-18 16:53:02 +00:00
(OUTPUT_EXT, TAB_EXT): Define only if not defined
already. Let config.h define any nonstandard values.
This commit is contained in:
25
src/system.h
25
src/system.h
@@ -1,6 +1,7 @@
|
|||||||
/* System-dependent definitions for Bison.
|
/* System-dependent definitions for Bison.
|
||||||
|
|
||||||
Copyright (C) 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
|
Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Free Software
|
||||||
|
Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
@@ -170,21 +171,13 @@ do { \
|
|||||||
| Extensions to use for the output files. |
|
| Extensions to use for the output files. |
|
||||||
`-----------------------------------------*/
|
`-----------------------------------------*/
|
||||||
|
|
||||||
#ifdef VMS
|
#ifndef OUTPUT_EXT
|
||||||
/* VMS. */
|
# define OUTPUT_EXT ".output"
|
||||||
# define TAB_EXT "_tab"
|
#endif
|
||||||
# define OUTPUT_EXT ".output"
|
|
||||||
#else /* ! VMS */
|
#ifndef TAB_EXT
|
||||||
# ifdef MSDOS
|
# define TAB_EXT ".tab"
|
||||||
/* MS DOS. */
|
#endif
|
||||||
# define TAB_EXT "_tab"
|
|
||||||
# define OUTPUT_EXT ".out"
|
|
||||||
# else /* ! MSDOS */
|
|
||||||
/* Standard. */
|
|
||||||
# define TAB_EXT ".tab"
|
|
||||||
# define OUTPUT_EXT ".output"
|
|
||||||
# endif /* ! MSDOS */
|
|
||||||
#endif /* ! VMS */
|
|
||||||
|
|
||||||
#ifndef DEFAULT_TMPDIR
|
#ifndef DEFAULT_TMPDIR
|
||||||
# define DEFAULT_TMPDIR "/tmp"
|
# define DEFAULT_TMPDIR "/tmp"
|
||||||
|
|||||||
Reference in New Issue
Block a user