Rationalise some #ifdefs in the LINUX osi layer
[openafs.git] / configure.in
1 AC_INIT(src/config/stds.h)
2 AM_INIT_AUTOMAKE(openafs,1.5.65)
3 AC_CONFIG_HEADER(src/config/afsconfig.h)
4 MACOS_VERSION=1.5.65
5 LINUX_PKGVER=1.5.65
6 #LINUX_PKGREL=0.pre3
7 LINUX_PKGREL=1.1
8
9 AC_SUBST(MACOS_VERSION)
10 AC_SUBST(LINUX_PKGVER)
11 AC_SUBST(LINUX_PKGREL)
12
13 AC_PROG_CC
14 AC_PATH_PROGS([PATH_CPP], [cpp], [${CC-cc} -E], [$PATH:/lib:/usr/ccs/lib])
15 AC_SUBST([PATH_CPP])
16 OPENAFS_CONFIGURE_COMMON
17
18 if test -d 'doc/man-pages' ; then
19     MAN_MAKEFILE="doc/man-pages/Makefile doc/man-pages/install-man"
20 else
21     MAN_MAKEFILE=
22 fi
23 if test -f 'doc/xml/AdminGuide/Makefile.in' ; then
24    ADMINGUIDE_MAKEFILE="doc/xml/AdminGuide/Makefile"
25 else
26    ADMINGUIDE_MAKEFILE=
27 fi
28 if test -f 'doc/xml/QuickStartUnix/Makefile.in' ; then
29    QSUNIX_MAKEFILE="doc/xml/QuickStartUnix/Makefile"
30 else
31    QSUNIX_MAKEFILE=
32 fi
33 if test -f 'doc/xml/UserGuide/Makefile.in' ; then
34    USERGUIDE_MAKEFILE="doc/xml/UserGuide/Makefile"
35 else
36    USERGUIDE_MAKEFILE=
37 fi
38
39 AC_OUTPUT(             \
40 Makefile               \
41 ${MAN_MAKEFILE} \
42 ${ADMINGUIDE_MAKEFILE} \
43 ${QSUNIX_MAKEFILE} \
44 ${USERGUIDE_MAKEFILE} \
45 src/afs/Makefile \
46 src/afsd/Makefile \
47 src/afsmonitor/Makefile \
48 src/afsweb/Makefile \
49 src/aklog/Makefile \
50 src/audit/Makefile \
51 src/auth/Makefile \
52 src/auth/test/Makefile \
53 src/bozo/Makefile \
54 src/bozo/test/Makefile \
55 src/bu_utils/Makefile \
56 src/bubasics/Makefile \
57 src/bucoord/Makefile \
58 src/budb/Makefile \
59 src/tbudb/Makefile \
60 src/butc/Makefile \
61 src/butm/Makefile \
62 src/cmd/Makefile \
63 src/cmd/test/Makefile \
64 src/comerr/Makefile \
65 src/comerr/test/Makefile \
66 src/config/Makefile \
67 src/config/Makefile.config \
68 src/config/Makefile.version-CML \
69 src/config/Makefile.version-NOCML \
70 src/config/shlib-build \
71 src/config/shlib-install \
72 src/des/Makefile \
73 src/des/test/Makefile \
74 src/dir/Makefile \
75 src/dir/test/Makefile \
76 src/export/Makefile \
77 src/finale/Makefile \
78 src/fsint/Makefile \
79 src/fsprobe/Makefile \
80 src/gtx/Makefile \
81 src/JAVA/libjafs/Makefile \
82 src/kauth/Makefile \
83 src/kauth/test/Makefile \
84 src/kopenafs/Makefile \
85 src/libacl/Makefile \
86 src/libacl/test/Makefile \
87 src/libadmin/Makefile \
88 src/libadmin/adminutil/Makefile \
89 src/libadmin/bos/Makefile \
90 src/libadmin/cfg/Makefile \
91 src/libadmin/cfg/test/Makefile \
92 src/libadmin/client/Makefile \
93 src/libadmin/kas/Makefile \
94 src/libadmin/pts/Makefile \
95 src/libadmin/samples/Makefile \
96 src/libadmin/test/Makefile \
97 src/libadmin/vos/Makefile \
98 src/libafs/Makefile.common \
99 src/libafs/MakefileProto.${MKAFS_OSTYPE} \
100 ${DARWIN_PLIST} \
101 src/libafsauthent/Makefile \
102 src/libafsrpc/Makefile \
103 src/libuafs/Makefile.common \
104 src/libuafs/MakefileProto.${MKAFS_OSTYPE} \
105 src/log/Makefile \
106 src/log/test/Makefile \
107 src/lwp/Makefile \
108 src/lwp/test/Makefile \
109 src/packaging/Debian/rules \
110 src/packaging/MacOS/OpenAFS.Info.plist \
111 src/packaging/MacOS/OpenAFS.info \
112 src/packaging/MacOS/buildpkg.sh \
113 src/packaging/RedHat/openafs.spec \
114 src/pam/Makefile \
115 src/platform/Makefile \
116 src/platform/${MKAFS_OSTYPE}/Makefile \
117 src/procmgmt/Makefile \
118 src/procmgmt/test/Makefile \
119 src/ptserver/Makefile \
120 src/tptserver/Makefile \
121 src/rx/Makefile \
122 src/rx/bulk.example/Makefile \
123 src/rx/bulktest/Makefile \
124 src/rx/multi.example/Makefile \
125 src/rx/simple.example/Makefile \
126 src/rx/test/Makefile \
127 src/rxdebug/Makefile \
128 src/rxgen/Makefile \
129 src/rxkad/Makefile \
130 src/rxkad/test/Makefile \
131 src/rxstat/Makefile \
132 src/scout/Makefile \
133 src/sgistuff/Makefile \
134 src/shlibafsauthent/Makefile \
135 src/shlibafsrpc/Makefile \
136 src/sys/Makefile \
137 src/tbutc/Makefile \
138 src/tests/Makefile \
139 src/tests/run-tests \
140 src/tsalvaged/Makefile \
141 src/tsm41/Makefile \
142 src/tviced/Makefile \
143 src/tvolser/Makefile \
144 src/ubik/Makefile \
145 src/tubik/Makefile \
146 src/update/Makefile \
147 src/usd/Makefile \
148 src/usd/test/Makefile \
149 src/uss/Makefile \
150 src/util/Makefile \
151 src/util/test/Makefile \
152 src/venus/Makefile \
153 src/venus/test/Makefile \
154 src/vfsck/Makefile \
155 src/viced/Makefile \
156 src/vlserver/Makefile \
157 src/tvlserver/Makefile \
158 src/vol/Makefile \
159 src/vol/test/Makefile \
160 src/volser/Makefile \
161 src/xstat/Makefile \
162 src/helper-splint.sh,
163
164 [chmod a+x src/config/shlib-build
165  chmod a+x src/config/shlib-install])