when compiling python bindings, the included "pyconfig.h" also defines
some of the macros which are duplicated with our versions in acconfig.h.
so do not define them if they are already defined.
Signed-off-by: Kefu Chai <kchai@redhat.com>
#cmakedefine HAVE_SYS_VFS_H 1
/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
+#ifndef HAVE_SYS_WAIT_H
#cmakedefine HAVE_SYS_WAIT_H
+#endif
/* Define to 1 if you have the <sys/xattr.h> header file. */
#cmakedefine HAVE_SYS_XATTR_H
+#ifndef HAVE_UNISTD_H
/* Define to 1 if you have the <unistd.h> header file. */
#cmakedefine HAVE_UNISTD_H
+#endif
+#ifndef HAVE_UTIME_H
/* Define to 1 if you have the <utime.h> header file. */
#cmakedefine HAVE_UTIME_H
+#endif
/* Define if you have the <execinfo.h> header file. */
#cmakedefine HAVE_EXECINFO_H