mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 17:49:59 -05:00
Complete tmpnam removal
This commit is contained in:
parent
44bef574c8
commit
d0bfd83fa0
2 changed files with 7 additions and 15 deletions
18
configure
vendored
18
configure
vendored
|
|
@ -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 <<EOF
|
||||
#line 17253 "configure"
|
||||
#line 17249 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
|
@ -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 <<EOF
|
||||
#line 17295 "configure"
|
||||
#line 17291 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <errno.h>
|
||||
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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue