diff options
Diffstat (limited to 'patches/pure-ftpd-1.0.28/configure_ac-realpath-cacheable.diff')
-rw-r--r-- | patches/pure-ftpd-1.0.28/configure_ac-realpath-cacheable.diff | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/patches/pure-ftpd-1.0.28/configure_ac-realpath-cacheable.diff b/patches/pure-ftpd-1.0.28/configure_ac-realpath-cacheable.diff deleted file mode 100644 index b17ec7aa1..000000000 --- a/patches/pure-ftpd-1.0.28/configure_ac-realpath-cacheable.diff +++ /dev/null @@ -1,55 +0,0 @@ -# -# Committed-By: Marc Kleine-Budde <mkl@pengutronix.de>, 2006-11-29 -# -# Error: -# -# check for realpath is not cross aware, make it cacheable and added cross default value -# -# State: -# -# should be commited -# ---- -# configure.ac | 22 +++++++++++++--------- -# 1 file changed, 13 insertions(+), 9 deletions(-) -# -Index: pure-ftpd-1.0.28/configure.ac -=================================================================== ---- pure-ftpd-1.0.28.orig/configure.ac -+++ pure-ftpd-1.0.28/configure.ac -@@ -985,7 +985,9 @@ then - AC_DEFINE(SAFE_GETGROUPS_0,,[Define is getgroups(0, NULL) works on your system]) - fi - --AC_MSG_CHECKING(whether realpath likes unreadable directories) -+AC_CACHE_CHECK([whether realpath likes unreadable directories], -+ [ac_cv_realpath_works_with_unreadable_directories], -+[ - AC_RUN_IFELSE([AC_LANG_SOURCE([[ - #include <stdio.h> - #ifdef STDC_HEADERS -@@ -1038,14 +1040,16 @@ int main(void) - - return 0; - } --]])],[ --AC_MSG_RESULT(yes) --AC_DEFINE(REALPATH_WORKS_WITH_UNREADABLE_DIRECTORIES,, --[Define if realpath() works on unreadable directories]) --],[AC_MSG_RESULT(no) --AC_DEFINE(USE_BUILTIN_REALPATH) --],[AC_MSG_RESULT(no) --AC_DEFINE(USE_BUILTIN_REALPATH)]) -+]])],[ac_cv_realpath_works_with_unreadable_directories=yes -+],[ac_cv_realpath_works_with_unreadable_directories=no -+],[ac_cv_realpath_works_with_unreadable_directories=yes]) -+]) -+if test "x$ac_cv_realpath_works_with_unreadable_directories" = "xyes" -+then -+ AC_DEFINE(REALPATH_WORKS_WITH_UNREADABLE_DIRECTORIES,,[Define if realpath() works on unreadable directories]) -+else -+ AC_DEFINE(USE_BUILTIN_REALPATH) -+fi - - AC_MSG_CHECKING(whether you already have a standard MD5 implementation) - AC_RUN_IFELSE([AC_LANG_SOURCE([[ |