diff options
author | Peter Eisentraut | 2013-10-13 04:09:18 +0000 |
---|---|---|
committer | Peter Eisentraut | 2013-10-13 04:09:18 +0000 |
commit | 5b6d08cd2992922b667564a49f19580f11676050 (patch) | |
tree | 4104a4255eeb88e78da71477b5f7b129f9a1b599 /configure | |
parent | a53dee43fe585e673658b01e7354892dcede957e (diff) |
Add use of asprintf()
Add asprintf(), pg_asprintf(), and psprintf() to simplify string
allocation and composition. Replacement implementations taken from
NetBSD.
Reviewed-by: Álvaro Herrera <[email protected]>
Reviewed-by: Asif Naeem <[email protected]>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure index cd725451417..f9da1dec2e1 100755 --- a/configure +++ b/configure @@ -21502,7 +21502,8 @@ fi -for ac_func in crypt fls getopt getrusage inet_aton random rint srandom strerror strlcat strlcpy + +for ac_func in asprintf crypt fls getopt getrusage inet_aton random rint srandom strerror strlcat strlcpy do as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |