Have cmake define HAVE_STRERROR and friends to 1 when they're defined at all.
authorJeffrey Yasskin <jyasskin@google.com>
Sat, 4 Jul 2009 16:37:12 +0000 (16:37 +0000)
committerJeffrey Yasskin <jyasskin@google.com>
Sat, 4 Jul 2009 16:37:12 +0000 (16:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74791 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Config/config.h.cmake

index 180e8c523859e806990c8ca5773ddd9d7b22676d..cfe98528d4a6c8e8cb7f0f21e1839eed5b96b921 100644 (file)
 #undef HAVE_STRDUP
 
 /* Define to 1 if you have the `strerror' function. */
-#cmakedefine HAVE_STRERROR
+#cmakedefine HAVE_STRERROR ${HAVE_STRERROR}
 
 /* Define to 1 if you have the `strerror_r' function. */
-#cmakedefine HAVE_STRERROR_R
+#cmakedefine HAVE_STRERROR_R ${HAVE_STRERROR_R}
 
 /* Define to 1 if you have the `strerror_s' function. */
-#cmakedefine HAVE_STRERROR_S
+#cmakedefine HAVE_STRERROR_S ${HAVE_STRERROR_S}
 
 /* Define to 1 if you have the <strings.h> header file. */
 #undef HAVE_STRINGS_H