Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Joe Martin
OpenLDAP
Commits
b594f520
Commit
b594f520
authored
25 years ago
by
Kurt Zeilenga
Browse files
Options
Downloads
Patches
Plain Diff
First cut of OL_CC_DEPEND test. Attempts to detect the appropriate
flag to generate dependencies. Output not used (yet).
parent
ca005362
Loading
Loading
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
build/openldap.m4
+28
-0
28 additions, 0 deletions
build/openldap.m4
configure
+521
-486
521 additions, 486 deletions
configure
configure.in
+4
-0
4 additions, 0 deletions
configure.in
with
553 additions
and
486 deletions
build/openldap.m4
+
28
−
0
View file @
b594f520
...
@@ -79,6 +79,34 @@ AC_SUBST(LN_H)dnl
...
@@ -79,6 +79,34 @@ AC_SUBST(LN_H)dnl
])dnl
])dnl
dnl
dnl
dnl ====================================================================
dnl ====================================================================
dnl Check for dependency generation flag
AC_DEFUN([OL_CC_DEPEND], [# test for cc depend flag
AC_CACHE_CHECK([for ${CC-cc} depend flag], ol_cv_cc_depend,
[ ol_cv_cc_depend=no
if test $GCC = yes ; then
ol_cv_cc_depend="-M"
else
for flag in "-M" "-xM"; do
cat > conftest.c <<EOF
noCode;
EOF
if AC_TRY_COMMAND(${CC-cc} $flag conftest.c) \
| egrep '^conftest\.'"${ac_objext}" >/dev/null 2>&1
then
cc_cv_cc_depend=$flag
break
fi
done
rm -f conftest*
fi])
if test "${ol_cv_cc_depend}" != no ; then
CC_DEPEND_FLAGS="${ol_cv_cc_depend}"
AC_SUBST(CC_DEPEND_FLAGS)
else
AC_MSG_WARN([do not know how to generate dependencies])
fi])
dnl
dnl ====================================================================
dnl Check if system uses EBCDIC instead of ASCII
dnl Check if system uses EBCDIC instead of ASCII
AC_DEFUN([OL_CPP_EBCDIC], [# test for EBCDIC
AC_DEFUN([OL_CPP_EBCDIC], [# test for EBCDIC
AC_MSG_CHECKING([for EBCDIC])
AC_MSG_CHECKING([for EBCDIC])
...
...
This diff is collapsed.
Click to expand it.
configure
+
521
−
486
View file @
b594f520
This diff is collapsed.
Click to expand it.
configure.in
+
4
−
0
View file @
b594f520
...
@@ -407,6 +407,10 @@ fi
...
@@ -407,6 +407,10 @@ fi
dnl AM_C_PROTOTYPES
dnl AM_C_PROTOTYPES
dnl Check cc depend flags
OL_CC_DEPEND
dnl Checks for libraries
dnl Checks for libraries
dnl Find socket()
dnl Find socket()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment