]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
curl-functions.m4: fix indentation in `CURL_SIZEOF()`
authorViktor Szakats <commit@vsz.me>
Sat, 11 Jan 2025 11:55:02 +0000 (12:55 +0100)
committerViktor Szakats <commit@vsz.me>
Mon, 13 Jan 2025 01:44:41 +0000 (02:44 +0100)
Closes #15981

m4/curl-functions.m4

index 5046ad939641b9f5125cf303b78a8f7fe4832c64..bf233ff3a0a4e68603bc88c04056cf5a7088c105 100644 (file)
@@ -4509,19 +4509,21 @@ AC_DEFUN([CURL_SIZEOF], [
   r=0
   dnl Check the sizes in a reasonable order
   for typesize in 8 4 2 16 1; do
-    AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
-#include <sys/types.h>
-$2
-]],
-    [switch(0) {
-      case 0:
-      case (sizeof($1) == $typesize):;
-    }
-    ]) ],
-      [
-        r=$typesize],
-      [
-        r=0])
+    AC_COMPILE_IFELSE([
+      AC_LANG_PROGRAM([[
+        #include <sys/types.h>
+        $2
+      ]],[
+        switch(0) {
+          case 0:
+          case (sizeof($1) == $typesize):;
+        }
+      ])
+    ],[
+      r=$typesize
+    ],[
+      r=0
+    ])
     dnl get out of the loop once matched
     if test $r -gt 0; then
       break;