summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorNed Deily <nad@acm.org>2011-06-28 00:13:01 -0700
committerNed Deily <nad@acm.org>2011-06-28 00:13:01 -0700
commit73e764ed2b42dbeb701fb61287db13f5d331fe3e (patch)
tree4ce2b7093f99caf2f1ce572425c4ec56f1da4411 /configure
parentf43765c210b47c6487776df207dba3308dd8fbb3 (diff)
parent0067017e59e498cb34ed4e75164cea1870e8a0c4 (diff)
downloadcpython-73e764ed2b42dbeb701fb61287db13f5d331fe3e.tar.gz
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 4234a04022..66be2314bb 100755
--- a/configure
+++ b/configure
@@ -9912,7 +9912,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[])
@@ -9921,7 +9921,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
@@ -9961,7 +9961,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[])
@@ -9970,7 +9970,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