summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorNed Deily <nad@acm.org>2011-06-28 07:13:01 (GMT)
committerNed Deily <nad@acm.org>2011-06-28 07:13:01 (GMT)
commit8b56c4b1b82898ffd7e6337c39068c93e21e8d31 (patch)
treef70a99badeaf4276217cd141841e5d0509d70183 /configure
parentf6837aa1714ff331346522c6698573d9d32aa43e (diff)
parent3eb67d58d61cec42c09242a7d801072c3e448dcf (diff)
downloadcpython-8b56c4b1b82898ffd7e6337c39068c93e21e8d31.zip
cpython-8b56c4b1b82898ffd7e6337c39068c93e21e8d31.tar.gz
cpython-8b56c4b1b82898ffd7e6337c39068c93e21e8d31.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 4234a04..66be231 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