Hey folks, I'm trying to deploy kaffe-1.0.7 in a cross-compiling environment. The first step was to update to autoconf2.5x, since that's more cross-compile-friendly. Afterwards, I checked cvs, and sure enough, 16 days ago, Dalibor Topic had already checked in a configure.in updated to autoconf2.5x.
Oh, well :-) I guess I'll start over with the cvs version. Just for grins, here's my patch. Only interesting difference is I use AC_PREREQ(2.52) so nobody tries to use old autotools, and I used \ to extend AC_CHECK_LIBS lines instead of using lots of little AC_CHECK_LIBS. - Dan --- kaffe-1.0.7/configure.in.orig Mon Dec 23 14:06:42 2002 +++ kaffe-1.0.7/configure.in Mon Dec 23 15:11:46 2002 @@ -1,3 +1,4 @@ +AC_PREREQ(2.52) AC_INIT(kaffe) AM_INIT_AUTOMAKE(kaffe, 1.0.7) @@ -131,7 +132,7 @@ AC_LIBTOOL_DLOPEN AC_LIBLTDL_CONVENIENCE AC_PROG_LIBTOOL -AC_REQUIRE([AC_LTDL_SHLIBEXT]) +AC_LTDL_SHLIBEXT AC_SUBST(LIBTOOL_DEPS) AC_SUBST(LIBLTDL) ## Let users override the linker used by libtool, but default to $CC. @@ -925,14 +926,14 @@ AC_FUNC_STRFTIME AC_FUNC_MMAP -AC_CHECK_FUNCS([dnl -select socket getsockname getpagesize dnl -memcpy memmove dnl -mkdir dnl -getcwd chdir getwd gettimeofday ftime time uname getuid dnl -localtime dnl -iconv dnl -]) +AC_CHECK_FUNCS(\ +select socket getsockname getpagesize \ +memcpy memmove \ +mkdir \ +getcwd chdir getwd gettimeofday ftime time uname getuid \ +localtime \ +iconv \ +) KSAVE_LIBS="$LIBS" LIBS="$M_LIBS $LIBS" @@ -1047,17 +1048,17 @@ AC_DEFINE(STRTOD_m0_BROKEN, 1, [Define if strtod(\"-0.0\") is broken]) fi -AC_CHECK_FUNCS([dnl -strerror hstrerror dnl -fcntl ioctl dnl -alarm setitimer dnl -sigprocmask sigsetmask sigemptyset sigaddset signal sigaction dnl -sbrk valloc memalign mallopt dnl -mprotect madvise dnl -waitpid kill fork execve execvp dnl -sync fsync dnl -atexit on_exit vsnprintf snprintf dnl -]) +AC_CHECK_FUNCS( \ +strerror hstrerror \ +fcntl ioctl \ +alarm setitimer \ +sigprocmask sigsetmask sigemptyset sigaddset signal sigaction \ +sbrk valloc memalign mallopt \ +mprotect madvise \ +waitpid kill fork execve execvp \ +sync fsync \ +atexit on_exit vsnprintf snprintf \ +) if test "$Khost_cpu" = "alpha" ; then AC_CACHE_CHECK([for alpha support of amask instruction], @@ -1235,7 +1236,7 @@ dnl Extract path and dir separator information from paths.h dnl ------------------------------------------------------------------------- -AC_REQUIRE([AC_PROG_CPP]) +AC_PROG_CPP AC_CACHE_CHECK([for path separator],ac_cv_kaffe_pathsep, [ rm -f conftest.c -- Dan Kegel Linux User #78045 http://www.kegel.com _______________________________________________ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
