Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nadezhda Ivanova
OpenLDAP
Commits
0d3bce85
Commit
0d3bce85
authored
Sep 17, 1998
by
Kurt Zeilenga
Browse files
Working include directory!
parent
30bdcf40
Changes
3
Hide whitespace changes
Inline
Side-by-side
configure.in
View file @
0d3bce85
...
...
@@ -322,15 +322,6 @@ AC_REPLACE_FUNCS(strdup)
# Check Configuration
CF_SYS_ERRLIST
dnl need do this early
test "x$prefix" = xNONE && prefix=$ac_default_prefix
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
dnl append /ldap to $sysconfdir, probably should make this a settable option.
sysconfdir="$sysconfdir/ldap"
SYSCONFDIR=`eval echo $sysconfdir`
AC_SUBST(SYSCONFDIR)
dnl AC_OUTPUT( \
dnl clients/Makefile:build/top.mk:clients/Makefile.in:build/dir.mk \
dnl clients/tools/Makefile:build/top.mk:clients/tools/Makefile.in:build/rules.mk \
...
...
@@ -343,7 +334,6 @@ dnl clients/rcpt500/Makefile:build/top.mk:clients/rcpt500/Makefile.in:build/rule
dnl contrib/Makefile:build/top.mk:contrib/Makefile.in:build/dir.mk \
dnl contrib/saucer/Makefile:build/top.mk:contrib/saucer/Makefile.in:build/rules.mk \
dnl contrib/whois++/Makefile:build/top.mk:contrib/whois++/Makefile.in:build/rules.mk \
dnl libraries/Makefile:build/top.mk:libraries/Makefile.in:build/dir.mk \
dnl libraries/libavl/Makefile:build/top.mk:libraries/libavl/Makefile.in:build/lib.mk \
dnl libraries/liblber/Makefile:build/top.mk:libraries/liblber/Makefile.in:build/lib.mk \
dnl libraries/libldap/Makefile:build/top.mk:libraries/libldap/Makefile.in:build/lib.mk \
...
...
@@ -364,7 +354,7 @@ dnl Makefile:build/top.mk:Makefile.in:build/dir.mk, \
dnl [date > stamp-h])
AC_OUTPUT( \
include/ldapconfig.h \
include/Makefile:build/top.mk:include/Makefile.in \
libraries/Makefile:build/top.mk:libraries/Makefile.in:build/dir.mk \
Makefile:build/top.mk:Makefile.in:build/dir.mk \
,[date > stamp-h])
include/Makefile.in
View file @
0d3bce85
...
...
@@ -11,8 +11,29 @@ install: all FORCE
$(INSTALL)
$(INSTALLFLAGS)
-m
644 disptmpl.h
$(includedir)
$(INSTALL)
$(INSTALLFLAGS)
-m
644 srchpref.h
$(includedir)
all
:
FORCE
all
:
ldapconfig.h FORCE
clean
:
FORCE
veryclean
:
FORCE
depend
:
FORCE
ldapconfig.h
:
ldapconfig.h.edit Makefile
@
$(RM)
$@
@
echo
"/*"
>
$@
;
\
echo
" * This file was automatically generated. Do not edit it."
>>
$@
;
\
echo
" * Instead, edit the file ldapconfig.h.edit. See the LDAP"
>>
$@
;
\
echo
" * INSTALL file for more information."
>>
$@
;
\
echo
" */ "
>>
$@
;
\
echo
""
>>
$@
;
\
$(SED)
\
-e
's;%SYSCONFDIR%;
$(sysconfdir)
;'
\
-e
's;%BINDIR%;
$(bindir)
;'
\
-e
's;%SBINDIR%;
$(sbindir)
;'
\
-e
's;%LIBEXECDIR%;
$(libexecdir)
;'
\
-e
's;%RUNDIR%;
$(localstatedir)
;'
\
-e
's;%EDITOR%;
$(EDITOR)
;'
\
-e
's;%FINGER%;
$(FINGER)
;'
\
-e
's;%SENDMAIL%;
$(SENDMAIL)
;'
\
ldapconfig.h.edit
>>
$@
;
\
$(CHMOD)
444
$@
include/ldapconfig.h.edit
View file @
0d3bce85
...
...
@@ -24,26 +24,26 @@
*/
#define DEFAULT_BINDIR "%BINDIR%"
#define DEFAULT_SBINDIR "%SBINDIR%"
#define DEFAULT_
ETC
DIR
"%
ETC
DIR%"
#define DEFAULT_
SYSCONF
DIR "%
SYSCONF
DIR%"
#define DEFAULT_LIBEXECDIR "%LIBEXECDIR%"
/* default ldap host */
#define LDAPHOST "localhost"
#define DEFAULT_LDAPHOST_FILE "%
ETC
DIR%/ldaphost"
#define DEFAULT_LDAPHOST_FILE "%
SYSCONF
DIR%/ldaphost"
/* default place to start searching */
#define DEFAULT_BASE "o=Your Organization Name, c=US"
#define DEFAULT_BASE_FILE "%
ETC
DIR%/ldapbase"
#define DEFAULT_BASE_FILE "%
SYSCONF
DIR%/ldapbase"
/*
* default binddn and creditials
* use files, make sure they are not generally readable
*/
#define DEFAULT_BINDDN NULL
#define DEFAULT_BINDDN_FILE "%
ETC
DIR%/ldapbinddn"
#define DEFAULT_BINDDN_FILE "%
SYSCONF
DIR%/ldapbinddn"
#define DEFAULT_BIND_CRED NULL
#define DEFAULT_BIND_CRED_FILE "%
ETC
DIR%/ldapbindcred"
#define DEFAULT_BIND_CRED_FILE "%
SYSCONF
DIR%/ldapbindcred"
/*********************************************************************
* *
...
...
@@ -59,10 +59,10 @@
/* default count of DN components to show in entry displays */
#define DEFAULT_RDNCOUNT 2
/* default config file locations */
#define FILTERFILE "%
ETC
DIR%/ldapfilter.conf"
#define TEMPLATEFILE "%
ETC
DIR%/ldaptemplates.conf"
#define SEARCHFILE "%
ETC
DIR%/ldapsearchprefs.conf"
#define FRIENDLYFILE "%
ETC
DIR%/ldapfriendly"
#define FILTERFILE "%
SYSCONF
DIR%/ldapfilter.conf"
#define TEMPLATEFILE "%
SYSCONF
DIR%/ldaptemplates.conf"
#define SEARCHFILE "%
SYSCONF
DIR%/ldapsearchprefs.conf"
#define FRIENDLYFILE "%
SYSCONF
DIR%/ldapfriendly"
/*
* FINGER DEFINITIONS
...
...
@@ -136,7 +136,7 @@ Please try again later.\r\n"
#define GO500GW_BINDDN NULL
#define GO500GW_BIND_CRED NULL
/* where the helpfile lives */
#define GO500GW_HELPFILE "%
ETC
DIR%/go500gw.help"
#define GO500GW_HELPFILE "%
SYSCONF
DIR%/go500gw.help"
/* port on which to listen */
#define GO500GW_PORT 7777
/* timeout on all searches */
...
...
@@ -160,7 +160,7 @@ Please try again later.\r\n"
#define RCPT500_BINDDN NULL
#define RCPT500_BIND_CRED NULL
/* where the helpfile lives */
#define RCPT500_HELPFILE "%
ETC
DIR%/rcpt500.help"
#define RCPT500_HELPFILE "%
SYSCONF
DIR%/rcpt500.help"
/* maximum number of matches returned */
#define RCPT500_SIZELIMIT 50
/* address replies will appear to come from */
...
...
@@ -234,7 +234,7 @@ Please try again later.\r\n"
* UD DEFINITIONS
*/
/* ud configuration file */
#define UD_CONFIG_FILE "%
ETC
DIR%/ud.conf"
#define UD_CONFIG_FILE "%
SYSCONF
DIR%/ud.conf"
/* default editor */
#define UD_DEFAULT_EDITOR "%EDITOR%"
/* default bbasename of user config file */
...
...
@@ -283,7 +283,7 @@ Please try again later.\r\n"
* SLAPD DEFINITIONS
*/
/* location of the default slapd config file */
#define SLAPD_DEFAULT_CONFIGFILE "%
ETC
DIR%/slapd.conf"
#define SLAPD_DEFAULT_CONFIGFILE "%
SYSCONF
DIR%/slapd.conf"
/* default sizelimit on number of entries from a search */
#define SLAPD_DEFAULT_SIZELIMIT 500
/* default timelimit to spend on a search */
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment