Author: nhosoi
Update of /cvs/dirsec/ldapserver/lib/base
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30269/lib/base
Modified Files:
lexer_pvt.h nscperror.c plist_pvt.h crit.cpp dns.cpp
dnsdmain.cpp ereport.cpp eventlog.cpp file.cpp fsmutex.cpp
lexer.cpp net.cpp nterrors.cpp plist.cpp pool.cpp rwlock.cpp
shexp.cpp system.cpp systhr.cpp util.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: lexer_pvt.h
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/base/lexer_pvt.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- lexer_pvt.h 19 Apr 2005 22:07:45 -0000 1.4
+++ lexer_pvt.h 10 Nov 2006 23:45:59 -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 __LEXER_PVT_H
#define __LEXER_PVT_H
Index: nscperror.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/base/nscperror.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- nscperror.c 19 Apr 2005 22:07:45 -0000 1.4
+++ nscperror.c 10 Nov 2006 23:45:59 -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
+
/* nscperrors.c
* Very crude error handling for nspr and libsec.
*/
Index: plist_pvt.h
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/base/plist_pvt.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- plist_pvt.h 19 Apr 2005 22:07:45 -0000 1.5
+++ plist_pvt.h 10 Nov 2006 23:45:59 -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 _PLIST_PVT_H
#define _PLIST_PVT_H
Index: crit.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/base/crit.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- crit.cpp 19 Apr 2005 22:07:45 -0000 1.5
+++ crit.cpp 10 Nov 2006 23:45:59 -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
+
/*
* crit.c: Critical section abstraction. Used in threaded servers to protect
* areas where two threads can interfere with each other.
Index: dns.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/base/dns.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- dns.cpp 11 Apr 2006 02:14:52 -0000 1.6
+++ dns.cpp 10 Nov 2006 23:45:59 -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
+
/*
* dns.c: DNS resolution routines
*
Index: dnsdmain.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/base/dnsdmain.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- dnsdmain.cpp 11 Apr 2006 02:14:52 -0000 1.7
+++ dnsdmain.cpp 10 Nov 2006 23:45:59 -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
+
/*
* dnsdmain.c: DNS domain guessing stuff moved out of dns.c because of the
* string ball problems
Index: ereport.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/base/ereport.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ereport.cpp 19 Apr 2005 22:07:45 -0000 1.5
+++ ereport.cpp 10 Nov 2006 23:45:59 -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
+
/*
* ereport.c: Records transactions, reports errors to administrators, etc.
*
Index: eventlog.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/base/eventlog.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- eventlog.cpp 19 Apr 2005 22:07:45 -0000 1.5
+++ eventlog.cpp 10 Nov 2006 23:45:59 -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
+
// //
// Name: EVENTLOG //
// Platforms: WIN32 //
Index: file.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/base/file.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- file.cpp 10 Nov 2006 01:10:57 -0000 1.7
+++ file.cpp 10 Nov 2006 23:45:59 -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
+
/*
* file.c: system specific functions for reading/writing files
*
Index: fsmutex.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/base/fsmutex.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- fsmutex.cpp 19 Apr 2005 22:07:45 -0000 1.4
+++ fsmutex.cpp 10 Nov 2006 23:45:59 -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
+
/*
* fsmutex: Mutexes that are filesystem-based so they're available from more
* than one process and address space
Index: lexer.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/base/lexer.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- lexer.cpp 19 Apr 2005 22:07:45 -0000 1.5
+++ lexer.cpp 10 Nov 2006 23:45:59 -0000 1.6
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/*
* Description (lexer.c)
*
Index: net.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/base/net.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- net.cpp 19 Apr 2005 22:07:45 -0000 1.5
+++ net.cpp 10 Nov 2006 23:45:59 -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
+
/*
* net.c: sockets abstraction and DNS related things
*
Index: nterrors.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/base/nterrors.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- nterrors.cpp 19 Apr 2005 22:07:45 -0000 1.4
+++ nterrors.cpp 10 Nov 2006 23:45:59 -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
+
/*
* nterrors.c: Conversion of error numbers to explanation strings
*
Index: plist.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/base/plist.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- plist.cpp 11 Apr 2006 02:14:52 -0000 1.5
+++ plist.cpp 10 Nov 2006 23:45:59 -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
+
/*
* MODULE: plist.c
*
Index: pool.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/base/pool.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- pool.cpp 11 Apr 2006 02:14:52 -0000 1.6
+++ pool.cpp 10 Nov 2006 23:45:59 -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
+
/*
* Generic pool handling routines.
*
Index: rwlock.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/base/rwlock.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- rwlock.cpp 19 Apr 2005 22:07:45 -0000 1.4
+++ rwlock.cpp 10 Nov 2006 23:45:59 -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 <stdlib.h>
#include "crit.h"
#include "rwlock.h"
Index: shexp.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/base/shexp.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- shexp.cpp 19 Apr 2005 22:07:45 -0000 1.5
+++ shexp.cpp 10 Nov 2006 23:45:59 -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
+
/*
* shexp.c: shell-like wildcard match routines
*
Index: system.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/base/system.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- system.cpp 10 Nov 2006 01:42:39 -0000 1.8
+++ system.cpp 10 Nov 2006 23:45:59 -0000 1.9
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* system.c: A grab bag of system-level abstractions
*
Index: systhr.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/base/systhr.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- systhr.cpp 10 Nov 2006 01:34:11 -0000 1.8
+++ systhr.cpp 10 Nov 2006 23:45:59 -0000 1.9
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* systhr.c: Abstracted threading mechanisms
*
Index: util.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/base/util.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- util.cpp 19 Apr 2005 22:07:45 -0000 1.5
+++ util.cpp 10 Nov 2006 23:45:59 -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
+
/*
* util.c: A hodge podge of utility functions and standard functions which
* are unavailable on certain systems