Commit graph

14 commits

Author SHA1 Message Date
Adam Saponara
0c07b0d94f
Make --enable-embed libs respect --libdir
And make locatable by via `php-config`. Prior to this, `libphp.*`
would always install to `$prefix/lib`. After this, they will install
to `$libdir`.

In practice, this will make it so that programs embedding libphp can
use `php-config` to determine appropriate compile flags without
guessing.

In `configure.ac`, it seems `$libdir` is mutated in some instances.
Ideally the mutated version would be stored in `$phplibdir` or
something. Instead of tracking down all uses of that variable, I
introduced another variable `$orig_libdir` that holds the original
value passed to the configure script.

This is a no-op for users unless they are compiling with `--libdir`
set to something other than `$prefix/lib`, the default.

Closes GH-12389
2024-03-23 07:46:31 +01:00
Joe Watkins
2d5f277a2d
add ini config details to php-config 2019-06-29 05:26:21 +02:00
Rasmus Lerdorf
438cc7f201 Drop support for autoconf < 2.60 in trunk and the
new PHP_5_4 branch. autoconf >= 2.60 should finally
be working now.
2011-05-15 06:09:21 +00:00
Hannes Magnusson
988b8a9cbe Add an --man-dir to php-config too 2011-04-18 11:13:37 +00:00
Jani Taskinen
eb10507f1e - Fix problem with non-bash compliant shells 2007-08-24 11:43:42 +00:00
foobar
6e25d4f4b4 oops 2007-06-29 11:35:35 +00:00
foobar
68724e2489 - Improved php-config:
. Added --configure-options option to get configure line for current build
  . Added --php-sapis option which shows SAPIs available
  . Fixed problem with missing php binary when CLI is not build but CGI is.
- Fixed broken sed issues in phpize script
2007-06-29 01:09:54 +00:00
foobar
f0fe4e05b9 - Added PHP_VERSION_ID == PHP_VERSION as integer value. 2006-07-27 08:50:41 +00:00
foobar
37d4fa7b4b - Fix build with ext/date/lib with shared extensions 2006-07-27 01:19:42 +00:00
foobar
bcade7ced4 - Fixed header installing under phpize builds 2005-11-21 23:07:36 +00:00
Wez Furlong
07e355fc9c mf 5.1 2005-08-18 20:18:25 +00:00
foobar
ee5fd96e37 - Made it possible to do "make test" for phpized extensions 2005-08-08 16:06:49 +00:00
foobar
5d190e6b5e - Remove these relics from era when TSRM was optional. 2005-03-16 06:36:44 +00:00
foobar
20c43285f7 - Fixed bug: #13561 (--without-pear prevents install of phpize, php-config) 2003-01-28 10:59:12 +00:00
Renamed from pear/scripts/php-config.in (Browse further)