aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--acinclude.m42
-rw-r--r--ares/acinclude.m42
2 files changed, 2 insertions, 2 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 25c584d77..e84b977cc 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -169,7 +169,7 @@ int main (void)
{
#if defined(__hpux) && defined(_XOPEN_SOURCE) && defined(_XOPEN_SOURCE >= 600)
return 0;
-#if defined(__hpux) && defined(_XOPEN_SOURCE) && defined(_XOPEN_SOURCE_EXTENDED)
+#elif defined(__hpux) && defined(_XOPEN_SOURCE_EXTENDED)
return 0;
#else
force compilation error
diff --git a/ares/acinclude.m4 b/ares/acinclude.m4
index 7495faff8..4a74cd095 100644
--- a/ares/acinclude.m4
+++ b/ares/acinclude.m4
@@ -147,7 +147,7 @@ int main (void)
{
#if defined(__hpux) && defined(_XOPEN_SOURCE) && defined(_XOPEN_SOURCE >= 600)
return 0;
-#if defined(__hpux) && defined(_XOPEN_SOURCE) && defined(_XOPEN_SOURCE_EXTENDED)
+#elif defined(__hpux) && defined(_XOPEN_SOURCE_EXTENDED)
return 0;
#else
force compilation error