-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
1,327 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
xattr php extension | ||
Marcin Gibula |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
dnl $Id: config.m4 166336 2004-08-13 20:46:29Z mg $ | ||
dnl config.m4 for extension xattr | ||
|
||
PHP_ARG_WITH(xattr, for xattr support, | ||
Make sure that the comment is aligned: | ||
[ --with-xattr Include xattr support]) | ||
|
||
if test "$PHP_XATTR" != "no"; then | ||
SEARCH_PATH="/usr/local /usr" | ||
SEARCH_FOR="/include/attr/attributes.h" | ||
if test -r $PHP_XATTR/$SEARCH_FOR; then # path given as parameter | ||
XATTR_DIR=$PHP_XATTR | ||
else # search default path list | ||
AC_MSG_CHECKING([for xattr files in default path]) | ||
for i in $SEARCH_PATH ; do | ||
if test -r $i/$SEARCH_FOR; then | ||
XATTR_DIR=$i | ||
AC_MSG_RESULT(found in $i) | ||
fi | ||
done | ||
fi | ||
|
||
PHP_ADD_INCLUDE($XATTR_DIR/include) | ||
|
||
LIBNAME=attr # you may want to change this | ||
LIBSYMBOL=attr_get # you most likely want to change this | ||
|
||
PHP_SUBST(XATTR_SHARED_LIBADD) | ||
|
||
PHP_NEW_EXTENSION(xattr, xattr.c isdk_xattr.c, $ext_shared) | ||
fi |
Oops, something went wrong.