Patch #532729: check for sem_init in -lrt.
diff --git a/pyconfig.h.in b/pyconfig.h.in
index 9d9386f..ca71726 100644
--- a/pyconfig.h.in
+++ b/pyconfig.h.in
@@ -106,9 +106,7 @@
 #undef __EXTENSIONS__
 
 /* This must be set to 64 on some systems to enable large file support */
-#ifndef _FILE_OFFSET_BITS
 #undef _FILE_OFFSET_BITS
-#endif
 
 /* Define if getpgrp() must be called as getpgrp(0). */
 #undef GETPGRP_HAVE_ARG
@@ -761,6 +759,9 @@
 /* Define if you have the ieee library (-lieee).  */
 #undef HAVE_LIBIEEE
 
+/* Define if you have the rt library (-lrt).  */
+#undef HAVE_LIBRT
+
 #ifdef __CYGWIN__
 #ifdef USE_DL_IMPORT
 #define DL_IMPORT(RTYPE) __declspec(dllimport) RTYPE