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