cvs: php4 /ext/odbc config.m4
| From: | Dan Kalowsky | Date: | Mon, 24 Jul 2000 14:21:19 +0000 |
| Subject: | cvs: php4 /ext/odbc config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-894@lists.php.net to get a copy of this message | ||
kalowsky Mon Jul 24 07:21:19 2000 EDT
Modified files:
/php4/ext/odbc config.m4
Log:
Patched to work for Solid/Linux libc5 and glibc2 without the need for renaming the lib files,
thanks to Kevin Way
Index: php4/ext/odbc/config.m4
diff -u php4/ext/odbc/config.m4:1.20 php4/ext/odbc/config.m4:1.21
--- php4/ext/odbc/config.m4:1.20 Thu Jul 6 01:38:12 2000
+++ php4/ext/odbc/config.m4 Mon Jul 24 07:21:18 2000
@@ -9,7 +9,11 @@
AIX) ac_solid_os=a3x;; # a4x for AIX4
HP-UX) ac_solid_os=h9x;; # h1x for hpux11, h0x for hpux10
IRIX) ac_solid_os=irx;;
- Linux) ac_solid_os=lux;; # this is only valid for libc5 systems, use 'l2x' for glibc2
systems
+ Linux) if ldd -v /bin/sh | grep GLIHC > /dev/null; then
+ ac_solid_os=l2x
+ else
+ ac_solid_os=lux
+ fi;;
SunOS) ac_solid_os=ssx;; # should we deal with SunOS 4?
FreeBSD) if [$ac_solid_uname_r < "3."]; then
ac_solid_os=fbx