mirror of
https://github.com/php/php-src.git
synced 2024-11-23 09:54:15 +08:00
- Make $sbindir be usable in C code as well (like $bindir and co.)
This commit is contained in:
parent
def4e7c0e6
commit
4e10081f8f
@ -1157,6 +1157,7 @@ EXPANDED_PEAR_INSTALLDIR=`eval echo $PEAR_INSTALLDIR`
|
||||
EXPANDED_EXTENSION_DIR=`eval echo $EXTENSION_DIR`
|
||||
EXPANDED_LOCALSTATEDIR=`eval echo $localstatedir`
|
||||
EXPANDED_BINDIR=`eval echo $bindir`
|
||||
EXPANDED_SBINDIR=`eval echo $sbindir`
|
||||
EXPANDED_LIBDIR=$libdir
|
||||
EXPANDED_SYSCONFDIR=`eval echo $sysconfdir`
|
||||
EXPANDED_DATADIR=$datadir
|
||||
@ -1172,6 +1173,7 @@ AC_SUBST(INCLUDE_PATH)
|
||||
AC_SUBST(EXPANDED_PEAR_INSTALLDIR)
|
||||
AC_SUBST(EXPANDED_EXTENSION_DIR)
|
||||
AC_SUBST(EXPANDED_BINDIR)
|
||||
AC_SUBST(EXPANDED_SBINDIR)
|
||||
AC_SUBST(EXPANDED_LIBDIR)
|
||||
AC_SUBST(EXPANDED_DATADIR)
|
||||
AC_SUBST(EXPANDED_SYSCONFDIR)
|
||||
|
@ -80,6 +80,7 @@
|
||||
#define PHP_EXTENSION_DIR "@EXPANDED_EXTENSION_DIR@"
|
||||
#define PHP_PREFIX "@prefix@"
|
||||
#define PHP_BINDIR "@EXPANDED_BINDIR@"
|
||||
#define PHP_SBINDIR "@EXPANDED_SBINDIR@"
|
||||
#define PHP_LIBDIR "@EXPANDED_LIBDIR@"
|
||||
#define PHP_DATADIR "@EXPANDED_DATADIR@"
|
||||
#define PHP_SYSCONFDIR "@EXPANDED_SYSCONFDIR@"
|
||||
|
Loading…
Reference in New Issue
Block a user