diff options
author | foobar <sniper@php.net> | 2005-03-26 03:09:09 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2005-03-26 03:09:09 +0000 |
commit | 24eb2bfabc0b2ffa6a47a32250d869a6c62271c4 (patch) | |
tree | 6686de1cc274ea6f11db26570624aed6ebffb5f4 /configure.in | |
parent | da53094765bd38510d4f95b3c237e8a1be7314f1 (diff) | |
download | php-git-24eb2bfabc0b2ffa6a47a32250d869a6c62271c4.tar.gz |
- Prevent compiling shared extensions when --enable-versioning is used
- Fix -export-symbols in Linux in the bundled libtool.m4:
o http://lists.gnu.org/archive/html/libtool/2002-07/msg00029.html
# more about this:
# http://marc.theaimsgroup.com/?l=php-dev&m=106629582813118&w=2
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 6007a3ab65..e1f19ade2a 100644 --- a/configure.in +++ b/configure.in @@ -808,6 +808,9 @@ dnl Extensions post-config dnl ------------------------------------------------------------------------- if test "$PHP_VERSIONING" = "yes"; then + if test -n "$PHP_MODULES"; then + AC_MSG_ERROR([--enable-versioning cannot be used with shared modules]) + fi test -z "$PHP_SYM_FILE" && PHP_SYM_FILE="$abs_srcdir/sapi/$PHP_SAPI/php.sym" if test -f "$PHP_SYM_FILE"; then EXTRA_LDFLAGS="-export-symbols $PHP_SYM_FILE $EXTRA_LDFLAGS" |