summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorNed Deily <nad@acm.org>2011-06-28 06:41:53 (GMT)
committerNed Deily <nad@acm.org>2011-06-28 06:41:53 (GMT)
commit43e1054e38ebd3de91b51531cda8e2fd580c0207 (patch)
tree36d713b9f71d61c3bb5009f4ed907af08db86dc0 /configure
parent64e59959f21711bc3db36230eccfaa485faf34f9 (diff)
downloadcpython-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-xconfigure8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure b/configure
index 29ce00c..4a60b10 100755
--- a/configure
+++ b/configure
@@ -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