X-Git-Url: https://git.distorted.org.uk/~mdw/become/blobdiff_plain/8ddbfc6259aff24610996d1f84769774481dc62f..27fb3b270fc6d2b974e762fab36e7eacf32d5112:/acconfig.h diff --git a/acconfig.h b/acconfig.h deleted file mode 100644 index d108f96..0000000 --- a/acconfig.h +++ /dev/null @@ -1,101 +0,0 @@ -/* -*-c-*- - * - * $Id: acconfig.h,v 1.1 1997/08/04 10:22:09 mdw Exp $ - * - * Default settings for `become' config.h - * - * (c) 1997 Mark Wooding - */ - -/*----- Licensing notice --------------------------------------------------* - * - * This file is part of `become' - * - * `Become' 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 of the License, or - * (at your option) any later version. - * - * `Become' 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 `become'; if not, write to the Free Software Foundation, - * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ - -/*----- Revision history --------------------------------------------------* - * - * $Log: acconfig.h,v $ - * Revision 1.1 1997/08/04 10:22:09 mdw - * Sources placed under CVS control. - * - * Revision 1.1 1997/07/21 13:47:52 mdw - * Initial revision - * - */ - -#ifndef CONFIG_H -#define CONFIG_H - -/*----- Variables set up by the configuration script ----------------------*/ -@TOP@ - -/* My version number. */ -#define VERSION ??? - -/* The `etcdir' contains configuration and state information. */ -#define ETCDIR "/usr/local/etc" - -/* Define to be the size of an int. */ -#define SIZEOF_INT 4 - -/* This is replaced by `/' by `configure' -- leave alone for DOSness. */ -#define PATHSEP '\\' - -/* Debugging options. */ -#undef TRACING - -#ifndef TEST_RIG -#undef NDEBUG -#endif - -/* Define if we have YP support. */ -#undef HAVE_YP - -/* Define to `int' if nothing defines. */ -#undef ssize_t - -@BOTTOM@ - -/*----- Some light processing on the configuration varaibles --------------*/ - -/* --- Important filenames based on the @ETCDIR@ --- */ - -#define file_KEY ETCDIR "/become.key" -#define file_PID ETCDIR "/become.pid" -#define file_RANDSEED ETCDIR "/become.random" -#define file_RULES ETCDIR "/become.conf" -#define file_SERVER ETCDIR "/become.server" - -/* --- Find a suitable 32-bit type --- */ - -#if SIZEOF_INT < 4 - typedef unsigned long uint_32; -#else - typedef unsigned int uint_32; -#endif - -/* --- Debugging macros --- */ - -#ifdef NDEBUG -# define D(x) /* empty */ -#else -# define D(x) x -#endif - -/*----- That's all, folks -------------------------------------------------*/ - -#endif