tests: partition name to id function tests
[openafs.git] / configure.ac
1 AC_PREREQ([2.60])
2 AC_INIT([OpenAFS],[m4_esyscmd(build-tools/git-version .)],[openafs-bugs@openafs.org],[],[http://www.openafs.org/])
3 AC_CONFIG_AUX_DIR([build-tools])
4 AC_CONFIG_MACRO_DIR([src/cf])
5 AC_CONFIG_SRCDIR([src/config/stds.h])
6
7 AC_CONFIG_HEADER([src/config/afsconfig.h])
8 MACOS_VERSION=1.8.0fc1
9 LINUX_PKGREL=1.8.0pre1
10
11 AC_SUBST([MACOS_VERSION])
12
13 dnl If the user hasn't specified CFLAGS don't let configure pick -g -O2
14 AS_IF([test -z "$CFLAGS"], [CFLAGS=" "])
15
16 AC_USE_SYSTEM_EXTENSIONS
17
18 AFS_LT_INIT
19
20 AC_PROG_CC
21
22 AC_PATH_PROGS([PATH_CPP], [cpp], [${CC-cc} -E], [$PATH:/lib:/usr/ccs/lib])
23 AC_SUBST([PATH_CPP])
24 OPENAFS_CONFIGURE_COMMON
25 OPENAFS_KRB5
26 OPENAFS_GSS
27
28 dnl Checks for summary
29 OPENAFS_SUMMARY_CHECK_NAMEI
30
31 AS_IF([test -d 'doc/man-pages'],
32     [MAN_MAKEFILE="doc/man-pages/Makefile doc/man-pages/install-man"],
33     [MAN_MAKEFILE=])
34 AS_IF([test -f 'doc/xml/AdminGuide/Makefile.in'],
35     [ADMINGUIDE_MAKEFILE="doc/xml/AdminGuide/Makefile"],
36     [ADMINGUIDE_MAKEFILE=])
37 AS_IF([test -f 'doc/xml/QuickStartUnix/Makefile.in'],
38     [QSUNIX_MAKEFILE="doc/xml/QuickStartUnix/Makefile"],
39     [QSUNIX_MAKEFILE=])
40 AS_IF([test -f 'doc/xml/UserGuide/Makefile.in'],
41     [USERGUIDE_MAKEFILE="doc/xml/UserGuide/Makefile"],
42     [USERGUIDE_MAKEFILE=])
43 AS_IF([test -f 'doc/xml/AdminRef/Makefile.in'],
44     [ADMINREF_MAKEFILE="doc/xml/AdminRef/Makefile"],
45     [ADMINREF_MAKEFILE=])
46 AS_IF([test -f 'doc/xml/mobi-fixup.xsl.in'],
47     [MOBI_FIXUP_XSL="doc/xml/mobi-fixup.xsl"],
48     [MOBI_FIXUP_XSL=])
49 AS_IF([test -f 'doc/doxygen/Doxyfile.in'],
50     [DOXYFILE="doc/doxygen/Doxyfile"],
51     [DOXYFILE=])
52
53 AC_CONFIG_FILES([
54     Makefile
55     ${MAN_MAKEFILE}
56     ${ADMINGUIDE_MAKEFILE}
57     ${QSUNIX_MAKEFILE}
58     ${USERGUIDE_MAKEFILE}
59     ${ADMINREF_MAKEFILE}
60     ${MOBI_FIXUP_XSL}
61     ${DOXYFILE}
62     src/afs/Makefile
63     src/afsd/Makefile
64     src/afsmonitor/Makefile
65     src/afsweb/Makefile
66     src/aklog/Makefile
67     src/audit/Makefile
68     src/auth/Makefile
69     src/auth/test/Makefile
70     src/bozo/Makefile
71     src/bozo/test/Makefile
72     src/bu_utils/Makefile
73     src/bubasics/Makefile
74     src/bucoord/Makefile
75     src/budb/Makefile
76     src/tbudb/Makefile
77     src/butc/Makefile
78     src/butm/Makefile
79     src/cmd/Makefile
80     src/cmd/test/Makefile
81     src/comerr/Makefile
82     src/comerr/test/Makefile
83     src/config/Makefile
84     src/config/Makefile.config
85     src/config/Makefile.libtool
86     src/config/Makefile.lwp
87     src/config/Makefile.lwptool
88     src/config/Makefile.pthread
89     src/config/Makefile.version-CML
90     src/config/Makefile.version-NOCML
91     src/config/shlib-build
92     src/config/shlib-install
93     src/crypto/hcrypto/Makefile
94     src/crypto/rfc3961/Makefile
95     src/dir/Makefile
96     src/dir/test/Makefile
97     src/dviced/Makefile
98     src/dvolser/Makefile
99     src/export/Makefile
100     src/finale/Makefile
101     src/fsint/Makefile
102     src/fsprobe/Makefile
103     src/gtx/Makefile
104     src/JAVA/libjafs/Makefile
105     src/kauth/Makefile
106     src/kauth/test/Makefile
107     src/kopenafs/Makefile
108     src/libacl/Makefile
109     src/libacl/test/Makefile
110     src/libadmin/Makefile
111     src/libadmin/adminutil/Makefile
112     src/libadmin/bos/Makefile
113     src/libadmin/cfg/Makefile
114     src/libadmin/cfg/test/Makefile
115     src/libadmin/client/Makefile
116     src/libadmin/kas/Makefile
117     src/libadmin/pts/Makefile
118     src/libadmin/samples/Makefile
119     src/libadmin/test/Makefile
120     src/libadmin/vos/Makefile
121     src/libafs/Makefile.common
122     src/libafs/MakefileProto.${MKAFS_OSTYPE}
123     ${DARWIN_PLIST}
124     src/libafsauthent/Makefile
125     src/libafsrpc/Makefile
126     src/libuafs/Makefile.common
127     src/libuafs/MakefileProto.${MKAFS_OSTYPE}
128     src/log/Makefile
129     src/log/test/Makefile
130     src/lwp/Makefile
131     src/lwp/test/Makefile
132     src/opr/Makefile
133     src/packaging/MacOS/OpenAFS-debug.Description.plist
134     src/packaging/MacOS/OpenAFS-debug.Info.plist
135     src/packaging/MacOS/OpenAFS.Description.plist
136     src/packaging/MacOS/OpenAFS.Info.plist
137     src/packaging/MacOS/OpenAFS.info
138     src/packaging/MacOS/buildpkg.sh
139     src/packaging/MacOS/pkgbuild.sh
140     src/pam/Makefile
141     src/platform/Makefile
142     src/platform/${MKAFS_OSTYPE}/Makefile
143     src/platform/DARWIN/growlagent/Makefile
144     src/procmgmt/Makefile
145     src/procmgmt/test/Makefile
146     src/ptserver/Makefile
147     src/tptserver/Makefile
148     src/roken/Makefile
149     src/rx/Makefile
150     src/rx/bulk.example/Makefile
151     src/rx/bulktest/Makefile
152     src/rx/multi.example/Makefile
153     src/rx/simple.example/Makefile
154     src/rx/test/Makefile
155     src/rxdebug/Makefile
156     src/rxgen/Makefile
157     src/rxgk/Makefile
158     src/rxkad/Makefile
159     src/rxkad/test/Makefile
160     src/rxosd/Makefile
161     src/rxstat/Makefile
162     src/scout/Makefile
163     src/sys/Makefile
164     src/tbutc/Makefile
165     src/tests/Makefile
166     src/tests/run-tests
167     src/tools/Makefile
168     src/tools/dumpscan/Makefile
169     src/tools/rxperf/Makefile
170     src/tsalvaged/Makefile
171     src/tsm41/Makefile
172     src/tvolser/Makefile
173     src/ubik/Makefile
174     src/tubik/Makefile
175     src/update/Makefile
176     src/usd/Makefile
177     src/usd/test/Makefile
178     src/uss/Makefile
179     src/util/Makefile
180     src/util/test/Makefile
181     src/libafscp/Makefile
182     src/venus/Makefile
183     src/venus/test/Makefile
184     src/vfsck/Makefile
185     src/viced/Makefile
186     src/vlserver/Makefile
187     src/tvlserver/Makefile
188     src/vol/Makefile
189     src/vol/test/Makefile
190     src/volser/Makefile
191     src/xstat/Makefile
192     src/helper-splint.sh
193     tests/Makefile
194     tests/auth/Makefile
195     tests/cmd/Makefile
196     tests/common/Makefile
197     tests/opr/Makefile
198     tests/rpctestlib/Makefile
199     tests/rx/Makefile
200     tests/tap/Makefile
201     tests/util/Makefile
202     tests/volser/Makefile])
203 AC_CONFIG_COMMANDS([default],[chmod a+x src/config/shlib-build
204  chmod a+x src/config/shlib-install],[])
205 AC_OUTPUT
206
207 # print a final summary
208 OPENAFS_SUMMARY