/usr/lib/X11/config/bsdi.cf is in xutils-dev 1:7.7+3ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 | XCOMM platform: $Xorg: bsdi.cf,v 1.3 2000/08/17 19:41:47 cpqbld Exp $
XCOMM platform: $XFree86: xc/config/cf/bsdi.cf,v 3.37 2003/04/24 22:14:53 herrb Exp $
#ifndef OSName
#define OSName DefaultOSName
#endif
#ifndef OSVendor
#define OSVendor BSDI
#endif
#ifndef OSMajorVersion
#define OSMajorVersion DefaultOSMajorVersion
#endif
#ifndef OSMinorVersion
#define OSMinorVersion DefaultOSMinorVersion
#endif
#ifndef OSTeenyVersion
#define OSTeenyVersion DefaultOSTeenyVersion
#endif
XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVersion)
#define HasBSD44Sockets YES
#define HasBsdMake YES
#define HasDlopen YES
#define HasPutenv YES
#define HasSnprintf YES
#define HasMkstemp YES
#define HasUsableFileMmap YES
#define HasZlib YES
#define HasSetUseContext YES
#define HasBSDAuth YES
#define HasSetProcTitle YES
#define HasBasename NO
#if 0
#define HasKrb5 YES
#define Krb5Include -I/usr/include/krb5
#define Krb5Libraries -lkrb5 -lk5crypto -lprofile -lcom_err
#endif
#define SharedGLUReqs $(LDPRELIB) $(XLIB) $(GLXLIB) -lstdc++
#if (OSMajorVersion == 4 && OSMinorVersion >= 1) || (OSMajorVersion > 4)
#define HasNCurses YES
#else
#define HasNCurses NO
#endif
#if (OSMajorVersion == 4 && OSMinorVersion >= 3) || (OSMajorVersion > 4)
#define HasStrlcat YES
#else
#define HasStrlcat NO
#endif
#define BuildLBX YES
#define GzipFontCompression YES
#define BuildXaw6 NO
#ifndef UseDeprecatedKeyboardDriver
#define UseDeprecatedKeyboardDriver YES
#endif
XCOMM BSD/OS 5.1 (intel) comes with gcc 3.2.2 installed as gcc and cc.
XCOMM BSD/OS 5.0 (intel) comes with gcc 2.95.3 installed as gcc and cc.
XCOMM BSD/OS 4.3/4.3.1 (intel) comes with gcc 2.95.3 installed as gcc and cc.
XCOMM BSD/OS 4.2 (intel) comes with gcc 2.95.2 installed as gcc and cc.
XCOMM BSD/OS 4.2 (sparc) comes with gcc 2.95.2 installed as gcc and cc.
XCOMM BSD/OS 4.1 (intel) comes with gcc 2.91.66 installed as gcc and cc.
XCOMM BSD/OS 4.1 (sparc) comes with gcc 2.95.2 installed as gcc and cc.
XCOMM BSD/OS 4.0.1 (intel) comes with gcc 2.7.2.1 installed as gcc2, gcc and cc.
XCOMM BSD/OS 4.0.1 (sparc) comes with gcc 2.7.2.1 installed as gcc2, gcc and cc.
XCOMM Punt on OS revs earlier than 4.0.1
XCOMM BSDI uses shlicc for compiling C and shlic++ for compiling C++
XCOMM using static shared libraries. We also build ELF dynamic shared
XCOMM libraries as well as normal archive libraries.
XCOMM BSD/OS 3.0 comes with gcc 2.7.2 installed as gcc2 and gcc.
XCOMM gcc 1.42 is installed as cc.
XCOMM BSD/OS 2.1 comes with gcc 2.7.1 installed as gcc2 and gcc.
XCOMM gcc 1.42 is installed as cc.
XCOMM BSD/OS 2.0 comes with gcc 2.6.3 installed as gcc2 and gcc.
XCOMM gcc 1.42 is installed as cc.
XCOMM BSD/386 1.1 comes with gcc 2.5.8 installed as gcc2.
XCOMM BSD/386 1.0 comes with gcc 1.40 as the only compiler.
XCOMM The default is to use gcc2 on release 2.1, 2.0 and 1.1 and gcc1 on 1.0
XCOMM The defaults can be altered by defining "HasGcc2" as YES or NO in
XCOMM xf86site.def
#ifndef HasGcc
# define HasGcc YES
#endif
#if OSMajorVersion > 1 || OSMinorVersion >= 1
# ifndef HasGcc2
# define HasGcc2 YES
# endif
#endif
#if HasGcc2
# ifndef HasGcc2ForCplusplus
# define HasGcc2ForCplusplus YES
# endif
# ifdef i386Architecture
# define CcCmd gcc /* shlicc */
# define CplusplusCmd g++ /* shlicc++ */
# if ((OSMajorVersion == 4 && OSMinorVersion >= 2) || (OSMajorVersion > 4))
# define OptimizedCDebugFlags -O3 -mcpu=pentiumpro -march=pentium
# else
# define OptimizedCDebugFlags -O2 -m486
# endif
# endif
# ifdef PpcArchitecture
# define CcCmd gcc
# define CplusplusCmd g++
# define OptimizedCDebugFlags -O2
# endif
# ifdef SparcArchitecture
# define CcCmd gcc
# define CplusplusCmd g++
# define OptimizedCDebugFlags -O2 -cpu=v8 -mtune=v8
# endif
#else
# define CcCmd cc
# define OptimizedCDebugFlags -O
#endif
/*
* A hack to work around an optimization problem with GCC 2.95.2 - 2.95.4
*/
#if ((OSMajorVersion == 4 && OSMinorVersion >= 2) || (OSMajorVersion > 4))
#define GccOptBug295
#endif
#define CppCmd /usr/bin/cpp
#define HasGroff YES
#define MkdirHierCmd mkdir -p
#define SetTtyGroup YES
#define HasNdbm YES
#define DBMLibrary /**/
#define HasWChar32 YES
#define DirFailPrefix -
#define AvoidNullMakeCommand YES
#define HasVarRun YES
#define HasVarDb YES
# ifndef GccUsesGas
# define GccUsesGas YES
# endif
#if HasGcc
#ifndef DefaultCCOptions
#if defined(UseInstalled) && (!defined(XF86LinkKit) || !XF86LinkKit)
#define DefaultCCOptions /**/
#else
#define DefaultCCOptions /* -ansi */
#endif
#endif
#endif
#if GccUsesGas
# define GccGasOption -DGCCUSESGAS
#else
# define GccGasOption /**/
#endif
/*
* Build a threaded X server on BSD/OS 4.1 and newer releases
*/
#if (OSMajorVersion == 4 && OSMinorVersion >= 1) || (OSMajorVersion > 4)
#define HasPosixThreads YES /* this will autodefine HasThreadedX */
#define HasThreadSafeAPI YES
/*
* Heck, build a server that can load modules too...
*/
#define DoLoadableServer Yes
#endif
XCOMM math.h uses _REENTRANT in FreeBSD, so we define it here too
#if (OSMajorVersion >= 5)
#define SystemMTDefines -D_REENTRANT -D_THREAD_SAFE -D_POSIX_THREAD_SAFE_FUNCTIONS
#elif (OSMajorVersion == 4 && OSMinorVersion >= 1)
#define SystemMTDefines -D_REENTRANT -D_THREAD_SAFE
#endif
#ifdef i386Architecture
#ifndef BuildXF86DRI
#define BuildXF86DRI NO
#endif
#endif
#ifdef i386Architecture
# define HasTk YES
# define TkLibName tk4.2
# define TkLibDir /usr/contrib/lib
# define TkIncDir /usr/include
# define XF86SetupUsesStaticTk NO
# define HasTcl YES
# define TclLibName tcl7.6
# define TclLibDir /usr/contrib/lib
# define TclIncDir /usr/include
# define XF86SetupUsesStaticTcl NO
# define SharedLibXv YES
# define SharedLibXinerama YES
# define ServerExtraDefines GccGasOption XFree86ServerDefines -I/sys
# define ServerOSDefines XFree86ServerOSDefines -DDDXTIME
# define XFree86ConsoleDefines -DBSDI_VT
# if OSMajorVersion > 3 || (OSMajorVersion == 3 && OSMinorVersion >= 1)
# include <bsdiLib.rules>
# define DontUseLibPathVar
# define BuildDynamicLoading YES
# define ServerCcCmd cc
# define ServerExtraSysLibs DlLibrary
# endif
# define XConfigDir /etc/X11
#endif
#ifdef PpcArchitecture
# define BuildServer NO
# define BuildFonts NO
# define XConfigDir /etc/X11
# include <bsdiLib.rules>
# define DontUseLibPathVar
# define BuildDynamicLoading YES
# define ServerCcCmd cc
# define ServerExtraSysLibs DlLibrary
#endif
#ifdef SparcArchitecture
# define ServerExtraDefines
# define ServerOSDefines -DDDXOSINIT
#endif
#define HasShm YES
#define AsmDefines -DUSE_GAS
#ifndef LdPreLib
#define LdPreLib -L$(BUILDLIBDIR) -L$(USRLIBDIR)
#endif
#if OSMajorVersion >= 4
#define StandardDefines -D__ELF__ -DCSRG_BASED
#else
#define StandardDefines -DCSRG_BASED
#endif
#define InstallCmd /usr/bin/install
#define EqnCmd eqn -Tps
#define NeqnCmd eqn -Tascii
COL = col
NEQN = NeqnCmd
NROFF = nroff
#define DefaultUserPath :/bin:/usr/bin:/usr/local/bin:$(BINDIR)
#define DefaultSystemPath /sbin:/usr/sbin:/bin:/usr/bin:$(BINDIR)
#define StripInstalledPrograms YES
#define InstPgmFlags -s -m 0555 -o bin -g bin
#define InstBinFlags -m 0555 -o bin -g bin
#define InstUidFlags -m 4555 -o root -g bin
#define InstLibFlags -m 0444 -o bin -g bin
#define InstIncFlags -m 0444 -o bin -g bin
#define InstManFlags -m 0444 -o bin -g bin
#define InstDatFlags -m 0444 -o bin -g bin
XCOMM Man pages need to be formatted when installed, so override the default
XCOMM imake rules.
#define ManSuffix 1
#define ManSourcePath $(MANPATH)/cat
#define InstallManPageLong(file,destdir,dest) @@\
CppManTarget(file, $(EXTRAMANDEFS)) @@\
@@\
all:: file.0 @@\
@@\
file.0:: file.$(MANNEWSUFFIX) @@\
@if [ -f file.$(MANNEWSUFFIX) ]; \ @@\
then \ @@\
cat file.$(MANNEWSUFFIX) | $(NEQN) | $(TBL) | $(NROFF) $(MANMACROS) | $(COL) >/tmp/$$$$.man; \ @@\
cp /tmp/$$$$.man file.0; \ @@\
$(RM) /tmp/$$$$.man; \ @@\
fi @@\
@@\
install.man:: @@\
MakeDir($(DESTDIR)destdir) @@\
-@if [ -f file.0 ]; \ @@\
then \ @@\
$(INSTALL) -c $(INSTMANFLAGS) file.0 $(DESTDIR)destdir/dest.0; \@@\
fi
#define InstallGenManPageLong(file,destdir,dest,suffix) @@\
InstallManPageLong(file,destdir,dest)
#define InstallMultipleManSuffix(list,dest,suff) @@\
install.man:: @@\
MakeDir($(DESTDIR)dest) @@\
case '${MFLAGS}' in *[i]*) set +e;; esac; \ @@\
for i in list; do \ @@\
(set -x; \ @@\
cat $$i.suff | $(NEQN) | $(TBL) | $(NROFF) $(MANMACROS) | $(COL) >/tmp/$$$$.suff; \ @@\
$(INSTALL) -c $(INSTMANFLAGS) /tmp/$$$$.suff $(DESTDIR)dest/$$i.0; \ @@\
$(RM) /tmp/$$$$.suff); \ @@\
done
#define InstallMultipleMan(list,dest) @@\
InstallMultipleManSuffix(list,dest,man)
#define InstallManPageAliases(file,destdir,aliases) @@\
install.man:: @@\
@case '${MFLAGS}' in *[i]*) set +e;; esac; \ @@\
for i in aliases; do \ @@\
(set -x; \ @@\
$(RM) $(DESTDIR)destdir/$$i.0;\ @@\
(cd $(DESTDIR)destdir; $(LN) file.0 $$i.0);\ @@\
); \ @@\
done
#define InstallGenManPageAliases(file,destdir,suffix,aliases) @@\
InstallManPageAliases(file,destdir,aliases)
/*
* These seem redundant, but leave them in for now.
*/
#ifdef i386Architecture
#define i386Bsd 1
#define i386Bsdi 1
#include <xorg.cf>
#endif
#ifdef SparcArchitecture
#ifndef XsunMonoServer
#define XsunMonoServer NO /* monochrome only */
#endif
#ifndef XsunServer
#define XsunServer YES /* mono + 8 bit color */
#endif
#ifndef Xsun24Server
#define Xsun24Server NO /* mono + 8 bit color + 24 bit c
olor */
#endif
#ifndef NeedConstPrototypes
#define NeedConstPrototypes YES
#endif
#ifndef NeedNestedPrototypes
#define NeedNestedPrototypes YES
#endif
#ifndef NeedVarargsPrototypes
#define NeedVarargsPrototypes YES
#endif
#ifndef BuildXKB
#define BuildXKB YES
#endif
#endif /* SparcArchitecture */
|