comparison 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
comparison
equal deleted inserted replaced
3315:90856eac4a56 3316:d45de99b5d79
4012 XE_PREPEND(-lXpm, libs_x) 4012 XE_PREPEND(-lXpm, libs_x)
4013 XE_PREPEND("$incpath_xpm", CFLAGS) 4013 XE_PREPEND("$incpath_xpm", CFLAGS)
4014 XE_PREPEND("$incpath_xpm", XE_CFLAGS) 4014 XE_PREPEND("$incpath_xpm", XE_CFLAGS)
4015 AC_MSG_CHECKING([for "FOR_MSW" xpm]) 4015 AC_MSG_CHECKING([for "FOR_MSW" xpm])
4016 xe_check_libs=-lXpm 4016 xe_check_libs=-lXpm
4017 AC_LINK_IFELSE([AC_LANG_SOURCE([XpmCreatePixmapFromData()])], 4017 AC_LINK_IFELSE([AC_LANG_PROGRAM([],[XpmCreatePixmapFromData();])],
4018 [xpm_for_msw=no], 4018 [xpm_for_msw=no],
4019 [xpm_for_msw=yes]) 4019 [xpm_for_msw=yes])
4020 xe_check_libs= 4020 xe_check_libs=
4021 AC_MSG_RESULT($xpm_for_msw) 4021 AC_MSG_RESULT($xpm_for_msw)
4022 if test "$xpm_for_msw" = "yes"; then 4022 if test "$xpm_for_msw" = "yes"; then