pike.git/
src/
configure.in
Branch:
Tag:
Non-build tags
All tags
No tags
2002-04-06
2002-04-06 15:26:22 by Marcus Comstedt <marcus@mc.pp.se>
2c412d76d25adcdb7a1a60734e237678e099b724 (
10
lines) (+
9
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
AC_SYS_COMPILER_FLAG should now work with gcc.
Rev: src/configure.in:1.572
1:
-
AC_REVISION("$Id: configure.in,v 1.
571
2002/04/06
01
:
03
:
59
marcus Exp $")
+
AC_REVISION("$Id: configure.in,v 1.
572
2002/04/06
15
:
26
:
22
marcus Exp $")
AC_INIT(interpret.c) AC_CONFIG_HEADER(machine.h)
124:
[ OLD_CFLAGS="[$]CFLAGS" CFLAGS="[$]OLD_CFLAGS $1"
+
old_ac_link="[$]ac_link"
+
ac_link="[$]old_ac_link 2>conftezt.out.2"
AC_TRY_RUN([ int foo; int main(int argc, char **argv)
139:
AC_TRY_LINK([], [], pike_cv_option_$2=yes, pike_cv_option_$2=no) ]) CFLAGS="[$]OLD_CFLAGS"
+
ac_link="[$]old_ac_link"
+
if grep 'unrecognized option' <conftezt.out.2 >/dev/null; then
+
pike_cv_option_$2=no
+
else :; fi
+
rm conftezt.out.2
]) if test x"[$]pike_cv_option_$2" = "xyes" ; then