diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-01-16 22:54:10 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-01-16 22:54:10 +0000 |
commit | b529cca25fc85448e30da4ccfa5599fc3f63b6c0 (patch) | |
tree | 72eae468dcee601a3075cb3061069065e37a1639 | |
parent | f1dc10f6e3ad4fd402df6a4cb4bbbc027fc322a5 (diff) | |
download | emacs-b529cca25fc85448e30da4ccfa5599fc3f63b6c0.tar.gz |
(HAVE_XMU): Fix typo in previous change.
[Solaris]: Don't let $CC make us use /usr/ucb/cc.
-rw-r--r-- | configure.in | 34 |
1 files changed, 32 insertions, 2 deletions
diff --git a/configure.in b/configure.in index bbeee3efaac..88ecf7f8fb6 100644 --- a/configure.in +++ b/configure.in @@ -1,7 +1,26 @@ -dnl This is an autoconf script. +dnl Autoconf script for GNU Emacs dnl To rebuild the `configure' script from this, execute the command dnl autoconf dnl in the directory containing this script. +dnl +dnl Copyright (C) 1994, 1995 Free Software Foundation, Inc. +dnl +dnl This file is part of GNU Emacs. +dnl +dnl GNU Emacs is free software; you can redistribute it and/or modify +dnl it under the terms of the GNU General Public License as published by +dnl the Free Software Foundation; either version 2, or (at your option) +dnl any later version. +dnl +dnl GNU Emacs is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +dnl GNU General Public License for more details. +dnl +dnl You should have received a copy of the GNU General Public License +dnl along with GNU Emacs; see the file COPYING. If not, write to +dnl the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + AC_PREREQ(2.4.1)dnl AC_INIT(src/lisp.h) AC_CONFIG_HEADER(src/config.h:src/config.in) @@ -711,6 +730,17 @@ case "${canonical}" in ;; * ) opsys=bsd4-2 ;; esac + ## Watch out for a compiler that we know will not work. + case "${canonical}" in + *-solaris* | *-sunos5* ) + if [ "x$CC" = x/usr/ucb/cc ]; then + ## /usr/ucb/cc doesn't work; + ## we should find some other compiler that does work. + unset CC + fi + ;; + *) ;; + esac ;; sparc-*-nextstep* ) machine=sparc opsys=nextstep @@ -1301,7 +1331,7 @@ dnl tranle@intellicorp.com says libXmu.a can need XtMalloc in libXt.a to link. OLDLIBS="$LIBS" LIBS="-lXt $LIBS" AC_CHECK_LIB(Xmu, XmuConvertStandardSelection) - LIBS=$"OLDLIBS" + LIBS="$OLDLIBS" fi # If netdb.h doesn't declare h_errno, we must declare it by hand. |