summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-05-03 19:41:12 +0000
committerYang Tse <yangsita@gmail.com>2009-05-03 19:41:12 +0000
commit4dbc7850bd9881c4f265cc32ca9d392ccc11c791 (patch)
tree6015bed4434884a87805f4843843fdaad390dc80
parent8119379d4fca2d1d339ff517ea7221fbbdfa6925 (diff)
downloadcurl-4dbc7850bd9881c4f265cc32ca9d392ccc11c791.tar.gz
HP-UX's X/Open network library requirement check follow-up
-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