Commit fb3f114f authored by alanh's avatar alanh
Browse files

Import of XFree86 4.3.99.12

parent d5935687
...@@ -3,7 +3,7 @@ XCOMM $Xorg: Imakefile,v 1.5 2000/08/17 19:41:44 cpqbld Exp $ ...@@ -3,7 +3,7 @@ XCOMM $Xorg: Imakefile,v 1.5 2000/08/17 19:41:44 cpqbld Exp $
XCOMM $XFree86: xc/Imakefile,v 3.29 2003/02/26 09:21:31 dawes Exp $ XCOMM $XFree86: xc/Imakefile,v 3.30 2003/08/24 20:31:43 tsi Exp $
#define IHaveSubdirs #define IHaveSubdirs
#define PassCDebugFlags CDEBUGFLAGS="$(CDEBUGFLAGS)" #define PassCDebugFlags CDEBUGFLAGS="$(CDEBUGFLAGS)"
...@@ -73,6 +73,7 @@ VerifyOS:: ...@@ -73,6 +73,7 @@ VerifyOS::
@echo "" @echo ""
#endif #endif
#ifdef XFree86Version
#ifndef OS2Architecture #ifndef OS2Architecture
version.def:: version.def::
$(RM) $(IRULESRC)/version.def $(RM) $(IRULESRC)/version.def
...@@ -86,6 +87,9 @@ version.def:: ...@@ -86,6 +87,9 @@ version.def::
$(CP) $(XF86SRC)/xf86Version.h $(IRULESRC)/version.def $(CP) $(XF86SRC)/xf86Version.h $(IRULESRC)/version.def
$(CP) $(XF86SRC)/xf86Date.h $(IRULESRC)/date.def $(CP) $(XF86SRC)/xf86Date.h $(IRULESRC)/date.def
#endif #endif
#else
version.def::
#endif
includes:: includes::
MakeDir($(BUILDINCDIR)) MakeDir($(BUILDINCDIR))
......
X Window System, Version 11 X Window System, Version 11
Release 6.4 Release 6.6
Portions Copyright by: Portions Copyright by:
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# $XFree86: xc/Makefile,v 3.27 2003/02/26 09:21:31 dawes Exp $ # $XFree86: xc/Makefile,v 3.28 2003/04/15 03:15:55 dawes Exp $
# Luna users will need to either run make as "make MAKE=make" # Luna users will need to either run make as "make MAKE=make"
# or add "MAKE = make" to this file. # or add "MAKE = make" to this file.
...@@ -11,7 +11,7 @@ RELEASE = "Release 6.6" ...@@ -11,7 +11,7 @@ RELEASE = "Release 6.6"
SHELL = /bin/sh SHELL = /bin/sh
RM = rm -f RM = rm -f
MV = mv MV = mv
WORLDOPTS = -k WORLDOPTS =
WIN32WORLDOPTS = -i WIN32WORLDOPTS = -i
TOP = . TOP = .
CURRENT_DIR = . CURRENT_DIR = .
......
...@@ -186,7 +186,7 @@ here. ...@@ -186,7 +186,7 @@ here.
o Various Cygwin support updates, including an experimental rootless X o Various Cygwin support updates, including an experimental rootless X
server for Cygwin/XFree86. server for Cygwin/XFree86.
o AMD x86-64 support (primarily for Linux so far) has been added. o AMD AMD64 support (primarily for Linux so far) has been added.
o Support added for OpenBSD/sparc64. o Support added for OpenBSD/sparc64.
...@@ -930,7 +930,7 @@ location pointing to the new location. Some run-time generated files are now ...@@ -930,7 +930,7 @@ location pointing to the new location. Some run-time generated files are now
located under the appropriate subdirectories of /var, again with the relevant located under the appropriate subdirectories of /var, again with the relevant
symbolic links in the old location. symbolic links in the old location.
Generated from XFree86: xc/programs/Xserver/hw/xfree86/doc/sgml/RELNOTES.sgml,v 1.81 2003/02/27 00:45:05 dawes Exp $ Generated from XFree86: xc/programs/Xserver/hw/xfree86/doc/sgml/RELNOTES.sgml,v 1.82 eich Exp $
$XFree86: xc/RELNOTES,v 1.17 2003/02/27 01:44:02 dawes Exp $ $XFree86: xc/RELNOTES,v 1.19 2003/07/15 02:28:26 dawes Exp $
...@@ -2,7 +2,7 @@ XCOMM platform: $Xorg: FreeBSD.cf,v 1.3 2000/08/17 19:41:45 cpqbld Exp $ ...@@ -2,7 +2,7 @@ XCOMM platform: $Xorg: FreeBSD.cf,v 1.3 2000/08/17 19:41:45 cpqbld Exp $
XCOMM XCOMM
XCOMM XCOMM
XCOMM XCOMM
XCOMM platform: $XFree86: xc/config/cf/FreeBSD.cf,v 3.128 2003/01/15 02:52:12 dawes Exp $ XCOMM platform: $XFree86: xc/config/cf/FreeBSD.cf,v 3.133 2003/08/29 14:38:32 dawes Exp $
#ifndef UseElfFormat #ifndef UseElfFormat
#define UseElfFormat DefaultToElfFormat #define UseElfFormat DefaultToElfFormat
...@@ -111,10 +111,15 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe ...@@ -111,10 +111,15 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe
# define ThreadsLibraries -pthread # define ThreadsLibraries -pthread
# endif # endif
# define SharedX11Reqs $(LDPRELIB) $(XTHRSTUBLIB) # define SharedX11Reqs $(LDPRELIB) $(XTHRSTUBLIB)
# define SharedXtReqs $(LDPRELIB) $(XLIBONLY) $(SMLIB) $(ICELIB) $(XTHRSTUBLIB) # define SharedXtReqs $(LDPRELIB) $(XONLYLIB) $(SMLIB) $(ICELIB) $(XTHRSTUBLIB)
# endif # endif
#endif #endif
/* This fixes linking C programs against libGLU on FreeBSD 3.x */
#if (OSMajorVersion == 3)
#define SharedGLUReqs $(LDPRELIB) $(XLIB) $(GLXLIB) -lstdc++ -lgcc
#endif
#define AvoidNullMakeCommand YES #define AvoidNullMakeCommand YES
#define StripInstalledPrograms YES #define StripInstalledPrograms YES
#define CompressAllFonts YES #define CompressAllFonts YES
...@@ -324,117 +329,6 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe ...@@ -324,117 +329,6 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe
#endif #endif
#endif #endif
/*
* For FreeBSD 2.2.5 and later don't make any assumptions about the version
* of Tcl in the base OS.
*
* Note the static libs in some versions of the FreeBSD packages are
* broken. The symptom of this is unresolved symbols when linking
* XF86Setup. If you run into this problem, either build your own
* static libs from the standard Tcl and Tk source, or change the
* definitions of XF86SetupUsesStatic{Tcl,Tk}. The latter is not
* recommended for binaries that are going to be redistributed.
*/
#if OSMajorVersion > 2 || (OSMajorVersion == 2 && OSMinorVersion > 2) || \
(OSMajorVersion == 2 && OSMinorVersion == 2 && OSTeenyVersion > 5)
/*
* For 2.2.6, 3.0 and later the defaults assume that the tcl-8.0 and tk-8.0
* packages have been installed. XF86Setup is much faster with 8.x than
* with earlier versions.
*
*/
#ifndef TkLibName
#define TkLibName tk80
#endif
#ifndef TkIncDir
#define TkIncDir /usr/local/include/tk8.0
#endif
#ifndef TclLibName
#define TclLibName tcl80
#endif
#ifndef TclIncDir
#define TclIncDir /usr/local/include/tcl8.0
#endif
#elif OSMajorVersion == 2 && OSMinorVersion == 2 && OSTeenyVersion > 2
/*
* For 2.2.5, the defaults assume that the tcl-7.6 and tk-4.2
* packages have been installed.
*/
#ifndef TkLibName
#define TkLibName tk42
#endif
#ifndef TkIncDir
#define TkIncDir /usr/local/include/tk4.2
#endif
#ifndef TclLibName
#define TclLibName tcl76
#endif
#ifndef TclIncDir
#define TclIncDir /usr/local/include/tcl7.6
#endif
#elif OSMajorVersion == 2 && OSMinorVersion == 2
/*
* FreeBSD 2.2 prior to 2.2.5
*
* tcl is part of the base OS.
*
* Note: the tk-4.1 package for FreeBSD doesn't have the static lib, so
* you'll have to build it yourself, or change the definition of
* XF86SetupUsesStaticTk.
*/
#ifndef TkLibName
#define TkLibName tk41
#endif
#ifndef TclLibName
#define TclLibName tcl
#endif
#ifndef TclLibDir
#define TclLibDir /usr/lib
#endif
#ifndef TclIncDir
#define TclIncDir /usr/include
#endif
/* FreeBSD 2.2 has libtcl in the base system */
#ifndef XF86SetupUsesStaticTcl
#define XF86SetupUsesStaticTcl NO
#endif
#else /* ! 2.2 or later */
#if OSMajorVersion == 2 && OSMinorVersion == 1 && OSTeenyVersion >= 6
/*
* 2.1.x with x >=6 has tk 4.1 and tcl 7.5 in the packages collection.
* Neither packages include the static libs, so you either need to build
* them yourself or set XF86SetupUsesStaticTcl and XF86SetupUsesStaticTk
* to NO. This isn't the default because we don't want the XFree86
* binaries to have these packages as a dependency.
*/
#ifndef TkLibName
#define TkLibName tk41
#endif
#ifndef TclLibName
#define TclLibName tcl75
#endif
#else /* ! 2.1.6 or later */
#ifndef TkLibName
#define TkLibName tk40
#endif
#ifndef TclLibName
#define TclLibName tcl74
#endif
#endif
#endif
#undef InstallCmd #undef InstallCmd
#define InstallCmd /usr/bin/install #define InstallCmd /usr/bin/install
...@@ -566,6 +460,9 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe ...@@ -566,6 +460,9 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe
#ifndef PreloadFontSetup #ifndef PreloadFontSetup
#define PreloadFontSetup LD_PRELOAD="`(cd $(XENVLIBDIR); echo libXfont*.so.?)`" #define PreloadFontSetup LD_PRELOAD="`(cd $(XENVLIBDIR); echo libXfont*.so.?)`"
#endif #endif
#ifndef PreloadFreetypeSetup
#define PreloadFreetypeSetup LD_PRELOAD="`(cd $(XENVLIBDIR); echo libfreetype.so.?)`"
#endif
#ifndef PreloadXFTSetup #ifndef PreloadXFTSetup
#define PreloadXFTSetup LD_PRELOAD="`(cd $(XENVLIBDIR); echo libfreetype.so.? libXft.so.? libXrender.so.? libfontconfig.so.?)`" #define PreloadXFTSetup LD_PRELOAD="`(cd $(XENVLIBDIR); echo libfreetype.so.? libXft.so.? libXrender.so.? libfontconfig.so.?)`"
#endif #endif
...@@ -585,7 +482,7 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe ...@@ -585,7 +482,7 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe
/* /*
* A hack to work around an optimization problem with gcc 2.95.2 - 2.95.4 * A hack to work around an optimization problem with gcc 2.95.2 - 2.95.4
*/ */
#if OSMajorVersion == 4 #if (GccMajorVersion == 2 && GccMinorVersion == 95)
#define GccOptBug295 #define GccOptBug295
#endif #endif
......
...@@ -17,7 +17,7 @@ XCOMM $Xorg: Imake.cf,v 1.4 2000/08/17 19:41:45 cpqbld Exp $ ...@@ -17,7 +17,7 @@ XCOMM $Xorg: Imake.cf,v 1.4 2000/08/17 19:41:45 cpqbld Exp $
* *
* 4. Create a .cf file with the name given by MacroFile. * 4. Create a .cf file with the name given by MacroFile.
*/ */
XCOMM $XFree86: xc/config/cf/Imake.cf,v 3.81 2003/02/18 16:51:45 tsi Exp $ XCOMM $XFree86: xc/config/cf/Imake.cf,v 3.83 2003/07/07 15:34:20 eich Exp $
#if defined(__APPLE__) #if defined(__APPLE__)
# undef __APPLE__ # undef __APPLE__
...@@ -302,6 +302,25 @@ XCOMM $XFree86: xc/config/cf/Imake.cf,v 3.81 2003/02/18 16:51:45 tsi Exp $ ...@@ -302,6 +302,25 @@ XCOMM $XFree86: xc/config/cf/Imake.cf,v 3.81 2003/02/18 16:51:45 tsi Exp $
# define SVR3Architecture # define SVR3Architecture
# define i386ScoArchitecture # define i386ScoArchitecture
# define i386Sco325Architecture # define i386Sco325Architecture
# undef i386
# undef i486
# undef i586
# undef i686
# undef k6
# undef __i386__
# undef __i486__
# undef __i586__
# undef __i686__
# undef __k6__
# undef __i386
# undef __i486
# undef __i586
# undef __i686
# undef __k6
# undef pentium
# undef __pentium
# undef pentiumpro
# undef __pentiumpro
#endif /* sco - SCO Open Server 5 */ #endif /* sco - SCO Open Server 5 */
#ifdef USL #ifdef USL
...@@ -832,14 +851,16 @@ XCOMM Keep cpp from replacing path elements containing i486/i586/i686 ...@@ -832,14 +851,16 @@ XCOMM Keep cpp from replacing path elements containing i486/i586/i686
# define s390xArchitecture # define s390xArchitecture
# undef __s390x__ # undef __s390x__
# endif # endif
# if defined(__x86_64__) # if defined(__AMD64__) || defined (__x86_64__)
# undef __AMD64__
# undef __x86_64__ # undef __x86_64__
# define x86_64Architecture # define AMD64Architecture
# endif # endif
# if defined(x86_64__) # if defined(AMD64__) || defined (x86_64__)
# undef AMD64__
# undef x86_64__ # undef x86_64__
# ifndef x86_64Architecture # ifndef AMD64Architecture
# define x86_64Architecture # define AMD64Architecture
# endif # endif
# endif # endif
#endif /* linux */ #endif /* linux */
......
...@@ -5,7 +5,7 @@ XCOMM ...@@ -5,7 +5,7 @@ XCOMM
XCOMM XCOMM
XCOMM XCOMM
XCOMM XCOMM
XCOMM rules: $XFree86: xc/config/cf/Imake.rules,v 3.113 2002/12/09 23:00:42 dawes Exp $ XCOMM rules: $XFree86: xc/config/cf/Imake.rules,v 3.121 2003/09/01 21:19:59 tsi Exp $
/* /*
* MACHINE-INDEPENDENT RULES; DO NOT MODIFY * MACHINE-INDEPENDENT RULES; DO NOT MODIFY
...@@ -327,7 +327,7 @@ XCOMM special target for clearmake @@\ ...@@ -327,7 +327,7 @@ XCOMM special target for clearmake @@\
#endif #endif
#ifndef RunPerlScript #ifndef RunPerlScript
#define RunPerlScript(script,options) $(PERL) $(PERLOPTS) script options #define RunPerlScript(script,options) $(PERLENVSETUP) $(PERL) $(PERLOPTS) script options
#endif #endif
#ifndef RemoveFile #ifndef RemoveFile
...@@ -338,6 +338,15 @@ XCOMM special target for clearmake @@\ ...@@ -338,6 +338,15 @@ XCOMM special target for clearmake @@\
#define RemoveFiles(files) $(RM) files #define RemoveFiles(files) $(RM) files
#endif /* RemoveFiles */ #endif /* RemoveFiles */
#if RemoveObsoleteFiles
#define RemoveOldFile(new,old,dir) @@\
@if [ -f new ]; then set -x; \ @@\
RemoveFile($(DESTDIR)dir/old); \ @@\
fi
#else
#define RemoveOldFile(new,old,dir) $(_NULLCMD_)
#endif
/* /*
* CenterLoadTarget - generate rules to load files into CodeCenter * CenterLoadTarget - generate rules to load files into CodeCenter
*/ */
...@@ -527,6 +536,17 @@ clean cleantc:: @@\ ...@@ -527,6 +536,17 @@ clean cleantc:: @@\
fi fi
#endif /* MakeDir */ #endif /* MakeDir */
#ifndef MakeDirInline
#define MakeDirInline(dir) if [ -d dir ]; then \ @@\
:; \ @@\
else \ @@\
if [ -h dir ]; then \ @@\
(set -x; rm -f dir); \ @@\
fi; \ @@\
(set -x; $(MKDIRHIER) dir); \ @@\
fi
#endif /* MakeDirInline */
#ifndef InstallDirectory #ifndef InstallDirectory
#define InstallDirectory(dir) @@\ #define InstallDirectory(dir) @@\
install:: @@\ install:: @@\
...@@ -1642,7 +1662,7 @@ InstallNamedTargetNoClobber(install,srcname,$(INSTBINFLAGS),dest,dstname) ...@@ -1642,7 +1662,7 @@ InstallNamedTargetNoClobber(install,srcname,$(INSTBINFLAGS),dest,dstname)
*/ */
#ifndef LinkFileList #ifndef LinkFileList
#define LinkFileList(step,list,dir,sub) @@\ #define LinkFileList(step,list,dir,sub) @@\
step:: @@\ step:: @@\
@MakeFlagsToShellFlags(i,set +e); \ @@\ @MakeFlagsToShellFlags(i,set +e); \ @@\
echo " cd" dir; cd dir && \ @@\ echo " cd" dir; cd dir && \ @@\
for i in list; do (set -x; $(LN) -f sub/$$i .); done for i in list; do (set -x; $(LN) -f sub/$$i .); done
...@@ -1947,7 +1967,7 @@ depend:: @@\ ...@@ -1947,7 +1967,7 @@ depend:: @@\
#ifndef CleanTarget #ifndef CleanTarget
#define CleanTarget() @@\ #define CleanTarget() @@\
clean:: @@\ clean:: @@\
$(RM) FilesToClean ExtraFilesToClean "#"* @@\ $(RM) FilesToClean ExtraFilesToClean DocFilesToClean "#"* @@\
@@\ @@\
ProofCleanTarget() ProofCleanTarget()
#endif /* CleanTarget */ #endif /* CleanTarget */
...@@ -2340,6 +2360,58 @@ clean:: @@\ ...@@ -2340,6 +2360,58 @@ clean:: @@\
RemoveFile(dst.c) RemoveFile(dst.c)
#endif /* ObjectFromSpecialSource */ #endif /* ObjectFromSpecialSource */
#ifndef CPPOnlyAsm
#define CPPOnlyAsm(basename,options) RemoveFile(basename.i) @@\
$(CPP) AsmDefines $(DEFINES) $(INCLUDES) options basename.S | \ @@\
grep -v '^\#' > basename.i
#endif
#ifndef AssembleObject
#define AssembleObject(flags) CPPOnlyAsm($*,flags) @@\
RemoveFile($*.o) @@\
$(AS) -o $*.o $*.i @@\
RemoveFile($*.i)
#endif
#ifndef NormalAsmObjectRule
#define NormalAsmObjectRule() @@\
.S.o: @@\
AssembleObject($(_NOOP_)) @@\
@@\
.S.i: @@\
CPPOnlyAsm($*,$(_NOOP_))
#endif
#ifndef ObjectFromSpecialAsmSource
#define ObjectFromSpecialAsmSource(dst,src,flags) @@\
dst.S: src.S @@\
RemoveFile($@) @@\
$(LN) $? $@ @@\
@@\
dst.o: dst.S @@\
AssembleObject(flags) @@\
@@\
dst.i: dst.S @@\
CPPOnlyAsm(dst,flags) @@\
@@\
depend:: dst.S @@\
@@\
clean:: @@\
RemoveFile(dst.S)
#endif
#ifndef ObjectFromAsmSource
#define ObjectFromAsmSource(src,flags) @@\
@@\
src.o: src.S @@\
AssembleObject(flags) @@\
@@\
src.i: src.S @@\
CPPOnlyAsm(src,flags) @@\
@@\
depend:: src.S
#endif
#ifndef SwitchYYPrefix #ifndef SwitchYYPrefix
#define SwitchYYPrefix(in,out,prefix) \ #define SwitchYYPrefix(in,out,prefix) \
sed 's/yy/prefix/g' in | sed 's/__REALLY_YY__/yy/' > out && RemoveFile(in) sed 's/yy/prefix/g' in | sed 's/__REALLY_YY__/yy/' > out && RemoveFile(in)
...@@ -2485,6 +2557,16 @@ clean:: @@\ ...@@ -2485,6 +2557,16 @@ clean:: @@\
#endif #endif
#endif /* LinkBuildLibrary */ #endif /* LinkBuildLibrary */
#ifndef LinkBuildLibraryInline
#ifdef UseInstalled
#define LinkBuildLibraryInline(lib) true
#else
#define LinkBuildLibraryInline(lib) MakeDirInline($(BUILDLIBDIR)); \ @@\
RemoveFile($(BUILDLIBDIR)/lib); \ @@\
(cd $(BUILDLIBDIR) && $(LN) $(BUILDLIBTOP)/$(CURRENT_DIR)/lib .)
#endif
#endif /* LinkBuildLibraryInline */
#ifndef LinkBuildLibraryMaybe #ifndef LinkBuildLibraryMaybe
#ifdef UseInstalled #ifdef UseInstalled
#define LinkBuildLibraryMaybe(lib,doit) $(_NULLCMD_) #define LinkBuildLibraryMaybe(lib,doit) $(_NULLCMD_)
...@@ -3145,10 +3227,16 @@ MakeMakeSubdirs(dirs,Makefiles) ...@@ -3145,10 +3227,16 @@ MakeMakeSubdirs(dirs,Makefiles)
/* /*
* Translate XCOMM into pound sign with sed, rather than passing -DXCOMM=XCOMM * Translate XCOMM into pound sign with sed, rather than passing -DXCOMM=XCOMM
* to cpp, because that trick does not work on all ANSI C preprocessors. * to cpp, because that trick does not work on all ANSI C preprocessors.
* Also delete line numbers from the cpp output (-P is not portable, I guess). * Delete line numbers from the cpp output (-P is not portable, I guess).
* Allow XCOMM to be preceded by whitespace and provide a means of generating
* output lines with trailing backslashes.
*/ */
#ifndef CppSedMagic #ifndef CppSedMagic
#define CppSedMagic sed -e '/^# *[0-9][0-9]* *.*$$/d' -e '/^XCOMM$$/s//#/' -e '/^XCOMM[^a-zA-Z0-9_]/s/^XCOMM/#/' #define CppSedMagic sed -e '/^# *[0-9][0-9]* *.*$$/d' \
-e '/^#line *[0-9][0-9]* *.*$$/d' \
-e '/^[ ]*XCOMM$$/s/XCOMM/#/' \
-e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' \
-e '/\@\@$$/s/\@\@$$/\\/'
#endif /* CppSedMagic */ #endif /* CppSedMagic */
#ifndef CppFileTarget #ifndef CppFileTarget
......
...@@ -5,7 +5,7 @@ XCOMM ...@@ -5,7 +5,7 @@ XCOMM
XCOMM XCOMM
XCOMM XCOMM
XCOMM XCOMM
XCOMM $XFree86: xc/config/cf/Imake.tmpl,v 3.139 2003/01/28 22:06:08 alanh Exp $ XCOMM $XFree86: xc/config/cf/Imake.tmpl,v 3.145 2003/06/12 14:12:24 eich Exp $
XCOMM ---------------------------------------------------------------------- XCOMM ----------------------------------------------------------------------
/* /*
...@@ -120,6 +120,10 @@ XCOMM the platform-specific parameters - edit site.def to change ...@@ -120,6 +120,10 @@ XCOMM the platform-specific parameters - edit site.def to change
#define NothingOutsideProjectRoot NO #define NothingOutsideProjectRoot NO
#endif #endif
#ifndef RemoveObsoleteFiles
#define RemoveObsoleteFiles YES
#endif
#ifndef HasVarDirectory #ifndef HasVarDirectory
#define HasVarDirectory YES #define HasVarDirectory YES
#endif #endif
...@@ -223,6 +227,10 @@ XCOMM the platform-specific parameters - edit site.def to change ...@@ -223,6 +227,10 @@ XCOMM the platform-specific parameters - edit site.def to change
#define PerlOptions /**/ #define PerlOptions /**/
#endif #endif
#ifndef PerlEnvSetup
#define PerlEnvSetup env LC_ALL=C
#endif
#ifndef BuildRman #ifndef BuildRman
#define BuildRman YES #define BuildRman YES
#endif #endif
...@@ -450,6 +458,9 @@ XCOMM the platform-specific parameters - edit site.def to change ...@@ -450,6 +458,9 @@ XCOMM the platform-specific parameters - edit site.def to change
#ifndef NoStrstr #ifndef NoStrstr
#define NoStrstr NO #define NoStrstr NO
#endif #endif
#ifndef HasShadowPasswd
#define HasShadowPasswd NO
#endif
/* byte-order defaults */ /* byte-order defaults */
#ifndef ByteOrder #ifndef ByteOrder
#if defined(VaxArchitecture) #if defined(VaxArchitecture)
...@@ -462,7 +473,7 @@ XCOMM the platform-specific parameters - edit site.def to change ...@@ -462,7 +473,7 @@ XCOMM the platform-specific parameters - edit site.def to change
#define ByteOrder X_LITTLE_ENDIAN #define ByteOrder X_LITTLE_ENDIAN
#elif defined(ia64Architecture) #elif defined(ia64Architecture)
#define ByteOrder X_LITTLE_ENDIAN #define ByteOrder X_LITTLE_ENDIAN
#elif defined(x86_64Architecture) #elif defined(AMD64Architecture)
#define ByteOrder X_LITTLE_ENDIAN #define ByteOrder X_LITTLE_ENDIAN
#elif defined(SparcArchitecture) || defined(Sparc64Architecture) #elif defined(SparcArchitecture) || defined(Sparc64Architecture)
#define ByteOrder X_BIG_ENDIAN #define ByteOrder X_BIG_ENDIAN
...@@ -490,6 +501,8 @@ XCOMM the platform-specific parameters - edit site.def to change ...@@ -490,6 +501,8 @@ XCOMM the platform-specific parameters - edit site.def to change
#define ByteOrder X_BIG_ENDIAN #define ByteOrder X_BIG_ENDIAN
#endif #endif
#endif /* ByteOrder */ #endif /* ByteOrder */
X_BYTE_ORDER = ByteOrder
#ifndef HasFortran #ifndef HasFortran
#define HasFortran NO #define HasFortran NO
#endif #endif
...@@ -1424,6 +1437,16 @@ TCLIBDIR = TclLibDir ...@@ -1424,6 +1437,16 @@ TCLIBDIR = TclLibDir
#ifndef NroffCmd #ifndef NroffCmd
#define NroffCmd nroff #define NroffCmd nroff
#endif