~hamo/ubuntu/precise/grub2/grub2.hi_res

« back to all changes in this revision

Viewing changes to util/mkisofs/include/mconfig.h

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson, Colin Watson, Robert Millan, Updated translations
  • Date: 2010-11-22 12:24:56 UTC
  • mfrom: (1.26.4 upstream) (17.3.36 sid)
  • mto: (17.3.43 sid)
  • mto: This revision was merged to the branch mainline in revision 89.
  • Revision ID: james.westby@ubuntu.com-20101122122456-y82z3sfb7k4zfdcc
Tags: 1.99~20101122-1
[ Colin Watson ]
* New Bazaar snapshot.  Too many changes to list in full, but some of the
  more user-visible ones are as follows:
  - GRUB script:
    + Function parameters, "break", "continue", "shift", "setparams",
      "return", and "!".
    + "export" command supports multiple variable names.
    + Multi-line quoted strings support.
    + Wildcard expansion.
  - sendkey support.
  - USB hotunplugging and USB serial support.
  - Rename CD-ROM to cd on BIOS.
  - Add new --boot-directory option to grub-install, grub-reboot, and
    grub-set-default; the old --root-directory option is still accepted
    but was often confusing.
  - Basic btrfs detection/UUID support (but no file reading yet).
  - bash-completion for utilities.
  - If a device is listed in device.map, always assume that it is
    BIOS-visible rather than using extra layers such as LVM or RAID.
  - Add grub-mknetdir script (closes: #550658).
  - Remove deprecated "root" command.
  - Handle RAID devices containing virtio components.
  - GRUB Legacy configuration file support (via grub-menulst2cfg).
  - Keyboard layout support (via grub-mklayout and grub-kbdcomp).
  - Check generated grub.cfg for syntax errors before saving.
  - Pause execution for at most ten seconds if any errors are displayed,
    so that the user has a chance to see them.
  - Support submenus.
  - Write embedding zone using Reed-Solomon, so that it's robust against
    being partially overwritten (closes: #550702, #591416, #593347).
  - GRUB_DISABLE_LINUX_RECOVERY and GRUB_DISABLE_NETBSD_RECOVERY merged
    into a single GRUB_DISABLE_RECOVERY variable.
  - Fix loader memory allocation failure (closes: #551627).
  - Don't call savedefault on recovery entries (closes: #589325).
  - Support triple-indirect blocks on ext2 (closes: #543924).
  - Recognise DDF1 fake RAID (closes: #603354).

[ Robert Millan ]
* Use dpkg architecture wildcards.

[ Updated translations ]
* Slovenian (Vanja Cvelbar).  Closes: #604003
* Dzongkha (dawa pemo via Tenzin Dendup).  Closes: #604102

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* @(#)mconfig.h        1.24 98/12/14 Copyright 1995 J. Schilling */
2
 
/*
3
 
 *      definitions for machine configuration
4
 
 *
5
 
 *      Copyright (c) 1995 J. Schilling
6
 
 *
7
 
 *      This file must be included before any other file.
8
 
 *      Use only cpp instructions.
9
 
 *
10
 
 *      NOTE: SING: (Schily Is Not Gnu)
11
 
 */
12
 
/*
13
 
 * This program is free software; you can redistribute it and/or modify
14
 
 * it under the terms of the GNU General Public License as published by
15
 
 * the Free Software Foundation; either version 2, or (at your option)
16
 
 * any later version.
17
 
 *
18
 
 * This program is distributed in the hope that it will be useful,
19
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21
 
 * GNU General Public License for more details.
22
 
 *
23
 
 * You should have received a copy of the GNU General Public License
24
 
 * along with this program; see the file COPYING.  If not, write to
25
 
 * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
26
 
 */
27
 
 
28
 
#ifndef _MCONFIG_H
29
 
#define _MCONFIG_H
30
 
 
31
 
#include <config.h>
32
 
 
33
 
#ifdef __cplusplus
34
 
extern "C" {
35
 
#endif
36
 
 
37
 
#if defined(unix) || defined(__unix) || defined(__unix__)
38
 
#       define  IS_UNIX
39
 
#endif
40
 
 
41
 
#ifdef  __MSDOS__
42
 
#       define  IS_MSDOS
43
 
#endif
44
 
 
45
 
#if defined(tos) || defined(__tos)
46
 
#       define  IS_TOS
47
 
#endif
48
 
 
49
 
#ifdef  THINK_C
50
 
#       define  IS_MAC
51
 
#endif
52
 
 
53
 
#if defined(sun) || defined(__sun) || defined(__sun__)
54
 
#       define  IS_SUN
55
 
#endif
56
 
 
57
 
#if defined(__CYGWIN32__)
58
 
#       define IS_GCC_WIN32
59
 
#endif
60
 
 
61
 
/*--------------------------------------------------------------------------*/
62
 
/*
63
 
 * Some magic that cannot (yet) be figured out with autoconf.
64
 
 */
65
 
 
66
 
#ifdef sparc
67
 
#       ifndef  HAVE_LDSTUB
68
 
#       define  HAVE_LDSTUB
69
 
#       endif
70
 
#       ifndef  HAVE_SCANSTACK
71
 
#       define  HAVE_SCANSTACK
72
 
#       endif
73
 
#endif
74
 
#if     defined(__i386_) || defined(i386)
75
 
#       ifndef  HAVE_XCHG
76
 
#       define  HAVE_XCHG
77
 
#       endif
78
 
#       ifndef  HAVE_SCANSTACK
79
 
#       define  HAVE_SCANSTACK
80
 
#       endif
81
 
#endif
82
 
 
83
 
#if     defined(SOL2) || defined(SOL2) || defined(S5R4) || defined(__S5R4) \
84
 
                                                        || defined(SVR4)
85
 
#       ifndef  __SVR4
86
 
#               define  __SVR4
87
 
#       endif
88
 
#endif
89
 
 
90
 
#ifdef  __SVR4
91
 
#       ifndef  SVR4
92
 
#               define  SVR4
93
 
#       endif
94
 
#endif
95
 
 
96
 
/*
97
 
 * SunOS 4.x / SunOS 5.x
98
 
 */
99
 
#if defined(IS_SUN)
100
 
#       define  HAVE_GETAV0
101
 
#endif
102
 
 
103
 
/*
104
 
 * AIX
105
 
 */
106
 
#if     defined(_IBMR2) || defined(_AIX)
107
 
#       define  IS_UNIX         /* ??? really ??? */
108
 
#endif
109
 
 
110
 
/*
111
 
 * Silicon Graphics     (must be before SVR4)
112
 
 */
113
 
#if defined(sgi) || defined(__sgi)
114
 
#       define  __NOT_SVR4__    /* Not a real SVR4 implementation */
115
 
#endif
116
 
 
117
 
/*
118
 
 * Data General
119
 
 */
120
 
#if defined(__DGUX__)
121
 
#ifdef  XXXXXXX
122
 
#       undef   HAVE_MTGET_DSREG
123
 
#       undef   HAVE_MTGET_RESID
124
 
#       undef   HAVE_MTGET_FILENO
125
 
#       undef   HAVE_MTGET_BLKNO
126
 
#endif
127
 
#       define  mt_type         mt_model
128
 
#       define  mt_dsreg        mt_status1
129
 
#       define  mt_erreg        mt_status2
130
 
        /*
131
 
         * DGUX hides its flock as dg_flock.
132
 
         */
133
 
#       define  HAVE_FLOCK
134
 
#       define  flock   dg_flock
135
 
        /*
136
 
         * Use the BSD style wait on DGUX to get the resource usages of child
137
 
         * processes.
138
 
         */
139
 
#       define  _BSD_WAIT_FLAVOR
140
 
#endif
141
 
 
142
 
/*
143
 
 * Apple Rhapsody
144
 
 */
145
 
#if defined(__NeXT__) && defined(__TARGET_OSNAME) && __TARGET_OSNAME == rhapsody
146
 
#       define HAVE_OSDEF /* prevent later definitions to overwrite current */
147
 
#endif
148
 
 
149
 
/*
150
 
 * NextStep
151
 
 */
152
 
#if defined(__NeXT__) && !defined(HAVE_OSDEF)
153
 
#define NO_PRINT_OVR
154
 
#undef  HAVE_USG_STDIO          /*
155
 
                                 *  NeXT Step 3.x uses __flsbuf(unsigned char , FILE *)
156
 
                                 * instead of __flsbuf(int, FILE *)
157
 
                                 */
158
 
#endif
159
 
 
160
 
/*
161
 
 * NextStep 3.x has a broken linker that does not allow us to override
162
 
 * these functions.
163
 
 */
164
 
#ifndef __OPRINTF__
165
 
 
166
 
#ifdef  NO_PRINT_OVR
167
 
#       define  printf  Xprintf
168
 
#       define  fprintf Xfprintf
169
 
#       define  sprintf Xsprintf
170
 
#endif
171
 
 
172
 
#endif  /* __OPRINTF__ */
173
 
 
174
 
/*--------------------------------------------------------------------------*/
175
 
/*
176
 
 * If there is no flock defined by the system, use emulation
177
 
 * through fcntl record locking.
178
 
 */
179
 
#ifndef HAVE_FLOCK
180
 
#define LOCK_SH         1       /* shared lock */
181
 
#define LOCK_EX         2       /* exclusive lock */
182
 
#define LOCK_NB         4       /* don't block when locking */
183
 
#define LOCK_UN         8       /* unlock */
184
 
#endif
185
 
 
186
 
#include <prototyp.h>
187
 
 
188
 
/*
189
 
 * gcc 2.x generally implements the long long type.
190
 
 */
191
 
#ifdef  __GNUC__
192
 
#       if      __GNUC__ > 1
193
 
#               ifndef  HAVE_LONGLONG
194
 
#                       define  HAVE_LONGLONG
195
 
#               endif
196
 
#       endif
197
 
#endif
198
 
 
199
 
/*
200
 
 * Convert to GNU name
201
 
 */
202
 
#ifdef  HAVE_STDC_HEADERS
203
 
#       ifndef  STDC_HEADERS
204
 
#               define  STDC_HEADERS
205
 
#       endif
206
 
#endif
207
 
/*
208
 
 * Convert to SCHILY name
209
 
 */
210
 
#ifdef  STDC_HEADERS
211
 
#       ifndef  HAVE_STDC_HEADERS
212
 
#               define  HAVE_STDC_HEADERS
213
 
#       endif
214
 
#endif
215
 
 
216
 
#ifdef  IS_UNIX
217
 
#       define  PATH_DELIM      '/'
218
 
#       define  PATH_DELIM_STR  "/"
219
 
#       define  far
220
 
#       define  near
221
 
#endif
222
 
 
223
 
#ifdef  IS_GCC_WIN32
224
 
#       define  PATH_DELIM      '/'
225
 
#       define  PATH_DELIM_STR  "/"
226
 
#       define  far
227
 
#       define  near
228
 
#endif
229
 
 
230
 
#ifdef  IS_MSDOS
231
 
#       define  PATH_DELIM      '\\'
232
 
#       define  PATH_DELIM_STR  "\\"
233
 
#endif
234
 
 
235
 
#ifdef  IS_TOS
236
 
#       define  PATH_DELIM      '\\'
237
 
#       define  PATH_DELIM_STR  "\\"
238
 
#       define  far
239
 
#       define  near
240
 
#endif
241
 
 
242
 
#ifdef  IS_MAC
243
 
#       define  PATH_DELIM      ':'
244
 
#       define  PATH_DELIM_STR  ":"
245
 
#       define  far
246
 
#       define  near
247
 
#endif
248
 
 
249
 
#ifdef __cplusplus
250
 
}
251
 
#endif
252
 
 
253
 
#endif /* _MCONFIG_H */