Fix build with LDAP on FreeBSD.
[apr-util.git] / config.layout
blob907d0bb116930055c4a06e7105cadd63bf20e187
1 ##
2 ##  config.layout -- Pre-defined Installation Path Layouts
3 ##
4 ##  Hints:
5 ##  - layouts can be loaded with configure's --enable-layout=ID option
6 ##  - when no --enable-layout option is given, the default layout is `apr'
7 ##  - a trailing plus character (`+') on paths is replaced with a 
8 ##    `/<target>' suffix where <target> is currently hardcoded to 'apr'.
9 ##    (This may become a configurable parameter at some point.)
12 #   Classical APR-util path layout designed for parallel installs.
13 <Layout apr-util>
14     prefix:        /usr/local/apr
15     exec_prefix:   ${prefix}
16     bindir:        ${exec_prefix}/bin
17     sbindir:       ${exec_prefix}/bin
18     libdir:        ${exec_prefix}/lib
19     libexecdir:    ${exec_prefix}/modules
20     mandir:        ${prefix}/man
21     sysconfdir:    ${prefix}/conf
22     datadir:       ${prefix}
23     installbuilddir: ${datadir}/build
24     includedir:    ${prefix}/include/apr-${APRUTIL_MAJOR_VERSION}
25     localstatedir: ${prefix}
26     libsuffix:     -${APRUTIL_MAJOR_VERSION}
27 </Layout>
29 #   Classical single-installation APR path layout.
30 <Layout classic>
31     prefix:        /usr/local/apr
32     exec_prefix:   ${prefix}
33     bindir:        ${exec_prefix}/bin
34     sbindir:       ${exec_prefix}/bin
35     libdir:        ${exec_prefix}/lib
36     libexecdir:    ${exec_prefix}/modules
37     mandir:        ${prefix}/man
38     sysconfdir:    ${prefix}/conf
39     datadir:       ${prefix}
40     installbuilddir: ${datadir}/build
41     includedir:    ${prefix}/include
42     localstatedir: ${prefix}
43 </Layout>
45 #   GNU standards conforming path layout.
46 #   See FSF's GNU project `make-stds' document for details.
47 <Layout GNU>
48     prefix:        /usr/local
49     exec_prefix:   ${prefix}
50     bindir:        ${exec_prefix}/bin
51     sbindir:       ${exec_prefix}/sbin
52     libdir:        ${exec_prefix}/lib
53     libexecdir:    ${exec_prefix}/libexec
54     mandir:        ${prefix}/man
55     sysconfdir:    ${prefix}/etc+
56     datadir:       ${prefix}/share+
57     installbuilddir: ${datadir}/build
58     includedir:    ${prefix}/include+
59     localstatedir: ${prefix}/var+
60     runtimedir:    ${localstatedir}/run
61 </Layout>
63 #   Mac OS X Server (Rhapsody)
64 <Layout Mac OS X Server>
65     prefix:        /Local/Library/WebServer
66     exec_prefix:   /usr
67     bindir:        ${exec_prefix}/bin
68     sbindir:       ${exec_prefix}/sbin
69     libdir:        ${exec_prefix}/lib
70     libexecdir:    /System/Library/apr/Modules
71     mandir:        ${exec_prefix}/share/man
72     sysconfdir:    ${prefix}/Configuration
73     datadir:       ${prefix}
74     installbuilddir: /System/Library/apr/Build
75     includedir:    /System/Library/Frameworks/apr.framework/Versions/2.0/Headers
76     localstatedir: /var
77     runtimedir:    ${prefix}/Logs
78 </Layout>
80 #   Darwin/Mac OS Layout
81 <Layout Darwin>
82     prefix:        /usr
83     exec_prefix:   ${prefix}
84     bindir:        ${exec_prefix}/bin
85     sbindir:       ${exec_prefix}/sbin
86     libdir:        ${exec_prefix}/lib
87     libexecdir:    ${exec_prefix}/libexec+
88     mandir:        ${prefix}/share/man
89     datadir:       /Library/WebServer
90     sysconfdir:    /etc+
91     installbuilddir: ${prefix}/share/httpd/build
92     includedir:    ${prefix}/include+
93     localstatedir: /var
94     runtimedir:    ${localstatedir}/run
95 </Layout>
97 #   Red Hat Linux 7.x layout
98 <Layout RedHat>
99     prefix:        /usr
100     exec_prefix:   ${prefix}
101     bindir:        ${prefix}/bin
102     sbindir:       ${prefix}/sbin
103     libdir:        ${prefix}/lib
104     libexecdir:    ${prefix}/lib/apr
105     mandir:        ${prefix}/man
106     sysconfdir:    /etc/httpd/conf
107     datadir:       /var/www
108     installbuilddir: ${datadir}/build
109     includedir:    ${prefix}/include/apr
110     localstatedir: /var
111     runtimedir:    ${localstatedir}/run
112 </Layout>     
114 #   According to the /opt filesystem conventions
115 <Layout opt>
116     prefix:        /opt/apr
117     exec_prefix:   ${prefix}
118     bindir:        ${exec_prefix}/bin
119     sbindir:       ${exec_prefix}/sbin
120     libdir:        ${exec_prefix}/lib
121     libexecdir:    ${exec_prefix}/libexec
122     mandir:        ${prefix}/man
123     sysconfdir:    /etc${prefix}
124     datadir:       ${prefix}/share
125     installbuilddir: ${datadir}/build
126     includedir:    ${prefix}/include
127     localstatedir: /var${prefix}
128     runtimedir:    ${localstatedir}/run
129 </Layout>
131 #  BeOS layout...
132 <Layout beos>
133     prefix:        /boot/home/apr
134     exec_prefix:   ${prefix}
135     bindir:        ${exec_prefix}/bin
136     sbindir:       ${exec_prefix}/bin
137     libdir:        ${exec_prefix}/lib
138     libexecdir:    ${exec_prefix}/libexec
139     mandir:        ${prefix}/man
140     sysconfdir:    ${prefix}/conf
141     datadir:       ${prefix}
142     installbuilddir: ${datadir}/build
143     includedir:    ${prefix}/include
144     localstatedir: ${prefix}
145     runtimedir:    ${localstatedir}/logs
146 </Layout>
148 #   SuSE 6.x layout
149 <Layout SuSE>
150     prefix:        /usr
151     exec_prefix:   ${prefix}
152     bindir:        ${prefix}/bin
153     sbindir:       ${prefix}/sbin
154     libdir:        ${prefix}/lib
155     libexecdir:    ${prefix}/lib/apr
156     mandir:        ${prefix}/share/man
157     sysconfdir:    /etc/httpd
158     datadir:       /usr/local/httpd
159     installbuilddir: ${datadir}/build
160     includedir:    ${prefix}/include/apr
161     localstatedir: /var/lib/httpd
162     runtimedir:    /var/run
163 </Layout>
165 #   BSD/OS layout
166 <Layout BSDI>
167     prefix:        /var/www
168     exec_prefix:   /usr/contrib
169     bindir:        ${exec_prefix}/bin
170     sbindir:       ${exec_prefix}/bin
171     libdir:        ${exec_prefix}/lib
172     libexecdir:    ${exec_prefix}/libexec/apr
173     mandir:        ${exec_prefix}/man
174     sysconfdir:    ${prefix}/conf
175     datadir:       ${prefix}
176     installbuilddir: ${datadir}/build
177     includedir:    ${exec_prefix}/include/apr
178     localstatedir: /var
179     runtimedir:    ${localstatedir}/run
180 </Layout>
182 #   Solaris 8 Layout
183 <Layout Solaris>
184     prefix:        /usr/apr
185     exec_prefix:   ${prefix}
186     bindir:        ${exec_prefix}/bin
187     sbindir:       ${exec_prefix}/bin
188     libdir:        ${exec_prefix}/lib
189     libexecdir:    ${exec_prefix}/libexec
190     mandir:        ${exec_prefix}/man
191     sysconfdir:    /etc/apr
192     datadir:       /var/apr
193     installbuilddir: ${datadir}/build
194     includedir:    ${exec_prefix}/include
195     localstatedir: ${prefix}
196     runtimedir:    /var/run
197 </Layout>
199 #   OpenBSD Layout
200 <Layout OpenBSD>
201     prefix:        /var/www
202     exec_prefix:   /usr
203     bindir:        ${exec_prefix}/bin
204     sbindir:       ${exec_prefix}/sbin
205     libdir:        ${exec_prefix}/lib
206     libexecdir:    ${exec_prefix}/lib/apr/modules
207     mandir:        ${exec_prefix}/share/man
208     sysconfdir:    ${prefix}/conf
209     datadir:       ${prefix}
210     installbuilddir: ${prefix}/build
211     includedir:    ${exec_prefix}/lib/apr/include
212     localstatedir: ${prefix}
213     runtimedir:    ${prefix}/logs
214 </Layout>
216 # Debian layout
217 <Layout Debian>
218     prefix:        
219     exec_prefix:   ${prefix}/usr
220     bindir:        ${exec_prefix}/bin
221     sbindir:       ${exec_prefix}/sbin
222     libdir:        ${exec_prefix}/lib
223     libexecdir:    ${exec_prefix}/lib/apr/modules
224     mandir:        ${exec_prefix}/share/man
225     datadir:       ${exec_prefix}/share/apr
226     includedir:    ${exec_prefix}/include/apr-${APRUTIL_MAJOR_VERSION}
227     localstatedir: ${prefix}/var/run
228     runtimedir:    ${prefix}/var/run
229     infodir:       ${exec_prefix}/share/info
230     libsuffix:     -${APRUTIL_MAJOR_VERSION}
231     installbuilddir: ${prefix}/usr/share/apache2/build
232 </Layout>