PHP_ADD_LIBPATH problem

From: Date: Mon, 07 Oct 2002 22:23:52 +0000
Subject: PHP_ADD_LIBPATH problem
Groups: php.dev 
Request: Send a blank email to php-dev+get-89197@lists.php.net to get a copy of this message
The PHP_ADD_LIBPATH configure macro starts like this: AC_DEFUN(PHP_ADD_LIBPATH,[ if test "$1" != "/usr/lib"; then And we also have a PHP_REMOVE_USR_LIB macro which is called on the generated LDPATH string, so even if I do manage to sneak in my /usr/lib directory somewhere it is removed. This is causing me problems in an environment where /usr/lib is not the default primary link directory and I need to explicitly add it to get stuff to compile right. Why is this check here? Just to pretty up the link line? Would it hurt to leave this check off so /usr/lib can be forced on weird systems? -Rasmus

« previous php.dev (#89197) next »