ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/configure.ac
(Generate patch)

Comparing BasiliskII/src/Unix/configure.ac (file contents):
Revision 1.14 by gbeauche, 2002-11-24T20:07:25Z vs.
Revision 1.17 by cebix, 2003-07-25T13:45:25Z

# Line 1 | Line 1
1   dnl Process this file with autoconf to produce a configure script.
2   dnl Written in 2002 by Christian Bauer et al.
3  
4 < AC_INIT(main_unix.cpp)
4 > AC_INIT([Basilisk II], 1.0, [Christian.Bauer@uni-mainz.de], BasiliskII)
5 > AC_CONFIG_SRCDIR(main_unix.cpp)
6   AC_PREREQ(2.52)
7   AC_CONFIG_HEADER(config.h)
8  
# Line 553 | Line 554 | AC_CACHE_CHECK([whether we can map Low M
554    AC_TRY_RUN([
555      #include "vm_alloc.cpp"
556      int main(void) { /* returns 0 if we could map the lowmem globals */
557 <      volatile char * lm;
557 >      volatile char * lm = 0;
558        if (vm_init() < 0) exit(1);
559 <      if ((lm = (volatile char *)vm_acquire_fixed(0, 0x2000)) == VM_MAP_FAILED) exit(1);
559 >      if (vm_acquire_fixed(0, 0x2000) < 0) exit(1);
560        lm[0] = 'z';
561        if (vm_release((char *)lm, 0x2000) < 0) exit(1);
562        vm_exit(); exit(0);
# Line 769 | Line 770 | AC_MSG_RESULT($HAVE_GAS)
770   dnl Check for GCC 2.7 or higher.
771   HAVE_GCC27=no
772   AC_MSG_CHECKING(for GCC 2.7 or higher)
773 < AC_EGREP_CPP(yes,
773 > AC_EGREP_CPP(xyes,
774   [#if __GNUC__ - 1 > 1 || __GNUC_MINOR__ - 1 > 5
775 <  yes
775 >  xyes
776   #endif
777   ], [AC_MSG_RESULT(yes); HAVE_GCC27=yes], AC_MSG_RESULT(no))
778  
779   dnl Check for GCC 3.0 or higher.
780   HAVE_GCC30=no
781   AC_MSG_CHECKING(for GCC 3.0 or higher)
782 < AC_EGREP_CPP(yes,
782 > AC_EGREP_CPP(xyes,
783   [#if __GNUC__ >= 3
784 <  yes
784 >  xyes
785   #endif
786   ], [AC_MSG_RESULT(yes); HAVE_GCC30=yes], AC_MSG_RESULT(no))
787  
# Line 1105 | Line 1106 | AC_SUBST(DEFINES)
1106   AC_SUBST(SYSSRCS)
1107   AC_SUBST(CPUINCLUDES)
1108   AC_SUBST(CPUSRCS)
1109 < AC_OUTPUT(Makefile)
1109 > AC_CONFIG_FILES([Makefile])
1110 > AC_OUTPUT
1111  
1112   dnl Print summary.
1113   echo

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines