pike.git/
src/
configure.in
Branch:
Tag:
Non-build tags
All tags
No tags
2002-08-12
2002-08-12 20:28:24 by Henrik Grubbström (Grubba) <grubba@grubba.org>
5ffbb12eb97ec16810a6ce0f4df5ab7780c4c9fe (
15
lines) (+
13
/-
2
)
[
Show
|
Annotate
]
Branch:
7.9
Detection of buggy -O2 on gcc/FreeBSD-2.6/Alpha.
Rev: src/configure.in:1.595
1:
-
AC_REVISION("$Id: configure.in,v 1.
594
2002/08/
01
14
:
50
:
42
nilsson
Exp $")
+
AC_REVISION("$Id: configure.in,v 1.
595
2002/08/
12
20
:
28
:
24
grubba
Exp $")
AC_INIT(interpret.c) AC_CONFIG_HEADER(machine.h)
162:
ac_link="[$]old_ac_link" if grep 'unrecognized option' <conftezt.out.2 >/dev/null; then pike_cv_option_$2=no
+
else
+
# gcc/FreeBSD-4.6/alpha says the following regarding -O2:
+
#
+
# cc1: warning:
+
# ***
+
# *** The -O2 flag TRIGGERS KNOWN OPTIMIZER BUGS ON THIS PLATFORM
+
# ***
+
if grep -i 'optimizer bugs' <conftezt.out.2 >/dev/null; then
+
pike_cv_option_$2=no
else :; fi
-
+
fi
rm conftezt.out.2 ])