Mercurial > emacs
diff configure1.in @ 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 | da67547eda51 |
children | 5de08620df66 |
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