changeset 30099:fbb3614484f9

*** empty log message ***
author Gerd Moellmann <gerd@gnu.org>
date Thu, 06 Jul 2000 16:09:00 +0000
parents 54ef6ace438d
children 020fc2e83129
files ChangeLog configure
diffstat 2 files changed, 10 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Jul 06 15:55:35 2000 +0000
+++ b/ChangeLog	Thu Jul 06 16:09:00 2000 +0000
@@ -1,3 +1,8 @@
+2000-07-06  Gerd Moellmann  <gerd@gnu.org>
+
+	* configure.in (HAVE_XPM): Check for XpmReturnAllocPixels
+	instead of XpmReadFileToPixmap.
+
 2000-07-05  Ken Raeburn  <raeburn@gnu.org>
 
 	* configure.in: Check for <soundcard.h>.  Look for ossaudio
--- a/configure	Thu Jul 06 15:55:35 2000 +0000
+++ b/configure	Thu Jul 06 16:09:00 2000 +0000
@@ -4595,9 +4595,9 @@
 fi
 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
   echo "$ac_t""yes" 1>&6
-  echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6
-echo "configure:4600: checking for XpmReadFileToPixmap in -lXpm" >&5
-ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'`
+  echo $ac_n "checking for XpmReturnAllocPixels in -lXpm""... $ac_c" 1>&6
+echo "configure:4600: checking for XpmReturnAllocPixels in -lXpm" >&5
+ac_lib_var=`echo Xpm'_'XpmReturnAllocPixels | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -4609,10 +4609,10 @@
 /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
-char XpmReadFileToPixmap();
+char XpmReturnAllocPixels();
 
 int main() {
-XpmReadFileToPixmap()
+XpmReturnAllocPixels()
 ; return 0; }
 EOF
 if { (eval echo configure:4619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then