diff options
author | Dan Kalowsky <kalowsky@php.net> | 2000-07-24 14:21:18 +0000 |
---|---|---|
committer | Dan Kalowsky <kalowsky@php.net> | 2000-07-24 14:21:18 +0000 |
commit | ebe6dbbbaea9d95428dd192c3fa07f160fcc670f (patch) | |
tree | 148d14ef2b21cf565231f8772abb22abff3bf3a8 | |
parent | 9f7874ccc579305611c1669da271f384628a4369 (diff) | |
download | php-git-ebe6dbbbaea9d95428dd192c3fa07f160fcc670f.tar.gz |
Patched to work for Solid/Linux libc5 and glibc2 without the need for renaming the lib files, thanks to Kevin Way
-rw-r--r-- | ext/odbc/config.m4 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/odbc/config.m4 b/ext/odbc/config.m4 index e5edee78e0..7b13dda331 100644 --- a/ext/odbc/config.m4 +++ b/ext/odbc/config.m4 @@ -9,7 +9,11 @@ AC_DEFUN(AC_FIND_SOLID_LIBS,[ 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 |