From 68aa4997e3cef19c253ad8d486357f9295df3c19 Mon Sep 17 00:00:00 2001 From: Sascha Schumann <sas@php.net> Date: Sat, 4 Dec 1999 19:56:08 +0000 Subject: [PATCH] Create ``libs'' subdirectory as the current user and add /usr/ucblib always to the libpath, if it exists (#2752). --- configure.in | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configure.in b/configure.in index 05ae5c7408..6b9d7db1b0 100644 --- a/configure.in +++ b/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 -- 2.40.0