1
0
mirror of https://github.com/php/php-src.git synced 2026-04-30 03:33:17 +02:00

Create ``libs'' subdirectory as the current user and add /usr/ucblib

always to the libpath, if it exists (#2752).
This commit is contained in:
Sascha Schumann
1999-12-04 19:56:08 +00:00
parent 0d96b8da6b
commit 68aa4997e3
+8
View File
@@ -5,6 +5,12 @@ divert(0)
AC_INIT(main.c)
dnl Because ``make install'' is often performed by the superuser,
dnl we create the libs subdirectory as the user who configures PHP.
dnl Otherwise, the current user will not be able to delete libs
dnl or the contents of libs.
test -d libs || mkdir libs
if test "$with_shared_apache" != "no" && test -n "$with_shared_apache" ; then
AC_MSG_ERROR(--with-shared-apache is not supported. Please refer to the documentation for using APXS)
fi
@@ -299,6 +305,8 @@ fi
AC_CHECK_SIZEOF(long, 8)
AC_CHECK_SIZEOF(int, 4)
test -d /usr/ucblib && AC_ADD_LIBPATH(/usr/ucblib)
dnl Check for members of the stat structure
AC_STRUCT_ST_BLKSIZE
dnl AC_STRUCT_ST_BLOCKS will screw QNX because fileblocks.o does not exists