/* EnginePl/gp_config.h.  Generated automatically by configure.  */
/*-------------------------------------------------------------------------*/
/* GNU Prolog                                                              */
/*                                                                         */
/* Part  : configuration                                                   */
/* File  : gp_config.h.in                                                  */
/* Descr.: general configuration file (handled by autoconf) - header file  */
/* Author: Daniel Diaz                                                     */
/*                                                                         */
/* Copyright (C) 1999 Daniel Diaz                                          */
/*                                                                         */
/* GNU Prolog 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 any later version.       */
/*                                                                         */
/* GNU Prolog 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 this program; if not, write to the Free Software Foundation, Inc.  */
/* 59 Temple Place - Suite 330, Boston, MA 02111, USA.                     */
/*-------------------------------------------------------------------------*/

#ifndef _GP_CONFIG_H
#define _GP_CONFIG_H

/* Define if you have sys/ioctl_compat.h */
/* #undef HAVE_SYS_IOCTL_COMPAT_H */

/* Define if you have termios.h */
#define HAVE_TERMIOS_H 1

/* Define if you have termio.h */
#define HAVE_TERMIO_H 1

/* Define if you have a working `mmap' system call.  */
/* #undef HAVE_MMAP */

/* Define inline keyword */
/* #undef inline */

/* Define if you don't want to use machine registers */
/* #undef NO_USE_REGS */

/* Define if you don't want to include line editor facility */
/* #undef NO_USE_LINEDIT */

/* Define if you don't want to use the win32 GUI console */
#define NO_USE_GUI_CONSOLE 1

/* Define if you don't want to include sockets facility */
/* #undef NO_USE_SOCKETS */

/* Define if you don't want to include the FD constraint solver */
/* #undef NO_USE_FD_SOLVER */




/* Define if the cpu is a sparc */
/* #undef M_sparc */

/* Define if the cpu is a ix86 */
#define M_ix86 1

/* Define if the cpu is a powerpc */
/* #undef M_powerpc */



/* Define if the OS is a sunos */
/* #undef M_sunos */

/* Define if the OS is a solaris */
/* #undef M_solaris */

/* Define if the OS is a linux */
#define M_linux 1

/* Define if the OS is a WinXX based on Cygwin */
/* #undef M_cygwin */

/* Define if the OS is a WIN32 */
/* #undef M_win32 */

/* Define if the OS is a SCO */
/* #undef M_sco */

/* Define if the OS is a BSD */
/* #undef M_bsd */


/* Define if the system is a ix86/linux */
#define M_ix86_linux 1

/* Define if the system is a ix86/sco */
/* #undef M_ix86_sco */

/* Define if the system is a ix86/freebsd */
/* #undef M_ix86_bsd */

/* Define if the system is a ix86/cygwin */
/* #undef M_ix86_cygwin */

/* Define if the system is a ix86/win32 */
/* #undef M_ix86_win32 */

/* Define if the system is a ix86/solaris */
/* #undef M_ix86_solaris */

/* Define if the system is a sparc/solaris */
/* #undef M_sparc_solaris */

/* Define if the system is a sparc/sunos */
/* #undef M_sparc_sunos */

/* Define if the system is a powerpc/linux */
/* #undef M_powerpc_linux */



/* Constant definitions */

#define PROLOG_NAME1               "gprolog"
#define PROLOG_NAME                "GNU Prolog"
#define PROLOG_VERSION             "1.2.1"
#define PROLOG_DATE                "Jul 31 2000"
#define PROLOG_COPYRIGHT           "Copyright (C) 1999,2000 Daniel Diaz"

#define TOP_LEVEL                  "gprolog"
#define GPLC                       "gplc"
#define HEXGPLC                    "hexgplc"
#define ENV_VARIABLE               "PL_PATH"

#define M_VENDOR                   "pc"
#define M_CPU                      "i686"
#define M_OS                       "linux-gnu"

#define CC                         "gcc"
#define CFLAGS_PREFIX_REG          "-ffixed-%s"
#define CFLAGS                     "-g -Wall"
#define CFLAGS_MACHINE             "-mpentiumpro -malign-loops=2 -malign-jumps=2 -malign-functions=2"
#define LDFLAGS                    ""
#define LDLIBS                     "-lm"
#define AS                         "as"
#define STRIP                      "strip"

#define ASM_SUFFIX                 ".s"
#define OBJ_SUFFIX                 ".o"
#define EXE_SUFFIX                 ""
#define CC_OBJ_NAME_OPT            "-o "
#define CC_EXE_NAME_OPT            "-o "


#define LIB_LINEDIT                "liblinedit.a"
#define LIB_W32GUICONS             "libw32guicons.a"
#define LIB_ENGINE_PL              "libengine_pl.a"
#define LIB_BIPS_PL                "libbips_pl.a"
#define LIB_ENGINE_FD              "libengine_fd.a"
#define LIB_BIPS_FD                "libbips_fd.a"


#define SIZEOF_LONG                4
#define WORD_SIZE                  (8*SIZEOF_LONG)




/*---------------------------------*/
/* Miscellaneous                   */
/*---------------------------------*/

#ifndef NO_USE_GUI_CONSOLE
#define W32_GUI_CONSOLE
#endif

#ifdef M_sparc_sunos
#     define __USE_FIXED_PROTOTYPES__
#endif

#include "arch_dep.h"

#endif /* !_GP_CONFIG_H */
