[XForms] xforms configuration

Angus Leeming angus.leeming at btopenworld.com
Wed Sep 3 12:19:56 EDT 2003


Jean-Marc,

Laurence Marks has been trying to compile xforms cvs and has made some 
changes, attached. Below is his summary of what he's done, but I think it can 
be simply summarised as

Why do we ship these files in the config directory:
config.guess
config.sub
depcomp
libtool.m4
ltmain.sh

They are all parts of the autoconf/libtool code. Why not allow the user to use 
the versions that come with their versions of the autotools?

Angus

Laurence's 'ChangeLog' follows:

I did quite a few additional
hacks on your configure, testing it on HP,SGI,SUN,cgwin
with both native & gcc compilers. The major changes
are (I think):

1) Removed the "on", since it does not seem to be needed.
2) Removed AC_FUNC_MALLOC since it is broken on many systems.
3) Added in acinclude.m4
ac_save_CFLAGS=$CFLAGS
At least in the version I was using it was not being set.
4) Removed the libtool stuff that you had in acinclude.m4,
and let automake/autoconf/libtool handle all this. Your
version did not work with automake-1.7, autoconf-2.57, libtool-1.5
5) Added (slight overkill, but AC_PATH_XTRA does not work
the way it claims to!)
AC_SUBST(X_LIBS)
AC_SUBST(X_PRE_LIBS)
AC_SUBST(X_CFLAGS)
LIBS="$X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
CPPFLAGS="$X_CFLAGS $CPPFLAGS"
6) Added a few files needed by make dist (e.g. README, I
can't remember them all).

7) I also did some stuff for our own purposes, primarily
removed pixmap.c so no extra libraries are needed and
removed the checks for them, turned off sharing by default,
restricted the build/dist to the library and removed some
of your informational output at the end of the build. FYI,
it works fine, and is setup so our code will compile forms
if it does not find a working copy already existing on the
computer.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: marks.diff.gz
Type: application/x-gzip
Size: 49844 bytes
Desc: not available
Url : attachments/20030903/84e1704e/attachment-0009.gz 


More information about the Xforms mailing list