aboutsummaryrefslogtreecommitdiffstats
path: root/net/nss-pam-ldapd/files/patch-configure
blob: 28c785b06c29d321bde209422499a76b2a1b97e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- configure.orig	2025-02-09 15:13:16 UTC
+++ configure
@@ -9959,6 +9959,13 @@ fi
 
 fi
 
+  ac_fn_c_check_func "$LINENO" "closefrom" "ac_cv_func_closefrom"
+if test "x$ac_cv_func_closefrom" = xyes
+then :
+  printf "%s\n" "#define HAVE_CLOSEFROM 1" >>confdefs.h
+
+fi
+
 
   # replace some functions if they are not on the system
   ac_fn_c_check_func "$LINENO" "getopt_long" "ac_cv_func_getopt_long"