Author: nhosoi
Update of /cvs/dirsec/ldapserver/ldap/admin/src
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30269/ldap/admin/src
Modified Files:
addindex.c cfg_sspt.c cfg_sspt.h configure_instance.h
create_instance.c create_instance.h ds_bak2db.c ds_db2bak.c
ds_db2ldif.c ds_ldif2db.c ds_listdb.c ds_newinst.c ds_remove.c
ds_remove_uninst.h ds_rmdb.c ds_snmpctrl.c init_ds_env.c
init_ds_env.h install_keywords.h latest_file.c namegen.c
restart.c script-gen.c shutdown.c start.c vlvindex.c
configure_instance.cpp ds_remove_uninst.cpp instindex.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: addindex.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/addindex.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- addindex.c 19 Apr 2005 22:06:55 -0000 1.6
+++ addindex.c 10 Nov 2006 23:44:33 -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
+
/*
* addindex.c: Creates one or more indexes for specified attributes
*
Index: cfg_sspt.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/cfg_sspt.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- cfg_sspt.c 27 Sep 2006 23:40:50 -0000 1.10
+++ cfg_sspt.c 10 Nov 2006 23:44:33 -0000 1.11
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
Index: cfg_sspt.h
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/cfg_sspt.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- cfg_sspt.h 19 Apr 2005 22:06:55 -0000 1.4
+++ cfg_sspt.h 10 Nov 2006 23:44:33 -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 __cfg_sspt_h
#define __cfg_sspt_h
Index: configure_instance.h
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/configure_instance.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- configure_instance.h 19 Apr 2005 22:06:55 -0000 1.4
+++ configure_instance.h 10 Nov 2006 23:44:33 -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
+
/***********************************************************************
**
**
Index: create_instance.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/create_instance.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- create_instance.c 9 Nov 2006 18:24:52 -0000 1.34
+++ create_instance.c 10 Nov 2006 23:44:33 -0000 1.35
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* create_instance.c: Routines for creating an instance of a Directory Server
*
Index: create_instance.h
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/create_instance.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- create_instance.h 6 Nov 2006 19:33:41 -0000 1.10
+++ create_instance.h 10 Nov 2006 23:44:33 -0000 1.11
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* create_instance.h: create an instance of a directory server
*
Index: ds_bak2db.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/ds_bak2db.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ds_bak2db.c 19 Apr 2005 22:06:55 -0000 1.4
+++ ds_bak2db.c 10 Nov 2006 23:44:33 -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
+
/*
* Restores a database.
*
Index: ds_db2bak.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/ds_db2bak.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ds_db2bak.c 19 Apr 2005 22:06:55 -0000 1.5
+++ ds_db2bak.c 10 Nov 2006 23:44:33 -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
+
/*
* Backs up the database.
*
Index: ds_db2ldif.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/ds_db2ldif.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ds_db2ldif.c 19 Apr 2005 22:06:55 -0000 1.4
+++ ds_db2ldif.c 10 Nov 2006 23:44:33 -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
+
/*
* Converts the database into an ldif file.
*
Index: ds_ldif2db.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/ds_ldif2db.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ds_ldif2db.c 19 Apr 2005 22:06:55 -0000 1.6
+++ ds_ldif2db.c 10 Nov 2006 23:44:33 -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
+
/*
* ds_ldif2db.c: Converts an ldif file into a database.
*
Index: ds_listdb.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/ds_listdb.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ds_listdb.c 19 Apr 2005 22:06:55 -0000 1.4
+++ ds_listdb.c 10 Nov 2006 23:44:33 -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
+
/*
* List the database backup directories.
* No HTML - this is for DS 4.0.
Index: ds_newinst.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/ds_newinst.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ds_newinst.c 27 Sep 2006 23:40:50 -0000 1.5
+++ ds_newinst.c 10 Nov 2006 23:44:33 -0000 1.6
@@ -34,6 +34,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* ds_newinst.c - creates a new instance of directory server, scripts,
* configuration, etc. Does not create any Admin Server stuff or
Index: ds_remove.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/ds_remove.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ds_remove.c 13 Oct 2006 01:06:21 -0000 1.7
+++ ds_remove.c 10 Nov 2006 23:44:33 -0000 1.8
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* Remove the server
*
Index: ds_remove_uninst.h
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/ds_remove_uninst.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ds_remove_uninst.h 19 Apr 2005 22:06:55 -0000 1.4
+++ ds_remove_uninst.h 10 Nov 2006 23:44:33 -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
+
/* ds_remove_uninst.h */
Index: ds_rmdb.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/ds_rmdb.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ds_rmdb.c 19 Apr 2005 22:06:55 -0000 1.6
+++ ds_rmdb.c 10 Nov 2006 23:44:33 -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
+
/*
* Delete backed-up database files.
*
Index: ds_snmpctrl.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/ds_snmpctrl.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ds_snmpctrl.c 19 Apr 2005 22:06:55 -0000 1.5
+++ ds_snmpctrl.c 10 Nov 2006 23:44:33 -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
+
/*
* snmpctrl.c - start/stop/restart LDAP-based SNMP subagent
*
Index: init_ds_env.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/init_ds_env.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- init_ds_env.c 11 Apr 2006 02:14:31 -0000 1.6
+++ init_ds_env.c 10 Nov 2006 23:44:33 -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
+
/*
* Set up environment for CGIs.
*
Index: init_ds_env.h
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/init_ds_env.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- init_ds_env.h 19 Apr 2005 22:06:55 -0000 1.4
+++ init_ds_env.h 10 Nov 2006 23:44:33 -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
+
/*
* Set up environment for CGIs.
*
Index: install_keywords.h
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/install_keywords.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- install_keywords.h 19 Apr 2005 22:06:55 -0000 1.4
+++ install_keywords.h 10 Nov 2006 23:44:33 -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
+
/*********************************************************************
**
**
Index: latest_file.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/latest_file.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- latest_file.c 19 Apr 2005 22:06:55 -0000 1.7
+++ latest_file.c 10 Nov 2006 23:44:33 -0000 1.8
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/***********************************************************************
**
** NAME
Index: namegen.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/namegen.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- namegen.c 19 Apr 2005 22:06:55 -0000 1.6
+++ namegen.c 10 Nov 2006 23:44:33 -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
+
/* namegen.c - utility program to generate name *
* of backup files in the format YYYY_MM_DD_HMS *
* and set it up as an environment variable to *
Index: restart.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/restart.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- restart.c 19 Apr 2005 22:06:55 -0000 1.4
+++ restart.c 10 Nov 2006 23:44:33 -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
+
/*
* restart.c: Stops and the starts up the server.
*
Index: script-gen.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/script-gen.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- script-gen.c 19 Apr 2005 22:06:55 -0000 1.6
+++ script-gen.c 10 Nov 2006 23:44:33 -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
+
/*
* this is used for generating the (large) scripts during create_instance.
*/
Index: shutdown.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/shutdown.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- shutdown.c 19 Apr 2005 22:06:55 -0000 1.4
+++ shutdown.c 10 Nov 2006 23:44:33 -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
+
/*
* shutdown.c: Kills the server.
*
Index: start.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/start.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- start.c 19 Apr 2005 22:06:55 -0000 1.5
+++ start.c 10 Nov 2006 23:44:33 -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
+
/*
* start.c: Starts up the server.
*
Index: vlvindex.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/vlvindex.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- vlvindex.c 19 Apr 2005 22:06:55 -0000 1.4
+++ vlvindex.c 10 Nov 2006 23:44:33 -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
+
/*
* vlvindex.c: Creates a VLV index for a given search
*
Index: configure_instance.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/configure_instance.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- configure_instance.cpp 29 Mar 2006 19:44:08 -0000 1.10
+++ configure_instance.cpp 10 Nov 2006 23:44:33 -0000 1.11
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*********************************************************************
**
**
Index: ds_remove_uninst.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/ds_remove_uninst.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ds_remove_uninst.cpp 11 Apr 2006 02:14:31 -0000 1.7
+++ ds_remove_uninst.cpp 10 Nov 2006 23:44:33 -0000 1.8
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
// ds_remove_uninst.cpp
//
// ds_remove routines that use c++ calls in adminutil
Index: instindex.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/instindex.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- instindex.cpp 11 Apr 2006 02:14:31 -0000 1.10
+++ instindex.cpp 10 Nov 2006 23:44:33 -0000 1.11
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* index.c: Shows the first page you see on install
*