1/* 2Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 3 2007 Free Software Foundation, Inc. 4 5This file is part of GNU Emacs. 6 7GNU Emacs is free software; you can redistribute it and/or modify 8it under the terms of the GNU General Public License as published by 9the Free Software Foundation; either version 2, or (at your option) 10any later version. 11 12GNU Emacs is distributed in the hope that it will be useful, 13but WITHOUT ANY WARRANTY; without even the implied warranty of 14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15GNU General Public License for more details. 16 17You should have received a copy of the GNU General Public License 18along with GNU Emacs; see the file COPYING. If not, write to 19the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 20Boston, MA 02110-1301, USA. */ 21 22 23#include "usg5-4.h" 24 25#define SOLARIS2 26 27/* eggert@twinsun.com said these work in Solaris. 28 Perhaps they work in all kinds of SVR4, but this is more conservative. */ 29#undef BROKEN_TIOCGETC 30#undef BROKEN_TIOCGWINSZ 31 32/* This triggers a conditional in xfaces.c. */ 33#define XOS_NEEDS_TIME_H 34 35#define POSIX 36 37/* Here is how to find X Windows. LD_SWITCH_X_SITE_AUX gives an -R option 38 says where to find X windows at run time. */ 39#ifndef __GNUC__ 40#define LD_SWITCH_SYSTEM LD_SWITCH_X_SITE_AUX 41#else /* GCC */ 42/* We use ./prefix-args because we don't know whether LD_SWITCH_X_SITE_AUX 43 has anything in it. It can be empty. 44 This works ok in src. Luckily lib-src does not use LD_SWITCH_SYSTEM. */ 45#define LD_SWITCH_SYSTEM `./prefix-args -Xlinker LD_SWITCH_X_SITE_AUX` 46#endif /* GCC */ 47 48#undef LIBS_SYSTEM 49#define LIBS_SYSTEM -lsocket -lnsl -lkstat 50 51/* Prefer kstat over kvm in getloadavg.c, kstat doesn't require root. 52 ghazi@caip.rutgers.edu, 7/21/97. Don't redefine if already defined 53 (e.g., by config.h). */ 54#ifndef HAVE_LIBKSTAT 55#define HAVE_LIBKSTAT 56#endif 57 58/* eggert thinks all versions of SunPro C allowed this. */ 59#ifndef __GNUC__ 60#define C_DEBUG_SWITCH -g -O 61#endif 62 63/* inoue@ainet.or.jp says Solaris has a bug related to X11R6-style 64 XIM support. */ 65 66#define INHIBIT_X11R6_XIM 67 68/* Must use the system's termcap, if we use any termcap. 69 It does special things. */ 70 71#ifndef TERMINFO 72#define LIBS_TERMCAP -ltermcap 73#endif 74 75#define USE_MMAP_FOR_BUFFERS 1 76 77/* arch-tag: b0640f78-5ad5-4093-97c3-5b3abbf5a2be 78 (do not change this comment) */ 79