[XForms] version 1.0.90 regarding forms.h
Angus Leeming
angus.leeming at btopenworld.com
Tue Jun 1 12:41:47 EDT 2004
An embedded and charset-unspecified text was scrubbed...
Name: warning1.txt
Url: attachments/20040601/de8571d7/attachment-0010.txt
-------------- next part --------------
On Tuesday 01 June 2004 5:13 pm, Gayle C Roth wrote:
> To subscribers of the xforms list
>
>
> Hi.
>
> I have a question. While trying to port the forms library (version
> 1.0.90) to OpenVMS, I discovered that forms.h is no longer being
> distributed. I subsequently read the changelog file and found out
> that it's now automatically generated. Unfortunately for me, the
> mechanism for doing this is tucked into Makefile.am, which is
> useless on an OpenVMS system without GNV. Does anyone know of some
> way to generate forms.h on a non-UNIX system?
>
> Any help is appreciated. Thanks.
Hi, Gayle.
forms.h is generated from AAA.h and the files listed in the
noinst_HEADERS target of Makefile.am (all in the lib/include
directory.) The code doing this work is found in the stamp-forms
target of Makefile.am.
AAA.h is generated at configure-time from AAA.h.in. That is, autoconf
relplaces the '@' delimited variables in AAA.h.in with the values
specified in $top/configure.ac:
[angus at boris devel]$ diff -u lib/include/AAA.h.in
build/lib/include/AAA.h
--- lib/include/AAA.h.in 2003-09-09 01:28:25.000000000 +0100
+++ build/lib/include/AAA.h 2004-05-28 00:08:46.000000000 +0100
@@ -54,9 +54,9 @@
#ifndef FL_FORMS_H
#define FL_FORMS_H
-#define FL_VERSION @FL_VERSION@
-#define FL_REVISION @FL_REVISION@
-#define FL_FIXLEVEL @FL_FIXLEVEL@
+#define FL_VERSION 1
+#define FL_REVISION 0
+#define FL_FIXLEVEL 90
#define FL_INCLUDE_VERSION (FL_VERSION * 1000 + FL_REVISION)
#include <stdio.h>
If you want to generate forms.h yourself, then a little shell script
should do the job. Running the attached gen_forms_h.sh from the
lib/include directory as
sh gen_forms_h.sh
works for me...
Regards,
Angus
More information about the Xforms
mailing list