APPROVE COMMIT 21.5
Thanks Vin and Robert for identifying the problem. I can reproduce it,
and this patch fixes it for me.
ChangeLog addition:
2006-03-30 Jerry James <james(a)xemacs.org>
* configure.ac: Fix FOR_MSW XPM test, broken by previous update.
xemacs-21.5 source patch:
Diff command: cvs -q diff -uN
Files affected: configure.ac
Index: configure.ac
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/configure.ac,v
retrieving revision 1.38
diff -d -u -r1.38 configure.ac
--- configure.ac 2006/03/28 15:55:52 1.38
+++ configure.ac 2006/03/30 16:17:45
@@ -4014,7 +4014,7 @@
XE_PREPEND("$incpath_xpm", XE_CFLAGS)
AC_MSG_CHECKING([for "FOR_MSW" xpm])
xe_check_libs=-lXpm
- AC_LINK_IFELSE([AC_LANG_SOURCE([XpmCreatePixmapFromData()])],
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([],[XpmCreatePixmapFromData();])],
[xpm_for_msw=no],
[xpm_for_msw=yes])
xe_check_libs=
--
Jerry James, Assistant Professor james(a)xemacs.org
Computer Science Department
http://www.cs.usu.edu/~jerry/
Utah State University