From: Richard M. Stallman Date: Sat, 18 Jun 1994 14:49:34 +0000 (+0000) Subject: (C_DEBUG_SWITCH): Define, if THIS_IS_CONFIGURE. X-Git-Tag: emacs-19.34~7897 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6f10bc9dbc727adb469db7202b47548bd7980512;p=emacs.git (C_DEBUG_SWITCH): Define, if THIS_IS_CONFIGURE. (HAVE_GETTIMEOFDAY, HAVE_MKDIR, HAVE_RMDIR): (HAVE_XSCREENNUMBEROFSCREEN, HAVE_XRMSETDATABASE): Comment out these definitions. --- diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h index 0283e0ef612..eac1dd62c97 100644 --- a/src/s/gnu-linux.h +++ b/src/s/gnu-linux.h @@ -215,6 +215,13 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define LD_SWITCH_SYSTEM -L/usr/X386/lib #endif +/* Don't use -g in test compiles in configure. + This is so we will use the same shared libs for that linking + that are used when linking temacs. */ +#ifdef THIS_IS_CONFIGURE +#define C_DEBUG_SWITCH +#endif + /* Let's try this out, just in case. Nah. Rik Faith says it doesn't work well. */ /* #define SIGNALS_VIA_CHARACTERS */ @@ -240,6 +247,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define ADJUST_EXEC_HEADER \ unexec_text_start = N_TXTADDR(ohdr) + A_TEXT_OFFSET(ohdr) +#if 0 /* In 19.23 and 19.24, configure sometimes fails to define these. It has to do with the fact that configure uses CFLAGS when linking while Makefile.in.in (erroneously) fails to do so when linking temacs. */ @@ -258,3 +266,4 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifndef HAVE_XRMSETDATABASE #define HAVE_XRMSETDATABASE #endif +#endif /* 0 */