mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-17 14:00:30 +08:00
Fix "decleration" and missing ";" errors.
This commit is contained in:
parent
13f169ee54
commit
a8d7ee12a5
@ -432,11 +432,11 @@ dnl Check to see if we should not declare strdup if we have it
|
||||
dnl
|
||||
AC_DEFUN([OL_DECL_STRDUP],
|
||||
[
|
||||
AC_MSG_CHECKING([strdup decleration])
|
||||
AC_MSG_CHECKING([strdup declaration])
|
||||
AC_CACHE_VAL(ol_cv_dcl_strdup,[
|
||||
AC_TRY_COMPILE([
|
||||
#include <string.h> ],
|
||||
[extern char *strdup()],
|
||||
[extern char *strdup();],
|
||||
[ol_cv_dcl_strdup=yes],
|
||||
[ol_cv_dcl_strdup=no])])
|
||||
AC_MSG_RESULT($ol_cv_dcl_strdup)
|
||||
|
6
configure
vendored
6
configure
vendored
@ -10089,8 +10089,8 @@ fi
|
||||
|
||||
|
||||
|
||||
echo $ac_n "checking strdup decleration""... $ac_c" 1>&6
|
||||
echo "configure:10094: checking strdup decleration" >&5
|
||||
echo $ac_n "checking strdup declaration""... $ac_c" 1>&6
|
||||
echo "configure:10094: checking strdup declaration" >&5
|
||||
if eval "test \"`echo '$''{'ol_cv_dcl_strdup'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
@ -10101,7 +10101,7 @@ else
|
||||
|
||||
#include <string.h>
|
||||
int main() {
|
||||
extern char *strdup()
|
||||
extern char *strdup();
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:10108: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
|
Loading…
Reference in New Issue
Block a user