php-src/scripts
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
..
dev [skip ci] Update tidy.php excludes (#13425) 2024-02-18 18:44:49 +01:00
man1 Make --enable-embed libs respect --libdir 2024-03-23 07:46:31 +01:00
Makefile.frag Move gen_stub.php to build directory and install it so phpize can take care of it, and thus extension can use it as it is already in Makefile 2020-04-03 10:48:20 +02:00
php-config.in Make --enable-embed libs respect --libdir 2024-03-23 07:46:31 +01:00
phpize.in also display PHP version in phpize 2023-09-07 16:34:09 +02:00
phpize.m4 Create modules directory in a centralized location (#13411) 2024-03-21 17:43:49 +01:00