]> git.ipfire.org Git - thirdparty/git.git/blobdiff - configure.ac
Some platforms lack socklen_t type
[thirdparty/git.git] / configure.ac
index b97ee6dbb9e4ff95527bd079fb935f3f13a05b1b..df831c35d46bba556084aa0861800b83536409a1 100644 (file)
@@ -633,6 +633,12 @@ AC_SUBST(OLD_ICONV)
 ## Checks for typedefs, structures, and compiler characteristics.
 AC_MSG_NOTICE([CHECKS for typedefs, structures, and compiler characteristics])
 #
+TYPE_SOCKLEN_T
+case $ac_cv_type_socklen_t in
+  yes) ;;
+  *)   AC_SUBST([SOCKLEN_T], [$git_cv_socklen_t_equiv]) ;;
+esac
+
 # Define NO_D_INO_IN_DIRENT if you don't have d_ino in your struct dirent.
 AC_CHECK_MEMBER(struct dirent.d_ino,
 [NO_D_INO_IN_DIRENT=],