summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure6
-rw-r--r--configure.in4
2 files changed, 7 insertions, 3 deletions
diff --git a/configure b/configure
index a07d519..f97d834 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Revision: 76406 .
+# From configure.in Revision: 76567 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for python 3.1.
#
@@ -22564,6 +22564,7 @@ int main(void) {
return 1;
}
sem_close(a);
+ sem_unlink("/autoconf");
return 0;
}
@@ -22639,7 +22640,7 @@ cat >>conftest.$ac_ext <<_ACEOF
#include <sys/stat.h>
int main(void){
- sem_t *a = sem_open("/autoconf", O_CREAT, S_IRUSR|S_IWUSR, 0);
+ sem_t *a = sem_open("/autocftw", O_CREAT, S_IRUSR|S_IWUSR, 0);
int count;
int res;
if(a==SEM_FAILED){
@@ -22649,6 +22650,7 @@ int main(void){
}
res = sem_getvalue(a, &count);
sem_close(a);
+ sem_unlink("/autocftw");
return res==-1 ? 1 : 0;
}
diff --git a/configure.in b/configure.in
index 09714d5..67f3be6 100644
--- a/configure.in
+++ b/configure.in
@@ -3359,6 +3359,7 @@ int main(void) {
return 1;
}
sem_close(a);
+ sem_unlink("/autoconf");
return 0;
}
], ac_cv_posix_semaphores_enabled=yes,
@@ -3382,7 +3383,7 @@ AC_TRY_RUN([
#include <sys/stat.h>
int main(void){
- sem_t *a = sem_open("/autoconf", O_CREAT, S_IRUSR|S_IWUSR, 0);
+ sem_t *a = sem_open("/autocftw", O_CREAT, S_IRUSR|S_IWUSR, 0);
int count;
int res;
if(a==SEM_FAILED){
@@ -3392,6 +3393,7 @@ int main(void){
}
res = sem_getvalue(a, &count);
sem_close(a);
+ sem_unlink("/autocftw");
return res==-1 ? 1 : 0;
}
]