[Fedora-directory-commits] ldapserver configure.ac, 1.9, 1.10 configure, 1.10, 1.11
by Doctor Conrad
Author: nhosoi
Update of /cvs/dirsec/ldapserver
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25445
Modified Files:
configure.ac configure
Log Message:
Resolves: #214533
Summary: configure needs to support --with-fhs (Comment #13)
Changes:
configure.ac: $prefix should have been @prefix@. $prefix is replaced with the
value of --prefix, but not with AC_PREFIX_DEFAULT when --prefix is not given.
create_instance.[ch]: depending upon the macro IS_FHS, change swich the LIBDIR,
BINDIR, DATADIR, and DOCDIR.
ds_newinst.pl.in: use @libdir@ to get the ds_newinst path.
Index: configure.ac
===================================================================
RCS file: /cvs/dirsec/ldapserver/configure.ac,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- configure.ac 13 Nov 2006 18:46:58 -0000 1.9
+++ configure.ac 13 Nov 2006 23:45:42 -0000 1.10
@@ -129,9 +129,9 @@
# installation paths
if test "$with_fhs" = "yes"; then
- bindir=$prefix/usr/bin
- libdir=$prefix/usr/lib
- datadir=$prefix/usr/share
+ bindir=@prefix@/usr/bin
+ libdir=@prefix@/usr/lib
+ datadir=@prefix@/usr/share
fi
# relative to sysconfdir
configdir=/fedora-ds/config
Index: configure
===================================================================
RCS file: /cvs/dirsec/ldapserver/configure,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- configure 13 Nov 2006 18:46:58 -0000 1.10
+++ configure 13 Nov 2006 23:45:42 -0000 1.11
@@ -25030,9 +25030,9 @@
# installation paths
if test "$with_fhs" = "yes"; then
- bindir=$prefix/usr/bin
- libdir=$prefix/usr/lib
- datadir=$prefix/usr/share
+ bindir=@prefix@/usr/bin
+ libdir=@prefix@/usr/lib
+ datadir=@prefix@/usr/share
fi
# relative to sysconfdir
configdir=/fedora-ds/config
17 years, 5 months
[Fedora-directory-commits] ldapserver configure.ac, 1.8, 1.9 configure, 1.9, 1.10
by Doctor Conrad
Author: nhosoi
Update of /cvs/dirsec/ldapserver
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4703
Modified Files:
configure.ac configure
Log Message:
Resolves: #214533
Summary: configure needs to support --with-fhs (Comment #10)
Changes: if --with-fhs is set, bindir, libdir, and datadir starts w/ $prefix/usr
Index: configure.ac
===================================================================
RCS file: /cvs/dirsec/ldapserver/configure.ac,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- configure.ac 10 Nov 2006 23:59:15 -0000 1.8
+++ configure.ac 13 Nov 2006 18:46:58 -0000 1.9
@@ -128,7 +128,11 @@
AC_SUBST(netsnmp_link)
# installation paths
-dnl bindir=/usr/bin
+if test "$with_fhs" = "yes"; then
+ bindir=$prefix/usr/bin
+ libdir=$prefix/usr/lib
+ datadir=$prefix/usr/share
+fi
# relative to sysconfdir
configdir=/fedora-ds/config
# relative to datadir
Index: configure
===================================================================
RCS file: /cvs/dirsec/ldapserver/configure,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- configure 10 Nov 2006 23:59:15 -0000 1.9
+++ configure 13 Nov 2006 18:46:58 -0000 1.10
@@ -25029,6 +25029,11 @@
# installation paths
+if test "$with_fhs" = "yes"; then
+ bindir=$prefix/usr/bin
+ libdir=$prefix/usr/lib
+ datadir=$prefix/usr/share
+fi
# relative to sysconfdir
configdir=/fedora-ds/config
# relative to datadir
17 years, 5 months
[Fedora-directory-commits] ldapserver/m4 fhs.m4,NONE,1.1
by Doctor Conrad
Author: nhosoi
Update of /cvs/dirsec/ldapserver/m4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv723/m4
Added Files:
fhs.m4
Log Message:
Resolves: #214533
Summary: configure needs to support --with-fhs (Comment #1)
Changes:
1. introduced a new option --with-fhs
2. instead of passing the define macro with -D, generate config.h
--- NEW FILE fhs.m4 ---
# BEGIN COPYRIGHT BLOCK
# Copyright (C) 2006 Red Hat, Inc.
# All rights reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
# END COPYRIGHT BLOCK
AC_CHECKING(for FHS)
# check for --with-fhs
AC_MSG_CHECKING(for --with-fhs)
AC_ARG_WITH(fhs, [ --with-fhs Use FHS layout],
[
with_fhs=yes
],
AC_MSG_RESULT(no))
if test "$with_fhs" = "yes"; then
AC_DEFINE([IS_FHS], [1], [Use FHS layout])
fi
17 years, 5 months
[Fedora-directory-commits] ldapserver configure.ac, 1.7, 1.8 Makefile.am, 1.11, 1.12 Makefile.in, 1.12, 1.13 configure, 1.8, 1.9
by Doctor Conrad
Author: nhosoi
Update of /cvs/dirsec/ldapserver
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv723
Modified Files:
configure.ac Makefile.am Makefile.in configure
Log Message:
Resolves: #214533
Summary: configure needs to support --with-fhs (Comment #1)
Changes:
1. introduced a new option --with-fhs
2. instead of passing the define macro with -D, generate config.h
Index: configure.ac
===================================================================
RCS file: /cvs/dirsec/ldapserver/configure.ac,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- configure.ac 2 Nov 2006 03:11:39 -0000 1.7
+++ configure.ac 10 Nov 2006 23:59:15 -0000 1.8
@@ -2,6 +2,8 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59)
AC_INIT([fedora-ds], [1.1], [http://bugzilla.redhat.com/])
+# AC_CONFIG_HEADER must be called right after AC_INIT.
+AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE([1.9 foreign subdir-objects])
AM_MAINTAINER_MODE
AC_CANONICAL_HOST
@@ -94,6 +96,7 @@
m4_include(m4/svrcore.m4)
m4_include(m4/icu.m4)
m4_include(m4/netsnmp.m4)
+m4_include(m4/fhs.m4)
# write out paths for binary components
AC_SUBST(nspr_inc)
@@ -152,6 +155,9 @@
# cygnus, mingw, or the like and using cmd.exe as the shell
AM_CONDITIONAL([WINNT], false)
+AC_DEFINE([LDAP_DEBUG], [1], [LDAP debug flag])
+AC_DEFINE([LDAP_DONT_USE_SMARTHEAP], [1], [Don't use smartheap])
+
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
Index: Makefile.am
===================================================================
RCS file: /cvs/dirsec/ldapserver/Makefile.am,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- Makefile.am 10 Nov 2006 01:50:11 -0000 1.11
+++ Makefile.am 10 Nov 2006 23:59:15 -0000 1.12
@@ -7,7 +7,7 @@
BUILDNUM := $(shell perl $(srcdir)/buildnum.pl)
PLATFORM_DEFINES = @platform_defs@
DEBUG_DEFINES = @debug_defs@
-DS_DEFINES = -DLDAP_DEBUG -DLDAP_DONT_USE_SMARTHEAP -DBUILD_NUM=$(BUILDNUM)
+DS_DEFINES = -DBUILD_NUM=$(BUILDNUM)
DS_INCLUDES = -I$(srcdir)/ldap/include -I$(srcdir)/ldap/servers/slapd -I$(srcdir)/include -I.
AM_CPPFLAGS = $(PLATFORM_DEFINES) $(DEBUG_DEFINES) $(DS_DEFINES) $(DS_INCLUDES)
PLUGIN_CPPFLAGS = $(AM_CPPFLAGS) @ldapsdk_inc@ @nss_inc@ @nspr_inc@
Index: Makefile.in
===================================================================
RCS file: /cvs/dirsec/ldapserver/Makefile.in,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- Makefile.in 10 Nov 2006 01:50:11 -0000 1.12
+++ Makefile.in 10 Nov 2006 23:59:15 -0000 1.13
@@ -51,20 +51,22 @@
noinst_PROGRAMS = makstrdb$(EXEEXT)
@SOLARIS_TRUE@am__append_1 = ldap/servers/slapd/tools/ldclt/opCheck.c
DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \
- $(srcdir)/Makefile.in $(top_srcdir)/configure compile \
- config.guess config.sub depcomp install-sh ltmain.sh missing
+ $(srcdir)/Makefile.in $(srcdir)/config.h.in \
+ $(top_srcdir)/configure compile config.guess config.sub \
+ depcomp install-sh ltmain.sh missing
subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/nspr.m4 $(top_srcdir)/m4/nss.m4 \
$(top_srcdir)/m4/mozldap.m4 $(top_srcdir)/m4/db.m4 \
$(top_srcdir)/m4/sasl.m4 $(top_srcdir)/m4/svrcore.m4 \
$(top_srcdir)/m4/icu.m4 $(top_srcdir)/m4/netsnmp.m4 \
- $(top_srcdir)/configure.ac
+ $(top_srcdir)/m4/fhs.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
configure.lineno configure.status.lineno
mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = config.h
CONFIG_CLEAN_FILES =
LIBRARIES = $(noinst_LIBRARIES)
ARFLAGS = cru
@@ -669,7 +671,7 @@
serverSCRIPT_INSTALL = $(INSTALL_SCRIPT)
taskSCRIPT_INSTALL = $(INSTALL_SCRIPT)
SCRIPTS = $(bin_SCRIPTS) $(server_SCRIPTS) $(task_SCRIPTS)
-DEFAULT_INCLUDES = -I. -I$(srcdir)
+DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
depcomp = $(SHELL) $(top_srcdir)/depcomp
am__depfiles_maybe = depfiles
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
@@ -911,7 +913,7 @@
BUILDNUM := $(shell perl $(srcdir)/buildnum.pl)
PLATFORM_DEFINES = @platform_defs@
DEBUG_DEFINES = @debug_defs@
-DS_DEFINES = -DLDAP_DEBUG -DLDAP_DONT_USE_SMARTHEAP -DBUILD_NUM=$(BUILDNUM)
+DS_DEFINES = -DBUILD_NUM=$(BUILDNUM)
DS_INCLUDES = -I$(srcdir)/ldap/include -I$(srcdir)/ldap/servers/slapd -I$(srcdir)/include -I.
AM_CPPFLAGS = $(PLATFORM_DEFINES) $(DEBUG_DEFINES) $(DS_DEFINES) $(DS_INCLUDES)
PLUGIN_CPPFLAGS = $(AM_CPPFLAGS) @ldapsdk_inc@ @nss_inc@ @nspr_inc@
@@ -1755,7 +1757,7 @@
-e 's,@taskdir\@,$(taskdir),g' \
-e 's,@configdir\@,$(configdir),g'
-all: $(BUILT_SOURCES)
+all: $(BUILT_SOURCES) config.h
$(MAKE) $(AM_MAKEFLAGS) all-am
.SUFFIXES:
@@ -1794,6 +1796,23 @@
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
+config.h: stamp-h1
+ @if test ! -f $@; then \
+ rm -f stamp-h1; \
+ $(MAKE) stamp-h1; \
+ else :; fi
+
+stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
+ @rm -f stamp-h1
+ cd $(top_builddir) && $(SHELL) ./config.status config.h
+$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+ cd $(top_srcdir) && $(AUTOHEADER)
+ rm -f stamp-h1
+ touch $@
+
+distclean-hdr:
+ -rm -f config.h stamp-h1
+
clean-noinstLIBRARIES:
-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
ldap/libraries/libavl/$(am__dirstamp):
@@ -8583,11 +8602,11 @@
mkid -fID $$unique
tags: TAGS
-TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
tags=; \
here=`pwd`; \
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
@@ -8599,11 +8618,11 @@
$$tags $$unique; \
fi
ctags: CTAGS
-CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+CTAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
tags=; \
here=`pwd`; \
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
@@ -8752,7 +8771,7 @@
check: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) check-am
all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) \
- $(DATA)
+ $(DATA) config.h
installdirs:
for dir in "$(DESTDIR)$(serverdir)" "$(DESTDIR)$(serverplugindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(serverdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(serverdir)" "$(DESTDIR)$(taskdir)" "$(DESTDIR)$(configdir)" "$(DESTDIR)$(propertydir)" "$(DESTDIR)$(sampledatadir)" "$(DESTDIR)$(schemadir)"; do \
test -z "$$dir" || $(mkdir_p) "$$dir"; \
@@ -8866,7 +8885,7 @@
-rm -rf ldap/admin/lib/$(DEPDIR) ldap/admin/src/$(DEPDIR) ldap/libraries/libavl/$(DEPDIR) ldap/servers/plugins/acl/$(DEPDIR) ldap/servers/plugins/chainingdb/$(DEPDIR) ldap/servers/plugins/collation/$(DEPDIR) ldap/servers/plugins/cos/$(DEPDIR) ldap/servers/plugins/distrib/$(DEPDIR) ldap/servers/plugins/http/$(DEPDIR) ldap/servers/plugins/pam_passthru/$(DEPDIR) ldap/servers/plugins/passthru/$(DEPDIR) ldap/servers/plugins/presence/$(DEPDIR) ldap/servers/plugins/pwdstorage/$(DEPDIR) ldap/servers/plugins/referint/$(DEPDIR) ldap/servers/plugins/replication/$(DEPDIR) ldap/servers/plugins/retrocl/$(DEPDIR) ldap/servers/plugins/rever/$(DEPDIR) ldap/servers/plugins/roles/$(DEPDIR) ldap/servers/plugins/shared/$(DEPDIR) ldap/servers/plugins/statechange/$(DEPDIR) ldap/servers/plugins/syntaxes/$(DEPDIR) ldap/servers/plugins/uiduniq/$(DEPDIR) ldap/servers/plugins/views/$(DEPDIR) ldap/servers/slapd/$(DEPDIR) ldap/servers/slapd/back-ldbm/$(DEPDIR) ldap/servers/slapd/tools/$(DEPDIR) ldap/se!
rvers/slapd/tools/ldclt/$(DEPDIR) ldap/servers/slapd/tools/rsearch/$(DEPDIR) ldap/servers/snmp/$(DEPDIR) ldap/systools/$(DEPDIR) lib/base/$(DEPDIR) lib/ldaputil/$(DEPDIR) lib/libaccess/$(DEPDIR) lib/libadmin/$(DEPDIR) lib/libsi18n/$(DEPDIR)
-rm -f Makefile
distclean-am: clean-am distclean-compile distclean-generic \
- distclean-libtool distclean-tags
+ distclean-hdr distclean-libtool distclean-tags
dvi: dvi-am
@@ -8925,12 +8944,12 @@
clean-serverLTLIBRARIES clean-serverPROGRAMS \
clean-serverpluginLTLIBRARIES ctags dist dist-all dist-bzip2 \
dist-gzip dist-shar dist-tarZ dist-zip distcheck distclean \
- distclean-compile distclean-generic distclean-libtool \
- distclean-tags distcleancheck distdir distuninstallcheck dvi \
- dvi-am html html-am info info-am install install-am \
- install-binPROGRAMS install-binSCRIPTS install-configDATA \
- install-data install-data-am install-exec install-exec-am \
- install-info install-info-am install-man \
+ distclean-compile distclean-generic distclean-hdr \
+ distclean-libtool distclean-tags distcleancheck distdir \
+ distuninstallcheck dvi dvi-am html html-am info info-am \
+ install install-am install-binPROGRAMS install-binSCRIPTS \
+ install-configDATA install-data install-data-am install-exec \
+ install-exec-am install-info install-info-am install-man \
install-nodist_propertyDATA install-sampledataDATA \
install-schemaDATA install-serverLTLIBRARIES \
install-serverPROGRAMS install-serverSCRIPTS \
Index: configure
===================================================================
RCS file: /cvs/dirsec/ldapserver/configure,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- configure 3 Nov 2006 22:33:16 -0000 1.8
+++ configure 10 Nov 2006 23:59:15 -0000 1.9
@@ -1071,6 +1071,7 @@
--with-netsnmp=PATH Net-SNMP directory
--with-netsnmp-inc=PATH Net-SNMP include directory
--with-netsnmp-lib=PATH Net-SNMP library directory
+ --with-fhs Use FHS layout
Some influential environment variables:
CXX C++ compiler command
@@ -1535,6 +1536,9 @@
+# AC_CONFIG_HEADER must be called right after AC_INIT.
+ ac_config_headers="$ac_config_headers config.h"
+
am__api_version="1.9"
ac_aux_dir=
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
@@ -4277,7 +4281,7 @@
;;
*-*-irix6*)
# Find out which ABI we are using.
- echo '#line 4280 "configure"' > conftest.$ac_ext
+ echo '#line 4284 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
@@ -5385,7 +5389,7 @@
# Provide some information about the compiler.
-echo "$as_me:5388:" \
+echo "$as_me:5392:" \
"checking for Fortran 77 compiler version" >&5
ac_compiler=`set X $ac_compile; echo $2`
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
@@ -6419,11 +6423,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:6422: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:6426: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:6426: \$? = $ac_status" >&5
+ echo "$as_me:6430: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -6652,11 +6656,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:6655: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:6659: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:6659: \$? = $ac_status" >&5
+ echo "$as_me:6663: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -6712,11 +6716,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:6715: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:6719: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:6719: \$? = $ac_status" >&5
+ echo "$as_me:6723: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -8046,7 +8050,7 @@
libsuff=
case "$host_cpu" in
x86_64*|s390x*|powerpc64*)
- echo '#line 8049 "configure"' > conftest.$ac_ext
+ echo '#line 8053 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
@@ -8917,7 +8921,7 @@
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 8920 "configure"
+#line 8924 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -9015,7 +9019,7 @@
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 9018 "configure"
+#line 9022 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -11194,11 +11198,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:11197: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:11201: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:11201: \$? = $ac_status" >&5
+ echo "$as_me:11205: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -11254,11 +11258,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:11257: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:11261: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:11261: \$? = $ac_status" >&5
+ echo "$as_me:11265: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -11765,7 +11769,7 @@
libsuff=
case "$host_cpu" in
x86_64*|s390x*|powerpc64*)
- echo '#line 11768 "configure"' > conftest.$ac_ext
+ echo '#line 11772 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
@@ -12636,7 +12640,7 @@
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 12639 "configure"
+#line 12643 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12734,7 +12738,7 @@
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 12737 "configure"
+#line 12741 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13561,11 +13565,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:13564: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:13568: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:13568: \$? = $ac_status" >&5
+ echo "$as_me:13572: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -13621,11 +13625,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:13624: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:13628: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:13628: \$? = $ac_status" >&5
+ echo "$as_me:13632: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -14935,7 +14939,7 @@
libsuff=
case "$host_cpu" in
x86_64*|s390x*|powerpc64*)
- echo '#line 14938 "configure"' > conftest.$ac_ext
+ echo '#line 14942 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
@@ -15676,11 +15680,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:15679: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:15683: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:15683: \$? = $ac_status" >&5
+ echo "$as_me:15687: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -15909,11 +15913,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:15912: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:15916: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:15916: \$? = $ac_status" >&5
+ echo "$as_me:15920: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -15969,11 +15973,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:15972: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:15976: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:15976: \$? = $ac_status" >&5
+ echo "$as_me:15980: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -17303,7 +17307,7 @@
libsuff=
case "$host_cpu" in
x86_64*|s390x*|powerpc64*)
- echo '#line 17306 "configure"' > conftest.$ac_ext
+ echo '#line 17310 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
@@ -18174,7 +18178,7 @@
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 18177 "configure"
+#line 18181 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -18272,7 +18276,7 @@
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 18275 "configure"
+#line 18279 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -24947,6 +24951,53 @@
{ (exit 1); exit 1; }; }
fi
+# BEGIN COPYRIGHT BLOCK
+# Copyright (C) 2006 Red Hat, Inc.
+# All rights reserved.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# END COPYRIGHT BLOCK
+
+{ echo "$as_me:$LINENO: checking for FHS..." >&5
+echo "$as_me: checking for FHS..." >&6;}
+
+# check for --with-fhs
+echo "$as_me:$LINENO: checking for --with-fhs" >&5
+echo $ECHO_N "checking for --with-fhs... $ECHO_C" >&6
+
+# Check whether --with-fhs or --without-fhs was given.
+if test "${with_fhs+set}" = set; then
+ withval="$with_fhs"
+
+ with_fhs=yes
+
+else
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi;
+
+if test "$with_fhs" = "yes"; then
+
+cat >>confdefs.h <<\_ACEOF
+#define IS_FHS 1
+_ACEOF
+
+fi
+
+
# write out paths for binary components
@@ -25013,6 +25064,17 @@
fi
+
+cat >>confdefs.h <<\_ACEOF
+#define LDAP_DEBUG 1
+_ACEOF
+
+
+cat >>confdefs.h <<\_ACEOF
+#define LDAP_DONT_USE_SMARTHEAP 1
+_ACEOF
+
+
ac_config_files="$ac_config_files Makefile"
@@ -25090,38 +25152,7 @@
}'
fi
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then we branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-cat >confdef2opt.sed <<\_ACEOF
-t clear
-: clear
-s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
-t quote
-s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
-t quote
-d
-: quote
-s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
-s,\[,\\&,g
-s,\],\\&,g
-s,\$,$$,g
-p
-_ACEOF
-# We use echo to avoid assuming a particular line-breaking character.
-# The extra dot is to prevent the shell from consuming trailing
-# line-breaks from the sub-command output. A line-break within
-# single-quotes doesn't work because, if this script is created in a
-# platform that uses two characters for line-breaks (e.g., DOS), tr
-# would break.
-ac_LF_and_DOT=`echo; echo .`
-DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
-rm -f confdef2opt.sed
-
+DEFS=-DHAVE_CONFIG_H
ac_libobjs=
ac_ltlibobjs=
@@ -25497,10 +25528,15 @@
--recheck update $as_me by reconfiguring in the same conditions
--file=FILE[:TEMPLATE]
instantiate the configuration file FILE
+ --header=FILE[:TEMPLATE]
+ instantiate the configuration header FILE
Configuration files:
$config_files
+Configuration headers:
+$config_headers
+
Configuration commands:
$config_commands
@@ -25621,6 +25657,7 @@
# Handling of arguments.
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
+ "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
{ (exit 1); exit 1; }; };;
@@ -25633,6 +25670,7 @@
# bizarre bug on SunOS 4.1.3.
if $ac_need_defaults; then
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
+ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
fi
@@ -26059,6 +26097,251 @@
cat >>$CONFIG_STATUS <<\_ACEOF
#
+# CONFIG_HEADER section.
+#
+
+# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
+# NAME is the cpp macro being defined and VALUE is the value it is being given.
+#
+# ac_d sets the value in "#define NAME VALUE" lines.
+ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
+ac_dB='[ ].*$,\1#\2'
+ac_dC=' '
+ac_dD=',;t'
+# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
+ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
+ac_uB='$,\1#\2define\3'
+ac_uC=' '
+ac_uD=',;t'
+
+for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
+ # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
+ case $ac_file in
+ - | *:- | *:-:* ) # input from stdin
+ cat >$tmp/stdin
+ ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
+ ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
+ *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
+ ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
+ * ) ac_file_in=$ac_file.in ;;
+ esac
+
+ test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
+echo "$as_me: creating $ac_file" >&6;}
+
+ # First look for the input files in the build tree, otherwise in the
+ # src tree.
+ ac_file_inputs=`IFS=:
+ for f in $ac_file_in; do
+ case $f in
+ -) echo $tmp/stdin ;;
+ [\\/$]*)
+ # Absolute (can't be DOS-style, as IFS=:)
+ test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
+echo "$as_me: error: cannot find input file: $f" >&2;}
+ { (exit 1); exit 1; }; }
+ # Do quote $f, to prevent DOS paths from being IFS'd.
+ echo "$f";;
+ *) # Relative
+ if test -f "$f"; then
+ # Build tree
+ echo "$f"
+ elif test -f "$srcdir/$f"; then
+ # Source tree
+ echo "$srcdir/$f"
+ else
+ # /dev/null tree
+ { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
+echo "$as_me: error: cannot find input file: $f" >&2;}
+ { (exit 1); exit 1; }; }
+ fi;;
+ esac
+ done` || { (exit 1); exit 1; }
+ # Remove the trailing spaces.
+ sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
+
+_ACEOF
+
+# Transform confdefs.h into two sed scripts, `conftest.defines' and
+# `conftest.undefs', that substitutes the proper values into
+# config.h.in to produce config.h. The first handles `#define'
+# templates, and the second `#undef' templates.
+# And first: Protect against being on the right side of a sed subst in
+# config.status. Protect against being in an unquoted here document
+# in config.status.
+rm -f conftest.defines conftest.undefs
+# Using a here document instead of a string reduces the quoting nightmare.
+# Putting comments in sed scripts is not portable.
+#
+# `end' is used to avoid that the second main sed command (meant for
+# 0-ary CPP macros) applies to n-ary macro definitions.
+# See the Autoconf documentation for `clear'.
+cat >confdef2sed.sed <<\_ACEOF
+s/[\\&,]/\\&/g
+s,[\\$`],\\&,g
+t clear
+: clear
+s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
+t end
+s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
+: end
+_ACEOF
+# If some macros were called several times there might be several times
+# the same #defines, which is useless. Nevertheless, we may not want to
+# sort them, since we want the *last* AC-DEFINE to be honored.
+uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
+sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
+rm -f confdef2sed.sed
+
+# This sed command replaces #undef with comments. This is necessary, for
+# example, in the case of _POSIX_SOURCE, which is predefined and required
+# on some systems where configure will not decide to define it.
+cat >>conftest.undefs <<\_ACEOF
+s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
+_ACEOF
+
+# Break up conftest.defines because some shells have a limit on the size
+# of here documents, and old seds have small limits too (100 cmds).
+echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
+echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
+echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
+echo ' :' >>$CONFIG_STATUS
+rm -f conftest.tail
+while grep . conftest.defines >/dev/null
+do
+ # Write a limited-size here document to $tmp/defines.sed.
+ echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
+ # Speed up: don't consider the non `#define' lines.
+ echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
+ # Work around the forget-to-reset-the-flag bug.
+ echo 't clr' >>$CONFIG_STATUS
+ echo ': clr' >>$CONFIG_STATUS
+ sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
+ echo 'CEOF
+ sed -f $tmp/defines.sed $tmp/in >$tmp/out
+ rm -f $tmp/in
+ mv $tmp/out $tmp/in
+' >>$CONFIG_STATUS
+ sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
+ rm -f conftest.defines
+ mv conftest.tail conftest.defines
+done
+rm -f conftest.defines
+echo ' fi # grep' >>$CONFIG_STATUS
+echo >>$CONFIG_STATUS
+
+# Break up conftest.undefs because some shells have a limit on the size
+# of here documents, and old seds have small limits too (100 cmds).
+echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
+rm -f conftest.tail
+while grep . conftest.undefs >/dev/null
+do
+ # Write a limited-size here document to $tmp/undefs.sed.
+ echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
+ # Speed up: don't consider the non `#undef'
+ echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
+ # Work around the forget-to-reset-the-flag bug.
+ echo 't clr' >>$CONFIG_STATUS
+ echo ': clr' >>$CONFIG_STATUS
+ sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
+ echo 'CEOF
+ sed -f $tmp/undefs.sed $tmp/in >$tmp/out
+ rm -f $tmp/in
+ mv $tmp/out $tmp/in
+' >>$CONFIG_STATUS
+ sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
+ rm -f conftest.undefs
+ mv conftest.tail conftest.undefs
+done
+rm -f conftest.undefs
+
+cat >>$CONFIG_STATUS <<\_ACEOF
+ # Let's still pretend it is `configure' which instantiates (i.e., don't
+ # use $as_me), people would be surprised to read:
+ # /* config.h. Generated by config.status. */
+ if test x"$ac_file" = x-; then
+ echo "/* Generated by configure. */" >$tmp/config.h
+ else
+ echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
+ fi
+ cat $tmp/in >>$tmp/config.h
+ rm -f $tmp/in
+ if test x"$ac_file" != x-; then
+ if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
+ { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
+echo "$as_me: $ac_file is unchanged" >&6;}
+ else
+ ac_dir=`(dirname "$ac_file") 2>/dev/null ||
+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$ac_file" : 'X\(//\)[^/]' \| \
+ X"$ac_file" : 'X\(//\)$' \| \
+ X"$ac_file" : 'X\(/\)' \| \
+ . : '\(.\)' 2>/dev/null ||
+echo X"$ac_file" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
+ /^X\(\/\/\)[^/].*/{ s//\1/; q; }
+ /^X\(\/\/\)$/{ s//\1/; q; }
+ /^X\(\/\).*/{ s//\1/; q; }
+ s/.*/./; q'`
+ { if $as_mkdir_p; then
+ mkdir -p "$ac_dir"
+ else
+ as_dir="$ac_dir"
+ as_dirs=
+ while test ! -d "$as_dir"; do
+ as_dirs="$as_dir $as_dirs"
+ as_dir=`(dirname "$as_dir") 2>/dev/null ||
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_dir" : 'X\(//\)[^/]' \| \
+ X"$as_dir" : 'X\(//\)$' \| \
+ X"$as_dir" : 'X\(/\)' \| \
+ . : '\(.\)' 2>/dev/null ||
+echo X"$as_dir" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
+ /^X\(\/\/\)[^/].*/{ s//\1/; q; }
+ /^X\(\/\/\)$/{ s//\1/; q; }
+ /^X\(\/\).*/{ s//\1/; q; }
+ s/.*/./; q'`
+ done
+ test ! -n "$as_dirs" || mkdir $as_dirs
+ fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
+echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
+ { (exit 1); exit 1; }; }; }
+
+ rm -f $ac_file
+ mv $tmp/config.h $ac_file
+ fi
+ else
+ cat $tmp/config.h
+ rm -f $tmp/config.h
+ fi
+# Compute $ac_file's index in $config_headers.
+_am_stamp_count=1
+for _am_header in $config_headers :; do
+ case $_am_header in
+ $ac_file | $ac_file:* )
+ break ;;
+ * )
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
+ esac
+done
+echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
+$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X$ac_file : 'X\(//\)[^/]' \| \
+ X$ac_file : 'X\(//\)$' \| \
+ X$ac_file : 'X\(/\)' \| \
+ . : '\(.\)' 2>/dev/null ||
+echo X$ac_file |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
+ /^X\(\/\/\)[^/].*/{ s//\1/; q; }
+ /^X\(\/\/\)$/{ s//\1/; q; }
+ /^X\(\/\).*/{ s//\1/; q; }
+ s/.*/./; q'`/stamp-h$_am_stamp_count
+done
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF
+
+#
# CONFIG_COMMANDS section.
#
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
17 years, 5 months
[Fedora-directory-commits] ldapserver/lib/libsi18n acclanglist.c, 1.6, 1.7 coreres.c, 1.5, 1.6 coreres.h, 1.5, 1.6 getlang.c, 1.5, 1.6 getstrmem.c, 1.4, 1.5 getstrmem.h, 1.6, 1.7 getstrprop.c, 1.5, 1.6 gsslapd.h, 1.5, 1.6 makstrdb.c, 1.8, 1.9 propset.c, 1.5, 1.6 propset.h, 1.4, 1.5 reshash.c, 1.4, 1.5 reshash.h, 1.4, 1.5 txtfile.c, 1.4, 1.5 txtfile.h, 1.4, 1.5
by Doctor Conrad
Author: nhosoi
Update of /cvs/dirsec/ldapserver/lib/libsi18n
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30269/lib/libsi18n
Modified Files:
acclanglist.c coreres.c coreres.h getlang.c getstrmem.c
getstrmem.h getstrprop.c gsslapd.h makstrdb.c propset.c
propset.h reshash.c reshash.h txtfile.c txtfile.h
Log Message:
Resolves: #214533
Summary: configure needs to support --with-fhs (Comment #6)
Changes: Added the following include next to the end of the copyright block.
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
Index: acclanglist.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libsi18n/acclanglist.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- acclanglist.c 11 Apr 2006 02:14:54 -0000 1.6
+++ acclanglist.c 10 Nov 2006 23:46:05 -0000 1.7
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#include <stdio.h>
#include <string.h>
#include <ctype.h>
Index: coreres.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libsi18n/coreres.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- coreres.c 19 Apr 2005 22:07:54 -0000 1.5
+++ coreres.c 10 Nov 2006 23:46:05 -0000 1.6
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Index: coreres.h
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libsi18n/coreres.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- coreres.h 19 Apr 2005 22:07:54 -0000 1.5
+++ coreres.h 10 Nov 2006 23:46:05 -0000 1.6
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#ifndef CORERES_H
#define CORERES_H
Index: getlang.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libsi18n/getlang.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- getlang.c 19 Apr 2005 22:07:54 -0000 1.5
+++ getlang.c 10 Nov 2006 23:46:05 -0000 1.6
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
Index: getstrmem.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libsi18n/getstrmem.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- getstrmem.c 19 Apr 2005 22:07:54 -0000 1.4
+++ getstrmem.c 10 Nov 2006 23:46:05 -0000 1.5
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#include <stdio.h>
#include <string.h>
Index: getstrmem.h
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libsi18n/getstrmem.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- getstrmem.h 19 Apr 2005 22:07:54 -0000 1.6
+++ getstrmem.h 10 Nov 2006 23:46:05 -0000 1.7
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#define BUCKET_MASK NUM_BUCKETS-1
typedef struct DATABIN {
char* pLibraryName;
Index: getstrprop.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libsi18n/getstrprop.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- getstrprop.c 19 Apr 2005 22:07:54 -0000 1.5
+++ getstrprop.c 10 Nov 2006 23:46:05 -0000 1.6
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
Index: gsslapd.h
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libsi18n/gsslapd.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- gsslapd.h 19 Apr 2005 22:07:54 -0000 1.5
+++ gsslapd.h 10 Nov 2006 23:46:05 -0000 1.6
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#define DATABASE_NAME "ns-slapd"
#ifdef RESOURCE_STR
Index: makstrdb.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libsi18n/makstrdb.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- makstrdb.c 10 Nov 2006 01:05:06 -0000 1.8
+++ makstrdb.c 10 Nov 2006 23:46:05 -0000 1.9
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
Index: propset.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libsi18n/propset.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- propset.c 19 Apr 2005 22:07:54 -0000 1.5
+++ propset.c 10 Nov 2006 23:46:05 -0000 1.6
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Index: propset.h
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libsi18n/propset.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- propset.h 19 Apr 2005 22:07:54 -0000 1.4
+++ propset.h 10 Nov 2006 23:46:05 -0000 1.5
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#ifndef PROPSET_H
#define PROPSET_H
Index: reshash.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libsi18n/reshash.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- reshash.c 19 Apr 2005 22:07:54 -0000 1.4
+++ reshash.c 10 Nov 2006 23:46:05 -0000 1.5
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Index: reshash.h
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libsi18n/reshash.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- reshash.h 19 Apr 2005 22:07:54 -0000 1.4
+++ reshash.h 10 Nov 2006 23:46:05 -0000 1.5
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#ifndef RESHASH_H
#define RESHASH_H
/**********************************************************************
Index: txtfile.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libsi18n/txtfile.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- txtfile.c 19 Apr 2005 22:07:54 -0000 1.4
+++ txtfile.c 10 Nov 2006 23:46:05 -0000 1.5
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
Index: txtfile.h
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libsi18n/txtfile.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- txtfile.h 19 Apr 2005 22:07:54 -0000 1.4
+++ txtfile.h 10 Nov 2006 23:46:05 -0000 1.5
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#ifndef TXTFILE_H
#define TXTFILE_H
17 years, 5 months
[Fedora-directory-commits] ldapserver/lib/libnt info.c, 1.4, 1.5 path.c, 1.4, 1.5 pmddeml.c, 1.4, 1.5 registry.c, 1.4, 1.5 service.c, 1.4, 1.5 tcpip.c, 1.4, 1.5
by Doctor Conrad
Author: nhosoi
Update of /cvs/dirsec/ldapserver/lib/libnt
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30269/lib/libnt
Modified Files:
info.c path.c pmddeml.c registry.c service.c tcpip.c
Log Message:
Resolves: #214533
Summary: configure needs to support --with-fhs (Comment #6)
Changes: Added the following include next to the end of the copyright block.
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
Index: info.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libnt/info.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- info.c 19 Apr 2005 22:07:54 -0000 1.4
+++ info.c 10 Nov 2006 23:46:04 -0000 1.5
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <windows.h>
#include "nt/ntos.h"
Index: path.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libnt/path.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- path.c 19 Apr 2005 22:07:54 -0000 1.4
+++ path.c 10 Nov 2006 23:46:04 -0000 1.5
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/***********************************************************
* Path functions - removing ../ from path
**********************************************************/
Index: pmddeml.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libnt/pmddeml.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- pmddeml.c 19 Apr 2005 22:07:54 -0000 1.4
+++ pmddeml.c 10 Nov 2006 23:46:04 -0000 1.5
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/****************************************************************************
PROGRAM: pmddeml.c
Index: registry.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libnt/registry.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- registry.c 19 Apr 2005 22:07:54 -0000 1.4
+++ registry.c 10 Nov 2006 23:46:04 -0000 1.5
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
// ERROR.C
//
// This file contains the functions needed to install the httpd server.
Index: service.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libnt/service.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- service.c 19 Apr 2005 22:07:54 -0000 1.4
+++ service.c 10 Nov 2006 23:46:04 -0000 1.5
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <windows.h>
#include "nt/ntos.h"
Index: tcpip.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libnt/tcpip.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- tcpip.c 19 Apr 2005 22:07:54 -0000 1.4
+++ tcpip.c 10 Nov 2006 23:46:04 -0000 1.5
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <windows.h>
#include "nt/ntos.h"
17 years, 5 months
[Fedora-directory-commits] ldapserver/lib/libadmin authdb.c, 1.6, 1.7 error.c, 1.6, 1.7 template.c, 1.5, 1.6 util.c, 1.6, 1.7
by Doctor Conrad
Author: nhosoi
Update of /cvs/dirsec/ldapserver/lib/libadmin
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30269/lib/libadmin
Modified Files:
authdb.c error.c template.c util.c
Log Message:
Resolves: #214533
Summary: configure needs to support --with-fhs (Comment #6)
Changes: Added the following include next to the end of the copyright block.
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
Index: authdb.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libadmin/authdb.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- authdb.c 11 Apr 2006 02:14:54 -0000 1.6
+++ authdb.c 10 Nov 2006 23:46:03 -0000 1.7
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* authdb.c: Functions to aid in user/group database admin
*
Index: error.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libadmin/error.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- error.c 19 Apr 2005 22:07:54 -0000 1.6
+++ error.c 10 Nov 2006 23:46:03 -0000 1.7
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* error.c - Handle error recovery
*
Index: template.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libadmin/template.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- template.c 19 Apr 2005 22:07:54 -0000 1.5
+++ template.c 10 Nov 2006 23:46:03 -0000 1.6
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* template.c: The actual HTML templates in a static variable
*
Index: util.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libadmin/util.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- util.c 19 Apr 2005 22:07:54 -0000 1.6
+++ util.c 10 Nov 2006 23:46:03 -0000 1.7
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* util.c: Miscellaneous stuffs
*
17 years, 5 months
[Fedora-directory-commits] ldapserver/lib/libaccess access_plhash.h, 1.4, 1.5 acl.tab.h, 1.4, 1.5 aclcache.h, 1.4, 1.5 aclpriv.h, 1.4, 1.5 aclscan.h, 1.4, 1.5 aclutil.h, 1.4, 1.5 las.h, 1.4, 1.5 lasdns.h, 1.4, 1.5 lasip.h, 1.4, 1.5 ldapauth.h, 1.4, 1.5 oneeval.h, 1.4, 1.5 parse.h, 1.4, 1.5 permhash.h, 1.4, 1.5 access_plhash.cpp, 1.4, 1.5 acl.tab.cpp, 1.5, 1.6 acl.yy.cpp, 1.5, 1.6 aclcache.cpp, 1.6, 1.7 aclerror.cpp, 1.7, 1.8 acleval.cpp, 1.4, 1.5 aclflush.cpp, 1.5, 1.6 aclspace.cpp, 1.4, 1.5 acltools.cpp,
by Doctor Conrad
Author: nhosoi
Update of /cvs/dirsec/ldapserver/lib/libaccess
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30269/lib/libaccess
Modified Files:
access_plhash.h acl.tab.h aclcache.h aclpriv.h aclscan.h
aclutil.h las.h lasdns.h lasip.h ldapauth.h oneeval.h parse.h
permhash.h access_plhash.cpp acl.tab.cpp acl.yy.cpp
aclcache.cpp aclerror.cpp acleval.cpp aclflush.cpp
aclspace.cpp acltools.cpp aclutil.cpp authdb.cpp lasdns.cpp
lasgroup.cpp lasip.cpp lastod.cpp lasuser.cpp ldapacl.cpp
method.cpp nsautherr.cpp nseframe.cpp oneeval.cpp register.cpp
symbols.cpp usi.cpp usrcache.cpp
Log Message:
Resolves: #214533
Summary: configure needs to support --with-fhs (Comment #6)
Changes: Added the following include next to the end of the copyright block.
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
Index: access_plhash.h
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/access_plhash.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- access_plhash.h 19 Apr 2005 22:07:47 -0000 1.4
+++ access_plhash.h 10 Nov 2006 23:46:02 -0000 1.5
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
NSPR_BEGIN_EXTERN_C
/*
* access_plhash.cpp - supplement to NSPR plhash
Index: acl.tab.h
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/acl.tab.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- acl.tab.h 19 Apr 2005 22:07:47 -0000 1.4
+++ acl.tab.h 10 Nov 2006 23:46:02 -0000 1.5
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
typedef union
#ifdef __cplusplus
ACLSTYPE
Index: aclcache.h
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/aclcache.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- aclcache.h 19 Apr 2005 22:07:47 -0000 1.4
+++ aclcache.h 10 Nov 2006 23:46:02 -0000 1.5
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#ifndef CACHE_H
#define CACHE_H
Index: aclpriv.h
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/aclpriv.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- aclpriv.h 19 Apr 2005 22:07:47 -0000 1.4
+++ aclpriv.h 10 Nov 2006 23:46:02 -0000 1.5
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/*
* ACL private data structure definitions
*/
Index: aclscan.h
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/aclscan.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- aclscan.h 19 Apr 2005 22:07:47 -0000 1.4
+++ aclscan.h 10 Nov 2006 23:46:02 -0000 1.5
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/*
* Internal functions for scanner.
*/
Index: aclutil.h
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/aclutil.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- aclutil.h 19 Apr 2005 22:07:47 -0000 1.4
+++ aclutil.h 10 Nov 2006 23:46:02 -0000 1.5
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#ifndef ACLUTIL_H
#define ACLUTIL_H
Index: las.h
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/las.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- las.h 19 Apr 2005 22:07:47 -0000 1.4
+++ las.h 10 Nov 2006 23:46:02 -0000 1.5
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#ifndef LAS_H
#define LAS_H
Index: lasdns.h
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/lasdns.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- lasdns.h 19 Apr 2005 22:07:47 -0000 1.4
+++ lasdns.h 10 Nov 2006 23:46:02 -0000 1.5
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
typedef struct LASDnsContext {
PRHashTable *Table;
pool_handle_t *pool;
Index: lasip.h
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/lasip.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- lasip.h 19 Apr 2005 22:07:47 -0000 1.4
+++ lasip.h 10 Nov 2006 23:46:02 -0000 1.5
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
typedef struct LASIpTree {
struct LASIpTree *action[2];
} LASIpTree_t;
Index: ldapauth.h
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/ldapauth.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ldapauth.h 19 Apr 2005 22:07:47 -0000 1.4
+++ ldapauth.h 10 Nov 2006 23:46:02 -0000 1.5
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#ifndef LDAP_AUTH_H
#define LDAP_AUTH_H
Index: oneeval.h
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/oneeval.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- oneeval.h 19 Apr 2005 22:07:47 -0000 1.4
+++ oneeval.h 10 Nov 2006 23:46:02 -0000 1.5
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#ifndef LEVAL_H
#define LEVAL_H
Index: parse.h
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/parse.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- parse.h 19 Apr 2005 22:07:47 -0000 1.4
+++ parse.h 10 Nov 2006 23:46:02 -0000 1.5
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* module private routines for handling the yacc based
* ACL Parser.
Index: permhash.h
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/permhash.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- permhash.h 19 Apr 2005 22:07:47 -0000 1.4
+++ permhash.h 10 Nov 2006 23:46:02 -0000 1.5
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#ifndef _PERMHASH_H_
#define _PERMHASH_H_
Index: access_plhash.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/access_plhash.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- access_plhash.cpp 19 Apr 2005 22:07:47 -0000 1.4
+++ access_plhash.cpp 10 Nov 2006 23:46:02 -0000 1.5
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/*
This file contains a function which augments the standard nspr PL_HashTable
api. The problem is that the hash table lookup function in the standard NSPR
Index: acl.tab.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/acl.tab.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- acl.tab.cpp 19 Apr 2005 22:07:47 -0000 1.5
+++ acl.tab.cpp 10 Nov 2006 23:46:02 -0000 1.6
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
# line 8 "acltext.y"
#include <string.h>
#include <netsite.h>
Index: acl.yy.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/acl.yy.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- acl.yy.cpp 11 Apr 2006 02:14:53 -0000 1.5
+++ acl.yy.cpp 10 Nov 2006 23:46:02 -0000 1.6
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/* A lexical scanner generated by flex */
#define FLEX_SCANNER
Index: aclcache.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/aclcache.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- aclcache.cpp 19 Apr 2005 22:07:47 -0000 1.6
+++ aclcache.cpp 10 Nov 2006 23:46:02 -0000 1.7
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#include <prlog.h>
#include <base/crit.h>
#include <base/ereport.h>
Index: aclerror.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/aclerror.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- aclerror.cpp 10 Nov 2006 01:34:16 -0000 1.7
+++ aclerror.cpp 10 Nov 2006 23:46:02 -0000 1.8
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/*
* Description (aclerror.c)
*
Index: acleval.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/acleval.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- acleval.cpp 19 Apr 2005 22:07:47 -0000 1.4
+++ acleval.cpp 10 Nov 2006 23:46:02 -0000 1.5
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/*
* Description (acleval.c)
*
Index: aclflush.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/aclflush.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- aclflush.cpp 19 Apr 2005 22:07:47 -0000 1.5
+++ aclflush.cpp 10 Nov 2006 23:46:02 -0000 1.6
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* Source file for the ACL_CacheFlush-related routines.
*/
Index: aclspace.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/aclspace.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- aclspace.cpp 19 Apr 2005 22:07:47 -0000 1.4
+++ aclspace.cpp 10 Nov 2006 23:46:02 -0000 1.5
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#include <string.h>
#include <libaccess/acl.h>
#include "aclpriv.h"
Index: acltools.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/acltools.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- acltools.cpp 19 Apr 2005 22:07:47 -0000 1.6
+++ acltools.cpp 10 Nov 2006 23:46:02 -0000 1.7
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* Tools to build and maintain access control lists.
*/
Index: aclutil.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/aclutil.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- aclutil.cpp 19 Apr 2005 22:07:47 -0000 1.5
+++ aclutil.cpp 10 Nov 2006 23:46:02 -0000 1.6
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/*
* Source file for the TimeOfDay and DayOfWeek LAS drivers
*/
Index: authdb.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/authdb.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- authdb.cpp 10 Nov 2006 01:34:16 -0000 1.6
+++ authdb.cpp 10 Nov 2006 23:46:02 -0000 1.7
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#include <stdio.h>
#include <string.h>
Index: lasdns.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/lasdns.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- lasdns.cpp 8 Nov 2006 21:23:42 -0000 1.7
+++ lasdns.cpp 10 Nov 2006 23:46:02 -0000 1.8
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/* lasdns.c
* This file contains the DNS LAS code.
*/
Index: lasgroup.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/lasgroup.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- lasgroup.cpp 19 Apr 2005 22:07:47 -0000 1.4
+++ lasgroup.cpp 10 Nov 2006 23:46:02 -0000 1.5
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/* #define DBG_PRINT */
/* lasgroup.c
Index: lasip.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/lasip.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- lasip.cpp 11 Apr 2006 02:14:53 -0000 1.6
+++ lasip.cpp 10 Nov 2006 23:46:02 -0000 1.7
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/* aclip.c
* This file contains the IP LAS code.
*/
Index: lastod.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/lastod.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- lastod.cpp 11 Apr 2006 02:14:53 -0000 1.5
+++ lastod.cpp 10 Nov 2006 23:46:02 -0000 1.6
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/* Source file for the TimeOfDay and DayOfWeek LAS drivers
*/
#include <time.h>
Index: lasuser.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/lasuser.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- lasuser.cpp 19 Apr 2005 22:07:47 -0000 1.4
+++ lasuser.cpp 10 Nov 2006 23:46:02 -0000 1.5
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/* lasuser.c
* This file contains the User LAS code.
*/
Index: ldapacl.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/ldapacl.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ldapacl.cpp 19 Apr 2005 22:07:47 -0000 1.5
+++ ldapacl.cpp 10 Nov 2006 23:46:02 -0000 1.6
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/* #define DBG_PRINT */
#include <netsite.h>
Index: method.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/method.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- method.cpp 19 Apr 2005 22:07:47 -0000 1.4
+++ method.cpp 10 Nov 2006 23:46:02 -0000 1.5
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#include <netsite.h>
#include <libaccess/las.h>
#include <libaccess/acl.h>
Index: nsautherr.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/nsautherr.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- nsautherr.cpp 19 Apr 2005 22:07:47 -0000 1.4
+++ nsautherr.cpp 10 Nov 2006 23:46:02 -0000 1.5
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/*
* Description (nsautherr.c)
*
Index: nseframe.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/nseframe.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- nseframe.cpp 19 Apr 2005 22:07:47 -0000 1.4
+++ nseframe.cpp 10 Nov 2006 23:46:02 -0000 1.5
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/*
* Description (nseframe.c)
*
Index: oneeval.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/oneeval.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- oneeval.cpp 19 Apr 2005 22:07:47 -0000 1.6
+++ oneeval.cpp 10 Nov 2006 23:46:02 -0000 1.7
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/*
* Description (acleval.c)
*
Index: register.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/register.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- register.cpp 19 Apr 2005 22:07:47 -0000 1.5
+++ register.cpp 10 Nov 2006 23:46:02 -0000 1.6
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* LAS registration interface
*/
Index: symbols.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/symbols.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- symbols.cpp 19 Apr 2005 22:07:47 -0000 1.4
+++ symbols.cpp 10 Nov 2006 23:46:02 -0000 1.5
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/*
* Description (symbols.c)
*
Index: usi.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/usi.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- usi.cpp 19 Apr 2005 22:07:47 -0000 1.4
+++ usi.cpp 10 Nov 2006 23:46:02 -0000 1.5
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#include "base/systems.h"
#include "netsite.h"
#include "assert.h"
Index: usrcache.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/usrcache.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- usrcache.cpp 19 Apr 2005 22:07:47 -0000 1.5
+++ usrcache.cpp 10 Nov 2006 23:46:02 -0000 1.6
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/* #define DBG_PRINT */
17 years, 5 months
[Fedora-directory-commits] ldapserver/lib/libaccess/utest shexp.h, 1.4, 1.5 acltest.cpp, 1.5, 1.6 lasemail.cpp, 1.4, 1.5 onetest.cpp, 1.5, 1.6 shexp.cpp, 1.4, 1.5 testmain.cpp, 1.4, 1.5 twotest.cpp, 1.5, 1.6 ustubs.cpp, 1.6, 1.7
by Doctor Conrad
Author: nhosoi
Update of /cvs/dirsec/ldapserver/lib/libaccess/utest
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30269/lib/libaccess/utest
Modified Files:
shexp.h acltest.cpp lasemail.cpp onetest.cpp shexp.cpp
testmain.cpp twotest.cpp ustubs.cpp
Log Message:
Resolves: #214533
Summary: configure needs to support --with-fhs (Comment #6)
Changes: Added the following include next to the end of the copyright block.
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
Index: shexp.h
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/utest/shexp.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- shexp.h 19 Apr 2005 22:07:48 -0000 1.4
+++ shexp.h 10 Nov 2006 23:46:02 -0000 1.5
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* shexp.h: Defines and prototypes for shell exp. match routines
*
Index: acltest.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/utest/acltest.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- acltest.cpp 19 Apr 2005 22:07:48 -0000 1.5
+++ acltest.cpp 10 Nov 2006 23:46:02 -0000 1.6
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <stdio.h>
#include <netsite.h>
#include <base/systhr.h>
Index: lasemail.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/utest/lasemail.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- lasemail.cpp 19 Apr 2005 22:07:48 -0000 1.4
+++ lasemail.cpp 10 Nov 2006 23:46:02 -0000 1.5
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/* lasemail.cpp
* This file contains the Email LAS code.
*/
Index: onetest.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/utest/onetest.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- onetest.cpp 19 Apr 2005 22:07:48 -0000 1.5
+++ onetest.cpp 10 Nov 2006 23:46:02 -0000 1.6
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <stdio.h>
#include <netsite.h>
#include <libaccess/nserror.h>
Index: shexp.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/utest/shexp.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- shexp.cpp 19 Apr 2005 22:07:48 -0000 1.4
+++ shexp.cpp 10 Nov 2006 23:46:02 -0000 1.5
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* shexp.c: shell-like wildcard match routines
*
Index: testmain.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/utest/testmain.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- testmain.cpp 19 Apr 2005 22:07:48 -0000 1.4
+++ testmain.cpp 10 Nov 2006 23:46:02 -0000 1.5
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* ACL parser unit test program
*/
Index: twotest.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/utest/twotest.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- twotest.cpp 19 Apr 2005 22:07:48 -0000 1.5
+++ twotest.cpp 10 Nov 2006 23:46:02 -0000 1.6
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <stdio.h>
#include <netsite.h>
#include <base/plist.h>
Index: ustubs.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/utest/ustubs.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ustubs.cpp 10 Nov 2006 01:34:17 -0000 1.6
+++ ustubs.cpp 10 Nov 2006 23:46:02 -0000 1.7
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <sys/types.h>
#include <malloc.h>
#include <string.h>
17 years, 5 months
[Fedora-directory-commits] ldapserver/lib/ldaputil/utest example.c, 1.4, 1.5 plugin.c, 1.4, 1.5 plugin.h, 1.4, 1.5 stubs.c, 1.4, 1.5 auth.cpp, 1.5, 1.6 stubs.cpp, 1.5, 1.6
by Doctor Conrad
Author: nhosoi
Update of /cvs/dirsec/ldapserver/lib/ldaputil/utest
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30269/lib/ldaputil/utest
Modified Files:
example.c plugin.c plugin.h stubs.c auth.cpp stubs.cpp
Log Message:
Resolves: #214533
Summary: configure needs to support --with-fhs (Comment #6)
Changes: Added the following include next to the end of the copyright block.
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
Index: example.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/ldaputil/utest/example.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- example.c 19 Apr 2005 22:07:47 -0000 1.4
+++ example.c 10 Nov 2006 23:46:01 -0000 1.5
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#include <stdio.h>
#include <certmap.h>
Index: plugin.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/ldaputil/utest/plugin.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- plugin.c 19 Apr 2005 22:07:47 -0000 1.4
+++ plugin.c 10 Nov 2006 23:46:01 -0000 1.5
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#include <stdio.h>
#include <string.h>
#include <ctype.h>
Index: plugin.h
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/ldaputil/utest/plugin.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- plugin.h 19 Apr 2005 22:07:47 -0000 1.4
+++ plugin.h 10 Nov 2006 23:46:01 -0000 1.5
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#ifndef _CERTMAP_PLUGIN_H
#define _CERTMAP_PLUGIN_H
Index: stubs.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/ldaputil/utest/stubs.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- stubs.c 19 Apr 2005 22:07:47 -0000 1.4
+++ stubs.c 10 Nov 2006 23:46:01 -0000 1.5
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <ctype.h> /* isspace */
#include <string.h>
#include <stdio.h> /* sprintf */
Index: auth.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/ldaputil/utest/auth.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- auth.cpp 19 Apr 2005 22:07:47 -0000 1.5
+++ auth.cpp 10 Nov 2006 23:46:01 -0000 1.6
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
Index: stubs.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/ldaputil/utest/stubs.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- stubs.cpp 19 Apr 2005 22:07:47 -0000 1.5
+++ stubs.cpp 10 Nov 2006 23:46:01 -0000 1.6
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <ctype.h> /* isspace */
#include <string.h>
#include <stdio.h> /* sprintf */
17 years, 5 months