From d0bfd83fa0b372c63f517263fb5b3c49cd1c7520 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sat, 9 Jun 2001 01:06:56 +0000 Subject: [PATCH] Complete tmpnam removal --- configure | 18 +++++++----------- configure.in | 4 ---- 2 files changed, 7 insertions(+), 15 deletions(-) diff --git a/configure b/configure index 0f8782da2f..4c62a17277 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # $OpenLDAP$ -# from OpenLDAP: pkg/ldap/configure.in,v 1.358 2001/05/29 01:29:56 kurt Exp +# from OpenLDAP: pkg/ldap/configure.in,v 1.359 2001/06/08 23:05:37 kurt Exp # Copyright 1998-2001 The OpenLDAP Foundation. All Rights Reserved. # @@ -17237,19 +17237,15 @@ if test "$ac_cv_func_getopt" != yes; then LIBSRCS="$LIBSRCS getopt.c" fi -if test "$ac_cv_func_tempnam" != yes; then - LIBSRCS="$LIBSRCS tempnam.c" -fi - # Check Configuration echo $ac_n "checking declaration of sys_errlist""... $ac_c" 1>&6 -echo "configure:17247: checking declaration of sys_errlist" >&5 +echo "configure:17243: checking declaration of sys_errlist" >&5 if eval "test \"\${ol_cv_dcl_sys_errlist+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < @@ -17262,7 +17258,7 @@ int main() { char *c = (char *) *sys_errlist ; return 0; } EOF -if { (eval echo configure:17266: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:17262: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ol_cv_dcl_sys_errlist=yes ol_cv_have_sys_errlist=yes @@ -17285,20 +17281,20 @@ EOF echo $ac_n "checking existence of sys_errlist""... $ac_c" 1>&6 -echo "configure:17289: checking existence of sys_errlist" >&5 +echo "configure:17285: checking existence of sys_errlist" >&5 if eval "test \"\${ol_cv_have_sys_errlist+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { char *c = (char *) *sys_errlist ; return 0; } EOF -if { (eval echo configure:17302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:17298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ol_cv_have_sys_errlist=yes else diff --git a/configure.in b/configure.in index 53d72b7f43..aa7bf73b96 100644 --- a/configure.in +++ b/configure.in @@ -2242,10 +2242,6 @@ if test "$ac_cv_func_getopt" != yes; then LIBSRCS="$LIBSRCS getopt.c" fi -if test "$ac_cv_func_tempnam" != yes; then - LIBSRCS="$LIBSRCS tempnam.c" -fi - dnl ---------------------------------------------------------------- # Check Configuration OL_SYS_ERRLIST -- 2.39.5