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 /ldap/clients | |
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 'ldap/clients')
38 files changed, 190 insertions, 0 deletions
diff --git a/ldap/clients/dsgw/Versiongw.c b/ldap/clients/dsgw/Versiongw.c index b4a83c14..5cde5938 100644 --- a/ldap/clients/dsgw/Versiongw.c +++ b/ldap/clients/dsgw/Versiongw.c @@ -36,6 +36,11 @@ * All rights reserved. --- END COPYRIGHT BLOCK --- */ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include "netsite.h" /* to get MAGNUS_VERSION_STRING */ #ifdef MAGNUS_VERSION_STRING diff --git a/ldap/clients/dsgw/auth.c b/ldap/clients/dsgw/auth.c index a2f4156d..409d8813 100644 --- a/ldap/clients/dsgw/auth.c +++ b/ldap/clients/dsgw/auth.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * auth.c -- CGI authentication form generator -- HTTP gateway */ diff --git a/ldap/clients/dsgw/cgiutil.c b/ldap/clients/dsgw/cgiutil.c index 965a28f9..99413142 100644 --- a/ldap/clients/dsgw/cgiutil.c +++ b/ldap/clients/dsgw/cgiutil.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * cgiutil.c -- CGI-related utility functions -- HTTP gateway * diff --git a/ldap/clients/dsgw/ckdel.c b/ldap/clients/dsgw/ckdel.c index 596499b4..c90f9a1c 100644 --- a/ldap/clients/dsgw/ckdel.c +++ b/ldap/clients/dsgw/ckdel.c @@ -36,6 +36,11 @@ * All rights reserved. --- END COPYRIGHT BLOCK --- */ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include <stdio.h> #include "dsgw.h" diff --git a/ldap/clients/dsgw/ckdump.c b/ldap/clients/dsgw/ckdump.c index 7b0cc54d..847e83fc 100644 --- a/ldap/clients/dsgw/ckdump.c +++ b/ldap/clients/dsgw/ckdump.c @@ -36,6 +36,11 @@ * All rights reserved. --- END COPYRIGHT BLOCK --- */ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include <stdio.h> #include "dsgw.h" diff --git a/ldap/clients/dsgw/ckget.c b/ldap/clients/dsgw/ckget.c index df48500e..a8930717 100644 --- a/ldap/clients/dsgw/ckget.c +++ b/ldap/clients/dsgw/ckget.c @@ -36,6 +36,11 @@ * All rights reserved. --- END COPYRIGHT BLOCK --- */ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include <stdio.h> #include "dsgw.h" diff --git a/ldap/clients/dsgw/ckpurge.c b/ldap/clients/dsgw/ckpurge.c index 1f9bc30f..dde1c120 100644 --- a/ldap/clients/dsgw/ckpurge.c +++ b/ldap/clients/dsgw/ckpurge.c @@ -36,6 +36,11 @@ * All rights reserved. --- END COPYRIGHT BLOCK --- */ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include <stdio.h> #include "dsgw.h" diff --git a/ldap/clients/dsgw/ckput.c b/ldap/clients/dsgw/ckput.c index 42baf85f..363f717a 100644 --- a/ldap/clients/dsgw/ckput.c +++ b/ldap/clients/dsgw/ckput.c @@ -36,6 +36,11 @@ * All rights reserved. --- END COPYRIGHT BLOCK --- */ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include <stdio.h> #include "dsgw.h" diff --git a/ldap/clients/dsgw/collate.c b/ldap/clients/dsgw/collate.c index 66146c36..947c493b 100644 --- a/ldap/clients/dsgw/collate.c +++ b/ldap/clients/dsgw/collate.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * collate.c -- routines to collate character strings */ diff --git a/ldap/clients/dsgw/config.c b/ldap/clients/dsgw/config.c index 9113572d..a329e4b9 100644 --- a/ldap/clients/dsgw/config.c +++ b/ldap/clients/dsgw/config.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * config.c -- parse config file for directory server gateway */ diff --git a/ldap/clients/dsgw/cookie.c b/ldap/clients/dsgw/cookie.c index 681d10e2..dbecfb53 100644 --- a/ldap/clients/dsgw/cookie.c +++ b/ldap/clients/dsgw/cookie.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * cookie.c -- routines to generate and manipulate cookies for dsgw */ diff --git a/ldap/clients/dsgw/csearch.c b/ldap/clients/dsgw/csearch.c index 178b5e32..0be7b86a 100644 --- a/ldap/clients/dsgw/csearch.c +++ b/ldap/clients/dsgw/csearch.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * csearch.c -- CGI program to generate complex search form -- HTTP gateway */ diff --git a/ldap/clients/dsgw/dbtdsgw.h b/ldap/clients/dsgw/dbtdsgw.h index b882e93a..bcd60e0a 100644 --- a/ldap/clients/dsgw/dbtdsgw.h +++ b/ldap/clients/dsgw/dbtdsgw.h @@ -36,6 +36,11 @@ * All rights reserved. --- END COPYRIGHT BLOCK --- */ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #define LIBRARY_NAME "dsgw" /* avoid warnings for this extremely annoying variable */ diff --git a/ldap/clients/dsgw/dnedit.c b/ldap/clients/dsgw/dnedit.c index 2f320bd3..02c9ade7 100644 --- a/ldap/clients/dsgw/dnedit.c +++ b/ldap/clients/dsgw/dnedit.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * Generate a DN edit screen. */ diff --git a/ldap/clients/dsgw/doauth.c b/ldap/clients/dsgw/doauth.c index 68e714cd..6590a6b8 100644 --- a/ldap/clients/dsgw/doauth.c +++ b/ldap/clients/dsgw/doauth.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * doauth.c -- CGI authentication handler -- HTTP gateway */ diff --git a/ldap/clients/dsgw/domodify.c b/ldap/clients/dsgw/domodify.c index 75d2c5e3..13ddb4f0 100644 --- a/ldap/clients/dsgw/domodify.c +++ b/ldap/clients/dsgw/domodify.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * domodify.c -- LDAP modify CGI handler -- HTTP gateway */ diff --git a/ldap/clients/dsgw/dosearch.c b/ldap/clients/dsgw/dosearch.c index 5fbbd292..efd140b4 100644 --- a/ldap/clients/dsgw/dosearch.c +++ b/ldap/clients/dsgw/dosearch.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * dosearch.c -- CGI search handler -- HTTP gateway */ diff --git a/ldap/clients/dsgw/dsgw.h b/ldap/clients/dsgw/dsgw.h index edfcf1aa..a6e61f4a 100644 --- a/ldap/clients/dsgw/dsgw.h +++ b/ldap/clients/dsgw/dsgw.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 + /* * dsgw.h -- defines for HTTP gateway */ diff --git a/ldap/clients/dsgw/dsgwutil.c b/ldap/clients/dsgw/dsgwutil.c index 71235f7d..872db869 100644 --- a/ldap/clients/dsgw/dsgwutil.c +++ b/ldap/clients/dsgw/dsgwutil.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * dsgwutil.c -- misc. utility functions -- HTTP gateway */ diff --git a/ldap/clients/dsgw/edit.c b/ldap/clients/dsgw/edit.c index a08f4ad6..b20a8b36 100644 --- a/ldap/clients/dsgw/edit.c +++ b/ldap/clients/dsgw/edit.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * edit.c -- CGI editable entry display -- HTTP gateway */ diff --git a/ldap/clients/dsgw/emitauth.c b/ldap/clients/dsgw/emitauth.c index 5a2b4075..55bd1017 100644 --- a/ldap/clients/dsgw/emitauth.c +++ b/ldap/clients/dsgw/emitauth.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * emitauth.c -- generate authentication form -- HTTP gateway */ diff --git a/ldap/clients/dsgw/emitf.c b/ldap/clients/dsgw/emitf.c index a6352821..68b15e14 100644 --- a/ldap/clients/dsgw/emitf.c +++ b/ldap/clients/dsgw/emitf.c @@ -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 <stdarg.h> /* va_list etc. */ #include <stdio.h> /* sprintf */ #include <stdlib.h> /* malloc, realloc, free */ diff --git a/ldap/clients/dsgw/entrydisplay.c b/ldap/clients/dsgw/entrydisplay.c index 4b6d47ed..4c252eb2 100644 --- a/ldap/clients/dsgw/entrydisplay.c +++ b/ldap/clients/dsgw/entrydisplay.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * entrydisplay.c -- output entries one at a time or in a list -- HTTP gateway */ diff --git a/ldap/clients/dsgw/error.c b/ldap/clients/dsgw/error.c index 79c33c06..4c8b19e4 100644 --- a/ldap/clients/dsgw/error.c +++ b/ldap/clients/dsgw/error.c @@ -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 -- error handling functions -- HTTP gateway */ diff --git a/ldap/clients/dsgw/getopt.c b/ldap/clients/dsgw/getopt.c index 4f73d452..1a9b102d 100644 --- a/ldap/clients/dsgw/getopt.c +++ b/ldap/clients/dsgw/getopt.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * Copyright (c) 1987 Regents of the University of California. * All rights reserved. diff --git a/ldap/clients/dsgw/htmlout.c b/ldap/clients/dsgw/htmlout.c index 4d72971d..d7c65ab3 100644 --- a/ldap/clients/dsgw/htmlout.c +++ b/ldap/clients/dsgw/htmlout.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * htmlout.c -- routines to output HTML elements -- HTTP gateway */ diff --git a/ldap/clients/dsgw/htmlparse.c b/ldap/clients/dsgw/htmlparse.c index 7bc9b38d..d9e04d9f 100644 --- a/ldap/clients/dsgw/htmlparse.c +++ b/ldap/clients/dsgw/htmlparse.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * htmlparse.c -- routines to parse HTML templates -- HTTP gateway. * Stolen from libadmin/template.c and libadmin/form_get.c, originally diff --git a/ldap/clients/dsgw/lang.c b/ldap/clients/dsgw/lang.c index 8c93c0d4..6176c5cc 100644 --- a/ldap/clients/dsgw/lang.c +++ b/ldap/clients/dsgw/lang.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * Convert a document from ../html, or redirect the server to it. */ diff --git a/ldap/clients/dsgw/ldaputil.c b/ldap/clients/dsgw/ldaputil.c index 750fee67..591c4918 100644 --- a/ldap/clients/dsgw/ldaputil.c +++ b/ldap/clients/dsgw/ldaputil.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * ldaputil.c -- LDAP utility functions -- HTTP gateway */ diff --git a/ldap/clients/dsgw/newentry.c b/ldap/clients/dsgw/newentry.c index 4e09986c..e8e6b448 100644 --- a/ldap/clients/dsgw/newentry.c +++ b/ldap/clients/dsgw/newentry.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * newentry.c -- CGI program to generate newentry form -- HTTP gateway */ diff --git a/ldap/clients/dsgw/search.c b/ldap/clients/dsgw/search.c index 386c7ce1..760a3098 100644 --- a/ldap/clients/dsgw/search.c +++ b/ldap/clients/dsgw/search.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * search.c -- CGI program to generate smart search form -- HTTP gateway */ diff --git a/ldap/clients/dsgw/secglue.c b/ldap/clients/dsgw/secglue.c index 95834fd2..0095406f 100644 --- a/ldap/clients/dsgw/secglue.c +++ b/ldap/clients/dsgw/secglue.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * secglue.c: Glue routines for the httpd.so shared object. These are * necessary because on many system no garbage collection is performed for diff --git a/ldap/clients/dsgw/sort.c b/ldap/clients/dsgw/sort.c index 3901e1ad..a191025c 100644 --- a/ldap/clients/dsgw/sort.c +++ b/ldap/clients/dsgw/sort.c @@ -36,6 +36,11 @@ * All rights reserved. --- END COPYRIGHT BLOCK --- */ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* DON'T SHIP THIS PROGRAM. It's terribly un-secure, as it enables an HTTP client to read the contents of any file. */ diff --git a/ldap/clients/dsgw/tutor.c b/ldap/clients/dsgw/tutor.c index 11b3a564..67e808cb 100644 --- a/ldap/clients/dsgw/tutor.c +++ b/ldap/clients/dsgw/tutor.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * tutor.c - Take a qs, and spit out the appropriate tutorial * diff --git a/ldap/clients/dsgw/unauth.c b/ldap/clients/dsgw/unauth.c index 7739995e..686ea057 100644 --- a/ldap/clients/dsgw/unauth.c +++ b/ldap/clients/dsgw/unauth.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * unauth.c -- CGI to discard cookies -- HTTP gateway */ diff --git a/ldap/clients/dsgw/utf8compare.c b/ldap/clients/dsgw/utf8compare.c index f351419d..c2d09f18 100644 --- a/ldap/clients/dsgw/utf8compare.c +++ b/ldap/clients/dsgw/utf8compare.c @@ -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 <ctype.h> diff --git a/ldap/clients/dsgw/vcard.c b/ldap/clients/dsgw/vcard.c index a8e4ef8b..5ad54c00 100644 --- a/ldap/clients/dsgw/vcard.c +++ b/ldap/clients/dsgw/vcard.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * vcard.c -- vCard utility functions -- HTTP gateway */ diff --git a/ldap/clients/orgchart/wrapper.c b/ldap/clients/orgchart/wrapper.c index 1ab67b23..3a9b0c5a 100644 --- a/ldap/clients/orgchart/wrapper.c +++ b/ldap/clients/orgchart/wrapper.c @@ -35,6 +35,11 @@ * All rights reserved. * --- END COPYRIGHT BLOCK --- */ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /*********************************************************************** ** Includes ***********************************************************************/ |