diff: configure PC_ACCESS for the x86.

Tyson Dowd trd at cs.mu.OZ.AU
Thu Jun 18 18:33:36 AEST 1998


Hi,

Here's a quick fix.  Now it is possible to get the PC at signals for
the x86.

===================================================================


Estimated hours taken: 0.5

Autoconfigure PC_ACCESS for the x86.

configure.in:
	If sigcontext has a working eip field (the program counter),
	then set PC_ACCESS to eip in the configuration.
	(The test was already there, it just wasn't setting PC_ACCESS).


Index: configure.in
===================================================================
RCS file: /home/staff/zs/imp/mercury/configure.in,v
retrieving revision 1.130
diff -u -r1.130 configure.in
--- configure.in	1998/06/09 02:58:37	1.130
+++ configure.in	1998/06/18 08:27:05
@@ -461,8 +461,11 @@
 		} else {
 			exit(1);
 		}
-	}], [mercury_cv_pc_access=yes], [true], [true]))
+	}], [mercury_cv_pc_access=eip], [true], [true]))
 	AC_MSG_RESULT($mercury_cv_pc_access)
+	if test $mercury_cv_pc_access != no; then
+		AC_DEFINE_UNQUOTED(PC_ACCESS,$mercury_cv_pc_access)
+	fi
 else
 	AC_MSG_CHECKING(for \`siginfo_t')
 	AC_CACHE_VAL(mercury_cv_siginfo_t,


-- 
       Tyson Dowd           # There isn't any reason why Linux can't be
                            # implemented as an enterprise computing solution.
     trd at cs.mu.oz.au        # Find out what you've been missing while you've
http://www.cs.mu.oz.au/~trd # been rebooting Windows NT. -- InfoWorld, 1998.



More information about the developers mailing list