Stephan Witt wrote:
> Angus Leeming wrote:
>> Jean-Marc Lasgouttes wrote:
>> 
>>>Angus> Do you also want the stuff to address André's query? The test
>>>Angus> would become:
>>>
>>>Why not. It scares me, but if you say it's portable, go ahead. But the
>>>poor man's version is good enough for me.
>> 
>> 
>> Heck, now you've scared me! Why don't we give it to Stephan to try out
>> on his Solaris machine? Do you want me to commit it to cvs or do you
>> want Stephan to have a go first?
> 
> That's no problem... I can do test a patch for you.

Ok, here is lib/configure.m4 Stephan. Just in case you don't have m4
installed, I attach also the configure that is generated from this .m4
file.

Before you test it out, could you modify your existing configure to print
out some data. See the lines in the attachment:
  cp textclass.lst angus_textclass.lst
  cp chklayouts.tex angus_chklayouts.tex

Edit your existing configure script to output, say, stephan_textclass.lst
and stephan_chklayouts.tex.
$ ./configure
$ ./configure --without-latex-config

Thereafter, build and run the new configure as:
$ m4 configure.m4 > configure
$ ./configure
$ ./configure --without-latex-config

That should generate angus_chklayouts.tex and angus_textclass.lst

Comparing the new with the old, I find that there are (expected)
differences. Do you see something similar?

$ diff -u angus_orig_chklayouts.tex angus_chklayouts.tex
--- angus_orig_chklayouts.tex   2005-04-22 15:25:44.749542128 +0000
+++ angus_chklayouts.tex        2005-04-22 15:27:45.594170952 +0000
@@ -1,7 +1,6 @@
 \TestDocClass{IEEEtran}{\DeclareLaTeXClass{article (IEEEtran)}}
 \TestDocClass{aa}{\DeclareLaTeXClass[aa]{article (A&A)}}
 \TestDocClass{aapaper}{\DeclareLaTeXClass[aa]{article (A&A V4)}}
-\TestDocClass{aapaper}{\DeclareLaTeXClass[aa-old]{article (A&A V4)}}
 \TestDocClass{aastex}{\DeclareLaTeXClass[aastex]{article (AASTeX)}}
 \TestDocClass{agums}{\DeclareLaTeXClass[aguplus,agums.sty]{article (AGU++)
manuscript}}
 \TestDocClass{amsart-plain}{\DeclareLaTeXClass[amsart]{article (AMS,
unnumbered)}}
@@ -70,7 +69,6 @@
 \TestDocClass{IEEEtran}{\DeclareLaTeXClass{article (IEEEtran)}}
 \TestDocClass{aa}{\DeclareLaTeXClass[aa]{article (A&A)}}
 \TestDocClass{aapaper}{\DeclareLaTeXClass[aa]{article (A&A V4)}}
-\TestDocClass{aapaper}{\DeclareLaTeXClass[aa-old]{article (A&A V4)}}
 \TestDocClass{aastex}{\DeclareLaTeXClass[aastex]{article (AASTeX)}}
 \TestDocClass{agums}{\DeclareLaTeXClass[aguplus,agums.sty]{article (AGU++)
manuscript}}
 \TestDocClass{amsart-plain}{\DeclareLaTeXClass[amsart]{article (AMS,
unnumbered

$ diff -u angus_orig_textclass.lst angus_textclass.lst
--- angus_orig_textclass.lst    2005-04-22 15:26:23.144705176 +0000
+++ angus_textclass.lst 2005-04-22 15:27:53.605952976 +0000
@@ -6,7 +6,6 @@
 "IEEEtran" "IEEEtran" "article (IEEEtran)" "false"
 "aa" "aa" "article (A&A)" "false"
 "aapaper" "aa" "article (A&A V4)" "false"
-"aapaper" "aa-old" "article (A&A V4)" "false"
 "aastex" "aastex" "article (AASTeX)" "false"
 "agums" "aguplus" "article (AGU++) manuscript" "false"
 "amsart-plain" "amsart" "article (AMS, unnumbered)" "false"

-- 
Angus

Attachment: configure.gz
Description: GNU Zip compressed data

Attachment: configure.m4.gz
Description: GNU Zip compressed data

Reply via email to