summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorNed Deily <nad@acm.org>2011-06-28 07:00:28 (GMT)
committerNed Deily <nad@acm.org>2011-06-28 07:00:28 (GMT)
commit3eb67d58d61cec42c09242a7d801072c3e448dcf (patch)
tree821fab0f068bbbd184ac8abec600a9cb3eaf16fc /configure
parent11f00f3b00a0667c41509318f49f0da75ab5c977 (diff)
downloadcpython-3eb67d58d61cec42c09242a7d801072c3e448dcf.zip
cpython-3eb67d58d61cec42c09242a7d801072c3e448dcf.tar.gz
cpython-3eb67d58d61cec42c09242a7d801072c3e448dcf.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 a0c8ca0..8e204f0 100755
--- a/configure
+++ b/configure
@@ -9877,7 +9877,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[])
@@ -9886,7 +9886,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
@@ -9926,7 +9926,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[])
@@ -9935,7 +9935,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