view lwlib/config.h.in @ 219:262b8bb4a523 r20-4b8

Import from CVS: tag r20-4b8
author cvs
date Mon, 13 Aug 2007 10:09:35 +0200
parents 3d6bfa290dbd
children f220cc83d72e
line wrap: on
line source

/* Lwlib site configuration template file.  -*- C -*-
   Copyright (C) 1997 Sun Microsystems, Inc.

This file is part of XEmacs.

XEmacs is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2, or (at your option) any
later version.

XEmacs is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
for more details.

You should have received a copy of the GNU General Public License
along with XEmacs; see the file COPYING.  If not, write to
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.  */

/* Not in FSF. */

#ifndef _LWLIB_CONFIG_H_
#define _LWLIB_CONFIG_H_

#include <../src/config.h>
#if 0
/* alloca twiddling belongs in one place, not the s&m headers
   AIX requires this to be the first thing in the file.  */
#undef HAVE_ALLOCA_H

#ifndef NOT_C_CODE

#ifdef __GNUC__
#undef  alloca
#define alloca __builtin_alloca
#elif defined(_AIX)
#pragma alloca
#elif HAVE_ALLOCA_H
#include <alloca.h>
#endif

#endif /* C code */

#undef HAVE_UNISTD_H
#undef HAVE_LIMITS_H
#undef STDC_HEADERS
#undef CONST_IS_LOSING

#ifndef NeedFunctionPrototypes
#define NeedFunctionPrototypes 1
#endif

#ifndef FUNCPROTO
#define FUNCPROTO 15
#endif

/* Required for most XFree86 systems */
#undef NARROWPROTO
#endif
/* widget feature definitions */
#undef LWLIB_MENUBARS_LUCID
#undef LWLIB_MENUBARS_MOTIF

#if   defined (LWLIB_MENUBARS_LUCID)
#define MENUBARS_LUCID
#elif defined (LWLIB_MENUBARS_MOTIF)
#define MENUBARS_MOTIF
#endif

#undef LWLIB_SCROLLBARS_LUCID
#undef LWLIB_SCROLLBARS_MOTIF
#undef LWLIB_SCROLLBARS_ATHENA

#if   defined (LWLIB_SCROLLBARS_LUCID)
#define SCROLLBARS_LUCID
#elif defined(LWLIB_SCROLLBARS_MOTIF)
#define SCROLLBARS_MOTIF
#elif defined (LWLIB_SCROLLBARS_ATHENA)
#define SCROLLBARS_ATHENA
#endif

#undef LWLIB_DIALOGS_MOTIF
#undef LWLIB_DIALOGS_ATHENA

#if   defined (LWLIB_DIALOGS_MOTIF)
#define DIALOGS_MOTIF
#elif defined (LWLIB_DIALOGS_ATHENA)
#define DIALOGS_ATHENA
#endif

#undef NEED_MOTIF
#undef NEED_ATHENA
#undef USE_XFONTSET

#if defined (LWLIB_MENUBARS_LUCID) || defined (LWLIB_SCROLLBARS_LUCID)
#define NEED_LUCID
#endif

#endif /* _LWLIB_CONFIG_H_ */