pike.git/
src/
configure.in
Branch:
Tag:
Non-build tags
All tags
No tags
1997-08-10
1997-08-10 00:49:52 by Henrik Grubbström (Grubba) <grubba@grubba.org>
4459f3edfed02151f3c07d3c5c27fa536af83cc0 (
19
lines) (+
4
/-
15
)
[
Show
|
Annotate
]
Branch:
7.9
Nicer test for -pipe and support for Unixware.
Rev: src/configure.in:1.104
1:
-
AC_REVISION("$Id: configure.in,v 1.
103
1997/
07
/
09
02
:
23
:
48
hubbe
Exp $")
+
AC_REVISION("$Id: configure.in,v 1.
104
1997/
08
/
10
00
:
49
:
52
grubba
Exp $")
AC_INIT(interpret.c) AC_CONFIG_HEADER(machine.h)
206:
if test "$GCC" = "yes"; then if test $cflags_is_set = no; then
-
AC_
MSG
_
CHECKING
(-pipe
)
-
OLD_CFLAGS="$CFLAGS"
-
CFLAGS="$CFLAGS -pipe"
-
AC_CACHE_VAL(pike_cv_option_pipe
,
-
[
-
AC_TRY_COMPILE([],[],pike_cv_option_
pipe
=yes,pike_cv_option_pipe=no
)
-
])
-
-
if test "$pike_cv_option_pipe" = "yes" ; then
-
AC_MSG_RESULT(-pipe found)
-
else
-
AC_MSG_RESULT(-pipe not found)
-
CFLAGS="$OLD_CFLAGS"
+
AC_
SYS
_
COMPILER_FLAG
(-pipe, pipe)
fi
-
fi
+
else # # Special hack for HP-UX stupid cc
1445:
NetBSD) LDSHARED="ld -Bshareable";; OpenBSD*) LDSHARED="ld -Bshareable";; SCO_SV*) LDSHARED="cc -G -KPIC -Wl,-Bexport";;
+
UNIX_SV) LDSHARED="ld -G";;
*) LDSHARED="ld";; esac fi