2b713414b319614180f27147aac25a87938c6919
[openafs.git] / src / cf / osconf.m4
1
2 AC_DEFUN([OPENAFS_OSCONF], [
3
4 dnl defaults, override in case below as needed
5 XCFLAGS='${DBG} ${OPTMZ}'
6 SHLIB_SUFFIX="so"
7 CC="cc"
8 CCOBJ="cc"
9 MT_CC="cc"
10 XLIBS="${LIB_AFSDB}"
11
12 dnl debugging and optimization flag defaults
13 dnl Note, these are all the defaults for if debug/optimize turned on, and
14 dnl the arch cases below do not override
15 KERN_DBG=-g
16 KERN_OPTMZ=-O
17 DBG=-g
18 OPTMZ=-O
19 LWP_DBG=-g
20 LWP_OPTMZ=-O
21
22 dnl standard programs
23 AC_PROG_RANLIB
24 AC_CHECK_PROGS(AS, as, [${am_missing_run}as])
25 AC_CHECK_PROGS(AR, ar, [${am_missing_run}ar])
26 AC_CHECK_PROGS(MV, mv, [${am_missing_run}mv])
27 AC_CHECK_PROGS(RM, rm, [${am_missing_run}rm])
28 AC_CHECK_PROGS(LD, ld, [${am_missing_run}ld])
29 AC_CHECK_PROGS(CP, cp, [${am_missing_run}cp])
30 AC_CHECK_PROGS(STRIP, strip, [${am_missing_run}strip])
31 AC_CHECK_PROGS(LORDER, lorder, [${am_missing_run}lorder])
32
33 dnl TODO - need to disable STRIP if we are doing debugging in any user space code
34
35 case $AFS_SYSNAME in
36         alpha_dux40)
37                 LEX="lex"
38                 CSTATIC="-non_shared"
39                 DBG="-g3"
40                 MT_CFLAGS='-D_REENTRANT=1 -pthread -DAFS_PTHREAD_ENV ${XCFLAGS}'
41                 MT_LIBS="-pthread -lpthread -lmach -lexc -lc"
42                 TXLIBS="-lcurses"
43                 XCFLAGS="-D_NO_PROTO -DOSF"
44                 SHLIB_LINKER="${CC} -all -shared -expect_unresolved \"*\""
45                 ;;
46
47         alpha_dux50)
48                 LEX="flex -l"
49                 DBG="-g3"
50                 CSTATIC="-non_shared"
51                 MT_CFLAGS='-D_REENTRANT=1 -pthread -DAFS_PTHREAD_ENV ${XCFLAGS}'
52                 MT_LIBS="-pthread -lpthread -lmach -lexc -lc"
53                 TXLIBS="-lcurses"
54                 XCFLAGS="-D_NO_PROTO -DOSF"
55                 SHLIB_LINKER="${CC} -all -shared -expect_unresolved \"*\""
56                 ;;
57
58         alpha_dux51)
59                 LEX="flex -l"
60                 DBG="-g3"
61                 CSTATIC="-non_shared"
62                 LWP_OPTMZ="-O2"
63                 MT_CFLAGS='-D_REENTRANT=1 -pthread -DAFS_PTHREAD_ENV ${XCFLAGS}'
64                 MT_LIBS="-pthread -lpthread -lmach -lexc -lc"
65                 TXLIBS="-lcurses"
66                 XCFLAGS="-D_NO_PROTO -DOSF"
67                 SHLIB_LINKER="${CC} -all -shared -expect_unresolved \"*\""
68                 ;;
69
70         alpha_linux_22)
71                 KERN_OPTMZ=-O2
72                 LEX="flex -l"
73                 MT_CFLAGS='-DAFS_PTHREAD_ENV -pthread -D_REENTRANT ${XCFLAGS}'
74                 MT_LIBS="-lpthread"
75                 PAM_CFLAGS="-O2 -Dlinux -DLINUX_PAM -fPIC"
76                 SHLIB_LDFLAGS="-shared -Xlinker -x"
77                 TXLIBS="-lncurses"
78                 XCFLAGS="-O2 -D_LARGEFILE64_SOURCE"
79                 YACC="bison -y"
80                 SHLIB_LINKER="${MT_CC} -shared"
81                 ;;
82
83         alpha_linux_24)
84                 KERN_OPTMZ=-O2
85                 LEX="flex -l"
86                 MT_CFLAGS='-DAFS_PTHREAD_ENV -pthread -D_REENTRANT ${XCFLAGS}'
87                 MT_LIBS="-lpthread"
88                 PAM_CFLAGS="-O2 -Dlinux -DLINUX_PAM -fPIC"
89                 SHLIB_LDFLAGS="-shared -Xlinker -x"
90                 TXLIBS="-lncurses"
91                 XCFLAGS="-O2 -D_LARGEFILE64_SOURCE"
92                 YACC="bison -y"
93                 SHLIB_LINKER="${MT_CC} -shared"
94                 ;;
95
96         hp_ux102)
97                 AS="/usr/ccs/bin/as"
98                 CC="/opt/ansic/bin/cc -Ae"
99                 DBM="/lib/libndbm.a"
100                 LD="/bin/ld"
101                 LEX="/opt/langtools/bin/lex"
102                 LWP_OPTMZ="-O"
103                 MT_CC="/opt/ansic/bin/cc -Ae"
104                 MT_CFLAGS='-D_POSIX_C_SOURCE=199506L -DAFS_PTHREAD_ENV ${XCFLAGS}'
105                 MT_LIBS="-L/opt/dce/lib -ldce"
106                 MV="/bin/mv"
107                 OPTMZ="-O"
108                 PAM_CFLAGS="+DA1.0 +z -Wl,+k"
109                 PAM_LIBS="/usr/lib/libpam.1"
110                 RANLIB="/usr/bin/ranlib"
111                 RM="/bin/rm"
112                 SHLIB_LDFLAGS="-b -Bsymbolic"
113                 SHLIB_SUFFIX="sl"
114                 TXLIBS="/usr/lib/libHcurses.a"
115                 VFSCK_CFLAGS="-D_FILE64"
116                 XCFLAGS0="-ldld -lc -Wp,-H200000 -Wl,-a,archive -DAUTH_DBM_LOG +z -Wl,+k -D_LARGEFILE64_SOURCE"
117                 XCFLAGS64="${XCFLAGS0} +DA2.0W"
118                 XCFLAGS="${XCFLAGS0} +DA1.0"
119                 YACC="/opt/langtools/bin/yacc"
120                 SHLIB_LINKER="ld -b"
121                 ;;
122
123         hp_ux11*)
124                 AR="/usr/bin/ar"
125                 AS="/usr/ccs/bin/as"
126                 CC="/opt/ansic/bin/cc"
127                 CCOBJ="/opt/ansic/bin/cc"
128                 DBM="/lib/libndbm.a"
129                 LD="/bin/ld   "
130                 LEX="/opt/langtools/bin/lex"
131                 LWP_OPTMZ="-O"
132                 MT_CC="$CC"
133                 MT_CFLAGS='-D_POSIX_C_SOURCE=199506L -DAFS_PTHREAD_ENV ${XCFLAGS}'
134                 MT_LIBS="-lpthread"
135                 MV="/bin/mv"
136                 OPTMZ="-O"
137                 PAM_CFLAGS="+DA1.0 +z -Wl,+k"
138                 PAM_LIBS="/usr/lib/libpam.1"
139                 RANLIB="/usr/bin/ranlib"
140                 RM="/bin/rm"
141                 SHLIB_LDFLAGS="-b -Bsymbolic"
142                 SHLIB_SUFFIX="sl"
143                 TXLIBS="/usr/lib/libHcurses.a"
144                 VFSCK_CFLAGS="-I/usr/old/usr/include -D_FILE64"
145                 XCFLAGS0="-ldld -lc -Wp,-H200000 -Wl,-a,archive -DAUTH_DBM_LOG +z -Wl,+k -D_LARGEFILE64_SOURCE"
146                 XCFLAGS64="${XCFLAGS0} +DA2.0W"
147                 XCFLAGS="${XCFLAGS0} +DA1.0"
148                 XLIBELFA="-lelf"
149                 #XLIBS="${LIB_AFSDB} -lnsl"
150                 XLIBS="${LIB_AFSDB}"
151                 YACC="/opt/langtools/bin/yacc"
152                 SHLIB_LINKER="ld -b"
153                 ;;
154
155         ia64_hpux*)
156                 AR="/usr/bin/ar"
157                 AS="/usr/ccs/bin/as"
158                 CC="/opt/ansic/bin/cc"
159                 CCOBJ="/opt/ansic/bin/cc"
160                 DBM="/lib/hpux32/libndbm.so"
161                 LD="/bin/ld   "
162                 LEX="/opt/langtools/bin/lex"
163                 LWP_OPTMZ=""
164                 MT_CC="$CC"
165                 MT_CFLAGS='-D_POSIX_C_SOURCE=199506L -DAFS_PTHREAD_ENV ${XCFLAGS}'
166                 MT_LIBS="-lpthread"
167                 MV="/bin/mv"
168                 OPTMZ="-O"
169                 PAM_CFLAGS="-b +z -Wl,+k"
170                 PAM_LIBS="/usr/lib/hpux32/libpam.so"
171                 RANLIB="/usr/bin/ranlib"
172                 RM="/bin/rm"
173                 SHLIB_LDFLAGS="-b -Bsymbolic"
174                 SHLIB_SUFFIX="sl"
175                 TXLIBS="/usr/lib/hpux32/libcurses.so"
176                 VFSCK_CFLAGS="-I/usr/old/usr/include -D_FILE64"
177                 XCFLAGS0="-ldld -lc -Wp,-H200000 -Wl,-a,archive_shared -DAUTH_DBM_LOG +z -Wl,+k -D_LARGEFILE64_SOURCE"
178                 XCFLAGS64="${XCFLAGS0} +DD64"
179                 XCFLAGS="${XCFLAGS0}"
180                 XLIBELFA="-lelf"
181                 #XLIBS="${LIB_AFSDB} -lnsl"
182                 XLIBS="${LIB_AFSDB}"
183                 YACC="/opt/langtools/bin/yacc"
184                 SHLIB_LINKER="ld -b"
185                 ;;
186
187         *fbsd_*)
188                 LEX="flex -l"
189                 MT_CFLAGS='-DAFS_PTHREAD_ENV -pthread -D_REENTRANT ${XCFLAGS}'
190                 MT_LIBS="-pthread"
191                 PAM_CFLAGS="-O2 -pipe -fPIC"
192                 SHLIB_LDFLAGS="-shared -Xlinker -x"
193                 TXLIBS="-lncurses"
194                 XCFLAGS="-O2 -pipe"
195                 YACC="byacc"
196                 ;;
197
198         *nbsd2*|*nbsd3*)
199                 LEX="flex -l"
200                 MT_CFLAGS='${XCFLAGS} -DAFS_PTHREAD_ENV -D_REENTRANT '
201                 MT_LIBS="-lpthread" # XXX -pthread soon
202                 PAM_CFLAGS="-O2 -pipe -fPIC"
203                 SHLIB_LDFLAGS="-shared -Xlinker -x"
204                 TXLIBS="/usr/lib/libcurses.so"
205                 XCFLAGS="-O2 -pipe"
206                 YACC="yacc"
207                 ;;
208
209         *nbsd15|*nbsd16)
210                 LEX="flex -l"
211                 MT_CFLAGS='${XCFLAGS}'
212                 MT_LIBS=""
213                 PAM_CFLAGS="-O2 -pipe -fPIC"
214                 SHLIB_LDFLAGS="-shared -Xlinker -x"
215                 TXLIBS="/usr/lib/libcurses.so"
216                 XCFLAGS="-O2 -pipe"
217                 YACC="bison -y"
218                 ;;
219
220         ia64_linux24|ia64_linux26)
221                 KERN_OPTMZ=-O2
222                 LEX="flex -l"
223                 MT_CFLAGS='-DAFS_PTHREAD_ENV -pthread -D_REENTRANT ${XCFLAGS}'
224                 MT_LIBS="-lpthread"
225                 PAM_CFLAGS="-g -O2 -Dlinux -DLINUX_PAM -fPIC"
226                 SHLIB_LDFLAGS="-shared -Xlinker -x"
227                 TXLIBS="-lncurses"
228                 XCFLAGS="-g -O2 -D_LARGEFILE64_SOURCE -G0"
229                 SHLIB_LINKER="${MT_CC} -shared"
230                 ;;
231
232         amd64_linux*)
233                 CCOBJ="${CC} -fPIC"
234                 KERN_OPTMZ=-O2
235                 LEX="flex -l"
236                 MT_CFLAGS='-DAFS_PTHREAD_ENV -pthread -D_REENTRANT ${XCFLAGS}'
237                 MT_LIBS="-lpthread"
238                 PAM_CFLAGS="-g -O2 -Dlinux -DLINUX_PAM -fPIC"
239                 SHLIB_CFLAGS="-fPIC"
240                 SHLIB_LDFLAGS="-shared -Xlinker -x"
241                 TXLIBS="-lncurses"
242                 XCFLAGS="-g -O2 -D_LARGEFILE64_SOURCE"
243                 SHLIB_LINKER="${MT_CC} -shared"
244                 ;;
245
246         ppc64_linux24)
247                 KERN_OPTMZ=-O2
248                 LEX="flex -l"
249                 MT_CFLAGS='-DAFS_PTHREAD_ENV -pthread -D_REENTRANT ${XCFLAGS}'
250                 MT_LIBS="-lpthread"
251                 PAM_CFLAGS="-g -O2 -Dlinux -DLINUX_PAM -fPIC"
252                 SHLIB_LDFLAGS="-shared -Xlinker -x"
253                 TXLIBS="/usr/lib64/libncurses.so"
254                 XCFLAGS="-g -O2 -D_LARGEFILE64_SOURCE"
255                 SHLIB_LINKER="${MT_CC} -shared"
256                 ;;
257
258         ppc64_linux26)
259                 KERN_OPTMZ=-O2
260                 LEX="flex -l"
261                 MT_CFLAGS='-DAFS_PTHREAD_ENV -pthread -D_REENTRANT ${XCFLAGS}'
262                 MT_LIBS="-lpthread"
263                 PAM_CFLAGS="-g -O2 -Dlinux -DLINUX_PAM -fPIC"
264                 SHLIB_LDFLAGS="-shared -Xlinker -x"
265                 TXLIBS="-lncurses"
266                 XCFLAGS="-g -O2 -D_LARGEFILE64_SOURCE"
267                 YACC="bison -y"
268                 SHLIB_LINKER="${MT_CC} -shared"
269                 ;;
270
271         i386_umlinux22)
272                 CC="gcc -pipe"
273                 CCOBJ="gcc -pipe"
274                 MT_CC="gcc -pipe"
275                 KERN_OPTMZ=-O2
276                 LEX="flex -l"
277                 MT_CFLAGS='-DAFS_PTHREAD_ENV -pthread -D_REENTRANT ${XCFLAGS}'
278                 MT_LIBS="-lpthread"
279                 PAM_CFLAGS="-O2 -Dlinux -DLINUX_PAM -fPIC"
280                 SHLIB_LDFLAGS="-shared -Xlinker -x"
281                 TXLIBS="-lncurses"
282                 XCFLAGS="-O2 -D_LARGEFILE64_SOURCE"
283                 YACC="bison -y"
284                 SHLIB_LINKER="${MT_CC} -shared"
285                 ;;
286
287         i386_linux*)
288                 CC="gcc -pipe"
289                 CCOBJ="gcc -pipe"
290                 MT_CC="gcc -pipe"
291                 KERN_OPTMZ=-O2
292                 LEX="flex -l"
293                 MT_CFLAGS='-DAFS_PTHREAD_ENV -pthread -D_REENTRANT ${XCFLAGS}'
294                 MT_LIBS="-lpthread"
295                 DBG=-g
296                 KERN_DBG=-g
297                 LWP_DBG=-g
298                 LWP_OPTMZ=-O2
299                 OPTMZ=-O2
300                 PAM_CFLAGS="-g -O2 -Dlinux -DLINUX_PAM -fPIC"
301                 SHLIB_LDFLAGS="-shared -Xlinker -x"
302                 TXLIBS="-lncurses"
303                 XCFLAGS="-g -O2 -D_LARGEFILE64_SOURCE"
304                 SHLIB_LINKER="${MT_CC} -shared"
305                 ;;
306
307         i386_umlinux24)
308                 CC="gcc -pipe"
309                 CCOBJ="gcc -pipe"
310                 MT_CC="gcc -pipe"
311                 KERN_OPTMZ=-O2
312                 LEX="flex -l"
313                 MT_CFLAGS='-DAFS_PTHREAD_ENV -pthread -D_REENTRANT ${XCFLAGS}'
314                 MT_LIBS="-lpthread"
315                 DBG=-g
316                 KERN_DBG=-g
317                 LWP_DBG=-g
318                 LWP_OPTMZ=-O2
319                 OPTMZ=-O2
320                 PAM_CFLAGS="-g -O2 -Dlinux -DLINUX_PAM -fPIC"
321                 SHLIB_LDFLAGS="-shared -Xlinker -x"
322                 TXLIBS="-lncurses"
323                 XCFLAGS="-g -O2 -D_LARGEFILE64_SOURCE"
324                 SHLIB_LINKER="${MT_CC} -shared"
325                 ;;
326
327         i386_umlinux26)
328                 CC="gcc -pipe"
329                 CCOBJ="gcc -pipe"
330                 MT_CC="gcc -pipe"
331                 KERN_OPTMZ=-O2
332                 LEX="flex -l"
333                 MT_CFLAGS='-DAFS_PTHREAD_ENV -pthread -D_REENTRANT ${XCFLAGS}'
334                 MT_LIBS="-lpthread"
335                 DBG=-g
336                 KERN_DBG=-g
337                 LWP_DBG=-g
338                 LWP_OPTMZ=-O2
339                 OPTMZ=-O2
340                 PAM_CFLAGS="-g -O2 -Dlinux -DLINUX_PAM -fPIC"
341                 SHLIB_LDFLAGS="-shared -Xlinker -x"
342                 TXLIBS="-lncurses"
343                 XCFLAGS="-g -O2 -D_LARGEFILE64_SOURCE"
344                 SHLIB_LINKER="${MT_CC} -shared"
345                 ;;
346
347         *_obsd*)
348                 LEX="flex -l"
349                 MT_CFLAGS='-DAFS_PTHREAD_ENV -pthread -D_REENTRANT ${XCFLAGS}'
350                 MT_LIBS="-pthread"
351                 PAM_CFLAGS="-O2 -pipe -fpic"
352                 SHLIB_CFLAGS="-fpic"
353                 SHLIB_LDFLAGS="-shared -Xlinker -x"
354                 TXLIBS="/usr/lib/libcurses.a"
355                 XCFLAGS="-O2"
356                 YACC="yacc"
357                 ;;
358
359         parisc_linux24)
360                 KERN_OPTMZ=-O2
361                 LEX="flex -l"
362                 MT_CFLAGS='-DAFS_PTHREAD_ENV -pthread -D_REENTRANT ${XCFLAGS}'
363                 MT_LIBS="-lpthread"
364                 PAM_CFLAGS="-O2 -Dlinux -DLINUX_PAM -fPIC"
365                 SHLIB_LDFLAGS="-shared -Xlinker -x"
366                 TXLIBS="-lncurses"
367                 XCFLAGS="-O2 -D_LARGEFILE64_SOURCE"
368                 YACC="bison -y"
369                 SHLIB_LINKER="${MT_CC} -shared"
370                 ;;
371
372         ppc_darwin_12)
373                 AFSD_LDFLAGS="-F/System/Library/PrivateFrameworks -framework DiskArbitration"
374                 LEX="lex -l"
375                 REGEX_OBJ="regex.o"
376                 XCFLAGS="-traditional-cpp"
377                 ;;
378
379         ppc_darwin_13)
380                 AFSD_LDFLAGS="-F/System/Library/PrivateFrameworks -framework DiskArbitration"
381                 LEX="lex -l"
382                 LWP_OPTMZ="-O2"
383                 REGEX_OBJ="regex.o"
384                 XCFLAGS="-no-cpp-precomp"
385                 ;;
386
387         ppc_darwin_14)
388                 AFSD_LDFLAGS="-F/System/Library/PrivateFrameworks -framework DiskArbitration"
389                 LEX="lex -l"
390                 LWP_OPTMZ="-O2"
391                 REGEX_OBJ="regex.o"
392                 XCFLAGS="-no-cpp-precomp"
393                 ;;
394
395         ppc_darwin_60)
396                 AFSD_LDFLAGS="-F/System/Library/PrivateFrameworks -framework DiskArbitration"
397                 LEX="lex -l"
398                 LWP_OPTMZ="-O2"
399                 REGEX_OBJ="regex.o"
400                 XCFLAGS="-no-cpp-precomp"
401                 TXLIBS="-lncurses"
402                 ;;
403
404         ppc_darwin_70)
405                 AFSD_LDFLAGS="-F/System/Library/PrivateFrameworks -framework DiskArbitration"
406                 LEX="lex -l"
407                 MT_CFLAGS='-DAFS_PTHREAD_ENV -D_REENTRANT ${XCFLAGS}'
408                 KROOT=
409                 KINCLUDES='-I$(KROOT)/System/Library/Frameworks/Kernel.framework/Headers'
410                 LWP_OPTMZ="-O2"
411                 REGEX_OBJ="regex.o"
412                 XCFLAGS="-no-cpp-precomp"
413                 TXLIBS="-lncurses"
414                 EXTRA_VLIBOBJS="fstab.o"
415                 ;;
416
417         ppc_linux22)
418                 INSTALL="install"
419                 KERN_OPTMZ=-O2
420                 LEX="flex -l"
421                 MT_CFLAGS='-DAFS_PTHREAD_ENV -pthread -D_REENTRANT ${XCFLAGS}'
422                 MT_LIBS="-lpthread"
423                 PAM_CFLAGS="-O2 -Dlinux -DLINUX_PAM -fPIC"
424                 SHLIB_LDFLAGS="-shared -Xlinker -x"
425                 TXLIBS="-lncurses"
426                 XCFLAGS="-O2 -D_LARGEFILE64_SOURCE"
427                 YACC="bison -y"
428                 SHLIB_LINKER="${MT_CC} -shared"
429                 ;;
430
431         ppc_linux24)
432                 KERN_OPTMZ=-O2
433                 LEX="flex -l"
434                 MT_CFLAGS='-DAFS_PTHREAD_ENV -pthread -D_REENTRANT ${XCFLAGS}'
435                 MT_LIBS="-lpthread"
436                 PAM_CFLAGS="-O2 -Dlinux -DLINUX_PAM -fPIC"
437                 SHLIB_LDFLAGS="-shared -Xlinker -x"
438                 TXLIBS="-lncurses"
439                 XCFLAGS="-O2 -D_LARGEFILE64_SOURCE"
440                 YACC="bison -y"
441                 SHLIB_LINKER="${MT_CC} -shared"
442                 ;;
443
444         rs_aix42)
445                 DBG=""
446                 LEX="lex"
447                 LIBSYS_AIX_EXP="afsl.exp"
448                 MT_CC="xlc_r"
449                 MT_CFLAGS='-DAFS_PTHREAD_ENV ${XCFLAGS}'
450                 MT_LIBS="-lpthreads"
451                 SHLIB_SUFFIX="o"
452                 TXLIBS="-lcurses"
453                 XCFLAGS="-K -D_NO_PROTO -D_NONSTD_TYPES -D_MBI=void"
454                 XLIBS="${LIB_AFSDB} -ldl"
455                 SHLIB_LINKER="${MT_CC} -bM:SRE -berok"
456                 AIX64="#"
457                 ;;
458
459
460         rs_aix51)
461                 DBG=""
462                 LEX="lex"
463                 LIBSYS_AIX_EXP="afsl.exp"
464                 MT_CC="xlc_r"
465                 MT_CFLAGS='-DAFS_PTHREAD_ENV ${XCFLAGS}'
466                 MT_LIBS="-lpthreads"
467                 SHLIB_SUFFIX="o"
468                 TXLIBS="-lcurses"
469                 XCFLAGS="-K -D_NO_PROTO -D_NONSTD_TYPES -D_MBI=void"
470                 XLIBS="${LIB_AFSDB} -ldl"
471                 SHLIB_LINKER="${MT_CC} -bM:SRE -berok"
472                 AIX64=""
473                 ;;
474
475         rs_aix52)       
476                 DBG=""
477                 LEX="lex"
478                 LIBSYS_AIX_EXP="afsl.exp"
479                 MT_CC="xlc_r"
480                 MT_CFLAGS='-DAFS_PTHREAD_ENV ${XCFLAGS}'
481                 MT_LIBS="-lpthreads"
482                 SHLIB_SUFFIX="o"
483                 TXLIBS="-lcurses"
484                 XCFLAGS="-K -D_NO_PROTO -D_NONSTD_TYPES -D_MBI=void"
485                 XLIBS="${LIB_AFSDB} -ldl"
486                 SHLIB_LINKER="${MT_CC} -bM:SRE -berok"
487                 AIX64=""
488                 ;;
489         s390_linux22)
490                 CC="gcc"
491                 CCOBJ="gcc"
492                 LD="ld"
493                 KERN_OPTMZ=-O2
494                 LEX="flex -l"
495                 MT_CC="$CC"
496                 MT_CFLAGS='-DAFS_PTHREAD_ENV -pthread -D_REENTRANT ${XCFLAGS}'
497                 MT_LIBS="-lpthread"
498                 PAM_CFLAGS="-O -Dlinux -DLINUX_PAM -fPIC"
499                 SHLIB_LDFLAGS="-shared -Xlinker -x"
500                 TXLIBS="-lncurses"
501                 XCFLAGS="-O -g -D_LARGEFILE64_SOURCE"
502                 YACC="bison -y"
503                 SHLIB_LINKER="${MT_CC} -shared"
504                 ;;
505
506         s390_linux24)
507                 CC="gcc"
508                 CCOBJ="gcc"
509                 LD="ld"
510                 KERN_OPTMZ=-O2
511                 LEX="flex -l"
512                 MT_CC="$CC"
513                 MT_CFLAGS='-DAFS_PTHREAD_ENV -pthread -D_REENTRANT ${XCFLAGS}'
514                 MT_LIBS="-lpthread"
515                 PAM_CFLAGS="-O -Dlinux -DLINUX_PAM -fPIC"
516                 SHLIB_LDFLAGS="-shared -Xlinker -x"
517                 TXLIBS="-lncurses"
518                 XCFLAGS="-O -g -D_LARGEFILE64_SOURCE"
519                 YACC="bison -y"
520                 SHLIB_LINKER="${MT_CC} -shared"
521                 ;;
522
523         s390x_linux24)
524                 CC="gcc"
525                 CCOBJ="gcc"
526                 LD="ld"
527                 KERN_OPTMZ=-O2
528                 LEX="flex -l"
529                 MT_CC="$CC"
530                 MT_CFLAGS='-DAFS_PTHREAD_ENV -pthread -D_REENTRANT ${XCFLAGS}'
531                 MT_LIBS="-lpthread"
532                 PAM_CFLAGS="-O -Dlinux -DLINUX_PAM -fPIC"
533                 SHLIB_LDFLAGS="-shared -Xlinker -x"
534                 TXLIBS="-lncurses"
535                 XCFLAGS="-O -g -D_LARGEFILE64_SOURCE -D__s390x__"
536                 YACC="bison -y"
537                 SHLIB_LINKER="${MT_CC} -shared"
538                 ;;
539
540         sgi_62)
541                 PINSTALL_LIBS=-lmld
542                 AFSD_LIBS="/usr/lib/libdwarf.a /usr/lib/libelf.a"
543                 FSINCLUDES="-I/usr/include/sys/fs"
544                 LEX="lex"
545                 MT_CFLAGS='-D_SGI_MP_SOURCE -DAFS_PTHREAD_ENV ${XCFLAGS}'
546                 MT_LIBS="-lpthread"
547                 TXLIBS="-lcurses"
548                 XCFLAGS64="-64 -mips3"
549                 XCFLAGS="-o32"
550                 XLDFLAGS64="-64"
551                 XLDFLAGS="-o32"
552                 SHLIB_LINKER="${CC} -shared"
553                 ;;
554
555         sgi_63)
556                 PINSTALL_LIBS=-lmld
557                 AFSD_LIBS="/usr/lib/libdwarf.a /usr/lib/libelf.a"
558                 FSINCLUDES="-I/usr/include/sys/fs"
559                 LEX="lex"
560                 MT_CFLAGS='-D_SGI_MP_SOURCE -DAFS_PTHREAD_ENV ${XCFLAGS}'
561                 MT_LIBS="-lpthread"
562                 TXLIBS="-lcurses"
563                 XCFLAGS64="-D_BSD_COMPAT -64 -mips3"
564                 XCFLAGS="-D_OLD_TERMIOS -D_BSD_COMPAT -o32"
565                 XLDFLAGS64="-64"
566                 XLDFLAGS="-o32"
567                 SHLIB_LINKER="${CC} -shared"
568                 ;;
569
570         sgi_64)
571                 AFSD_LIBS="/usr/lib32/libdwarf.a /usr/lib32/libelf.a"
572                 FSINCLUDES="-I/usr/include/sys/fs"
573                 LEX="lex"
574                 MT_CFLAGS='-D_SGI_MP_SOURCE -DAFS_PTHREAD_ENV ${XCFLAGS}'
575                 MT_LIBS="-lpthread"
576                 TXLIBS="-lcurses"
577                 XCFLAGS64="-D_BSD_COMPAT -64 -mips3"
578                 XCFLAGS="-D_OLD_TERMIOS -D_BSD_COMPAT -n32 -woff 1009,1110,1116,1164,1171,1177,1183,1185,1204,1233,1515,1516,1548,1169,1174,1177,1196,1498,1506,1552"
579                 XLDFLAGS64="-64"
580                 XLDFLAGS="-n32"
581                 SHLIB_LINKER="${CC} -shared"
582                 ;;
583
584         sgi_65)
585                 AFSD_LIBS="/usr/lib32/libdwarf.a /usr/lib32/libelf.a"
586                 CC="/usr/bin/cc"
587                 CCOBJ="/usr/bin/cc"
588                 FSINCLUDES="-I/usr/include/sys/fs"
589                 LD="/usr/bin/ld"
590                 LEX="lex"
591                 MT_CC="/usr/bin/cc"
592                 MT_CFLAGS='-D_SGI_MP_SOURCE -DAFS_PTHREAD_ENV ${XCFLAGS}'
593                 MT_LIBS="-lpthread"
594                 TXLIBS="-lcurses"
595                 XCFLAGS64="-64 -mips3"
596                 XCFLAGS="-n32 -mips3 -woff 1009,1110,1116,1164,1171,1177,1183,1185,1204,1233,1515,1516,1548,1169,1174,1177,1196,1498,1506,1552"
597                 XLDFLAGS64="-64 -mips3"
598                 XLDFLAGS="-n32 -mips3"
599                 SHLIB_LINKER="${CC} -shared"
600                 ;;
601
602         sparc64_linux22)
603                 KERN_OPTMZ=-O2
604                 LEX="flex -l"
605                 MT_CFLAGS='-DAFS_PTHREAD_ENV -pthread -D_REENTRANT ${XCFLAGS}'
606                 MT_LIBS="-lpthread"
607                 PAM_CFLAGS="-O2 -Dlinux -DLINUX_PAM -fPIC"
608                 SHLIB_LDFLAGS="-shared -Xlinker -x"
609                 TXLIBS="-lncurses"
610                 XCFLAGS="-O2 -D_LARGEFILE64_SOURCE"
611                 YACC="bison -y"
612                 SHLIB_LINKER="${MT_CC} -shared"
613                 ;;
614
615         sparc64_linux24)
616                 KERN_OPTMZ=-O2
617                 LEX="flex -l"
618                 MT_CFLAGS='-DAFS_PTHREAD_ENV -pthread -D_REENTRANT ${XCFLAGS}'
619                 MT_LIBS="-lpthread"
620                 PAM_CFLAGS="-O2 -Dlinux -DLINUX_PAM -fPIC"
621                 SHLIB_LDFLAGS="-shared -Xlinker -x"
622                 TXLIBS="-lncurses"
623                 XCFLAGS="-O2 -D_LARGEFILE64_SOURCE"
624                 YACC="bison -y"
625                 SHLIB_LINKER="${MT_CC} -shared"
626                 ;;
627
628         sparc_linux22)
629                 KERN_OPTMZ=-O2
630                 LEX="flex -l"
631                 MT_CFLAGS='-DAFS_PTHREAD_ENV -pthread -D_REENTRANT ${XCFLAGS}'
632                 MT_LIBS="-lpthread"
633                 PAM_CFLAGS="-O2 -Dlinux -DLINUX_PAM -fPIC"
634                 SHLIB_LDFLAGS="-shared -Xlinker -x"
635                 TXLIBS="-lncurses"
636                 XCFLAGS="-O2 -D_LARGEFILE64_SOURCE"
637                 YACC="bison -y"
638                 SHLIB_LINKER="${MT_CC} -shared"
639                 ;;
640
641         sun4_413)
642                 CCXPG2="/usr/xpg2bin/cc"
643                 CC="gcc"
644                 CCOBJ="gcc"
645                 LEX="lex"
646                 SHLIB_CFLAGS="-PIC"
647                 TXLIBS="-lcurses -ltermcap"
648                 XCFLAGS=""
649                 XLIBELFA="-lelf"
650                 XLIBKVM="-lkvm"
651                 XLIBS="${LIB_AFSDB}"
652                 LD="ld"
653                 ;;
654
655         sun4x_55)
656                 CC="/opt/SUNWspro/bin/cc"
657                 CCOBJ="/opt/SUNWspro/bin/cc"
658                 LEX="lex"
659                 MT_CC="/opt/SUNWspro/bin/cc"
660                 MT_CFLAGS='-mt -DAFS_PTHREAD_ENV ${XCFLAGS}'
661                 MT_LIBS="-lpthread -lsocket"
662                 SHLIB_CFLAGS="-KPIC"
663                 TXLIBS="-lcurses"
664                 XCFLAGS="-dy -Bdynamic"
665                 XLIBELFA="-lelf"
666                 XLIBKVM="-lkvm"
667                 XLIBS="${LIB_AFSDB} -lsocket -lnsl -lintl -ldl"
668                 LD="/usr/ccs/bin/ld"
669                 SHLIB_LINKER="${CC} -G -dy -Wl,-M\$(srcdir)/mapfile -Bsymbolic -z text"
670                 ;;
671
672         sun4x_56)
673                 CC="/opt/SUNWspro/bin/cc"
674                 CCOBJ="/opt/SUNWspro/bin/cc"
675                 LEX="lex"
676                 MT_CC="/opt/SUNWspro/bin/cc"
677                 MT_CFLAGS='-mt -DAFS_PTHREAD_ENV ${XCFLAGS}'
678                 MT_LIBS="-lpthread -lsocket"
679                 PAM_CFLAGS="-KPIC"
680                 PAM_LIBS="-lc -lpam -lsocket -lnsl -lm"
681                 SHLIB_CFLAGS="-KPIC"
682                 SHLIB_LDFLAGS="-G -Bsymbolic"
683                 TXLIBS="-L/usr/ccs/lib -lcurses"
684                 XCFLAGS="-dy -Bdynamic"
685                 XLIBELFA="-lelf"
686                 LD="/usr/ccs/bin/ld"
687                 XLIBKVM="-lkvm"
688                 XLIBS="${LIB_AFSDB} -lsocket -lnsl -lintl -ldl"
689                 SHLIB_LINKER="${CC} -G -dy -Wl,-M\$(srcdir)/mapfile -Bsymbolic -z text"
690                 ;;
691
692         sun4x_57)
693                 CC="/opt/SUNWspro/bin/cc"
694                 CCOBJ="/opt/SUNWspro/bin/cc"
695                 LEX="lex"
696                 LD="/usr/ccs/bin/ld"
697                 MT_CC="/opt/SUNWspro/bin/cc"
698                 MT_CFLAGS='-mt -DAFS_PTHREAD_ENV ${XCFLAGS}'
699                 MT_LIBS="-lpthread -lsocket"
700                 PAM_CFLAGS="-KPIC"
701                 PAM_LIBS="-lc -lpam -lsocket -lnsl -lm"
702                 SHLIB_CFLAGS="-KPIC"
703                 SHLIB_LDFLAGS="-G -Bsymbolic"
704                 TXLIBS="-lcurses"
705                 XCFLAGS64='${XCFLAGS} -xarch=v9'
706                 XCFLAGS="-dy -Bdynamic"
707                 XLIBELFA="-lelf"
708                 XLIBKVM="-lkvm"
709                 XLIBS="${LIB_AFSDB} -lsocket -lnsl -lintl -ldl"
710                 SHLIB_LINKER="${CC} -G -dy -Wl,-M\$(srcdir)/mapfile -Bsymbolic -z text"
711                 ;;
712
713         sun4x_58)
714                 CC="/opt/SUNWspro/bin/cc"
715                 CCOBJ="/opt/SUNWspro/bin/cc"
716                 LEX="lex"
717                 LD="/usr/ccs/bin/ld"
718                 MT_CC="/opt/SUNWspro/bin/cc"
719                 MT_CFLAGS='-mt -DAFS_PTHREAD_ENV ${XCFLAGS}'
720                 MT_LIBS="-lpthread -lsocket"
721                 PAM_CFLAGS="-KPIC"
722                 PAM_LIBS="-lc -lpam -lsocket -lnsl -lm"
723                 SHLIB_CFLAGS="-KPIC"
724                 SHLIB_LDFLAGS="-G -Bsymbolic"
725                 TXLIBS="-lcurses"
726                 XCFLAGS64='${XCFLAGS} -xarch=v9'
727                 XCFLAGS="-dy -Bdynamic"
728                 XLIBELFA="-lelf"
729                 XLIBKVM="-lkvm"
730                 XLIBS="${LIB_AFSDB} -lsocket -lnsl -lintl -ldl"
731                 SHLIB_LINKER="${CC} -G -dy -Wl,-M\$(srcdir)/mapfile -Bsymbolic -z text"
732                 ;;
733
734         sun4x_59)
735                 CC="/opt/SUNWspro/bin/cc"
736                 CCOBJ="/opt/SUNWspro/bin/cc"
737                 LEX="lex"
738                 LD="/usr/ccs/bin/ld"
739                 MT_CC="/opt/SUNWspro/bin/cc"
740                 MT_CFLAGS='-mt -DAFS_PTHREAD_ENV ${XCFLAGS}'
741                 MT_LIBS="-lpthread -lsocket"
742                 PAM_CFLAGS="-KPIC"
743                 PAM_LIBS="-lc -lpam -lsocket -lnsl -lm"
744                 SHLIB_CFLAGS="-KPIC"
745                 SHLIB_LDFLAGS="-G -Bsymbolic"
746                 TXLIBS="-lcurses"
747                 XCFLAGS64='${XCFLAGS} -xarch=v9'
748                 XCFLAGS="-dy -Bdynamic"
749                 XLIBELFA="-lelf"
750                 XLIBKVM="-lkvm"
751                 XLIBS="${LIB_AFSDB} -lsocket -lnsl -lintl -ldl"
752                 SHLIB_LINKER="${CC} -G -dy -Wl,-M\$(srcdir)/mapfile -Bsymbolic -z text"
753                 ;;
754
755         sun4x_510)
756                 CC="/opt/SUNWspro/bin/cc"
757                 CCOBJ="/opt/SUNWspro/bin/cc"
758                 LEX="lex"
759                 LD="/usr/ccs/bin/ld"
760                 MT_CC="/opt/SUNWspro/bin/cc"
761                 MT_CFLAGS='-mt -DAFS_PTHREAD_ENV ${XCFLAGS}'
762                 MT_LIBS="-lpthread -lsocket"
763                 PAM_CFLAGS="-KPIC"
764                 PAM_LIBS="-lc -lpam -lsocket -lnsl -lm"
765                 SHLIB_CFLAGS="-KPIC"
766                 SHLIB_LDFLAGS="-G -Bsymbolic"
767                 TXLIBS="-lcurses"
768                 XCFLAGS64='${XCFLAGS} -xarch=v9'
769                 XCFLAGS="-dy -Bdynamic"
770                 XLIBELFA="-lelf"
771                 XLIBKVM="-lkvm"
772                 XLIBS="${LIB_AFSDB} -lsocket -lnsl -lintl -ldl"
773                 SHLIB_LINKER="${CC} -G -dy -Wl,-M\$(srcdir)/mapfile -Bsymbolic -z text"
774                 ;;
775
776         sunx86_57)
777                 CC="/opt/SUNWspro/bin/cc"
778                 CCOBJ="/opt/SUNWspro/bin/cc"
779                 LEX="lex"
780                 LD="/usr/ccs/bin/ld"
781                 MT_CC="/opt/SUNWspro/bin/cc"
782                 MT_CFLAGS='-mt -DAFS_PTHREAD_ENV ${XCFLAGS}'
783                 MT_LIBS="-lpthread -lsocket"
784                 PAM_CFLAGS="-KPIC"
785                 PAM_LIBS="-lc -lpam -lsocket -lnsl -lm"
786                 SHLIB_CFLAGS="-KPIC"
787                 SHLIB_LDFLAGS="-G -Bsymbolic"
788                 TXLIBS="-lcurses"
789                 XCFLAGS64='${XCFLAGS} -xarch=v9'
790                 XCFLAGS="-dy -Bdynamic"
791                 XLIBELFA="-lelf"
792                 XLIBKVM="-lkvm"
793                 XLIBS="${LIB_AFSDB} -lsocket -lnsl -lintl -ldl"
794                 SHLIB_LINKER="${CC} -G -dy -Wl,-M\$(srcdir)/mapfile -Bsymbolic -z text"
795                 ;;
796
797         sunx86_58)
798                 CC="/opt/SUNWspro/bin/cc"
799                 CCOBJ="/opt/SUNWspro/bin/cc"
800                 LEX="lex"
801                 LD="/usr/ccs/bin/ld"
802                 MT_CC="/opt/SUNWspro/bin/cc"
803                 MT_CFLAGS='-mt -DAFS_PTHREAD_ENV ${XCFLAGS}'
804                 MT_LIBS="-lpthread -lsocket"
805                 PAM_CFLAGS="-KPIC"
806                 PAM_LIBS="-lc -lpam -lsocket -lnsl -lm"
807                 SHLIB_CFLAGS="-KPIC"
808                 SHLIB_LDFLAGS="-G -Bsymbolic"
809                 TXLIBS="-lcurses"
810                 XCFLAGS64='${XCFLAGS} -xarch=v9'
811                 XCFLAGS="-dy -Bdynamic"
812                 XLIBELFA="-lelf"
813                 XLIBKVM="-lkvm"
814                 XLIBS="${LIB_AFSDB} -lsocket -lnsl -lintl -ldl"
815                 SHLIB_LINKER="${CC} -G -dy -Wl,-M\$(srcdir)/mapfile -Bsymbolic -z text"
816                 ;;
817
818         sunx86_59)
819                 CC="/opt/SUNWspro/bin/cc"
820                 CCOBJ="/opt/SUNWspro/bin/cc"
821                 LEX="lex"
822                 LD="/usr/ccs/bin/ld"
823                 MT_CC="/opt/SUNWspro/bin/cc"
824                 MT_CFLAGS='-mt -DAFS_PTHREAD_ENV ${XCFLAGS}'
825                 MT_LIBS="-lpthread -lsocket"
826                 PAM_CFLAGS="-KPIC"
827                 PAM_LIBS="-lc -lpam -lsocket -lnsl -lm"
828                 SHLIB_CFLAGS="-KPIC"
829                 SHLIB_LDFLAGS="-G -Bsymbolic"
830                 TXLIBS="-lcurses"
831                 XCFLAGS64='${XCFLAGS} -xarch=v9'
832                 XCFLAGS="-dy -Bdynamic"
833                 XLIBELFA="-lelf"
834                 XLIBKVM="-lkvm"
835                 XLIBS="${LIB_AFSDB} -lsocket -lnsl -lintl -ldl"
836                 SHLIB_LINKER="${CC} -G -dy -Wl,-M\$(srcdir)/mapfile -Bsymbolic -z text"
837                 ;;
838
839         sunx86_510)
840                 CC="/opt/SUNWspro/bin/cc"
841                 CCOBJ="/opt/SUNWspro/bin/cc"
842                 LEX="lex"
843                 LD="/usr/ccs/bin/ld"
844                 MT_CC="/opt/SUNWspro/bin/cc"
845                 MT_CFLAGS='-mt -DAFS_PTHREAD_ENV ${XCFLAGS}'
846                 MT_LIBS="-lpthread -lsocket"
847                 PAM_CFLAGS="-KPIC"
848                 PAM_LIBS="-lc -lpam -lsocket -lnsl -lm"
849                 SHLIB_CFLAGS="-KPIC"
850                 SHLIB_LDFLAGS="-G -Bsymbolic"
851                 TXLIBS="-lcurses"
852                 XCFLAGS64='${XCFLAGS} -xarch=v9'
853                 XCFLAGS="-dy -Bdynamic"
854                 XLIBELFA="-lelf"
855                 XLIBKVM="-lkvm"
856                 XLIBS="${LIB_AFSDB} -lsocket -lnsl -lintl -ldl"
857                 SHLIB_LINKER="${CC} -G -dy -Wl,-M\$(srcdir)/mapfile -Bsymbolic -z text"
858                 ;;
859 esac
860
861 #
862 # Special build targets
863 #
864 case $AFS_SYSNAME in
865         sgi_6*)
866                 IRIX_SYS_SYSTM_H_HAS_MEM_FUNCS
867                 XFS_SIZE_CHECK="xfs_size_check"
868                 install_XFS_SIZE_CHECK='$(DESTDIR)${afssrvsbindir}/xfs_size_check'
869                 dest_XFS_SIZE_CHECK='$(DEST)/root.server/usr/afs/bin/xfs_size_check'
870         
871                 AC_SUBST(XFS_SIZE_CHECK)
872                 AC_SUBST(install_XFS_SIZE_CHECK)
873                 AC_SUBST(dest_XFS_SIZE_CHECK)
874         ;;
875         
876         sun4x_*|sunx86_*)
877                 FS_CONV_SOL26="fs_conv_sol26"
878                 install_FS_CONV_SOL26='$(DESTDIR)${afssrvsbindir}/fs_conv_sol26'
879                 dest_FS_CONV_SOL26='$(DEST)/root.server/usr/afs/bin/fs_conv_sol26'
880
881                 AC_SUBST(FS_CONV_SOL26)
882                 AC_SUBST(install_FS_CONV_SOL26)
883                 AC_SUBST(dest_FS_CONV_SOL26)
884         ;;
885
886         alpha_dux*)
887                 FS_CONV_OSF40D="fs_conv_dux40D"
888                 install_FS_CONV_OSF40D='$(DESTDIR)${afssrvsbindir}/fs_conv_dux40D'
889                 dest_FS_CONV_OSF40D='$(DEST)/root.server/usr/afs/bin/fs_conv_dux40D'
890
891                 AC_SUBST(FS_CONV_OSF40D)
892                 AC_SUBST(install_FS_CONV_OSF40D)
893                 AC_SUBST(dest_FS_CONV_OSF40D)
894         ;;
895 esac
896
897 dnl Disable the default for debugging/optimization if not enabled
898 if test "x$enable_debug_kernel" = "xno"; then
899   KERN_DBG=
900 fi
901
902 if test "x$enable_optimize_kernel" = "xno"; then
903   KERN_OPTMZ=
904 fi
905
906 if test "x$enable_debug" = "xno"; then
907   DBG=
908 fi
909
910 if test "x$enable_optimize" = "xno"; then
911   OPTMZ=
912 fi
913
914 if test "x$enable_debug_lwp" = "xno"; then
915   LWP_DBG=
916 fi
917
918 if test "x$enable_optimize_lwp" = "xno"; then
919   LWP_OPTMZ=
920 fi
921
922 AC_SUBST(CCXPG2)
923 AC_SUBST(CCOBJ)
924 AC_SUBST(AFSD_LIBS)
925 AC_SUBST(AFSD_LDFLAGS)
926 AC_SUBST(AIX64)
927 AC_SUBST(AR)
928 AC_SUBST(AS)
929 AC_SUBST(CP)
930 AC_SUBST(DBG)
931 AC_SUBST(FSINCLUDES)
932 AC_SUBST(KERN_DBG)
933 AC_SUBST(KERN_OPTMZ)
934 AC_SUBST(LD)
935 AC_SUBST(LEX)
936 AC_SUBST(LWP_DBG)
937 AC_SUBST(LWP_OPTMZ)
938 AC_SUBST(MT_CC)
939 AC_SUBST(MT_CFLAGS)
940 AC_SUBST(MT_LIBS)
941 AC_SUBST(MV)
942 AC_SUBST(OPTMZ)
943 AC_SUBST(PAM_CFLAGS)
944 AC_SUBST(PAM_LIBS)
945 AC_SUBST(PINSTALL_LIBS)
946 AC_SUBST(RANLIB)
947 AC_SUBST(REGEX_OBJ)
948 AC_SUBST(RM)
949 AC_SUBST(SHLIB_CFLAGS)
950 AC_SUBST(SHLIB_LDFLAGS)
951 AC_SUBST(SHLIB_LINKER)
952 AC_SUBST(SHLIB_SUFFIX)
953 AC_SUBST(TXLIBS)
954 AC_SUBST(VFSCK_CFLAGS)
955 AC_SUBST(XCFLAGS)
956 AC_SUBST(XCFLAGS64)
957 AC_SUBST(XLDFLAGS)
958 AC_SUBST(XLDFLAGS64)
959 AC_SUBST(XLIBELFA)
960 AC_SUBST(XLIBKVM)
961 AC_SUBST(XLIBS)
962 AC_SUBST(YACC)
963
964
965 ])