[m-rev.] for review: add configure.in option
Peter Ross
pro at missioncriticalit.com
Thu Jun 13 18:32:42 AEST 2002
Hi,
===================================================================
Estimated hours taken: 0.25
Branches: main
Allow one to test for a sufficiently recent compiler in configure.in
by testing whether an option exists. This is useful for when the test
cannot be easily done some other way.
compiler/options.m:
Add a new option compiler_sufficiently_recent which is
currently set by the command line option
`--bug-intermod-2002-06-13'.
Index: options.m
===================================================================
RCS file: /home/mercury1/repository/mercury/compiler/options.m,v
retrieving revision 1.374
diff -u -r1.374 options.m
--- options.m 12 Jun 2002 14:26:50 -0000 1.374
+++ options.m 13 Jun 2002 08:25:50 -0000
@@ -563,6 +563,10 @@
; aditi_user
; help
; fullarch
+ ; compiler_sufficiently_recent
+ % This option is used to test that the compiler
+ % is sufficiently recent when no other test
+ % can easily be constructed in configure.in.
.
:- implementation.
@@ -1098,7 +1102,9 @@
aditi - bool(no),
aditi_user - string(""),
help - bool(no),
- fullarch - string("")
+ fullarch - string(""),
+ compiler_sufficiently_recent
+ - bool(no)
]).
% please keep this in alphabetic order
@@ -1675,6 +1681,7 @@
long_option("aditi", aditi).
long_option("aditi-user", aditi_user).
long_option("fullarch", fullarch).
+long_option("bug-intermod-2002-06-13", compiler_sufficiently_recent).
%-----------------------------------------------------------------------------%
--------------------------------------------------------------------------
mercury-reviews mailing list
post: mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the reviews
mailing list