diff options
author | Kevin E Martin <kem@kem.org> | 2004-09-02 05:50:38 +0000 |
---|---|---|
committer | Kevin E Martin <kem@kem.org> | 2004-09-02 05:50:38 +0000 |
commit | 4d275dcc29658972a3d7c2e72b812140819a10c3 (patch) | |
tree | 329a2f8e404108c92a41de84abe9852ee207b10a /xdpyinfo.c | |
parent | a667763d5b733f5ae2d8a3ca7e1e99d3deed2830 (diff) |
Clean up defines for Xprint support and fix BuildServersOnly build forrel-0-6-1lg3d-rel-0-7-0lg3d-rel-0-6-2lg3d-baseXORG-6_8_2XORG-6_8_1_904XORG-6_8_1_903XORG-6_8_1_902XORG-6_8_1_901XORG-6_8_1XORG-6_8_0XORG-6_7_99_904
libXaw.
Diffstat (limited to 'xdpyinfo.c')
-rw-r--r-- | xdpyinfo.c | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -73,9 +73,9 @@ in this Software without prior written authorization from The Open Group. #ifdef DMX #include <X11/extensions/dmxext.h> #endif -#ifdef XPRINT +#ifdef INCLUDE_XPRINT_SUPPORT #include <X11/extensions/Print.h> -#endif +#endif /* INCLUDE_XPRINT_SUPPORT */ #include <X11/Xos.h> #include <stdio.h> #include <stdlib.h> @@ -388,7 +388,7 @@ print_screen_info(Display *dpy, int scr) printf ("\n"); printf ("screen #%d:\n", scr); -#ifdef XPRINT +#ifdef INCLUDE_XPRINT_SUPPORT /* Check whether this is a screen of a print DDX */ if (hasExtension(dpy, XP_PRINTNAME)) { Screen **pscreens; @@ -404,7 +404,7 @@ print_screen_info(Display *dpy, int scr) XFree(pscreens); } printf (" print screen: %s\n", isPrintScreen?"yes":"no"); -#endif +#endif /* INCLUDE_XPRINT_SUPPORT */ if (isPrintScreen) { /* Print resolution is set on a per-printer basis (per-document @@ -1200,7 +1200,7 @@ static int print_dmx_info(Display *dpy, char *extname) #endif /* DMX */ -#ifdef XPRINT +#ifdef INCLUDE_XPRINT_SUPPORT static void print_xprint_attrpool(const char *name, const char *attrpool) { @@ -1295,7 +1295,7 @@ print_xprint_info(Display *dpy, char *extname) return 1; } -#endif +#endif /* INCLUDE_XPRINT_SUPPORT */ /* utilities to manage the list of recognized extensions */ @@ -1347,9 +1347,9 @@ ExtensionPrintInfo known_extensions[] = #ifdef DMX {"DMX", print_dmx_info, False}, #endif -#ifdef XPRINT +#ifdef INCLUDE_XPRINT_SUPPORT {XP_PRINTNAME, print_xprint_info, False}, -#endif +#endif /* INCLUDE_XPRINT_SUPPORT */ /* add new extensions here */ }; |