Mercurial > emacs
changeset 2516:a5cb0d9f5916
* configure.in: Don't set CC to "gcc -O" if the user specifies
`--with-gcc'. Add -O to DEFS if GCC is set.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Sat, 10 Apr 1993 08:30:27 +0000 |
parents | c0cdd6a80391 |
children | f006be4acbed |
files | configure1.in |
diffstat | 1 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/configure1.in Sat Apr 10 08:05:07 1993 +0000 +++ b/configure1.in Sat Apr 10 08:30:27 1993 +0000 @@ -781,14 +781,19 @@ #### Choose a compiler. DEFS=-g case ${with_gcc} in - "yes" ) CC="gcc -O99" GCC=1 ;; - "no" ) CC="cc" ;; + "yes" ) CC="gcc" GCC=1 ;; + "no" ) CC="cc" ;; * ) ] AC_PROG_CC [ esac +if [ "${GCC}" != "" ]; then + DEFS="${DEFS} -O" +fi + + #### Some other nice autoconf tests. ] AC_CONST