summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorJoe Orton <jorton@php.net>2004-11-03 14:07:09 (GMT)
committerJoe Orton <jorton@php.net>2004-11-03 14:07:09 (GMT)
commit557cda47a06bd879835d864c1874671b35f82093 (patch)
tree9c05984f63da02fe77a4cae08b02fe3dcc4f91b0 /configure.in
parentee39ec7d0a28bf50e37635d9ee6fc79ba211d7bf (diff)
downloadphp-557cda47a06bd879835d864c1874671b35f82093.tar.gz
Core changes to support multi-ABI platforms with libraries in
/usr/lib64 rather than /usr/lib. * configure.in: Add --with-libdir flag; define PHP_LIBDIR. * acinclude.m4 (PHP_REMOVE_USR_LIB, PHP_RUNPATH_SWITCH, PHP_ADD_LIBPATH): Check for /usr/$PHP_LIBDIR rather than /usr/lib. (PHP_SETUP_OPENSSL, PHP_SETUP_ICONV): Use /path/to/$PHP_LIBDIR in place of /path/to/lib.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index ba541bc..f472a44 100644
--- a/configure.in
+++ b/configure.in
@@ -1,4 +1,4 @@
-dnl ## $Id$ -*- sh -*-
+dnl ## $Id$ -*- autoconf -*-
dnl ## Process this file with autoconf to produce a configure script.
divert(1)
@@ -124,6 +124,11 @@ AC_AIX
dnl AC_PROG_CXX
dnl AC_PROG_CXXCPP
+dnl Support systems with system libraries in e.g. /usr/lib64
+AC_ARG_WITH(libdir,
+[ --with-libdir=NAME Look for libraries in .../NAME rather than .../lib],
+[PHP_LIBDIR=$withval], [PHP_LIBDIR=lib])
+
dnl check for -R, etc. switch
PHP_RUNPATH_SWITCH