]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Reformat replacement header check one per line.
authorDarren Tucker <dtucker@dtucker.net>
Fri, 5 Sep 2025 08:03:55 +0000 (18:03 +1000)
committerDarren Tucker <dtucker@dtucker.net>
Fri, 5 Sep 2025 08:03:55 +0000 (18:03 +1000)
configure.ac

index 0d35f5d750707f4d726439ae56ec45867305bdc9..f165794a54c6e4ba64cb2ff94034b35cb4902fd6 100644 (file)
@@ -529,17 +529,25 @@ AC_CHECK_HEADERS([ \
 # the equivalent file.  This avoids having to wrap those includes in
 # '#ifdef HAVE_FOO_H'.  If we create any such headers, add the path to includes.
 compatincludes=no
-AC_CHECK_HEADERS([ifaddrs.h paths.h poll.h stdint.h sys/stat.h sys/time.h time.h util.h], [], [
-    compatincludes="`pwd`/openbsd-compat/include"
-    header="$compatincludes/$ac_header"
-    dir=`dirname "$header"`
-    mkdir -p "$dir"
-    case "$ac_header" in
-    poll.h) echo '#ifdef HAVE_SYS_POLL_H'
-            echo '#include <sys/poll.h>'
-            echo '#endif' ;;
-    *)      ;;
-    esac >"$header"
+AC_CHECK_HEADERS([ \
+    ifaddrs.h \
+    paths.h \
+    poll.h \
+    stdint.h \
+    sys/stat.h \
+    sys/time.h \
+    time.h \
+    util.h], [], [
+       compatincludes="`pwd`/openbsd-compat/include"
+       header="$compatincludes/$ac_header"
+       dir=`dirname "$header"`
+       mkdir -p "$dir"
+       case "$ac_header" in
+       poll.h) echo '#ifdef HAVE_SYS_POLL_H'
+               echo '#include <sys/poll.h>'
+               echo '#endif' ;;
+       *)      ;;
+       esac >"$header"
 ])
 if test "$compatincludes" != "no"; then
     CPPFLAGS="$CPPFLAGS -I$compatincludes"