| |
|
| dnl We use some automake macros here, |
dnl We use some automake macros here, |
| dnl but don't use automake for creating Makefile.in |
dnl but don't use automake for creating Makefile.in |
| AM_INIT_AUTOMAKE(gforth,0.4.9-20000720) |
AM_INIT_AUTOMAKE(gforth,0.4.9-20000726) |
| #snapshots have numbers major.minor.release-YYYYMMDD |
#snapshots have numbers major.minor.release-YYYYMMDD |
| #note that lexicographic ordering bust be heeded. |
#note that lexicographic ordering bust be heeded. |
| #I.e., 0.4.1-YYYYMMDD must not exist before 0.4.1! |
#I.e., 0.4.1-YYYYMMDD must not exist before 0.4.1! |
| AC_MSG_CHECKING([whether the linker accepts -export-dynamic]) |
AC_MSG_CHECKING([whether the linker accepts -export-dynamic]) |
| OLDLDFLAGS=$LDFLAGS |
OLDLDFLAGS=$LDFLAGS |
| LDFLAGS="$LDFLAGS -export-dynamic" |
LDFLAGS="$LDFLAGS -export-dynamic" |
| 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 |
| |
dnl AC_TRY_LINK(,,ac_export_dynamic=yes,ac_export_dynamic=no) |
| |
AC_TRY_RUN(main(){exit(0);},ac_export_dynamic=yes,ac_export_dynamic=no,ac_export_dynamic=no) |
| test $ac_export_dynamic = yes|| LDFLAGS=$OLDLDFLAGS |
test $ac_export_dynamic = yes|| LDFLAGS=$OLDLDFLAGS |
| AC_MSG_RESULT($ac_export_dynamic) |
AC_MSG_RESULT($ac_export_dynamic) |
| |
|
| #full IEEE FP support for more uniformity across platforms: |
#full IEEE FP support for more uniformity across platforms: |
| CFLAGS="$CFLAGS -mieee" |
CFLAGS="$CFLAGS -mieee" |
| ;; |
;; |
| power*) |
power*|rs6000) |
| machine=power |
machine=power |
| $srcdir/mkinstalldirs arch/power |
$srcdir/mkinstalldirs arch/power |
| AC_CHECK_FUNC(_sync_cache_range,true,LIBOBJS="$LIBOBJS ../arch/power/_sync_cache_range.o") |
AC_CHECK_FUNC(_sync_cache_range,true,LIBOBJS="$LIBOBJS ../arch/power/_sync_cache_range.o") |