Source

xemacs-beta / lwlib / config.h.in

/* XEmacs site configuration template file.  -*- C -*-
   Copyright (C) 1986, 1991, 1992, 1993, 1994 Free Software Foundation, 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 _CONFIG_H_
#define _CONFIG_H_

/* 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 /* NOT C */

#endif /* _CONFIG_H_ */