pike.git/
src/
configure.in
Branch:
Tag:
Non-build tags
All tags
No tags
1997-01-16
1997-01-16 04:59:28 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>
d98e0d71e4af7d43a7d637602907138e4329c2f4 (
30
lines) (+
26
/-
4
)
[
Show
|
Annotate
]
Branch:
7.9
now checks for -rdynamic
Rev: src/configure.in:1.41
1:
-
AC_REVISION("$Id: configure.in,v 1.
40
1997/01/
12
02
:
16
:
01
grubba
Exp $")
+
AC_REVISION("$Id: configure.in,v 1.
41
1997/01/
16
04
:
59
:
28
hubbe
Exp $")
AC_INIT(interpret.c) AC_CONFIG_HEADER(machine.h)
362:
AC_CHECK_LIB(m, floor) AC_CHECK_LIB(dl, dlopen)
-
if test "
${ac
_cv_
lib
_
m}
" = "
no
"
-a
"
${pike
_cv_
sys
_
os}
" = "
Linux
"; then
+
+
if test "
${pike
_cv_
sys
_
os}
" = "
Linux
"
;
then
+
if test
"
${ac
_cv_
lib
_
m}
" = "
no
"; then
AC_MSG_WARN(I will compensate for this by adding -lc -lm) LIBS="${LIBS} -lc -lm" fi
-
+
if test $ldflags_is_set ; then
+
AC_MSG_CHECKING(for -rdynamic)
+
AC_CACHE_VAL(pike_cv_ld_accepts_rdynamic,
+
[
+
OLD_LDFLAGS="$LDFLAGS"
+
LDFLAGS="$LFFLAGS -rdynamic"
+
AC_TRY_LINK([],[ exit(0); ],[
+
pike_cv_ld_accepts_rdynamic=yes
+
],[ pike_cv_ld_accepts_rdynamic=no ])
+
LDFLAGS="$OLD_LDFLAGS"
+
])
+
AC_MSG_RESULT($pike_cv_ld_accepts_rdynamic)
+
+
if test x$pike_cv_ld_accepts_rdynamic = xyes ; then
+
LDFLAGS="$LDFLAGS -rdynamic"
+
fi
+
fi
+
fi
+
######################################################################## if test x$with_threads = xyes ; then