[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 20/21: configure: cosmetics: deleted extra spaces
From: |
gnunet |
Subject: |
[libmicrohttpd] 20/21: configure: cosmetics: deleted extra spaces |
Date: |
Tue, 14 Mar 2023 19:37:05 +0100 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 779bbfb525862bbe3a966a8bcfbfa9c560a2c270
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Tue Mar 14 17:20:33 2023 +0300
configure: cosmetics: deleted extra spaces
---
configure.ac | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/configure.ac b/configure.ac
index 78a6269c..6037e061 100644
--- a/configure.ac
+++ b/configure.ac
@@ -102,7 +102,7 @@ AS_VAR_IF([enable_build_type], ["debugger"],
[ # Build only static version unless something else is specified by the user
AS_IF([test -z "${enable_static}" || test "x${enable_static}" = "xyes"],
[
- AS_IF([test -z "${enable_shared}"],
+ AS_IF([test -z "${enable_shared}"],
[
enable_shared="no"
enable_static="yes"
@@ -191,7 +191,7 @@ AS_CASE([${enable_compact_code}], [auto],
],[],[/* no includes */]
)
- AS_VAR_IF([enable_compact_code], ["auto"],
+ AS_VAR_IF([enable_compact_code], ["auto"],
[
# No preference by preprocessor macros
AC_CACHE_CHECK([whether compiler is configured to optimize for size],
@@ -220,7 +220,7 @@ choke me now
]
)
- AS_VAR_IF([enable_compact_code], ["auto"],
+ AS_VAR_IF([enable_compact_code], ["auto"],
[
# No preference by preprocessor macros and compiler flags
AS_CASE([${enable_build_type}],[*-compact],
@@ -233,7 +233,7 @@ choke me now
]
)
- AS_VAR_IF([enable_compact_code], ["auto"],
+ AS_VAR_IF([enable_compact_code], ["auto"],
[
# No preference
enable_compact_code="no"
@@ -560,12 +560,12 @@ static int cmp_func(const void *p1, const void *p2)
int main(void)
{
- int ret = 0;
+ int ret = 0;
void *root_ptr = NULL;
int element1 = 1;
int **element_ptr_ptr1;
int **element_ptr_ptr2;
-
+
element_ptr_ptr1 =
(int **) tsearch ((void*) &element1, &root_ptr, &cmp_func);
if (NULL == element_ptr_ptr1)
@@ -583,7 +583,7 @@ int main(void)
fprintf (stderr, "Root pointer has not been set by tsearch().\n");
return ++ret;
}
-
+
element_ptr_ptr2 =
(int **) tsearch ((void*) &element1, &root_ptr, &cmp_func);
if (NULL == element_ptr_ptr2)
@@ -601,7 +601,7 @@ int main(void)
fprintf (stderr, "Wrong element has been returned when tsearch() called
for the second time.\n");
++ret;
}
-
+
element_ptr_ptr2 =
(int **) tfind ((void*) &element1, &root_ptr, &cmp_func);
if (NULL == element_ptr_ptr2)
@@ -619,7 +619,7 @@ int main(void)
fprintf (stderr, "Wrong element has been returned when tsearch() called
for the second time.\n");
++ret;
}
-
+
element_ptr_ptr1 =
(int **) tdelete ((void*) &element1, &root_ptr, &cmp_func);
if (NULL == element_ptr_ptr1)
@@ -632,7 +632,7 @@ int main(void)
fprintf (stderr, "Root pointer has not been set to NULL by tdelete().\n");
++ret;
}
-
+
return ret;
}
]]
@@ -1600,7 +1600,7 @@ MHD_FIND_LIB([socket],
#if defined(_WIN32) && ! defined(__CYGWIN__)
#include <winsock2.h>
#endif
- ]],
+ ]],
[(void)socket(0, 0, 0);],
[socket ws2_32 xnet],
[
@@ -1789,12 +1789,12 @@ AS_IF([test "$enable_poll" != "no"],
]],
[[
struct pollfd fds[2];
-
+
fds[0].fd = 0;
fds[0].events = POLLIN;
if (0 > poll(fds, 1, 0))
return 2;
- ]],
+ ]],
[have_poll='yes'], [have_poll='no']
)
], [], [AC_INCLUDES_DEFAULT]
@@ -2436,7 +2436,7 @@ MHD_CHECK_FUNC([snprintf],
]],
[[
char buf[2];
-
+
i][f (1 != snprintf(buf, 2, "a"))
return 3;
/* Do not use the next check to avoid compiler warning */
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] 13/21: mhd_find_lib.m4: added new autoconf macro, (continued)
- [libmicrohttpd] 13/21: mhd_find_lib.m4: added new autoconf macro, gnunet, 2023/03/14
- [libmicrohttpd] 12/21: libcurl.m4: patched to fix compiler warning, gnunet, 2023/03/14
- [libmicrohttpd] 18/21: configure: cosmetics, gnunet, 2023/03/14
- [libmicrohttpd] 14/21: configure: fixed checking for system libs, fixed .pc file, gnunet, 2023/03/14
- [libmicrohttpd] 15/21: configure: removed check for unused lib and function, gnunet, 2023/03/14
- [libmicrohttpd] 02/21: tsearch.{h,c}: updated to the latest fixed version, gnunet, 2023/03/14
- [libmicrohttpd] 04/21: mhd_check_link_run.m4: fixed typo in comment, gnunet, 2023/03/14
- [libmicrohttpd] 16/21: configure: fixed more compiler warnings in log, gnunet, 2023/03/14
- [libmicrohttpd] 17/21: configure: fixed potential compiler warnings, added usage of cache vars, gnunet, 2023/03/14
- [libmicrohttpd] 19/21: configure: improved compatibility with POSIX, gnunet, 2023/03/14
- [libmicrohttpd] 20/21: configure: cosmetics: deleted extra spaces,
gnunet <=
- [libmicrohttpd] 21/21: mhd_check_func_gettimeofday.m4: added new autoconf macro, gnunet, 2023/03/14