PHP 4.0 Bug #5460: Error checking for XpmFreeXpmImage
| From: | pour at mieterra dot com | Date: | Sat, 08 Jul 2000 15:03:48 +0000 |
| Subject: | PHP 4.0 Bug #5460: Error checking for XpmFreeXpmImage | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-23814@lists.php.net to get a copy of this message | ||
From: pour@mieterra.com
Operating system: Linux
PHP version: 4.0.1pl2
PHP Bug Type: Compile Warning
Bug description: Error checking for XpmFreeXpmImage
The configure script has a bug. When checking for XpmFreeXpmImage (configure script line 14204),
the X11 library is not included, causing the check to fail. The patch follows:
--- configure.orig Fri Jul 7 12:12:31 2000
+++ configure Fri Jul 7 12:12:44 2000
@@ -14201,7 +14201,7 @@
withval="/usr/X11R6"
fi
old_LIBS=$LIBS
- LIBS="$LIBS -L$withval/lib"
+ LIBS="$LIBS -lX11 -L$withval/lib"
echo $ac_n "checking for XpmFreeXpmImage in -lXpm""... $ac_c"
1>&6
echo "configure:14207: checking for XpmFreeXpmImage in -lXpm" >&5
ac_lib_var=
echo Xpm'_'XpmFreeXpmImage | sed 'y%./+-%__p_%'