diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-03-16 07:56:59 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-03-16 07:56:59 +0100 |
commit | 9eaea839d8a1bd95b20c5731625e757ed096d93a (patch) | |
tree | e5617f6b009b743352c7dbcaad97601861ee3558 | |
parent | 70234e5360511b9638956bf72a02e5b14bd39b4e (diff) | |
download | curl-bagder/configure-as_help_string.tar.gz |
fixup the IFELSE commitbagder/configure-as_help_string
-rwxr-xr-x | configure.ac | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac index 17f7835f6..6f8f1c0cc 100755 --- a/configure.ac +++ b/configure.ac @@ -1372,15 +1372,15 @@ if test "$ipv6" = yes; then # include <netinet/in6.h> #endif #endif -]]) -] , - struct sockaddr_in6 s; s.sin6_scope_id = 0; , have_sin6_scope_id=yes) - if test "$have_sin6_scope_id" = yes; then - AC_MSG_RESULT([yes]) - AC_DEFINE(HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID, 1, [Define to 1 if struct sockaddr_in6 has the sin6_scope_id member]) - else +]], [[ + struct sockaddr_in6 s; + s.sin6_scope_id = 0; +]])], [ + AC_MSG_RESULT([yes]) + AC_DEFINE(HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID, 1, [Define to 1 if struct sockaddr_in6 has the sin6_scope_id member]) + ], [ AC_MSG_RESULT([no]) - fi + ]) fi dnl ********************************************************************** |