diff configure.ac @ 3316:d45de99b5d79

[xemacs-hg @ 2006-03-30 16:22:26 by james] Fix FOR_MSW detection with the XPM library. See xemacs-patches message <m31wwjkioq.fsf@jerrypc.cs.usu.edu>.
author james
date Thu, 30 Mar 2006 16:22:27 +0000
parents b145b32294ff
children 83ea3a38afe7
line wrap: on
line diff
--- a/configure.ac	Wed Mar 29 21:51:10 2006 +0000
+++ b/configure.ac	Thu Mar 30 16:22:27 2006 +0000
@@ -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=