/usr/lib/X11/config/gnu.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 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 | XCOMM platform: $XFree86: xc/config/cf/gnu.cf,v 1.12 2003/11/24 02:02:26 dawes Exp $
XCOMM $XdotOrg: xc/config/cf/gnu.cf,v 1.2 2004/04/23 18:41:58 eich Exp $
#ifndef OSName
#define OSName DefaultOSName
#endif
#ifndef OSVendor
#define OSVendor /**/
#endif
#ifndef OSMajorVersion
#define OSMajorVersion DefaultOSMajorVersion
#endif
#ifndef OSMinorVersion
#define OSMinorVersion DefaultOSMinorVersion
#endif
#ifndef OSTeenyVersion
#define OSTeenyVersion DefaultOSTeenyVersion
#endif
#ifndef HasGhostScript
# define HasGhostScript YES
#endif
#ifndef BuildPDFdocs
# define BuildPDFdocs NO
#endif
#ifndef GnuBinUtilsMajorVersion
# define GnuBinUtilsMajorVersion DefaultGnuBinUtilsMajorVersion
#endif
#ifndef ProjectRoot
# define ProjectRoot /usr
#endif
#ifndef ManDirectoryRoot
# define ManDirectoryRoot /usr/share/man
#endif
XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVersion)
XCOMM libc: (GnuCLibMajorVersion./**/GnuCLibMinorVersion./**/GnuCLibTeenyVersion)
XCOMM binutils: (GnuBinUtilsMajorVersion)
#define HasDevRandom NO
#define PollDevRandom NO
/* Path setup. */
# ifndef NothingOutsideProjectRoot
# define NothingOutsideProjectRoot NO
# endif
# if !defined(NothingOutsideProjectRoot) || !NothingOutsideProjectRoot
# define SystemManDirectory /usr/share/man
# endif
/* Default GCC options. */
# ifndef DefaultGcc2OptimizeOpt
# define DefaultGcc2OptimizeOpt -O2
# endif
# define HasPam YES
# if !defined(NothingOutsideProjectRoot) || !NothingOutsideProjectRoot
# define XAppLoadDir EtcX11Directory/app-defaults
# define XFileSearchPathDefault Concat4(EtcX11Directory/%L/%T/%N%C,%S:EtcX11Directory/%l/%T/%N%C,%S:EtcX11Directory/%T/%N%C,%S:EtcX11Directory/%L/%T/%N%S:EtcX11Directory/%l/%T/%N%S:EtcX11Directory/%T/%N%S):Concat4($(LIBDIR)/%L/%T/%N%C,%S:$(LIBDIR)/%l/%T/%N%C,%S:$(LIBDIR)/%T/%N%C,%S:$(LIBDIR)/%L/%T/%N%S:$(LIBDIR)/%l/%T/%N%S:$(LIBDIR)/%T/%N%S)
/* the relative symlink created by this rule causes problems for us */
# define InstallAppDefFiles YES
# ifdef InstallAppDefFiles
# if InstallAppDefFiles
# define InstallAppDefaultsLong(file,class) @@\
InstallNamedTarget(install,file.ad,$(INSTAPPFLAGS),$(XAPPLOADDIR),class)
# else
# define InstallAppDefaultsLong(file,class) @@\
InstallNamedTargetNoClobber(install,file.ad,$(INSTAPPFLAGS),$(XAPPLOADDIR),class)
# endif
# endif /* InstallAppDefFiles */
# endif /* !defined(NothingOutsideProjectRoot) || !NothingOutsideProjectRoot */
# define SharedLibXdmGreet NO
# define LinkGLToUsrInclude NO
# define LinkGLToUsrLib NO
# define FSUseSyslog YES
# define DriverManSuffix 4x
# define DriverManDir $(MANSOURCEPATH)4
# define MiscManSuffix 7x
# define MiscManDir $(MANSOURCEPATH)7
# define ProjectManSuffix x
# define DebianMaintainer YES
# ifdef DebianMaintainer
# ifndef XorgCustomVersion
# define XorgCustomVersion "Debian"
# endif
# ifndef BuilderEMailAddr
# define BuilderEMailAddr "debian-x@lists.debian.org"
# endif
# define XFree86Devel YES
# define InstallXinitConfig YES
# define InstallXdmConfig YES
# define InstallFSConfig YES
# define DebuggableLibraries YES
# define ForceNormalLib YES
# define SharedLibFont NO
# define SharedLibGlu YES
# define NormalLibGlu YES
# define BuildFontCache YES
# define BuildAllSpecsDocs NO
# ifndef BuildSpecsDocs
# define BuildSpecsDocs YES
# endif
# define SpecsDocDirs BDF CTEXT FSProtocol GL ICCCM ICE PM \
Render SM X11 XDMCP XIM XLFD XProtocol \
Xaw Xext Xi Xmu Xserver Xt Xv XvMC \
i18n rstart xfs xterm xtrans
# define XkbServerDefines -DNOISY
# define BuildHtmlManPages NO
# define DontPreprocessManPages NO
/* We have a local patch that defines PicLibraryTarget(), instead of upstream's
* method. */
# define StaticNeedsPicForShared NO
/* Some libraries changed compilation method from static to shared and they do not
* ship header files.
* Temporary revert the build to static until all the changes will be investigated
* properly
*/
# define SharedLibXau YES
# define SharedLibXdmcp YES
# define NormalOldX NO
# define DebugOldX NO
# define SharedOldX NO
# define SharedLibDmx YES
# define SharedLibGLw NO
# define SharedLibFont NO
# define SharedLibFontEnc NO
# define SharedLibXfontcache NO
# define BuildFreetypeDlModule NO
# define KernelVersionInBanner YES
/* We don't want XRX. */
# define BuildPlugin NO
/* The TT/Meltho fonts are all under non-free licences, except for BitStream
* Vera, which is provided by an external package anyway. */
# define BuildTrueTypeFonts NO
# define BuildBethMarduthoFonts NO
# define MakeDllModules YES
/* All the following are fulfilled by Build-Depends. */
# define BuildRman NO
# define RmanCmd /usr/bin/rman
# define RmanOptions /**/
# define HasTk YES
# define TkLibDir /usr/lib
# define TkIncDir /usr/include
# define TkLibName tk8.4
# define XF86SetupUsesStaticTk NO
# define HasTcl YES
# define TclLibDir /usr/lib
# define TclIncDir /usr/include
# define TclLibName tcl8.4
# define XF86SetupUsesStaticTcl NO
# define BuildExpatLibrary NO
# define HasExpat YES
# define ExpatIncDirStandard YES
# define BuildFontconfigLibrary NO
# define HasFontconfig YES
# define UseFontconfig YES
# define BuildRenderLibrary NO
# define HasRenderLibrary YES
# define BuildXcursorLibrary NO
# define HasXcursorLibrary YES
/* Xlib needs to know the available version of Xcursor. */
# define SharedXcursorRev 1
# define BuildXftLibrary NO
# define HasXftLibrary YES
# define BuildFreetype2Library NO
# define HasFreetype2 YES
# define FontLibSharedFreeType NO
# define HasLatex YES
# define HasGroffHtml YES
/*
* The XFree86 Debian package no longer builds the Xprt server, in favor
* of a separate xprint package. We do still build the library,
* but only when we're not building servers only, so it gets built in the
* normal build, but not -dbg (as it requires libXt headers).
*/
# define XprtServer NO
# define BuildXprintLib !BuildServersOnly
# ifdef UseInstalled
# define RenderLibraryDir /usr
# define XftLibraryDir /usr
# define XcursorLibraryDir /usr
# else /* We have a special hack to find these. */
# define RenderLibraryDir $(TOP)/../../imports
# define XftLibraryDir $(TOP)/../../imports
# define XcursorLibraryDir $(TOP)/../../imports
# endif
/* Wraphelp.c magic is supplied via a custom patch. */
# define HasXdmAuth YES
# define HasGlide2 NO
# define HasGlide3 NO
/* Enable extended instruction set support. */
# ifdef i386Architecture
# define HasX86Support YES
# define HasMMXSupport YES
# define Has3DNowSupport YES
# define HasSSESupport YES
# endif /* i386Architecture */
# endif /* DebianMaintainer */
#ifndef BinUtilsMajorVersion
# define BinUtilsMajorVersion GnuBinUtilsMajorVersion
#endif
#ifndef GnuLocaleDefines
# define GnuLocaleDefines /**/
#endif
#ifndef GnuAdditionalIncludes
# define GnuAdditionalIncludes /**/
#endif
#ifndef GnuGnuSourceDefines
# ifdef UseInstalled
# define GnuGnuSourceDefines /**/
# else
# define GnuGnuSourceDefines -D_GNU_SOURCE
# endif
#endif
# define GnuSourceDefines -D_POSIX_C_SOURCE=199309L \
-D_POSIX_SOURCE -D_XOPEN_SOURCE \
-D_BSD_SOURCE -D_SVID_SOURCE \
GnuAdditionalIncludes GnuGnuSourceDefines \
GnuLocaleDefines
# define XawI18nDefines -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H
#define HasPosixThreads YES
#define ThreadedX YES
#define HasThreadSafeAPI YES
#define ThreadsLibraries -lpthread
#define SystemMTDefines -D_REENTRANT
#ifndef HasLibCrypt
#define HasLibCrypt YES
#endif
/* netscape wraps select but not poll as of communicator 4.72 */
# ifndef HasPoll
# define HasPoll NO
# endif
#ifndef InstallXloadSetGID
#define InstallXloadSetGID NO
#endif
#ifndef BuildIPv6
#define BuildIPv6 NO
#endif
#ifndef HasLinuxInput
# define HasLinuxInput NO
#endif
#ifndef JoystickSupport
# define JoystickSupport NO
#endif
#ifndef HasLinuxJoystick
# define HasLinuxJoystick NO
#endif
#define LibtoolMinorVersions YES
#ifndef HasMTRRSupport
# define HasMTRRSupport NO
#endif
#ifndef XF86INT10_BUILD
# define XF86INT10_BUILD X86EMU_GENERIC
#endif
#ifndef BuildXF86DRI
# define BuildXF86DRI NO
#endif
#ifndef HasAgpGart
# define HasAgpGart NO
#endif
#ifndef HasSSESupport
# if defined(i386Architecture)
# define HasSSESupport YES
# endif
#endif
#ifndef HasMMXSupport
# if defined(i386Architecture)
# define HasMMXSupport YES
# endif
#endif
#ifndef Has3DNowSupport
# if defined(i386Architecture)
# define Has3DNowSupport YES
# endif
#endif
#ifndef BuildXF86RushExt
# define BuildXF86RushExt YES
#endif
#ifndef LinuxFBDevSupport
# define LinuxFBDevSupport NO
#endif
#define SourceDefines GnuSourceDefines
#define BuildLibPathVar LD_LIBRARY_PATH
#define GccUsesGas YES
#define UseGas YES
#define GnuCpp YES
#ifndef HasDlopen
#define HasDlopen YES
#endif
#define HasWeakSymbols YES
#ifndef HasShadowPasswd
# define HasShadowPasswd YES
#endif
#define HasPutenv YES
#ifndef HasShm
#define HasShm YES
#endif
#ifndef HasSecureRPC
# define HasSecureRPC YES
#endif
#define HasBSD44Sockets YES
#define HasSockets YES
#ifndef HasSnprintf
#define HasSnprintf YES
#endif
#define HasMkstemp YES
#ifndef HasGetresuid
#define HasGetresuid YES
#endif
#ifndef HasUsableFileMmap
#define HasUsableFileMmap YES
#endif
#ifndef HasNCurses
#define HasNCurses YES
#endif
#ifndef HasGroff
#define HasGroff YES
#endif
#ifndef HasZlib
#define HasZlib YES
#endif
#ifndef HasLibpng
#define HasLibpng YES
#endif
#ifndef HasExpat
# define HasExpat YES
#endif
#ifndef HasFreetype2
# define HasFreetype2 YES
#endif
#define AvoidNullMakeCommand YES
#ifndef DebuggableLibraries
#define DebuggableLibraries NO
#endif
#define CompressAllFonts YES
#define Malloc0ReturnsNull YES
#define NeedConstPrototypes YES
#define NeedFunctionPrototypes YES
#define NeedNestedPrototypes YES
#define NeedVarargsPrototypes YES
#ifndef NeedWidePrototypes
#define NeedWidePrototypes NO
#endif
#define SetTtyGroup YES
#ifndef UseStaticTermcapLib
#define UseStaticTermcapLib NO
#endif
#ifndef HasCookieMaker
#define HasCookieMaker YES
#define MkCookieCmd mcookie
#endif
#ifndef BourneShell
/*
* This will cause builds/installs to terminate on errors, as on other
* platforms.
*/
#define BourneShell /bin/sh -e
#endif
#define MkdirHierCmd mkdir -p
#ifndef DoLoadableServer
# define DoLoadableServer YES
#endif
#ifndef CcCmd
#define CcCmd gcc
# define CplusplusCmd c++
#endif
#ifndef AsCmd
# define AsCmd CcCmd -c -x assembler
#endif
# define AsmDefines -D__ELF__
#ifndef LdCmd
# define LdCmd CcCmd -nostdlib
# endif
# ifndef GnuUsesNcurses
# define GnuUsesNcurses YES
#endif
#ifndef TermcapLibrary
#if UseStaticTermcapLib
# if GnuUsesNcurses
#define TermcapLibrary StaticLibrary(/usr/lib,ncurses)
#else
# define TermcapLibrary StaticLibrary(/usr/lib/termcap,termcap)
# endif
# else
# if GnuUsesNcurses
#define TermcapLibrary -lncurses
# else
# define TermcapLibrary -ltermcap
#endif
#endif
#endif
/*
* Some older distros still need /lib/cpp. There's probably a better
* test, but this handles the older Red Hat releases at least.
*/
#ifndef CppCmd
# define CppCmd cpp
#endif
#define YaccCmd bison -y
#define LexCmd flex -l
#define HasFlex YES
#define LexLib -lfl
#define PreProcessCmd CcCmd -E
#define PostIncDir DefaultGccIncludeDir
#define LdCombineFlags -r
#ifndef LdPostLib
#define LdPostLib /* Never needed */
#endif
#define HasWChar32 YES
#define StandardCppOptions -traditional
#define StandardCppDefines StandardDefines
#define HasVarRun YES
#ifndef VarDbDirectory
#define VarDbDirectory $(VARDIR)/lib
#endif
#ifndef OSXInputDrivers
# define OSXInputDrivers1 /**/
# define OSXInputDrivers2 /**/
# define OSXInputDrivers OSXInputDrivers1 OSXInputDrivers2
#endif
#define HasPlugin YES
#define VendorHasX11R6_3libXext YES /* XC or XFree86 >= 3.3.1 */
#ifdef i386Architecture
# ifndef OptimizedCDebugFlags
# define OptimizedCDebugFlags DefaultGcc2DebugOpt DefaultGcc2OptimizeOpt GccAliasingArgs
# endif
# define GnuMachineDefines -D__i386__
#define ServerOSDefines XFree86ServerOSDefines -DDDXTIME
#define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines
#endif /* i386Architecture */
#ifndef StandardDefines
# define StandardDefines -DGnu GnuMachineDefines GnuSourceDefines
#endif
#ifndef DlLibrary
#define DlLibrary -rdynamic -ldl
#endif
#define ServerExtraSysLibs /**/
#ifndef PamLibraries
#define PamLibraries -lpam DlLibrary
#endif
#ifndef PamMiscLibraries
#define PamMiscLibraries -lpam_misc
#endif
#ifndef HasDECnet
#define HasDECnet NO
#endif
#if HasDECnet
# define ConnectionFlags -DUNIXCONN -DTCPCONN -DDNETCONN
# define ExtraLibraries -ldnet
#else
#define ConnectionFlags -DUNIXCONN -DTCPCONN
#endif
#ifndef StaticLibrary
#define StaticLibrary(libpath,libname) -Wl,-Bstatic Concat(-L,libpath) Concat(-l,libname) -Wl,-Bdynamic
#endif
#ifndef LinkGLToUsrLib
# define LinkGLToUsrLib YES
#endif
# ifndef LinkGLToUsrInclude
# define LinkGLToUsrInclude YES
#endif
#define HasGnuMake YES
#define MakeNamedTargetSubdir(dir,flags,subname)\
$(MAKE) -C dir $(MFLAGS) $(PARALLELMFLAGS) flags subname
#define ArchitectureDefines -DGNU_ARCHITECTURE
#define TtClientLibs $(TTLIB) $(XTOOLLIB) $(XLIB)
#define TtClientDepLibs $(DEPTTLIB) $(DEPXTOOLLIB) $(DEPXLIB)
#ifndef ExtraXawClientLibs
# define ExtraXawClientLibs /**/
#endif
#ifndef ExtraXawClientDepLibs
# define ExtraXawClientDepLibs /**/
#endif
#ifndef ExtraXawReqs
# define ExtraXawReqs /**/
#endif
#ifndef BuildDmx
#define BuildDmx YES
#endif
#include <gnuLib.rules>
#include <xorg.cf>
#ifndef XFree86ServerOSDefines
# define XFree86ServerOSDefines
#endif
|