From: Ari Johnson Date: Fri, 2 Mar 2007 15:39:42 +0000 (+0000) Subject: Removed confmagic.h from repository; now generated by metaconfig X-Git-Tag: 0.73~94 X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=95d3cb3734148b2ce1d2ec94ea2bf26357f7d6b8;p=cobramush.git Removed confmagic.h from repository; now generated by metaconfig --- diff --git a/confmagic.h b/confmagic.h deleted file mode 100644 index a408be1..0000000 --- a/confmagic.h +++ /dev/null @@ -1,126 +0,0 @@ -/* - * This file was produced by running metaconfig and is intended to be included - * after config.h and after all the other needed includes have been dealt with. - * - * This file may be empty, and should not be edited. Rerun metaconfig instead. - * If you wish to get rid of this magic, remove this file and rerun metaconfig - * without the -M option. - * - * $Id: Magic_h.U,v 3.0.1.2 1993/11/10 17:32:58 ram Exp $ - */ - -#ifndef _confmagic_h_ -#define _confmagic_h_ - -#ifndef HAS_BCOPY -#ifndef bcopy -#define bcopy(s,d,l) memcpy((d),(s),(l)) -#endif -#endif - -#ifndef HAS_BZERO -#ifndef bzero -#define bzero(s,l) memset((s),0,(l)) -#endif -#endif - -/* If your system doesn't have the crypt(3) DES encryption code, - * (which isn't exportable from the U.S.), then don't encrypt - */ -#ifndef HAS_CRYPT -#define crypt(s,t) (s) -#endif - -#ifdef HAS_HUGE_VAL -#define HUGE_DOUBLE HUGE_VAL -#else -#ifdef HAS_HUGE -#define HUGE_DOUBLE HUGE -#else -#ifdef HAS_MAXDOUBLE -#define HUGE_DOUBLE MAXDOUBLE -#else -#define HUGE_DOUBLE 2000000000 -#endif -#endif -#endif -#ifdef HAS_INT_MAX -#define HUGE_INT INT_MAX -#else -#ifdef HAS_MAXINT -#define HUGE_INT MAXINT -#else -#define HUGE_INT 2000000000 -#endif -#endif - -#ifndef HAS_MEMCPY -#ifndef memcpy -#define memcpy(d,s,l) bcopy((s),(d),(l)) -#endif -#endif - -#ifndef HAS_MEMMOVE -#ifndef memmove -#define memmove(d,s,l) bcopy((s),(d),(l)) -#endif -#endif - -#ifndef HAS_RANDOM -#ifndef random -#ifdef HAS_LRAND48 -#define random lrand48 -#define srandom srand48 -#else -#ifdef HAS_RAND -#define random rand -#define srandom srand -#endif -#endif -#endif -#endif - -#ifndef HAS_SIGCHLD -#define SIGCHLD SIGCLD -#endif - -#ifndef HAS_SIGCLD -#define SIGCLD SIGCHLD -#endif - -#ifndef HAS_INDEX -#ifndef index -#define index strchr -#endif -#endif - -#ifndef HAS_STRCHR -#ifndef strchr -#define strchr index -#endif -#endif - -#ifndef HAS_INDEX -#ifndef rindex -#define rindex strrchr -#endif -#endif - -#ifndef HAS_STRCHR -#ifndef strrchr -#define strrchr rindex -#endif -#endif - -#ifndef HAS_STRCOLL -#undef strcoll -#define strcoll strcmp -#endif - -#if !defined(WIN32) && !defined(HAS_STRXFRM) -#define strncoll strncmp -#define strncasecoll strncasecmp -#define strcasecoll strcasecmp -#endif - -#endif diff --git a/scripts/preparedist.sh b/scripts/preparedist.sh index 83e1246..8a109c8 100644 --- a/scripts/preparedist.sh +++ b/scripts/preparedist.sh @@ -7,7 +7,7 @@ cd .. # Step 1: run metaconfig echo "Running metaconfig to generate Configure and config_h.SH..." -metaconfig +metaconfig -M # Step 2: generate changes.txt echo "Generating changes.txt..."