Browse Source

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

always to the libpath, if it exists (#2752).
experimetnal/RETURN_REF_PATCH
Sascha Schumann 27 years ago
parent
commit
68aa4997e3
  1. 8
      configure.in

8
configure.in

@ -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

Loading…
Cancel
Save