diff options
author | Noriko Hosoi <nhosoi@redhat.com> | 2006-11-10 23:46:05 +0000 |
---|---|---|
committer | Noriko Hosoi <nhosoi@redhat.com> | 2006-11-10 23:46:05 +0000 |
commit | 6679b0968981f8be7c33a7df2c30bb5146f3a6d3 (patch) | |
tree | 0cc86c8a1be101bb2af749547ef5fec578013bc2 /lib/libaccess | |
parent | a765a367145893e3e28dc518f5d08dd9bdfa1358 (diff) | |
download | ds-6679b0968981f8be7c33a7df2c30bb5146f3a6d3.tar.gz ds-6679b0968981f8be7c33a7df2c30bb5146f3a6d3.tar.xz ds-6679b0968981f8be7c33a7df2c30bb5146f3a6d3.zip |
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
+
Diffstat (limited to 'lib/libaccess')
46 files changed, 230 insertions, 0 deletions
diff --git a/lib/libaccess/access_plhash.cpp b/lib/libaccess/access_plhash.cpp index d767bf92..abb2e333 100644 --- a/lib/libaccess/access_plhash.cpp +++ b/lib/libaccess/access_plhash.cpp @@ -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 diff --git a/lib/libaccess/access_plhash.h b/lib/libaccess/access_plhash.h index 9712db78..56d4f0b5 100644 --- a/lib/libaccess/access_plhash.h +++ b/lib/libaccess/access_plhash.h @@ -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 diff --git a/lib/libaccess/acl.tab.cpp b/lib/libaccess/acl.tab.cpp index 9f66edcf..6cab7d97 100644 --- a/lib/libaccess/acl.tab.cpp +++ b/lib/libaccess/acl.tab.cpp @@ -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> diff --git a/lib/libaccess/acl.tab.h b/lib/libaccess/acl.tab.h index ba277c38..0bd090a5 100644 --- a/lib/libaccess/acl.tab.h +++ b/lib/libaccess/acl.tab.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + typedef union #ifdef __cplusplus ACLSTYPE diff --git a/lib/libaccess/acl.yy.cpp b/lib/libaccess/acl.yy.cpp index e248cea5..ef88e039 100644 --- a/lib/libaccess/acl.yy.cpp +++ b/lib/libaccess/acl.yy.cpp @@ -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 diff --git a/lib/libaccess/aclcache.cpp b/lib/libaccess/aclcache.cpp index da467cc7..aede1220 100644 --- a/lib/libaccess/aclcache.cpp +++ b/lib/libaccess/aclcache.cpp @@ -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> diff --git a/lib/libaccess/aclcache.h b/lib/libaccess/aclcache.h index d4f73d24..8849cf63 100644 --- a/lib/libaccess/aclcache.h +++ b/lib/libaccess/aclcache.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #ifndef CACHE_H #define CACHE_H diff --git a/lib/libaccess/aclerror.cpp b/lib/libaccess/aclerror.cpp index 942f93e0..7c1d4a26 100644 --- a/lib/libaccess/aclerror.cpp +++ b/lib/libaccess/aclerror.cpp @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* * Description (aclerror.c) * diff --git a/lib/libaccess/acleval.cpp b/lib/libaccess/acleval.cpp index bc5ae71c..bf7a4736 100644 --- a/lib/libaccess/acleval.cpp +++ b/lib/libaccess/acleval.cpp @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* * Description (acleval.c) * diff --git a/lib/libaccess/aclflush.cpp b/lib/libaccess/aclflush.cpp index 7f34a307..8e5ce7c8 100644 --- a/lib/libaccess/aclflush.cpp +++ b/lib/libaccess/aclflush.cpp @@ -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. */ diff --git a/lib/libaccess/aclpriv.h b/lib/libaccess/aclpriv.h index f4e9b78a..a95b3637 100644 --- a/lib/libaccess/aclpriv.h +++ b/lib/libaccess/aclpriv.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* * ACL private data structure definitions */ diff --git a/lib/libaccess/aclscan.h b/lib/libaccess/aclscan.h index e453a1a9..e2ab7196 100644 --- a/lib/libaccess/aclscan.h +++ b/lib/libaccess/aclscan.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* * Internal functions for scanner. */ diff --git a/lib/libaccess/aclspace.cpp b/lib/libaccess/aclspace.cpp index b7f05972..a33c8621 100644 --- a/lib/libaccess/aclspace.cpp +++ b/lib/libaccess/aclspace.cpp @@ -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" diff --git a/lib/libaccess/acltools.cpp b/lib/libaccess/acltools.cpp index 7f96bedf..7ce82659 100644 --- a/lib/libaccess/acltools.cpp +++ b/lib/libaccess/acltools.cpp @@ -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. */ diff --git a/lib/libaccess/aclutil.cpp b/lib/libaccess/aclutil.cpp index 0d14f96e..77bdf60b 100644 --- a/lib/libaccess/aclutil.cpp +++ b/lib/libaccess/aclutil.cpp @@ -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 */ diff --git a/lib/libaccess/aclutil.h b/lib/libaccess/aclutil.h index 4dd0124b..f2585dc8 100644 --- a/lib/libaccess/aclutil.h +++ b/lib/libaccess/aclutil.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #ifndef ACLUTIL_H #define ACLUTIL_H diff --git a/lib/libaccess/authdb.cpp b/lib/libaccess/authdb.cpp index 5fec834b..da435c39 100644 --- a/lib/libaccess/authdb.cpp +++ b/lib/libaccess/authdb.cpp @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include <stdio.h> #include <string.h> diff --git a/lib/libaccess/las.h b/lib/libaccess/las.h index 94ceddfc..25090226 100644 --- a/lib/libaccess/las.h +++ b/lib/libaccess/las.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #ifndef LAS_H #define LAS_H diff --git a/lib/libaccess/lasdns.cpp b/lib/libaccess/lasdns.cpp index 904a15e4..0b3d3dcf 100644 --- a/lib/libaccess/lasdns.cpp +++ b/lib/libaccess/lasdns.cpp @@ -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. */ diff --git a/lib/libaccess/lasdns.h b/lib/libaccess/lasdns.h index 83967b75..89112445 100644 --- a/lib/libaccess/lasdns.h +++ b/lib/libaccess/lasdns.h @@ -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; diff --git a/lib/libaccess/lasgroup.cpp b/lib/libaccess/lasgroup.cpp index f5d7288f..6e6602a5 100644 --- a/lib/libaccess/lasgroup.cpp +++ b/lib/libaccess/lasgroup.cpp @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* #define DBG_PRINT */ /* lasgroup.c diff --git a/lib/libaccess/lasip.cpp b/lib/libaccess/lasip.cpp index ed4761d9..aa698de6 100644 --- a/lib/libaccess/lasip.cpp +++ b/lib/libaccess/lasip.cpp @@ -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. */ diff --git a/lib/libaccess/lasip.h b/lib/libaccess/lasip.h index c3815794..c353d9d7 100644 --- a/lib/libaccess/lasip.h +++ b/lib/libaccess/lasip.h @@ -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; diff --git a/lib/libaccess/lastod.cpp b/lib/libaccess/lastod.cpp index f167cfde..218ea547 100644 --- a/lib/libaccess/lastod.cpp +++ b/lib/libaccess/lastod.cpp @@ -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> diff --git a/lib/libaccess/lasuser.cpp b/lib/libaccess/lasuser.cpp index eaff4810..ed9b8cdb 100644 --- a/lib/libaccess/lasuser.cpp +++ b/lib/libaccess/lasuser.cpp @@ -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. */ diff --git a/lib/libaccess/ldapacl.cpp b/lib/libaccess/ldapacl.cpp index bbff3f98..6be89b18 100644 --- a/lib/libaccess/ldapacl.cpp +++ b/lib/libaccess/ldapacl.cpp @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* #define DBG_PRINT */ #include <netsite.h> diff --git a/lib/libaccess/ldapauth.h b/lib/libaccess/ldapauth.h index 62db6f73..172617d5 100644 --- a/lib/libaccess/ldapauth.h +++ b/lib/libaccess/ldapauth.h @@ -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 diff --git a/lib/libaccess/method.cpp b/lib/libaccess/method.cpp index 64924847..11277b04 100644 --- a/lib/libaccess/method.cpp +++ b/lib/libaccess/method.cpp @@ -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> diff --git a/lib/libaccess/nsautherr.cpp b/lib/libaccess/nsautherr.cpp index 1f491fdd..7cea84e8 100644 --- a/lib/libaccess/nsautherr.cpp +++ b/lib/libaccess/nsautherr.cpp @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* * Description (nsautherr.c) * diff --git a/lib/libaccess/nseframe.cpp b/lib/libaccess/nseframe.cpp index ee918b5c..b29e420f 100644 --- a/lib/libaccess/nseframe.cpp +++ b/lib/libaccess/nseframe.cpp @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* * Description (nseframe.c) * diff --git a/lib/libaccess/oneeval.cpp b/lib/libaccess/oneeval.cpp index 9f8cdaaa..d18fdcfa 100644 --- a/lib/libaccess/oneeval.cpp +++ b/lib/libaccess/oneeval.cpp @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* * Description (acleval.c) * diff --git a/lib/libaccess/oneeval.h b/lib/libaccess/oneeval.h index 9b433e20..18d4813b 100644 --- a/lib/libaccess/oneeval.h +++ b/lib/libaccess/oneeval.h @@ -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 diff --git a/lib/libaccess/parse.h b/lib/libaccess/parse.h index e5b92b8f..413e271d 100644 --- a/lib/libaccess/parse.h +++ b/lib/libaccess/parse.h @@ -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. diff --git a/lib/libaccess/permhash.h b/lib/libaccess/permhash.h index 0fa31885..f76ab4c6 100644 --- a/lib/libaccess/permhash.h +++ b/lib/libaccess/permhash.h @@ -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_ diff --git a/lib/libaccess/register.cpp b/lib/libaccess/register.cpp index aae5597c..beed23d9 100644 --- a/lib/libaccess/register.cpp +++ b/lib/libaccess/register.cpp @@ -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 */ diff --git a/lib/libaccess/symbols.cpp b/lib/libaccess/symbols.cpp index 09a3c6d8..b5d90020 100644 --- a/lib/libaccess/symbols.cpp +++ b/lib/libaccess/symbols.cpp @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* * Description (symbols.c) * diff --git a/lib/libaccess/usi.cpp b/lib/libaccess/usi.cpp index 361f20d3..1a8c0378 100644 --- a/lib/libaccess/usi.cpp +++ b/lib/libaccess/usi.cpp @@ -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" diff --git a/lib/libaccess/usrcache.cpp b/lib/libaccess/usrcache.cpp index f6f337b8..b0ba35fd 100644 --- a/lib/libaccess/usrcache.cpp +++ b/lib/libaccess/usrcache.cpp @@ -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 */ diff --git a/lib/libaccess/utest/acltest.cpp b/lib/libaccess/utest/acltest.cpp index 6aafd87a..c05d6236 100644 --- a/lib/libaccess/utest/acltest.cpp +++ b/lib/libaccess/utest/acltest.cpp @@ -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> diff --git a/lib/libaccess/utest/lasemail.cpp b/lib/libaccess/utest/lasemail.cpp index 2fdde176..eed8d337 100644 --- a/lib/libaccess/utest/lasemail.cpp +++ b/lib/libaccess/utest/lasemail.cpp @@ -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. */ diff --git a/lib/libaccess/utest/onetest.cpp b/lib/libaccess/utest/onetest.cpp index e052f3be..1c91d25f 100644 --- a/lib/libaccess/utest/onetest.cpp +++ b/lib/libaccess/utest/onetest.cpp @@ -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> diff --git a/lib/libaccess/utest/shexp.cpp b/lib/libaccess/utest/shexp.cpp index 601ce41c..c118081b 100644 --- a/lib/libaccess/utest/shexp.cpp +++ b/lib/libaccess/utest/shexp.cpp @@ -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 * diff --git a/lib/libaccess/utest/shexp.h b/lib/libaccess/utest/shexp.h index 2cad1ca5..76d62ffc 100644 --- a/lib/libaccess/utest/shexp.h +++ b/lib/libaccess/utest/shexp.h @@ -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 * diff --git a/lib/libaccess/utest/testmain.cpp b/lib/libaccess/utest/testmain.cpp index e13efd9b..24b535a3 100644 --- a/lib/libaccess/utest/testmain.cpp +++ b/lib/libaccess/utest/testmain.cpp @@ -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 */ diff --git a/lib/libaccess/utest/twotest.cpp b/lib/libaccess/utest/twotest.cpp index 3247856f..25024d3a 100644 --- a/lib/libaccess/utest/twotest.cpp +++ b/lib/libaccess/utest/twotest.cpp @@ -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> diff --git a/lib/libaccess/utest/ustubs.cpp b/lib/libaccess/utest/ustubs.cpp index 01c8b3f6..425bf11e 100644 --- a/lib/libaccess/utest/ustubs.cpp +++ b/lib/libaccess/utest/ustubs.cpp @@ -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> |