diff options
author | Ned Deily <nad@acm.org> | 2011-06-28 06:41:53 (GMT) |
---|---|---|
committer | Ned Deily <nad@acm.org> | 2011-06-28 06:41:53 (GMT) |
commit | 43e1054e38ebd3de91b51531cda8e2fd580c0207 (patch) | |
tree | 36d713b9f71d61c3bb5009f4ed907af08db86dc0 /configure | |
parent | 64e59959f21711bc3db36230eccfaa485faf34f9 (diff) | |
download | cpython-43e1054e38ebd3de91b51531cda8e2fd580c0207.zip cpython-43e1054e38ebd3de91b51531cda8e2fd580c0207.tar.gz cpython-43e1054e38ebd3de91b51531cda8e2fd580c0207.tar.bz2 |
Issue #8746: Correct faulty configure checks so that os.chflags() and
os.lchflags() are once again built on systems that support these
functions (*BSD and OS X). Also add new stat file flags for OS X
(UF_HIDDEN and UF_COMPRESSED). Also add additional tests for
os.chflags() and os.lchflags(). (Tests by Garrett Cooper)
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -10073,7 +10073,7 @@ else else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -[ + #include <sys/stat.h> #include <unistd.h> int main(int argc, char*argv[]) @@ -10082,7 +10082,7 @@ int main(int argc, char*argv[]) return 1; return 0; } -] + _ACEOF if ac_fn_c_try_run "$LINENO"; then : ac_cv_have_chflags=yes @@ -10122,7 +10122,7 @@ else else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -[ + #include <sys/stat.h> #include <unistd.h> int main(int argc, char*argv[]) @@ -10131,7 +10131,7 @@ int main(int argc, char*argv[]) return 1; return 0; } -] + _ACEOF if ac_fn_c_try_run "$LINENO"; then : ac_cv_have_lchflags=yes |