Commit Graph

315 Commits

Author SHA1 Message Date
Kristian Høgsberg
eec3df1503 Fix whitespace in AS_HELP_STRING uses, convert all help strings to use
AS_HELP_STRING.
2005-10-17 17:11:12 +00:00
Kevin E Martin
1859c62607 include/dix-config.h.in Add support for more extensions
Add missing files to EXTRA_DIST
2005-10-17 07:18:59 +00:00
Donnie Berkholz
a7d6a4fb32 Change '==' to portable '='. 2005-10-16 03:02:53 +00:00
Kevin E Martin
c2e461c7e9 Fix typo and add new Makefiles to AC_OUTPUT
Fix typos
Add xorg.conf.man to CLEANFILES
Add missing files to EXTRA_DIST
2005-10-15 20:44:44 +00:00
Kristian Høgsberg
21e7339c1e Hook up lbx. 2005-10-14 22:44:56 +00:00
Alan Coopersmith
d62943c040 Set default font path to match the default in the monolith so fonts are
actually found.
2005-10-14 22:19:51 +00:00
Donnie Berkholz
7e3e9ed97b Add XTRAP_LIB to XPRINT_EXTENSIONS to fix xprint build when xtrap is
enabled.
2005-10-14 06:10:06 +00:00
Donnie Berkholz
821584fcd3 Require glproto >= 1.4.1 if building DRI with GLX. This fixes a build
failure on a number of hyperpipe functions.
2005-10-14 05:36:39 +00:00
Alan Coopersmith
1df705e465 AC_SUBST VENDOR_STRING & VENDOR_RELEASE for xorgcfg's app-defaults file 2005-10-13 20:30:38 +00:00
Kristian Høgsberg
5a71a5667e Add Xprint init scrips to EXTRA_DIST. 2005-10-07 19:01:10 +00:00
Kevin E Martin
578e18d11b Add darwin to dist
Include missing docs in EXTRA_DIST
Include headers and other files in dist
2005-10-07 14:27:47 +00:00
Søren Sandmann Pedersen
e4ed43c3a6 symlink.sh:
New files linked:
xorgconf.cpp Options
usb.3 usb_hid_usages
lynx_ppc.S
BUSmemcpy.S IODelay.S PortIO.S SlowBcopy.S
sun_inout.s
xaaTEGlyphBlt.S
xkbcomp/compiled/README
New files excluded:
All of lib/GL/apple
xlibi18n/*/*.mapfile
xxserver/xorg/configure.ac, xkb/Makefile.am:
Install README.compiled in the xkb output dir
2005-10-06 22:25:35 +00:00
Kevin E Martin
30c1369bf5 Add support for building DMX config and examples programs Add missing files
to EXTRA_DIST Install Xdmx man page
2005-10-06 02:35:22 +00:00
Kristian Høgsberg
dc6ac8e46f Add DGA configure option and add various files that we should be dist'ing.
Simplify xf86DefModeSet.c rule a bit.
2005-10-05 21:38:40 +00:00
Alan Coopersmith
8c524f9966 Xdmx & Xprint also need xau & xdmcp module dependencies 2005-10-05 15:33:40 +00:00
Alan Coopersmith
da989e988c Xnest depends on xdmcp & xau modules too 2005-10-05 02:18:10 +00:00
Adam Jackson
34a8411ede Bug #4038: Unbreak the SYSVIPC check for cross builds. (Detlef Vollman) 2005-10-05 00:55:08 +00:00
Alan Coopersmith
4ae4fc7d51 Add gtf to xserver/xorg/hw/xfree86/utils 2005-10-04 00:43:16 +00:00
Alan Coopersmith
14a2bd3330 Add missing ] (Dawid Gajownik)
Add getconfig (Dawid Gajownik)
2005-10-03 15:37:57 +00:00
Adam Jackson
a7e3c6fa8c Real configure check for execinfo.h (Yuri Vasilevski) 2005-10-03 06:31:48 +00:00
Alan Coopersmith
a07dd03748 Add hw/xfree86/getconfig 2005-10-01 07:17:55 +00:00
Alan Coopersmith
4608a2b654 Man page processing/installation and other doc file updates 2005-09-30 02:37:57 +00:00
Alan Coopersmith
f53404bdbb Add kbd_mode build system 2005-09-28 16:55:25 +00:00
Søren Sandmann Pedersen
003655c02a Make XpConfig build system call mkfont{scale,dir} 2005-09-27 18:36:14 +00:00
Søren Sandmann Pedersen
f3d0cb4a57 Get XpConfig build system in pretty much working state 2005-09-27 16:15:55 +00:00
Kevin E Martin
ca64aab609 Add build system for building docs and fix setuid issues.
Add build system for sgml docs.
2005-09-27 14:09:31 +00:00
Søren Sandmann Pedersen
6c5c54b9a2 Various small fixups to get XpConfig to 'build' 2005-09-26 23:07:44 +00:00
Alan Coopersmith
8907195d78 Take care of more files from monolith's Xserver/hw/xfree86/etc dir:
hw/xfree86/utils/ioport/Makefile.am
Add ioport and pcitweak utils from monolith hw/xfree86/etc dir.
Generate xf86DefModeSet.c from vesamodes & extramodes
Add apSolaris.shar to EXTRA_DIST
2005-09-26 20:58:26 +00:00
Søren Sandmann Pedersen
9abccb5e65 Add initial build system for XpConfig 2005-09-26 19:33:06 +00:00
Alan Coopersmith
a5477ae7ac Add scanpci, xorgcfg, & xorgconfig utilities. 2005-09-24 02:40:51 +00:00
Kristian Høgsberg
32497ff479 Accept --with-xkb-output argument to specify output dir for compiled xkb
keymaps. Define XKM_OUTPUT_DIR and XKB_BIN_DIRECTORY.
Add XKM_OUTPUT_DIR and XKB_BIN_DIRECTORY.
Add XKB_CFLAGS.
2005-09-21 18:14:32 +00:00
Alan Coopersmith
7d0f47c43c Add --disable-install-setuid option so you can build as non-root and
chown/chmod later. Also disable by default on platforms that don't need
    setuid root X servers (Darwin & SPARC's, according to
    InstallXserverSetUID settings in the old Imake config files).
2005-09-20 15:50:31 +00:00
Alan Coopersmith
b623c60745 Linux/Alpha support (Stefaan De Roeck) 2005-09-19 22:44:49 +00:00
Eric Anholt
be2bdab433 Bug #3990: Require glproto in the cases that it's necessary (DRI or DMX
with GLX). (spyderous)
2005-09-15 06:46:05 +00:00
Eric Anholt
88d7eb1f7e Bug #3889: Create the log dir on install, and allow configuring
specifically that directory. Failure to have the directory keeps the
    xorg server from starting.
2005-09-15 05:06:54 +00:00
Eric Anholt
0888ad3874 Build xf8_32bpp, which is wanted by the mga driver, and export elf.h, which
is wanted by the rendition driver.
2005-09-14 07:49:22 +00:00
Eric Anholt
dfb5da93bc Turn on DRI by default on Linux, NetBSD, FreeBSD, and fix the build of the
module for FreeBSD by setting some missing defines (XFree86Module,
    IN_MODULE) in the dri directory. Note that those missing defines should
    be somewhere generic, since there are other consumers of them, but I
    haven't figured out where.
2005-09-13 20:59:05 +00:00
Eric Anholt
12fbcfefe6 Add some initial BSD support for the xorg server. Incomplete on NetBSD,
OpenBSD, and non-i386/amd64 FreeBSD for sure. Plus I haven't actually
    run it yet.
2005-09-13 18:37:35 +00:00
Eric Anholt
133edff1b4 Don't define POSIX_SOURCE on any BSDs, since it breaks things.
Define NO_SYS_HEADERS, as the monolithic build does. Helps FreeBSD.
Don't include validate.c in the library, since it seems to be a userland
    test program.
2005-09-13 05:44:47 +00:00
Daniel Stone
846f797f37 Add missing fontsproto and fontenc to REQUIRED_MODULES. 2005-09-12 08:24:48 +00:00
Daniel Stone
5b218617fa Add missing resourceproto to REQUIRED_MODULES. 2005-09-12 07:53:16 +00:00
Daniel Stone
ade158d238 Define WITH_VGAHW, since we always build it; add to Xorg headers. 2005-09-12 07:07:59 +00:00
Daniel Stone
34dc481a16 Put DMX AC_CONDITIONALS at the top level, since they must always be called. 2005-09-12 07:02:46 +00:00
Matthieu Herrb
04f81cacb9 OpenBSD also doesn't like defining POSIX_SOURCE: it limits available
functionnality in headers beyond what's used by Xorg.
2005-09-11 18:33:31 +00:00
Daniel Stone
089b4272cf use RGB_DB not RGB_PATH as that's what it's looking for
define HAVE_XKB_CONFIG_H so setting xkb-path works (Jürg Billeter)
2005-09-11 01:16:14 +00:00
Alan Coopersmith
4b2f5ba1b5 Use macros from xtrans.m4, issue error if not found. 2005-09-03 03:27:55 +00:00
Daniel Stone
94fbdb5c6d Make RGB_PATH configurable.
Move I2C modules back to $(moduledir)/multimedia.
2005-09-01 14:56:35 +00:00
Søren Sandmann Pedersen
d2952de6e3 Wed Aug 24 15:39:07 2005 Søren Sandmann <sandmann@redhat.com>
Add GLX_{INC,LIBS} for xprint.
Add @DIX_FLAGS@ to AM_CFLAGS
2005-08-24 19:41:43 +00:00
Alan Coopersmith
9657e0e9de Don't try to build dmx/input/lnx-*.c if <linux/keyboard.h> isn't found
Don't try to build dmx/input/usb-*.c if <linux/input.h> isn't found
Replace -rdynamic with $(LD_EXPORT_SYMBOLS_FLAG) for compatibility with
    compilers other than gcc
2005-08-24 15:18:06 +00:00
Daniel Stone
1fb4a5a4ea Add xcmiscproto and bigreqsproto to REQUIRED_MODULES, since Xext uses them. 2005-08-24 09:12:50 +00:00
Daniel Stone
bfd1364586 Add missing saver, evie, video, trap proto pkg-config checks. (Georgi
Georgiev)
2005-08-23 09:20:49 +00:00
Daniel Stone
27afac2ce6 Fix test for Xnest presence. (Donnie Berkholz) 2005-08-23 08:59:30 +00:00
Daniel Stone
fed61462be Fix up warning on debugging. 2005-08-23 08:58:40 +00:00
Kevin E Martin
5557a40a02 Fix linking errors for xprint. 2005-08-22 19:52:26 +00:00
Daniel Stone
3c4d605c7e Fix linkage for Xnest, Xvfb, Xdmx and Xorg DDXes; include all libs. 2005-08-22 09:15:20 +00:00
Daniel Stone
5881051738 Huge cleanup. Group into sections: hardware feature detection, extension
detection/configuration, DDX options. Make building of Xorg DDX fully
    optional. Clarify and correct some help texts. Change all comments to
    use dnl instead of #. Quote all tests correctly, and guard
    pure-variable tests with 'x' (e.g. test $DMX = yes -> test "x$DMX" =
    xyes). Since the DDXes seem to have pretty divergent extension support
    these days, get rid of EXTENSION_LIBS, DMX_EXTENSIONS and
    XPRINT_EXTENSIONS, and go back to building extension lists by hand in
    the DDX-specific sections. Use portable POSIX constructs everywhere
    (e.g. test foo && test bar, instead of test foo -a bar).
Clean up old cruft.
Set _XSERVER64 on 64-bit architectures, and use x86_64 for host_cpu instead
    of amd64 (Jürg Billeter).
2005-08-21 19:15:11 +00:00
Daniel Stone
367f450739 Change xorg_bus_sbus to xorg_bus_sparc; build sparcPci.c on all SPARCs. 2005-08-21 08:43:46 +00:00
Daniel Stone
db2909ce76 Add test for SPARC. Build SparcMulDiv.S on all SPARCs.
Make the default font path configurable.
2005-08-21 06:56:19 +00:00
Daniel Stone
a402c876a4 Make DRI/GLcore builds srcdir != builddir safe, and invoke symlink-mesa.sh
in our builddir, not our srcdir.
2005-08-20 18:11:17 +00:00
Daniel Stone
8ec79e05fe Make symlink-mesa.sh call srcdir != objdir safe. Remove requirement for
XF86Rush protocol headers, which we don't even use.
2005-08-19 15:15:51 +00:00
Alan Coopersmith
057a8709a1 More updates for Panoramix -> Xinerama rename 2005-08-19 00:13:46 +00:00
Søren Sandmann Pedersen
df938987d6 Add buildsystem for Xprint, and:
Wed Aug 17 14:50:58 2005 Soren Sandmann <sandmann@redhat.com>
Include <X11/extensions/Print{,str}.h> instead of "Print{,str}.h"
Include <X11/fonts/fontstruct.h> isntead of "fonts/fontstruct.h"
Wed Aug 17 14:54:49 2005 Søren Sandmann <sandmann@redhat.com>
Conditionally compile in xprint.c
Add Xprint
2005-08-17 19:03:18 +00:00
Alan Coopersmith
bcc95c8340 Add AC_SYS_LARGEFILE to match flags used in monolith 2005-08-15 18:32:08 +00:00
Søren Sandmann Pedersen
3e471ddf1d Add check for whether the platform is MMX capable and add the relevant
flags if so.
2005-08-11 14:36:29 +00:00
Keith Packard
4dfc3357a7 Add autogenerated source files and other various non-CVS material to
.cvsignore files
Use XORG_CFLAGS. Ensure that all exa files are in SOURCES
remove _XOPEN_SOURCE as it's always in xtrans.pc these days and gcc whines
libdamage.la needs libcw.la when COMPOSITE is defined, but that
    libdamage.la must be after libcomposite.la, so add libcw.la to
    DAMAGE_LIB instead of EXTENSION_LIBS. Regularize library link order
    across all X servers
2005-08-08 00:38:41 +00:00
Adam Jackson
7d2b08aa47 Invert the sense of the composite configure flag to match reality. 2005-08-07 20:42:50 +00:00
Adam Jackson
fcaa6f30c4 Bug #3989: Fix Composite builds, enable Composite build by default. (Olli
Helenius)
2005-08-07 19:02:32 +00:00
Chris Lee
cc67bd187f EXA support in the modular build. 2005-08-06 23:34:09 +00:00
Alan Coopersmith
b90a88e803 Add checks for functions used in os/access.c & os/connection.c:
getdtablesize(), getifaddrs(), getpeereid(), getpeerucred()
2005-08-06 19:48:12 +00:00
Alan Coopersmith
2304c14fe5 Fix endian test to work on big-endian platforms correctly 2005-08-06 19:14:24 +00:00
Alan Coopersmith
f51047c0b6 Fix 32-bit vs. 64-bit test for Solaris 2005-08-05 15:43:31 +00:00
Adam Jackson
39a80312e0 - Bug #3960: Add remaining GLX and pci.ids stuff to DIST (Cha Young-Ho,
Olli Helenius)
- Fix some distcheck problems for non-solaris systems
- Change server version number from the Xorg rev to an independent one
- _POSIX_SOURCE and _XOPEN_SOURCE defined to the right values
2005-08-04 22:31:20 +00:00
Adam Jackson
e62be6d272 - Check for vsnprintf
- Don't build the Xorg DDX on darwin
- Workaround for gcc defining __ppc__ but not __powerpc__
2005-08-04 18:45:46 +00:00
Alan Coopersmith
13bec87f45 Fix inline assembly versions of in*/out* for Sun compilers Add check for
ancient USL console code on Solaris to allow building on old Solaris
    x86 versions
2005-08-04 02:39:56 +00:00
Alan Coopersmith
d7c246f35b Only build ix86Pci.c on x86 & amd64 platforms Set DEFAULT_INT10 to x86emu
on everything but Linux/x86 Fix Sbus.c inclusion on sparc platforms
2005-08-02 23:57:52 +00:00
Alan Coopersmith
3d0d95004c Add check for walkcontext() to enable stack trace dumper on Solaris 2005-08-02 20:47:47 +00:00
Alan Coopersmith
c83772fef7 Set OSNAME for "Build Operating System" line in Xorg log 2005-08-02 01:50:48 +00:00
Adam Jackson
48b130285a Move AM_CONDITIONAL for ia64 to global scope 2005-08-02 00:47:08 +00:00
Adam Jackson
03379474e0 only do the AS_HELP_STRING workaround once, d'oh 2005-08-02 00:45:30 +00:00
Adam Jackson
2d7b1893be - Workaround for AS_HELP_STRING compatibility with older autoconf.
- New intermediate build target for Xorg server
- ia64 fixes
2005-08-02 00:41:07 +00:00
Adam Jackson
2acd29c93f Bump autoconf dependency to 2.57 from 2.53. Add 2.57 compatibility hack for
the new AS_HELP_STRING syntax from 2.58+.
2005-08-01 22:13:20 +00:00
Alan Coopersmith
9e9f9cb487 Need to define SVR4 on SVR4-ish systems since many headers and source files
check for it, expecting Imake to have defined it already. (Should be
    replaced with more specific checks & defines, but there's too many to
    get them all right now.)
2005-07-29 21:55:57 +00:00
Kevin E Martin
14ade55b83 Various changes preparing packages for RC0:
- Verify and update package version numbers as needed
- Implement versioning scheme
- Change bug address to point to bugzilla bug entry form
- Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to
    reenable it)
- Fix makedepend to use pkgconfig and pass distcheck
- Update build script to build macros first
- Update modular Xorg version
2005-07-29 21:22:58 +00:00
Alan Coopersmith
d5d669b04e If neither --enable-dmx or --disable-dmx are specified, default to "yes" on
Linux, "no" on everything else (matches defaults in monolith Imake)
2005-07-28 23:33:57 +00:00
Kevin E Martin
86529c07d6 Fix distcheck for server 2005-07-28 23:28:34 +00:00
Kevin E Martin
b9ccd89918 Fix dmx/glxProxy build 2005-07-27 08:11:26 +00:00
Adam Jackson
7c1148c0fb Fire the Mesa symlink script from the configure stage. 2005-07-23 19:32:57 +00:00
Adam Jackson
93d29b4554 Emit makefiles for glapi, slang, and grammar. Conditionally define GLX_LIBS
if GLX support is requested. Add GLX_LIBS to the link deps for Xvfb and
    Xnest. All GLX support should work now for the vfb, xnest, and xfree86
    DDXes.
2005-07-23 02:04:39 +00:00
Daniel Stone
4f2e731aba objdir != srcdir fixes. 2005-07-17 07:34:31 +00:00
Alan Coopersmith
a6bd7ad985 Set GLX automake conditional after we've tested for mesa source and set GLX
to "no" if it's --with-mesa-source wasn't set.
2005-07-17 01:52:33 +00:00
Adam Jackson
bbb49449cb Fix --with-mesa-source parsing, and turn GLX off if no path to Mesa given. 2005-07-16 16:30:40 +00:00
Alan Coopersmith
8e600b8764 Only pass -rdynamic when using gcc 2005-07-16 07:39:48 +00:00
Adam Jackson
4f04e26c69 Say --with-mesa-source to get GLcore built. 2005-07-16 04:30:33 +00:00
Kevin E Martin
a407fa373b Move drm up to os-support since the files are shared by multiple platforms.
Fix the dri and drm build. Fix server-side DMX extension build. Make
    xf4bpp use the correct version of mfbline.c for mfbseg.c. Add #ifndef
    _HEADERNAME_H_/#define _HEADERNAME_H_/.../#endif to the headers.
2005-07-15 22:51:05 +00:00
Adam Jackson
eb6fa0dc15 Enable GLX build by default 2005-07-15 22:14:28 +00:00
Kevin E Martin
defeb56fc9 Fix the build when DRI is enabled 2005-07-14 22:20:16 +00:00
Kevin E Martin
7375f4d136 Add support for Xnest 2005-07-14 03:32:09 +00:00
Adam Jackson
64bf3a81a3 loadable extmod build system. 2005-07-14 02:53:31 +00:00
Alan Coopersmith
8ea4a1b759 First pass at Solaris os-support 2005-07-14 01:00:39 +00:00
Søren Sandmann Pedersen
f07e905553 - Add build system for xf86-video-ati
- Add build system for xserver/xorg/hw/xfree86/dri
- Add glcore.h to symlink.sh
- Symlink.sh: add some more DRI files, symlink glcore.h from
    extras/Mesa/include/GL/internal to proto/GL
- proto/GL/Makefile.am: install glcore.h
- xf86-video-ark: s/module-dir/xorg-module-dir/
2005-07-14 00:28:47 +00:00
Adam Jackson
f4626bb72b dlloader is the default in 6.9, but the loader doesn't get told to prefer
dlloader modules unless you -DDLOPEN_HACK.
2005-07-13 22:59:39 +00:00
Alan Coopersmith
4f38526566 - Use fbdevhwstub.c if <linux/fb.h> is not found
- Use x86emu on Solaris instead of vm86
- Better per-OS control over which xf86Kbd*.c and *Pci.c files to build
- Set various #defines to be defined or not on Solaris as needed
2005-07-13 22:54:02 +00:00
Adam Jackson
0e08818d39 Hook dbe into the build 2005-07-13 21:41:02 +00:00
Lars Knoll
cda9c7b267 add x86emu. 2005-07-12 14:50:10 +00:00
Adam Jackson
419448ea7b Pull libdri out of the build for now until I get something better worked
out
2005-07-12 03:03:16 +00:00
Kevin E Martin
02427d4d04 Add support for building Xdmx and Xvfb 2005-07-12 01:20:36 +00:00
Adam Jackson
c5548086f3 Start filling in glx build. Add xf86Version.h and a few DRI headers to the
sdk (needed for modular driver builds).
2005-07-11 00:42:52 +00:00
Adam Jackson
327741486e Don't try to link fb, shadow, or vgahw into the loadable Xorg server, as
they're only supposed to be loadable modules.
2005-07-09 02:22:29 +00:00
Alexander Gottwald
6ba4a2e78a Add more defines for XWin DDX Make building of cfb*, afb and mfb
conditional Set FD_SETSIZE=256 on cygwin
2005-07-05 23:01:51 +00:00
Alexander Gottwald
426282268b Build miinitext.c and fbcmap.c as DDX specific files
Do not define _POSIX_SOURCE on cygwin.
2005-07-04 23:40:09 +00:00
Alexander Gottwald
048045a9e7 Add XWin DDX, make Xorg DDX conditional Make XF86VidMode and XF86Misc
conditional
Add XWin DDX
Added DDXTIME, DDXOSFATALERROR, DDXOSVERRORF and DDXBEFORERESET
Added fbcmap.c
Added miinitext.c
Added -I$(top_srcdir)/Xext/extmod to INCLUDES
2005-07-04 22:18:40 +00:00
Daniel Stone
d010de6979 Abandon the nostdinc experiment. 2005-07-03 15:51:23 +00:00
Daniel Stone
b0d80e76d2 Add missing include paths. 2005-07-03 12:17:04 +00:00
Daniel Stone
826a6f029f Continuing Makefile cleanup; add DIX_CFLAGS and XORG_CFLAGS everywhere. 2005-07-02 18:59:44 +00:00
Daniel Stone
ded56b1a74 Adding initial build system. 2005-07-01 20:29:53 +00:00