diff lwlib/config.h.in @ 149:538048ae2ab8 r20-3b1

Import from CVS: tag r20-3b1
author cvs
date Mon, 13 Aug 2007 09:36:16 +0200
parents
children 6b37e6ddd302
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lwlib/config.h.in	Mon Aug 13 09:36:16 2007 +0200
@@ -0,0 +1,41 @@
+/* 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_ */