version 1.303, 2012/03/22 01:45:42
|
version 1.304, 2012/03/22 16:27:11
|
Line 214 test "$make_type" = "GNU Make" && GNUMAK
|
Line 214 test "$make_type" = "GNU Make" && GNUMAK
|
AC_MSG_RESULT($make_type) |
AC_MSG_RESULT($make_type) |
AC_SUBST(GNUMAKE) |
AC_SUBST(GNUMAKE) |
|
|
AC_MSG_CHECKING([whether the linker accepts -export-dynamic]) |
if test "$ac_export_dynamic" != yes; then |
OLDLDFLAGS=$LDFLAGS |
AC_MSG_CHECKING([whether the linker accepts -export-dynamic]) |
LDFLAGS="$LDFLAGS -export-dynamic" |
OLDLDFLAGS=$LDFLAGS |
dnl AC_TRY_LINK gives false positive on rs6000-ibm-aix4.2.1.0 |
LDFLAGS="$LDFLAGS -export-dynamic" |
dnl AC_TRY_LINK(,,ac_export_dynamic=yes,ac_export_dynamic=no) |
dnl AC_TRY_LINK gives false positive on rs6000-ibm-aix4.2.1.0 |
AC_TRY_RUN(main(){exit(0);},ac_export_dynamic=yes,ac_export_dynamic=no,ac_export_dynamic=no) |
dnl AC_TRY_LINK(,,ac_export_dynamic=yes,ac_export_dynamic=no) |
test $ac_export_dynamic = yes|| LDFLAGS=$OLDLDFLAGS |
AC_TRY_RUN(main(){exit(0);},ac_export_dynamic=yes,ac_export_dynamic=no,ac_export_dynamic=no) |
AC_MSG_RESULT($ac_export_dynamic) |
test $ac_export_dynamic = yes|| LDFLAGS=$OLDLDFLAGS |
|
AC_MSG_RESULT($ac_export_dynamic) |
|
else |
|
LDFLAGS="$LDFLAGS -export-dynamic" |
|
fi |
|
|
#terminology is a bit unusual here: The host is the system on which |
#terminology is a bit unusual here: The host is the system on which |
#gforth will run; the system on which configure will run is the `build' |
#gforth will run; the system on which configure will run is the `build' |
Line 914 dnl Checks for library functions
|
Line 918 dnl Checks for library functions
|
dnl This check is just for making later checks link with libm. |
dnl This check is just for making later checks link with libm. |
dnl using sin here is no good idea since it is built-into gcc and typechecked |
dnl using sin here is no good idea since it is built-into gcc and typechecked |
AC_CHECK_LIB(m,asin) |
AC_CHECK_LIB(m,asin) |
AC_CHECK_LIB(ltdl,lt_dlinit) |
AC_CHECK_LIB(ltdl,lt_dlinit,LIB_SUFFIX=.la,LIB_SUFFIX=.so) |
|
AC_SUBST(LIB_SUFFIX) |
AC_CHECK_LIB(rt,clock_gettime) |
AC_CHECK_LIB(rt,clock_gettime) |
|
|
if test -n "$GNU_LIBTOOL" -a $ac_cv_lib_ltdl_lt_dlinit = yes; then |
if test -n "$GNU_LIBTOOL" -a $ac_cv_lib_ltdl_lt_dlinit = yes; then |